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

Commit

Permalink
fix maker 2 dependency dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed Aug 29, 2013
1 parent 6553b5d commit 25d0a2f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sjmiles/maker/maker2/dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,17 +176,18 @@ <h2>Dialog</h2>
files: null,
text: null,
selected: -1,
selectedPage: 0,
selectedInfo: 0,
selectedPage: 0,
layout: [
[1, 4, 3, 3],
[2, 2, 2, 2],
[2, 2, 2, 2]
],
elements: null,
created: function() {
this.nodes = [this.$.mainTabs, this.$.pages, this.$.docTabs,
this.$.buildBar];
this.nodes = [
this.$.mainTabs, this.$.pages, this.$.docTabs, this.$.buildBar
];
this.$.code.mirror.on('change', this.codeChange.bind(this));
// phony
this.async(function() {
Expand Down Expand Up @@ -293,7 +294,7 @@ <h2>Dialog</h2>
this.$.code.mirror.replaceSelection(html.replace(/\\n/g, '\n'));
// add import dependency
var elementsDoc = this.shadowRoot.querySelector(
'file-document[fileName="elements.html"]');
'file-document[fileName="../elements.html"]');
if (elementsDoc && elementsDoc.text.indexOf(name) < 0) {
elementsDoc.text += '\n<link rel="import" href="'
+ folder + '/' + name + '/' + name + '.html">';
Expand Down

0 comments on commit 25d0a2f

Please sign in to comment.