electron-angular-boilerplate
Version:
A basic electron app using AngularJS and Skeleton CSS with ES6 support
18 lines (17 loc) • 488 B
JavaScript
/* */
var $ = require("./$"),
TAG = require("./$.wks")('toStringTag'),
toString = {}.toString;
function cof(it) {
return toString.call(it).slice(8, -1);
}
cof.classof = function(it) {
var O,
T;
return it == undefined ? it === undefined ? 'Undefined' : 'Null' : typeof(T = (O = Object(it))[TAG]) == 'string' ? T : cof(O);
};
cof.set = function(it, tag, stat) {
if (it && !$.has(it = stat ? it : it.prototype, TAG))
$.hide(it, TAG, tag);
};
module.exports = cof;