Joined December 2012
·
Posted to
JavaScript iterate through object keys and values
over 1 year
ago
And for compatibility with all browsers before using Object.keys() call this:
if (!Object.keys) 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;
}
Posted to
Bootstrap without all the debt
over 1 year
ago
I agree with article in general and great info, thanks, but I still think it's a overhead..
I just use default bootstrap compiled css and just load custom css after .. that's it!
I do not like meesing around less .. or sass cose it just ruins my workflow tremendously, even do I like it so much!!!
cheers
Achievements
202 Karma
17,256 Total ProTip Views
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Charity
Fork and commit to someone's open source project in need
@voidus,
thanks for great comment, and also cool class,, this simplehtmldom looks great!
cheers