Skip to content

Instantly share code, notes, and snippets.

@furugomu
Created February 27, 2013 17:06
Show Gist options
  • Save furugomu/5049599 to your computer and use it in GitHub Desktop.
Save furugomu/5049599 to your computer and use it in GitHub Desktop.
ミリオンライブのマイページで、クリックでも喋るようにする。
$(".unit-ani-box")
.on("mousedown", function() {
imas.UnitArea.touch($(this).data("position"));
})
.on("mouseup", function() {
imas.UnitArea.release($(this).data("position"));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment