Permalink
Browse files

Minified jquery and added error check in view.

  • Loading branch information...
1 parent b04c729 commit df0b90f8836d25cc49233b1325bd0acb9c8b13b2 @nikhilm committed Dec 14, 2010
Showing with 157 additions and 6,242 deletions.
  1. +0 −6,240 deps/jquery-1.4.2.js
  2. +154 −0 deps/jquery-min.js
  3. +3 −2 view.html
View
View
View
@@ -9,12 +9,13 @@
<img src="<%= image_url %>" id="the-image" />
-<script language="javascript" src="/deps/jquery-1.4.2.js" > </script>
+<script language="javascript" src="/deps/jquery-min.js" > </script>
<script language="javascript" src="/view.js" > </script>
<script language="javascript">
$(function() {
var faces = <%= faces %>;
- mark(faces);
+ if( typeof(faces) != 'string' )
+ mark(faces);
})
</script>

0 comments on commit df0b90f

Please sign in to comment.