fixed same prototype bug as in localStorage

Этот коммит содержится в:
AJ ONeal 2013-01-26 02:04:32 -07:00
родитель 9616ea92b8
Коммит 36e19f1e78

Просмотреть файл

@ -36,7 +36,7 @@
} }
Storage.prototype.getItem = function (key) { Storage.prototype.getItem = function (key) {
if (key in this) { if (this.hasOwnProperty(key)) {
return String(this[key]); return String(this[key]);
} }
return null; return null;