Use relative require paths.

This commit is contained in:
Young Hahn 2011-07-22 12:27:38 -04:00
parent 700a27ab0f
commit fa17fb5a8a
30 changed files with 30 additions and 30 deletions

View File

@ -11,4 +11,4 @@ tree.Alpha.prototype = {
eval: function() { return this; }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -10,4 +10,4 @@ tree.Anonymous.prototype = {
eval: function() { return this; }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -45,4 +45,4 @@ tree.Call.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -91,4 +91,4 @@ tree.Color.prototype = {
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -11,4 +11,4 @@ tree.Comment.prototype = {
eval: function() { return this; }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -154,4 +154,4 @@ tree.Definition.prototype.toXML = function(env, existing) {
return xml;
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -40,4 +40,4 @@ tree.Dimension.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -30,4 +30,4 @@ tree.Directive.prototype = {
rulesets: function() { return tree.Ruleset.prototype.rulesets.apply(this.ruleset) }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -30,4 +30,4 @@ tree.Element.prototype.matches = function(id, classes) {
(this.value === '*');
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -18,4 +18,4 @@ tree.Expression.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -53,4 +53,4 @@ tree.Filter.prototype.toString = function() {
return '[' + this.id + ']';
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -1,4 +1,4 @@
var tree = require('carto/tree');
var tree = require('../tree');
tree.Filterset = function Filterset() {};

View File

@ -35,4 +35,4 @@ tree.FontSet.prototype.toXML = function(env) {
+ '\n</FontSet>'
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -74,4 +74,4 @@ tree.Import.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -5,4 +5,4 @@ tree.Invalid = function Invalid(chunk, index, message) {
this.type = 'syntax';
this.message = message || "Invalid code: " + this.chunk;
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -34,5 +34,5 @@ tree.JavaScript.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -14,4 +14,4 @@ tree.Keyword.prototype = {
toString: function() { return this.value }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -25,4 +25,4 @@ tree.Layer.prototype.toXML = function() {
' </Layer>\n';
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -96,4 +96,4 @@ tree.mixin.Definition.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -55,4 +55,4 @@ tree.operate = function(op, a, b) {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -14,4 +14,4 @@ tree.Quoted.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -133,4 +133,4 @@ tree.Reference.validValue = function(env, selector, value) {
}
}
})(require('carto/tree'));
})(require('../tree'));

View File

@ -89,4 +89,4 @@ tree.Shorthand.prototype = {
eval: function() { return this }
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -188,4 +188,4 @@ tree.Ruleset.prototype = {
return result;
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -27,4 +27,4 @@ tree.Selector.prototype.specificity = function() {
}, [0, 0, this.conditions, this.index]);
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -15,4 +15,4 @@ tree.Style.prototype.toXML = function(env) {
return '<Style name="' + this.name + '" filter-mode="first">\n' + rules.join('') + '</Style>';
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -33,4 +33,4 @@ tree.URL.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -28,4 +28,4 @@ tree.Value.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -34,4 +34,4 @@ tree.Variable.prototype = {
}
};
})(require('carto/tree'));
})(require('../tree'));

View File

@ -1,4 +1,4 @@
var tree = require('carto/tree');
var tree = require('../tree');
// Storage for zoom ranges. Only supports continuous ranges,
// and stores them as bit-sequences so that they can be combined,