Commit Graph

31 Commits

Author SHA1 Message Date
Francisco Dans
2631c928b7 adds Makefile to produce uncompressed and minified dists 2015-01-19 14:29:11 +01:00
javi
56d69ab68a browserify fixes 2014-12-17 14:35:42 +01:00
javi
ae111041dd making explicit imports 2014-12-04 17:28:54 +01:00
javi
2e00705b64 adds support for browserify
this pr also changes some code to make compatible with the browser. It exposes the global variable "carto"
One of the problems is mapnik reference, the module is not read to work with browserify since it loads modules dynamically. It does not make sense to make it compatible since mapnik-reference is not going to be used so people must to set the reference needed before parse/render:

carto.tree.Reference.setData(reference)
2014-12-04 16:29:20 +01:00
Tom MacWright
9eee907467 Simplify filter system, support numeric variables in filters 2012-12-19 17:01:35 -05:00
Sandro Santilli
481b19f30e Provide GNU standard Makefile target "check" (#151) 2012-06-22 11:57:18 +02:00
Tom MacWright
a7748e6392 Port tests to mocha, remove many global variable leaks. 2012-05-02 12:56:38 -04:00
Dane Springmeyer
ed19aa1bc1 node v6 compatible 2012-03-07 12:41:42 -08:00
Tom MacWright
b6cc102089 Using jshint for more up-tightness 2011-05-10 17:20:41 -04:00
Tom MacWright
6621e178bc Using easier paths for binaries 2011-05-10 16:54:10 -04:00
Tom MacWright
0e005fe21d Tagging 0.1.5 2011-05-03 11:12:36 -04:00
Tom MacWright
7d5cca18f0 No more ndistro, expect system utilities 2011-04-29 14:51:57 -04:00
Tom MacWright
3147a89a48 Rename mess to carto. 2011-02-07 11:22:14 -05:00
Tom MacWright
90fdaab9d7 Document tree items as well, fix up a few of their documentations 2011-02-02 16:47:33 -05:00
Tom MacWright
490b51c6fd Adding make doc command, making renderer docs better for docco, writing some docs. 2011-02-02 16:24:20 -05:00
Konstantin Käfer
ef62473c65 only run *.test.js tests 2011-01-26 18:09:27 -05:00
Konstantin Käfer
62baf1c12d support running individual tests 2011-01-25 17:37:55 -05:00
Tom MacWright
241d5e9b0a Re-add PHONY line, stupid me 2011-01-25 17:10:47 -05:00
Tom MacWright
13341e1792 Removing makefile detritus 2011-01-25 16:48:24 -05:00
Konstantin Käfer
d0ab75f84b update test framework to use expresso 2011-01-20 14:41:27 -05:00
Konstantin Käfer
f899909e1d update test runner to be more verbose and show what failed on errors
uses node-xml2js to compare xml files
use ndistro to install dependencies
2011-01-19 12:16:50 -05:00
cloudhead
acc715101d (dist) new dist commands to Makefile 2010-07-08 00:55:27 +02:00
cloudhead
b195601898 (dist) require() goes in its own file 2010-06-15 18:54:46 -04:00
cloudhead
92db519390 (dist) wrap script in anonymous function 2010-06-15 18:05:03 -04:00
cloudhead
1146363b8e (dist) fix version extraction in Makefile 2010-06-07 05:08:52 -04:00
cloudhead
fc9ff07a29 (dist) extract version info from package.json 2010-05-26 13:37:34 -04:00
cloudhead
a9b47a026c added ECMAScript 4 compatibility 2010-05-17 22:57:11 -04:00
cloudhead
38fe88abef added compat.js and tree.js to build, it now builds in dist/ 2010-03-29 22:24:09 -04:00
cloudhead
3a474c9bae Created a compat.js file in build/, for browser compatiblity, moved trim() in
there. LESS builds to dist/ now.
2010-03-27 02:24:39 -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
cloudhead
953b620d11 I guess 'Makefile' starts with a cap.. 2010-03-18 18:13:27 -04:00