Skip to content

Commit

Permalink
Release v1.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
gunins committed May 22, 2017
1 parent 0064a84 commit d62184d
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stonewall",
"version": "1.0.15",
"version": "1.0.16",
"repository": {
"type": "git",
"url": "https://github.com/gunins/stonewall"
Expand Down
2 changes: 1 addition & 1 deletion dist/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stonewall",
"version": "1.0.15",
"version": "1.0.16",
"repository": {
"type": "git",
"url": "https://github.com/gunins/stonewall"
Expand Down
13 changes: 11 additions & 2 deletions dist/docs/Constructor.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,20 @@ <h2 id="widget-constructor-class">widget/Constructor Class</h2>
<span class="hljs-keyword">this</span>.rendered(...this._arguments);
<span class="hljs-keyword">this</span>._rendered = <span class="hljs-literal">true</span>;
} <span class="hljs-keyword">else</span> {
<span class="hljs-keyword">this</span>.root = <span class="hljs-keyword">new</span> dom.Element(<span class="hljs-string">'&lt;div&gt;&lt;/div&gt;'</span>, {
<span class="hljs-keyword">let</span> HTMLelement = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'div'</span>);
<span class="hljs-keyword">this</span>.root = <span class="hljs-keyword">new</span> dom.Element(HTMLelement, {
<span class="hljs-attr">name</span>: <span class="hljs-string">'root'</span>,
<span class="hljs-attr">data</span>: {}
});
<span class="hljs-keyword">this</span>.el = <span class="hljs-keyword">this</span>.root.el;
<span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.el) {
<span class="hljs-keyword">let</span> parent = <span class="hljs-keyword">this</span>.el.parentNode;
<span class="hljs-keyword">if</span> (parent) {
parent.replaceChild(HTMLelement, <span class="hljs-keyword">this</span>.el);
}
}
<span class="hljs-keyword">this</span>.el = HTMLelement;
<span class="hljs-keyword">this</span>.children = {};
addChildren(<span class="hljs-keyword">this</span>, <span class="hljs-keyword">this</span>.root);

<span class="hljs-keyword">this</span>.rendered(...this._arguments);
<span class="hljs-keyword">this</span>._rendered = <span class="hljs-literal">true</span>;
Expand Down
13 changes: 11 additions & 2 deletions dist/es5/dev/widget/Constructor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es5/dev/widget/Constructor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/es5/prod/widget/App.js

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions dist/es6/dev/widget/Constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1313,11 +1313,20 @@ define('widget/Constructor',[
this.rendered(...this._arguments);
this._rendered = true;
} else {
this.root = new dom.Element('<div></div>', {
let HTMLelement = document.createElement('div');
this.root = new dom.Element(HTMLelement, {
name: 'root',
data: {}
});
this.el = this.root.el;
if (this.el) {
let parent = this.el.parentNode;
if (parent) {
parent.replaceChild(HTMLelement, this.el);
}
}
this.el = HTMLelement;
this.children = {};
addChildren(this, this.root);

this.rendered(...this._arguments);
this._rendered = true;
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/prod/widget/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stonewalljs",
"version": "1.0.15",
"version": "1.0.16",
"repository": {
"type": "git",
"url": "https://github.com/gunins/stonewall"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stonewalljs",
"version": "1.0.15",
"version": "1.0.16",
"repository": {
"type": "git",
"url": "https://github.com/gunins/stonewall"
Expand Down

0 comments on commit d62184d

Please sign in to comment.