Skip to content

Commit

Permalink
fix demo tap event
Browse files Browse the repository at this point in the history
  • Loading branch information
Maizify committed Apr 28, 2016
1 parent ab8a605 commit 7535110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/demo1.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="page_title">Demo 1</h1>
console[type](type); // 例如,console.log(type)
showTips();
});
$('.js_btn_log_obj').on('click', function(e) {
$('.js_btn_log_obj').on('tap', function(e) {
console.log({
'foo': 'bar',
'tips': 'JS对象会转为JSON字符串输出'
Expand Down

0 comments on commit 7535110

Please sign in to comment.