File tree Expand file tree Collapse file tree 3 files changed +3
-54
lines changed Expand file tree Collapse file tree 3 files changed +3
-54
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,8 @@ export default {
250
250
routeArray: this .routes [this .activeRoute ],
251
251
activeComponentData: this .activeComponentData
252
252
}
253
- <<<<<< < HEAD
254
- console .log (" x: " ,payload .x ," y:" ,payload .y )
255
- // this.updateStartingPosition(payload);
256
- ====== =
257
253
console .log (" x: " ,payload .x ," y: " ,payload .y )
258
254
// this.updateStartingPosition(payload);
259
- >>>>>> > 823ed2271ff432299d30b485464fbc842b60ff07
260
255
},
261
256
262
257
recordInitialSize : function (e ) {
Original file line number Diff line number Diff line change @@ -205,9 +205,9 @@ const actions = {
205
205
// },
206
206
[ types . openProject ] : ( { commit } , payload ) => {
207
207
// 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)
211
211
commit ( types . SET_IMAGE_PATH , payload . imagePath )
212
212
commit ( types . SET_COMPONENT_MAP , payload . componentMap )
213
213
commit ( types . SET_ROUTES , payload . routes )
Original file line number Diff line number Diff line change @@ -81,51 +81,6 @@ const mutations = {
81
81
} ,
82
82
// empty state
83
83
[ 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
- === = ===
129
84
// console.log('This is our defaultstate still', defaultState)
130
85
console . log ( "hopefully this stays pure" , payload )
131
86
payload . store . replaceState ( cloneDeep ( payload . initialState ) )
@@ -168,7 +123,6 @@ const mutations = {
168
123
// parentSelected: false,
169
124
// imagePath: ''
170
125
// })
171
- >>> > >>> 823 ed2271ff432299d30b485464fbc842b60ff07
172
126
} ,
173
127
174
128
// add parent
You can’t perform that action at this time.
0 commit comments