I like the easy way to use jQuery and would prever to use it also in metro style apps. I would like to have a plugin/wrapper/monkey-patch, that uses the winJS-Functions in jQuery. For example I’am using the following plugin to avoid MSPointer-Problems:
$.fn.msMousedown = function(handler) {
var eventType = 'mousedown touchstart';
if (window.navigator.msPointerEnabled)
eventType = 'MSPointerDown';
this.bind(eventType,handler);
})( jQuery );
Is there any project that I can use that does this handling for me? Maybe a jQuery-Plugin, that allows to just use jQuery in Windows 8-Projects?
In my opinion winJS is to complicated and would be much easier if it uses the simple jQuery-syntax. So I’am searching for an alternative to winJS
Take a look at my jqToDo sample. It has a reusable wrapper script that makes WinJS controls look like jQueryUI widgets.