Merge pull request #51 from aeosynth/test

opera can into Object.keys
This commit is contained in:
Mayhem 2011-12-14 06:47:12 -08:00
commit 280ad67e84
2 changed files with 0 additions and 16 deletions

View File

@ -173,17 +173,6 @@
log = typeof (_base = console.log).bind === "function" ? _base.bind(console) : void 0;
if (!Object.keys) {
Object.keys = function(o) {
var key, _results;
_results = [];
for (key in o) {
_results.push(key);
}
return _results;
};
}
conf = {};
(flatten = function(parent, obj) {

View File

@ -103,11 +103,6 @@ config =
# XXX GreaseMonkey can't into console.log.bind
log = console.log.bind? console
# XXX opera cannot into Object.keys
if not Object.keys
Object.keys = (o) ->
key for key of o
# flatten the config
conf = {}
(flatten = (parent, obj) ->