summaryrefslogtreecommitdiff
path: root/bin/lib/less/tree/anonymous.js
diff options
context:
space:
mode:
authorJohn Postlethwait <john.postlethwait@nebula.com>2012-05-11 23:37:35 -0700
committerJohn Postlethwait <john.postlethwait@nebula.com>2012-06-07 14:32:43 -0700
commit0074328fbbac6967d5dda2f3b0f3f98a91d17a01 (patch)
tree5eea54c65561786fbd88641dc65d85ac521a51b2 /bin/lib/less/tree/anonymous.js
parent187785b28d7cfeb3fb4f87b67d71bc3dcf1f1354 (diff)
downloadtuskar-ui-0074328fbbac6967d5dda2f3b0f3f98a91d17a01.tar.gz
Updating Horizon to use LESS.
This changes all of the Bootstrap CSS and Horizon CSS to use LESS. Horizon's specific CSS will be organized into separate files in another commit, as it is outside the scope of this BP. We are also now packing LESS 1.3.0 directly within Horizon. Implementation of Blueprint transition-to-lesscss Change-Id: Ie4be8b28ab3ce04ea21d7d5cd49c2ccb66bd8ade
Diffstat (limited to 'bin/lib/less/tree/anonymous.js')
-rw-r--r--bin/lib/less/tree/anonymous.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/lib/less/tree/anonymous.js b/bin/lib/less/tree/anonymous.js
new file mode 100644
index 00000000..460c9ec7
--- /dev/null
+++ b/bin/lib/less/tree/anonymous.js
@@ -0,0 +1,13 @@
+(function (tree) {
+
+tree.Anonymous = function (string) {
+ this.value = string.value || string;
+};
+tree.Anonymous.prototype = {
+ toCSS: function () {
+ return this.value;
+ },
+ eval: function () { return this }
+};
+
+})(require('../tree'));