I haven't understood how to use a JQuery library with Ur/Web because most JQuery library demos (just the demo, with no involvement with Ur/Web) tend to have a call to $... on their index.html page, and I couldn't figure out how to make that call to $... from Ur/Web.
Now, looking at Edward Z. Yang's Logitext, I see this line: https://github.com/ezyang/logitext/blob/master/js.urp#L11 script http://localhost/logitext/ffi.js And ffi.js does call $...: https://github.com/ezyang/logitext/blob/master/ffi.js So it seems that this could be used as a guide for wrapping other JavaScript libraries for Ur/Web, eg the DatePicker libraries I want to use: https://github.com/dbushell/Pikaday/blob/master/pikaday.js https://github.com/eternicode/bootstrap-datepicker/blob/master/js/bootstrap-datepicker.js Does this approach make sense?
_______________________________________________ Ur mailing list [email protected] http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
