This file contains hidden or 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
.alert { | |
padding: 10px; | |
left: 50%; | |
margin-left: -300px; | |
padding-right: 35px; | |
position: fixed; | |
top: 10px; | |
width: 600px; | |
z-index: 9999; | |
border: 1px solid transparent; |
This file contains hidden or 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
$ = jQuery | |
# An abstract class that provide jQuery plugin setup functionalities. | |
class window.PluginBase | |
# Redefine this dictionary to specify default options | |
@defaultOptions: {} | |
# The default constructor calls the initialize method and set the jQuery element. | |
# Remember to call super in subclasses if you want to maintain this behaviour. |
NewerOlder