mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5268a7d179
commit
75f3db6828
@ -177,6 +177,19 @@ Items.ListTitle = function(){}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
// Generate an event method...
|
||||
//
|
||||
// Trigger an event
|
||||
// .event()
|
||||
// .event(arg, ..)
|
||||
// -> this
|
||||
//
|
||||
// Bind an event handler...
|
||||
// .event(func)
|
||||
// -> this
|
||||
//
|
||||
//
|
||||
// XXX should this be simply a shorthand to .trigger(..) ???
|
||||
var makeEventMethod = function(event, handler){
|
||||
return function(item){
|
||||
if(item instanceof Function){
|
||||
@ -190,6 +203,9 @@ var makeEventMethod = function(event, handler){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
var BaseBrowserClassPrototype = {
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user