Good cross-browser javascript compatibility / extension library?

Apparently, I have lost all of my Google skills. I cannot find good results for javascript libraries that try to cross-brownize standardized javascript and provide minor improvements.

I am NOT looking for a complete structure such as jQuery, Prototype, etc., although they do this type of thing at some level. I mean only the language / accessible standardization of functions, no DOM materials. Just a good cross-browser library, which ensures the availability of all standard materials (array map, reduction, etc.), Support for things like Date.toISOString () in IE 6/7/8, etc ... I already know about ie7.js, ie8.js and ie9.js, but they do not exactly match the vector.

So what else is there?

UPDATE To be clear, here is the type of things the library would say (all crossbrowsers, with natural fallback errors):

  • Support Date.toISOstring
  • Array.map, Array.each, Array.filter, Array.reduce support
  • Incorrect / deep object cloning
  • etc...
+8
javascript standards cross-browser
source share
4 answers

Array extensions (LastElement, InsertAt, InsertRange, Remove, RemoveAt, RemoveRange, Clear, Contains, Equals, Copy, Append, Merge, Search, Filter): http://programmingsolution.net/post/JavaScript-Array-Extension.aspx

Array extensions : (copy, forEach, find, findAll, contains, distinguish, min, max, first, last, sortAscending, sortDescending, randomize, count, except, intersect, average, sum, union, safePush, getRandom, insertAt, remove) : http://www.thegrubbsian.com/2009/01/25/useful-javascript-extensions

Extensions of Date objects - datejs.js: (today, compare, compareTo, equals, isAFter, isBefore, isLeapYear, parse, parseExact, validateDay, validateHour, validateMonth, validateMinute, validateSecond, validateYear, add, addSeconds, addMinutesD, addMinutes, addours , addWeeks, addMonths, clone, getWeek, getISOWeek, setWeek, toISOString): http://code.google.com/p/datejs/wiki/APIDocumentation

copy, deepCopy, clone - http://oranlooney.com/deep-copy-javascript/

+4
source share

I find UnderscoreJS very useful for loops / sorting / queries, manipulating arrays, displaying / decrementing etc:

It does not have date related functions. There is dateJS for parsing datetime

+11
source share

If you are only looking for JS constructs without inflating the DOM, you might be interested in configuring ES5: https://github.com/kriskowal/es5-shim p>

It provides most of the features of ES5 to a reasonable extent.

+5
source share

You can try PassJS , the emerging JS library.

0
source share

All Articles