mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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){
|
var makeEventMethod = function(event, handler){
|
||||||
return function(item){
|
return function(item){
|
||||||
if(item instanceof Function){
|
if(item instanceof Function){
|
||||||
@ -190,6 +203,9 @@ var makeEventMethod = function(event, handler){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
var BaseBrowserClassPrototype = {
|
var BaseBrowserClassPrototype = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user