This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -176,17 +176,18 @@ <h2>Dialog</h2>
176
176
files : null ,
177
177
text : null ,
178
178
selected : - 1 ,
179
- selectedPage : 0 ,
180
179
selectedInfo : 0 ,
180
+ selectedPage : 0 ,
181
181
layout : [
182
182
[ 1 , 4 , 3 , 3 ] ,
183
183
[ 2 , 2 , 2 , 2 ] ,
184
184
[ 2 , 2 , 2 , 2 ]
185
185
] ,
186
186
elements : null ,
187
187
created : function ( ) {
188
- this . nodes = [ this . $ . mainTabs , this . $ . pages , this . $ . docTabs ,
189
- this . $ . buildBar ] ;
188
+ this . nodes = [
189
+ this . $ . mainTabs , this . $ . pages , this . $ . docTabs , this . $ . buildBar
190
+ ] ;
190
191
this . $ . code . mirror . on ( 'change' , this . codeChange . bind ( this ) ) ;
191
192
// phony
192
193
this . async ( function ( ) {
@@ -293,7 +294,7 @@ <h2>Dialog</h2>
293
294
this . $ . code . mirror . replaceSelection ( html . replace ( / \\ n / g, '\n' ) ) ;
294
295
// add import dependency
295
296
var elementsDoc = this . shadowRoot . querySelector (
296
- 'file-document[fileName="elements.html"]' ) ;
297
+ 'file-document[fileName="../ elements.html"]' ) ;
297
298
if ( elementsDoc && elementsDoc . text . indexOf ( name ) < 0 ) {
298
299
elementsDoc . text += '\n<link rel="import" href="'
299
300
+ folder + '/' + name + '/' + name + '.html">' ;
You can’t perform that action at this time.
0 commit comments