Skip to content

Commit

Permalink
quick fix for alert
Browse files Browse the repository at this point in the history
  • Loading branch information
temsa committed Jun 9, 2011
1 parent e65e55e commit 7ea8ebd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/build.js
Expand Up @@ -22,6 +22,7 @@ module.exports = Proj4js;";

function nodify(filename, content) {
content = "var " + content +"\n\
var alert = console.error;\n\
Proj4js.getScriptLocation = function(){return './'};\n\
Proj4js.loadScript = function(url, onload, onfail, check){onload(require(url));}\n\
module.exports = Proj4js;\n" ;
Expand Down

0 comments on commit 7ea8ebd

Please sign in to comment.