1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Contacts: Removed js compatibility functions now in core.

This commit is contained in:
Thomas Tanghus 2013-04-07 04:56:54 +02:00
parent fb7fd6fc2c
commit 1589866f8c

View File

@ -6,30 +6,6 @@ Modernizr.load({
]
});
if (typeof Object.create !== 'function') {
Object.create = function (o) {
function F() {}
F.prototype = o;
return new F();
};
}
if (typeof Object.keys !== 'function') {
Object.keys = function(o) {
if (o !== Object(o)) {
throw new TypeError('Object.keys called on a non-object');
}
var k=[],p;
for (p in o) {
if (Object.prototype.hasOwnProperty.call(o,p)) {
k.push(p);
}
}
return k;
}
}
(function($) {
$.QueryString = (function(a) {
if (a == "") return {};