director
insertEx Method
insert a callback that will only occur once per the matched route.
Syntax
var instance; // Type: Router; 
instance.insertEx(method, path, route, parent); 
function insertEx( 
   method : String, 
   path : Array, 
   route : Array, 
   parent : Object 
) : void;

Parameters

method
Method to insert the specific `route`.
path
Parsed path to insert the `route` at.
route
Route handlers to insert.
parent
Parent "routes" to insert into.
Browser Compatibility
8
5
5
See Also

Reference

Router type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.