Permalink
Browse files

bringing it up to date with latest upstream changes. also credits.

  • Loading branch information...
paulirish committed Oct 24, 2010
1 parent cfc7442 commit 8bf32a1c50358d5fa96f0636b0b1c41c1e576545
Showing with 20 additions and 14 deletions.
  1. +14 −1 build/build.xml
  2. +6 −0 images/.gitignore
  3. +0 −13 index.html
View
@@ -225,11 +225,13 @@
<!--
<delete dir="./${dir.publish}/${dir.js.lib}/"/>
<delete file="./${dir.publish}/${dir.js}/libs-${build.number}.js"/>
- -->
+
<delete includeemptydirs="true">
<fileset dir="./${dir.publish}/${dir.js.libs}/" includes="*.js" excludes="*.min.js"/>
</delete>
+
+ -->
</target>
<!-- JS, Delete concatenated libs file (only if concat.scripts and delete.unoptimized are defined) -->
@@ -274,6 +276,7 @@
<!-- <delete file="./publish/css/style-${build.number}.css"/> -->
</target>
+
<!--
IMAGES: png
-->
@@ -283,18 +286,21 @@
<arg value="-o7"/>
<fileset dir="./${dir.publish}/${dir.images}">
<exclude name="*.jpg"/>
+ <exclude name=".gitignore"/>
</fileset>
</apply>
<apply executable="optipng" osfamily="mac">
<arg value="-o7"/>
<fileset dir="./${dir.publish}/${dir.images}">
<exclude name="*.jpg"/>
+ <exclude name=".gitignore"/>
</fileset>
</apply>
<apply executable="tools/optipng-0.6.4-exe/optipng.exe" osfamily="windows">
<arg value="-o7"/>
<fileset dir="./${dir.publish}/${dir.images}">
<exclude name="*.jpg"/>
+ <exclude name=".gitignore"/>
</fileset>
</apply>
</target>
@@ -353,6 +359,13 @@
<!-- switch any google CDN reference to minified -->
<replaceregexp match="(\d|\d(\.\d)+)\/jquery\.js" replace="\1/jquery.min.js" file="./${dir.publish}/${file.index}" flags=""/>
+ <!-- switch modernizr to minified -->
+ <replace token="modernizr-1.6pre.js" value="modernizr-1.6pre.min.js" file="./${dir.publish}/${file.index}"/>
+
+ <echo>kill off those versioning flags</echo>
+ <replaceregexp match='\?v=\d+">' replace='">' file="./${dir.publish}/${file.index}" flags=""/>
+
+
</target>
View
@@ -0,0 +1,6 @@
+*
+!.gitignore
+
+
+
+
View
@@ -60,12 +60,6 @@
-<style>
-
-
-
-
-</style>
<body>
@@ -84,13 +78,6 @@ <h1 contenteditable>MOTHER EFFING TEXT-SHADOW</h1>
<textarea></textarea>
<br><br><tt>Made by <a href=http://paulirish.com>Paul Irish</a></tt>
- <script>
-
-
-
-
- </script>
-
<!-- Javascript at the bottom for fast page loading -->

0 comments on commit 8bf32a1

Please sign in to comment.