What JavaScript libraries are independent of the document object and navigator?

I'm currently looking for some libraries that can help me develop an iPhone using Appcelerator Titanium. I heard that since version 1.0 it is no longer dependent on webkit, and this makes the development application more accessible, of course, please correct me if I am wrong. Like many people, I really like Javascript Frameworks such as JQuery and Mootools, but they were specially created to do great work in the browser, and most of the functionality is not needed in the environment that Titanium now provides (DOM-Manipulation, etc. .).

Is there any other small library of useful functions that I can use for development? thanks in advance.

+4
source share
2 answers

Take a look at underscore.js . It provides many useful functional commands that expand your ability to work with collections, objects, etc. Very nice, not DOM-specific at all.

+1
source

You can get convenient AJAX functionality with the jx library. It does not depend on the availability of a browser.

0
source

Source: https://habr.com/ru/post/1308806/


All Articles