Commit Graph

33 Commits

Author SHA1 Message Date
cloudhead
4835eacdf4 use : in ids, - isn't authorized as first character. use firstChild instead of childNodes[0] 2010-06-15 01:17:35 -04:00
cloudhead
4a74c0049b various improvements to browser.js 2010-06-15 00:56:37 -04:00
cloudhead
d7ce0d973d set optimization level depending on less.env 2010-06-14 21:43:34 -04:00
cloudhead
c8a7ce9bd5 cleanup browser.js, make ajax synch by default, with option to turn off 2010-06-14 21:30:56 -04:00
cloudhead
cacba8e311 cleanup browser.js 2010-06-14 21:20:04 -04:00
cloudhead
e3888bfdd2 don't use a timer to load the stylesheets, or the body starts loading too early 2010-06-14 21:19:39 -04:00
cloudhead
639a5dd3d6 use two fields for cache, so we don't need to parse JSON 2010-06-14 21:08:11 -04:00
cloudhead
77f82601aa (api) custom port == development mode 2010-06-14 21:07:38 -04:00
cloudhead
a386380afb refactored and fixed css node creation, for watch mode 2010-06-11 18:18:40 -04:00
cloudhead
09fc69b654 (new) set watch mode with less.watch() and .unwatch() 2010-06-11 18:17:35 -04:00
cloudhead
03e94d2860 fix trying to create CSS from null root [browser] 2010-06-09 21:55:32 -04:00
cloudhead
183f285f24 (new) ability to @import on the browser 2010-06-07 18:20:13 -04:00
cloudhead
277c45eb5e move error message css back in error function 2010-06-07 16:26:22 -04:00
cloudhead
7a36ffd877 fix generated stylesheet title 2010-06-07 16:12:59 -04:00
cloudhead
4c27e0a9bb decoupled single stylesheet loading 2010-06-07 16:12:25 -04:00
cloudhead
85d50c84da Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
621b13d11d (new) auto stylesheet refreshing with '#!refresh' 2010-06-06 18:23:55 -04:00
cloudhead
3b69642134 log error if no AJAX available 2010-05-23 12:52:23 -04:00
James Foster
8a02f29050 Fix for IE6 compatibility 2010-05-24 00:17:12 +08:00
cloudhead
fae02b0889 (minor) formatting 2010-05-18 21:16:44 -04:00
James Foster
101790db21 Fixes for IE7 compatibility 2010-05-19 08:52:49 +08:00
cloudhead
410b34314e fix querySelectorAll call 2010-05-17 23:09:12 -04:00
cloudhead
a9b47a026c added ECMAScript 4 compatibility 2010-05-17 22:57:11 -04:00
cloudhead
839da27353 fix timestamps not being compared properly, when loading a .less 2010-04-30 15:22:58 -04:00
cloudhead
861bc2972a fix error styles 2010-04-30 15:09:36 -04:00
cloudhead
d9dd858160 fix for when css isn't available in local storage 2010-04-30 14:49:58 -04:00
cloudhead
4347211270 use a timer to check when the dom is ready, before showing errors 2010-04-26 14:22:37 -04:00
cloudhead
210e2e1886 automatically set less.env in certain conditions 2010-04-26 14:22:18 -04:00
cloudhead
535a0301ba Local Storage caching, and .less loading from disk
- .less files can now be loaded directly from disk
- nice error messages
- use HTML 5 storage to cache parsing
2010-04-25 19:42:49 -04:00
cloudhead
03e669be21 less.js now works in firefox, safari and chrome 2010-04-01 22:37:59 -04:00
cloudhead
a2133e4b78 functional browser based parsing + css node creation 2010-03-23 01:16:59 -04:00
cloudhead
3287a6ce2c fix typo in browser.js 2010-03-22 23:24:05 -04:00
cloudhead
ca43e06db9 browser.js init -- very basic browser support - Makefile also builds for browser now 2010-03-22 23:12:58 -04:00