test files

This commit is contained in:
javi 2012-07-25 17:42:49 +02:00
parent 4bb0fc0ebe
commit 6fb339e21c
3 changed files with 2556 additions and 3 deletions

View File

@ -5,10 +5,10 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Carto Test</title>
<script src='underscore.js' type='text/javascript'></script>
<script src='reference.js' type='text/javascript'></script>
<script src='../dist/carto.js' type='text/javascript'></script>
<script>
function test() {
carto_initialize(carto, '/~tmcw/carto/lib/carto/tree/reference.json', function(carto) {
var style = document.getElementById('style').innerHTML;
var parse_env = {
error: function(obj) {
@ -25,7 +25,6 @@
// }
// }
});
});
}
</script>
</head>
@ -33,7 +32,7 @@
<h3>Style</h3>
<pre id='style'>
#world {
line-width: 2;
line-widthi: 2;
line-color: #f00;
}
</pre>

1495
test/reference.js Normal file

File diff suppressed because it is too large Load Diff

1059
test/underscore.js Normal file

File diff suppressed because it is too large Load Diff