Browse files

change test-3 encoding (utf-8)

removed ald elements from the page
  • Loading branch information...
1 parent 7b7c576 commit f2552894c1e8578809b826160cb4627f0e9bb989 tzury committed Sep 15, 2008
Showing with 1 addition and 10 deletions.
  1. +0 −2 jquery.hotkeys.js
  2. +1 −8 test-static-03.html
View
2 jquery.hotkeys.js
@@ -101,7 +101,6 @@ Note:
// see if there are other types, pass them to the original $.fn.bind
if (pass2jq){
- // call original jQuery.bind()
result = this.__bind__(pass2jq, data, fn);
}
@@ -236,7 +235,6 @@ Note:
return result;
}
}
- //return true;
}
};
// place it under window so it can be extended and overridden by others
View
9 test-static-03.html
@@ -29,21 +29,14 @@
</tr>
</tbody>
</table>
- <input type='button' value='UnBind Click' onclick="unbindClick()" />
- <input type='button' value='UnBind Keyup' onclick="unbindKeyup()" />
</body>
- <hr />
- <div id="logger"></div>
<script src="jquery-1.2.6.js"></script>
<script src="jquery.hotkeys.js"></script>
<script>
$(document).ready(function(){
$('input.foo').bind('keyup', '$', function(){
- var v = this.value;
- v = v.replace('$', '');
- this.value = v;
+ this.value = this.value.replace('$', '');
});
});
-
</script>
</html>

0 comments on commit f255289

Please sign in to comment.