-
-
Save wasipo/c21824cb79a93645f85a03989d840385 to your computer and use it in GitHub Desktop.
jQuery散らかるので、JSを機能毎にまとめる方法ないか考察中
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
var event = { | |
page_a : function() { | |
jQuery("#b").on("click",function(){alert("mogekiti")}) | |
}, | |
} | |
var init = { | |
data : function() { jQuery(function(){ | |
event.page_a(); | |
})}, | |
} | |
init.data(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment