Created
August 7, 2014 05:09
-
-
Save hiro-matsuno/d5137cc601fb03fa3f6a to your computer and use it in GitHub Desktop.
Tizenのアプリを学んでいた時に気がついたこと
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tizenアプリを作っていた時に気がついたことは。 | |
onメソッドでjQueryをバインドしていました。 | |
昔の書き方 | |
$('セレクタ名').bind('アクション',動作プログラミング); | |
今の書き方 | |
$('セレクタ名').on('アクション',動作プログラミング); | |
です。 | |
気をつけたほうがよさげですね。 | |
jQuery2系からこの書き方なので要注意です。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment