Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 25d0a2f

Browse files
author
Scott J. Miles
committed
fix maker 2 dependency dump
1 parent 6553b5d commit 25d0a2f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sjmiles/maker/maker2/dev/index.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,18 @@ <h2>Dialog</h2>
176176
files: null,
177177
text: null,
178178
selected: -1,
179-
selectedPage: 0,
180179
selectedInfo: 0,
180+
selectedPage: 0,
181181
layout: [
182182
[1, 4, 3, 3],
183183
[2, 2, 2, 2],
184184
[2, 2, 2, 2]
185185
],
186186
elements: null,
187187
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+
];
190191
this.$.code.mirror.on('change', this.codeChange.bind(this));
191192
// phony
192193
this.async(function() {
@@ -293,7 +294,7 @@ <h2>Dialog</h2>
293294
this.$.code.mirror.replaceSelection(html.replace(/\\n/g, '\n'));
294295
// add import dependency
295296
var elementsDoc = this.shadowRoot.querySelector(
296-
'file-document[fileName="elements.html"]');
297+
'file-document[fileName="../elements.html"]');
297298
if (elementsDoc && elementsDoc.text.indexOf(name) < 0) {
298299
elementsDoc.text += '\n<link rel="import" href="'
299300
+ folder + '/' + name + '/' + name + '.html">';

0 commit comments

Comments
 (0)