Skip to content

Instantly share code, notes, and snippets.

@shamoons
Created May 8, 2014 17:24
Show Gist options
  • Save shamoons/51f9d6512b6c6d793b4c to your computer and use it in GitHub Desktop.
Save shamoons/51f9d6512b6c6d793b4c to your computer and use it in GitHub Desktop.
!function(O, U, s) {
"use strict";
function t(b) {
return function() {
var c, a = arguments[0], a = "[" + (b ? b + ":" : "") + a + "] http://errors.angularjs.org/1.2.16/" + (b ? b + "/" : "") + a;
for (c = 1; c < arguments.length; c++) a = a + (1 == c ? "?" : "&") + "p" + (c - 1) + "=" + encodeURIComponent("function" == typeof arguments[c] ? arguments[c].toString().replace(/ \{[\s\S]*$/, "") : "undefined" == typeof arguments[c] ? "undefined" : "string" != typeof arguments[c] ? JSON.stringify(arguments[c]) : arguments[c]);
return Error(a);
};
}
function ab(b) {
if (null == b || Ca(b)) return !1;
var a = b.length;
return 1 === b.nodeType && a ? !0 : w(b) || M(b) || 0 === a || "number" == typeof a && a > 0 && a - 1 in b;
}
function q(b, a, c) {
var d;
if (b) if (P(b)) for (d in b) "prototype" == d || "length" == d || "name" == d || b.hasOwnProperty && !b.hasOwnProperty(d) || a.call(c, b[d], d); else if (b.forEach && b.forEach !== q) b.forEach(a, c); else if (ab(b)) for (d = 0; d < b.length; d++) a.call(c, b[d], d); else for (d in b) b.hasOwnProperty(d) && a.call(c, b[d], d);
return b;
}
function Qb(b) {
var c, a = [];
for (c in b) b.hasOwnProperty(c) && a.push(c);
return a.sort();
}
function Sc(b, a, c) {
for (var d = Qb(b), e = 0; e < d.length; e++) a.call(c, b[d[e]], d[e]);
return d;
}
function Rb(b) {
return function(a, c) {
b(c, a);
};
}
function bb() {
for (var a, b = ka.length; b; ) {
if (b--, a = ka[b].charCodeAt(0), 57 == a) return ka[b] = "A", ka.join("");
if (90 != a) return ka[b] = String.fromCharCode(a + 1), ka.join("");
ka[b] = "0";
}
return ka.unshift("0"), ka.join("");
}
function Sb(b, a) {
a ? b.$$hashKey = a : delete b.$$hashKey;
}
function D(b) {
var a = b.$$hashKey;
return q(arguments, function(a) {
a !== b && q(a, function(a, c) {
b[c] = a;
});
}), Sb(b, a), b;
}
function Y(b) {
return parseInt(b, 10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment