Skip to content

Commit

Permalink
replace fallback.js with ecma5 shims (see lib)
Browse files Browse the repository at this point in the history
fix the instanceof check in older browsers
Added more tests
  • Loading branch information
fbuecklers committed Mar 16, 2012
1 parent 541a44e commit aa1ad9d
Show file tree
Hide file tree
Showing 9 changed files with 467 additions and 494 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.*
/lib
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Another new feature what was introduced with ECMA 5 was the possibility to decla
You can used them already in the class body definition of any class and they work as same to the standard

Note: this feature works only in ECMA 5 based browsers, if you want to support older browser just don't use this feature.
The other parts of this framework works also in older browser if you import the fallback.js
The other parts of this framework works also in older browser if you import the shims from lib/es5-shim.min.js

var GetterSetterClass = Object.inherit(SimpleTrait, {
text: {
Expand Down
Loading

0 comments on commit aa1ad9d

Please sign in to comment.