Skip to content

Commit

Permalink
Merge pull request #28 from Neovici/gh27
Browse files Browse the repository at this point in the history
refs #27. Bug fix, null fix and updated devDep versions
  • Loading branch information
Wurper committed Dec 13, 2018
2 parents 72a6ada + 8470e8d commit 1609f7e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cosmoz-dialog-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
return;
}
step.call(this);
Polymer.Async.microTask.run(() => this._spawn);
Polymer.Async.microTask.run(() => this._spawn());
},
/**
* Get the generated paper-dialog element
Expand Down Expand Up @@ -195,7 +195,7 @@
return;
}

Polymer.Async.microTask.run(() => this._spawn);
Polymer.Async.microTask.run(() => this._spawn());
},

_createDialog() {
Expand Down
2 changes: 1 addition & 1 deletion cosmoz-form-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}

_detachDialog() {
if (this._form !== null && this._form.parentNode) {
if (this._form != null && this._form.parentNode) {
this._form.parentNode.removeChild(this._form);
}
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"test": "test"
},
"devDependencies": {
"eslint": "^4.10.0",
"eslint-plugin-html": "^3.2.2",
"eslint-plugin-mocha": "^4.11.0",
"polymer-cli": "^1.8.0",
"eslint": "^5.9.0",
"eslint-plugin-html": "^5.0.0",
"eslint-plugin-mocha": "^5.2.0",
"polymer-cli": "^1.9.1",
"web-component-tester-istanbul": "Neovici/web-component-tester-istanbul"
},
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion test/cosmoz-dialog_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@

<link rel="import" href="../../test-fixture/test-fixture.html">
<link rel="import" href="../../iron-test-helpers/iron-test-helpers.html">
<link rel="import" href="../../polymer/lib/elements/custom-style.html">
<link rel="import" href="../../shadycss/apply-shim.html">">

<link rel="import" href="../cosmoz-dialog.html">

<custom-style>
<style is="custom-style">
<style>
/* This will create a new stacking context above the dialog */
#stackingContext {
transform: translateX(0);
Expand Down

0 comments on commit 1609f7e

Please sign in to comment.