Skip to content

Commit 54cb350

Browse files
committed
pulled from alex
1 parent 36752d6 commit 54cb350

File tree

3 files changed

+3
-54
lines changed

3 files changed

+3
-54
lines changed

src/components/ComponentDisplay.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,8 @@ export default {
250250
routeArray: this.routes[this.activeRoute],
251251
activeComponentData: this.activeComponentData
252252
}
253-
<<<<<<< HEAD
254-
console.log("x: ",payload.x,"y:",payload.y)
255-
// this.updateStartingPosition(payload);
256-
=======
257253
console.log("x: ",payload.x,"y: ",payload.y)
258254
//this.updateStartingPosition(payload);
259-
>>>>>>> 823ed2271ff432299d30b485464fbc842b60ff07
260255
},
261256
262257
recordInitialSize: function (e) {

src/store/actions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ const actions = {
205205
// },
206206
[types.openProject]: ({ commit }, payload) => {
207207
// open project imagePath, componentPath, routePath
208-
console.log('image', payload.imagePath)
209-
console.log('component', payload.componentMap)
210-
console.log('route', payload.routes)
208+
// console.log('image', payload.imagePath)
209+
// console.log('component', payload.componentMap)
210+
// console.log('route', payload.routes)
211211
commit(types.SET_IMAGE_PATH, payload.imagePath)
212212
commit(types.SET_COMPONENT_MAP, payload.componentMap)
213213
commit(types.SET_ROUTES, payload.routes)

src/store/mutations.js

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -81,51 +81,6 @@ const mutations = {
8181
},
8282
// empty state
8383
[types.EMPTY_STATE]: (state, payload) => {
84-
<<<<<<< HEAD
85-
console.log('This is our defaultstate still', defaultState)
86-
console.log(payload)
87-
payload.replaceState({
88-
icons,
89-
htmlElementMap,
90-
// every single time we create a component
91-
// sent to export project component
92-
componentMap: {
93-
App: {
94-
componentName: 'App',
95-
children: ['HomeView'],
96-
htmlList: []
97-
},
98-
HomeView: {
99-
componentName: 'HomeView',
100-
children: [],
101-
htmlList: []
102-
}
103-
// NewView: {}
104-
},
105-
routes: {
106-
HomeView: []
107-
// NewView: []
108-
},
109-
userActions: [],
110-
userState: {},
111-
/**
112-
*
113-
*/
114-
componentNameInputValue: '',
115-
projects: [{ filename: 'Untitled-1', lastSavedLocation: '' }],
116-
activeRoute: 'HomeView',
117-
activeComponent: '',
118-
selectedElementList: [],
119-
projectNumber: 2,
120-
activeTab: 0,
121-
componentChildrenMultiselectValue: [],
122-
modalOpen: false,
123-
parentSelected: false,
124-
imagePath: {
125-
HomeView: ''
126-
}
127-
})
128-
=======
12984
// console.log('This is our defaultstate still', defaultState)
13085
console.log("hopefully this stays pure", payload)
13186
payload.store.replaceState(cloneDeep(payload.initialState))
@@ -168,7 +123,6 @@ const mutations = {
168123
// parentSelected: false,
169124
// imagePath: ''
170125
// })
171-
>>>>>>> 823ed2271ff432299d30b485464fbc842b60ff07
172126
},
173127

174128
// add parent

0 commit comments

Comments
 (0)