Browse files

Removed some extraneous comments

  • Loading branch information...
1 parent 9c0c1ca commit efb820a14671060df03e527a76db3850306477db Cory Dorning committed Jul 12, 2011
Showing with 14 additions and 8 deletions.
  1. +13 −7 jangle-example.html
  2. +1 −1 jquery-jangle-0.3.js
View
20 jangle-example.html
@@ -1,5 +1,6 @@
<!doctype html>
<html lang="en">
+
<head>
<meta charset="utf-8">
@@ -8,8 +9,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>jangle Plug-in Demo</title>
+
<meta name="description" content="jangle is a jQuery plugin that converts an image to a canvas element and allows you to rotate the canvas.">
- <!-- If dynamic, this should be set via CMS template -->
<meta name="author" content="Cory Dorning">
<!-- Mobile viewport optimized -->
@@ -18,14 +19,19 @@
<body>
- <!-- if using different grid size, updated container class -->
<div class="container">
+
<h1>jAngle - Full</h1>
- <img src="jquery-logo.png">
-
- <p>Enter an angle: <input type="text" /><button>Rotate!</button></p>
- </div>
- <!--! end of .container -->
+
+ <img src="jquery-logo.png" alt="jQuery Logo">
+
+ <p>
+ Enter an angle:
+ <input type="text" />
+ <button>Rotate!</button>
+ </p>
+
+ </div><!-- .container -->
<!-- Javascript at the bottom for faster page loading -->
View
2 jquery-jangle-0.3.js
@@ -12,7 +12,7 @@
(function($) {
$.fn.jangle = function(a) {
// set default if one isn't passed in
- var angle = a == parseInt(a) ? a % 360 : 180,
+ var angle = a == parseInt(a, 10) ? a % 360 : 180,
// crazy math algorithm voodoo - see http://msdn.microsoft.com/en-us/library/ms533014%28VS.85%29.aspx
// and http://www.boogdesign.com/b2evo/index.php/element-rotation-ie-matrix-filter?blog=2

0 comments on commit efb820a

Please sign in to comment.