This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (global, ns) { | |
// Awesome model | |
function Apa(name, dryg) { | |
// try to fix if "new" wasn't used | |
if (!(this instanceof arguments.callee)) { | |
console.log('No "new" operator used when creating Apa "%s". Fixing..', name); | |
// v1 | |
//return newFix1(arguments); | |
// v2 |