Skip to content

Commit

Permalink
Strict error on R.ninja method
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasAlabes committed Feb 6, 2016
1 parent 1290ef5 commit fdd4de4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev/raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete window.Raphael;
return R;
};
/*\
Expand Down
2 changes: 1 addition & 1 deletion raphael-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raphael-nodeps-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raphael-nodeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete window.Raphael;
return R;
};
/*\
Expand Down
2 changes: 1 addition & 1 deletion raphael.js
Original file line number Diff line number Diff line change
Expand Up @@ -5748,7 +5748,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete window.Raphael;
return R;
};
/*\
Expand Down

0 comments on commit fdd4de4

Please sign in to comment.