Permalink
Browse files

thwarting hotlinking

  • Loading branch information...
1 parent f61db2f commit af7b1432a4dcaea19058d0b1cbd8d21e83f23386 @mckamey committed Apr 5, 2014
Showing with 8 additions and 2 deletions.
  1. +2 −0 .hgignore
  2. +4 −0 build.xml
  3. +1 −1 demo.html
  4. +1 −1 test/unit.html
View
@@ -11,3 +11,5 @@
.*\.sh
ga.js
robots.txt
+antixss\.js
+countdown\.demo\.js
View
@@ -30,6 +30,10 @@
<target name="all" depends="compile.js">
<echo message="Build completed." />
+ <concat destfile="${build.dir}/countdown.demo.js">
+ <fileset file="${build.dir}/antixss.js" />
+ <fileset file="${build.dir}/countdown.min.js" />
+ </concat>
</target>
</project>
View
@@ -107,7 +107,7 @@ <h2 id="counter">Countdown.js Demo</h2>
<script src="lib/json/json2.js" type="text/javascript"></script>
<script src="lib/raf/requestAnimationFrame.js" type="text/javascript"></script>
- <script src="countdown.min.js" type="text/javascript"></script>
+ <script src="countdown.demo.js" type="text/javascript"></script>
<script src="demo.js" type="text/javascript"></script>
<footer>
View
@@ -12,7 +12,7 @@
</script>
<script src="../lib/json/json2.js" type="text/javascript"></script>
<script src="../lib/qunit/qunit.js" type="text/javascript"></script>
- <script src="../countdown.min.js" type="text/javascript"></script>
+ <script src="../countdown.demo.js" type="text/javascript"></script>
<script src="timespanTests.js" type="text/javascript"></script>
<script src="formatTests.js" type="text/javascript"></script>
</head>

0 comments on commit af7b143

Please sign in to comment.