removed unnused files
This commit is contained in:
parent
44610ab1c4
commit
79a770f0af
@ -1,13 +0,0 @@
|
||||
|
||||
var assert = {
|
||||
ok: function(value, message) {
|
||||
message = message || '';
|
||||
if(!value) throw new Error("assertion failed", message);
|
||||
}
|
||||
};
|
||||
|
||||
if (navigator.userAgent.indexOf('MSIE 8.0') !== -1 || navigator.userAgent.indexOf('MSIE 7.0') !== -1) {
|
||||
Object.defineProperty = function(o, p, fn) { o[p] = fn.value; };
|
||||
}
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
|
||||
var carto_initialize = function(carto, uri, callback) {
|
||||
callback();
|
||||
};
|
1895
browser/reference.js
1895
browser/reference.js
File diff suppressed because it is too large
Load Diff
@ -1,23 +0,0 @@
|
||||
//
|
||||
// Stub out `require` in the browser
|
||||
//
|
||||
window.carto = window.carto || {};
|
||||
window.carto.underscore = window._;
|
||||
|
||||
function require(arg) {
|
||||
var mod = window.carto[arg];
|
||||
if(!mod) {
|
||||
mod = window.carto[arg.split('/')[1]];
|
||||
}
|
||||
if(!mod) {
|
||||
mod = window.carto[arg]
|
||||
}
|
||||
if(!mod) {
|
||||
mod = window[arg.split('/')[1]];
|
||||
}
|
||||
// try global scope
|
||||
if(!mod) {
|
||||
mod = window[arg]
|
||||
}
|
||||
return mod;
|
||||
}
|
Loading…
Reference in New Issue
Block a user