Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minified aight.d3

  • Loading branch information...
commit dd58206c2432b31425270556fa034fe15cabc541 1 parent c805b4d
Shawn Allen authored
Showing with 3 additions and 2 deletions.
  1. +2 −2 Makefile
  2. +1 −0  aight.d3.min.js
View
4 Makefile
@@ -10,7 +10,7 @@ JS_FILES = \
JS_COMPILER ?= uglifyjs
-all: aight.js aight.min.js \
+all: aight.js aight.min.js aight.d3.min.js \
css/pie/build/PIE_IE678.js
clean:
@@ -19,7 +19,7 @@ clean:
aight.js: $(JS_FILES)
cat $(JS_FILES) > $@
-aight.min.js: aight.js
+%.min.js: %.js
$(JS_COMPILER) $< > $@
css/pie/build/PIE_IE678.js:
View
1  aight.d3.min.js
@@ -0,0 +1 @@
+(function(e){aight.d3={};if(aight.browser.ie8){function t(e,t,n){var r=function(t){var r=this.node().style[e];return n?n.call(this,r,t):r},i=function(n,r){return this.each(function(){var i=typeof r=="function"?r.apply(this,arguments):r;this.style[e]=t?t.call(this,i,n):i})};return function(){return arguments.length>1?i.apply(this,arguments):r.call(this)}}var n={"background-image":t("backgroundImage"),"background-repeat":t("backgroundRepeat"),"background-position":t("backgroundPosition"),"background-color":t("backgroundColor"),opacity:t("filter",function(t){return["alpha(opacity=",Math.round(t*100),")"].join("")},function(t){var n=(t||"").match(/opacity=(\d+)/)[1]||100;return n/100})};aight.d3.style=n;var r=d3.selection.prototype.style;d3.selection.prototype.style=function(e){var t=n.hasOwnProperty(e)?n[e]:r;return t.apply(this,arguments)}}})(this);
Please sign in to comment.
Something went wrong with that request. Please try again.