Skip to content

Commit

Permalink
Merge pull request #211 from AmpersandJS/refactor/code-cleanup
Browse files Browse the repository at this point in the history
Remove unused vars and cleanup code
  • Loading branch information
latentflip committed Nov 3, 2015
2 parents 29e37b1 + e502eee commit f2f9b72
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 138 deletions.
13 changes: 7 additions & 6 deletions .jshintrc
@@ -1,12 +1,13 @@
{
"asi": false,
"expr": true,
"loopfunc": true,
"curly": false,
"eqnull": true,
"evil": true,
"white": true,
"undef": true,
"node": true,
"expr": true,
"indent": 4,
"eqnull": true
"loopfunc": true,
"node": true,
"undef": true,
"unused": true,
"white": true
}
2 changes: 1 addition & 1 deletion ampersand-state.js
Expand Up @@ -615,7 +615,7 @@ function createDerivedProperty(modelProto, name, definition) {
return this._getDerivedProperty(name);
},
set: function () {
throw new TypeError('"' + name + '" is a derived property, it can\'t be set directly.');
throw new TypeError("`" + name + "` is a derived property, it can't be set directly.");
}
});
}
Expand Down

0 comments on commit f2f9b72

Please sign in to comment.