Skip to content

Commit

Permalink
Reverting class regexp as recommended.
Browse files Browse the repository at this point in the history
  • Loading branch information
mackstar committed Sep 10, 2014
1 parent dc7bca4 commit 398e31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/script/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

require.def('antie/class', function() {
"use strict";
var initializing = false, fnTest = /var xyz/.test(function () { var xyz; }) ? /\b_super\b/ : /[\D|\d]*/;
var initializing = false, fnTest = /var xyz/.test(function () { var xyz; }) ? /\b_super\b/ : /.*/;

/**
* The base Class implementation (does nothing)
Expand Down

0 comments on commit 398e31d

Please sign in to comment.