Created
October 7, 2015 07:00
-
-
Save tyoshikawa1106/d158f64fd008ccb990f0 to your computer and use it in GitHub Desktop.
ページごとのJavaScriptを用意する方法
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
EventItemJs = (function() { | |
"use strict"; | |
function EventItemJs() {} | |
EventItemJs.openEditEventModal = function(eventId) { | |
$('#edit-event-modal-' + eventId).removeClass("slds-hide"); | |
$('#edit-event-modal-' + eventId).addClass("slds-show"); | |
return false; | |
} | |
EventItemJs.closeEditEventModal = function(eventId) { | |
$('#edit-event-modal-' + eventId).removeClass("slds-show"); | |
$('#edit-event-modal-' + eventId).addClass("slds-hide"); | |
return false; | |
} | |
return EventItemJs; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment