Skip to content

Commit

Permalink
fixing scope
Browse files Browse the repository at this point in the history
  • Loading branch information
eavichay committed Oct 10, 2017
1 parent 5828898 commit 7aeb7e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Decorators.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {Slim} from "./Slim"

module.exports = {
tag: function(selector) {
return function(target) {
Expand All @@ -23,7 +21,7 @@ module.exports = {

attribute: function(target, key, descriptor) {
target.constructor.observedAttributes = target.constructor.observedAttributes || [];
target.constructor.observedAttributes.push(Slim.__camelToDash(key));
target.constructor.observedAttributes.push(window.Slim.__camelToDash(key));
descriptor.configurable = true;
descriptor.writable = true;
return descriptor;
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slimjs",
"main": "Slim.js",
"version": "2.9.13",
"version": "2.9.14",
"ignore": [
"example",
"components",
Expand Down

0 comments on commit 7aeb7e6

Please sign in to comment.