typicaljs
Version:
Typical JavaScript utility.
8 lines (7 loc) • 884 B
JavaScript
/*
* typicaljs v0.1.0
* https://github.com/codethestars
* Copyright 2015 Ariel Ryan-Pagano (https://github.com/codethestars)
* Licensed under the MIT license
*/
(function(){var e,t,n;(function(e,t){typeof define=="function"&&define.amd?define(t):typeof module=="object"&&module.exports?module.exports=t():e.typical=t()})(this,function(){return function(){"use strict";e={equal:function(e){var t,n;for(t=1;t<arguments.length;t+=1){if(arguments[t].length!==e.length)return!1;for(n=0;n<arguments[t].length;n+=1)if(arguments[t][n]!==e[n])return!1}return!0},remove:function(e,t){var n=e.indexOf(t);return n>-1?(e.splice(n,1),!0):!1}}}(),function(){"use strict";t={copy:function(){var e={},t,n,r;for(t=0;t<arguments.length;t+=1){r=arguments[t];for(n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}}}(),function(){"use strict";n=function(e,t){return{array:e,object:t}}(e,t)}(),n})})();