Skip to content

Commit

Permalink
Merge pull request #3 from wizard04wsu/access-modifiers
Browse files Browse the repository at this point in the history
- remove extraneous variables & functions
  • Loading branch information
wizard04wsu authored Oct 30, 2019
2 parents 5baadf7 + f825ed6 commit f23d22f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Class.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@

"use strict";

const PRIVATE = 4, PROTECTED = 2, STATIC = 1;

let _initializing = false,
_scopes = new WeakMap();
let _initializing = false;


/*** helper functions ***/
Expand All @@ -23,7 +20,6 @@
//checks if the specified classname is valid (note: this doesn't check for reserved words)
return className !== (void 0) && /^[a-z_$][a-z0-9_$]*$/i.test(className);
}
function xor(a, b){ return !!(a ? !b : b); }


/*** shared functions ***/
Expand Down

0 comments on commit f23d22f

Please sign in to comment.