Commit Graph

34 Commits

Author SHA1 Message Date
cloudhead
4e14ea045d (api) less.refresh [browser] 2010-06-15 02:11:35 -04:00
cloudhead
c008f71db2 use : in ids, - isn't authorized as first character. use firstChild instead of childNodes[0] 2010-06-15 01:17:35 -04:00
cloudhead
3ee89922fc various improvements to browser.js 2010-06-15 00:56:37 -04:00
cloudhead
0dcc820fe6 set optimization level depending on less.env 2010-06-14 21:43:34 -04:00
cloudhead
6705f8e501 cleanup browser.js, make ajax synch by default, with option to turn off 2010-06-14 21:30:56 -04:00
cloudhead
4135bbccbe cleanup browser.js 2010-06-14 21:20:04 -04:00
cloudhead
7b990c656a 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
4135ccf010 use two fields for cache, so we don't need to parse JSON 2010-06-14 21:08:11 -04:00
cloudhead
0d98d2401a (api) custom port == development mode 2010-06-14 21:07:38 -04:00
cloudhead
f0ce0533f7 refactored and fixed css node creation, for watch mode 2010-06-11 18:18:40 -04:00
cloudhead
0f1f776e43 (new) set watch mode with less.watch() and .unwatch() 2010-06-11 18:17:35 -04:00
cloudhead
5365e28514 fix trying to create CSS from null root [browser] 2010-06-09 21:55:32 -04:00
cloudhead
8468209ffc (new) ability to @import on the browser 2010-06-07 18:20:13 -04:00
cloudhead
3c1db240bd move error message css back in error function 2010-06-07 16:26:22 -04:00
cloudhead
96f414d082 fix generated stylesheet title 2010-06-07 16:12:59 -04:00
cloudhead
693ef38edf decoupled single stylesheet loading 2010-06-07 16:12:25 -04:00
cloudhead
25e3205eb3 Better error messages, wrap browser.js. 2010-06-07 15:47:41 -04:00
cloudhead
d8289eb59b (new) auto stylesheet refreshing with '#!refresh' 2010-06-06 18:23:55 -04:00
cloudhead
3755f632cc log error if no AJAX available 2010-05-23 12:52:23 -04:00
James Foster
93edde50d2 Fix for IE6 compatibility 2010-05-24 00:17:12 +08:00
cloudhead
70045e9c4b (minor) formatting 2010-05-18 21:16:44 -04:00
James Foster
e501f2e47c Fixes for IE7 compatibility 2010-05-19 08:52:49 +08:00
cloudhead
9c0b843fd2 fix querySelectorAll call 2010-05-17 23:09:12 -04:00
cloudhead
9bc98c5efa added ECMAScript 4 compatibility 2010-05-17 22:57:11 -04:00
cloudhead
0a271ccb5b fix timestamps not being compared properly, when loading a .less 2010-04-30 15:22:58 -04:00
cloudhead
097f2ba455 fix error styles 2010-04-30 15:09:36 -04:00
cloudhead
5f653ce748 fix for when css isn't available in local storage 2010-04-30 14:49:58 -04:00
cloudhead
280d741b38 use a timer to check when the dom is ready, before showing errors 2010-04-26 14:22:37 -04:00
cloudhead
45789d8d19 automatically set less.env in certain conditions 2010-04-26 14:22:18 -04:00
cloudhead
5fad97e483 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
87e209ed8a less.js now works in firefox, safari and chrome 2010-04-01 22:37:59 -04:00
cloudhead
f76f6984a9 functional browser based parsing + css node creation 2010-03-23 01:16:59 -04:00
cloudhead
dd9d2cbeb4 fix typo in browser.js 2010-03-22 23:24:05 -04:00
cloudhead
823d69fd67 browser.js init -- very basic browser support - Makefile also builds for browser now 2010-03-22 23:12:58 -04:00