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
$viewdefs['base']['view']['foo'] = array( | |
'buttons' => array( | |
array( | |
'type' => 'button', | |
'name' => 'save', | |
), | |
), | |
'name' => 'bar', | |
), |
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
$viewdefs['base']['layout']['foo'] = array( | |
'components' => array(), | |
'type' => 'foo', | |
), |
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
$viewdefs['base']['view']['foo'] = array( | |
'buttons' => array( //directly include definition | |
array( | |
'type' => 'button', | |
'name' => 'cancel', | |
), | |
array( | |
'type' => 'button', | |
'name' => 'save', | |
), |
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
$viewdefs['base']['layout']['foo'] = array( | |
'components' => array( | |
array( | |
'layout' => 'header', //reference another definition | |
), | |
array( | |
'layout' => array( //directly include definition | |
'components' => array( | |
array( | |
'view' => 'title', //reference another definition |
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
$viewdefs['base']['layout']['foo'] = array( | |
'components' => array( | |
array( | |
'layout' => 'header', //reference another definition | |
), | |
array( | |
'layout' => array( //directly include definition | |
'components' => array( | |
array( | |
'view' => 'title', //reference another definition |
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
({ | |
... | |
/** | |
* Fire quick search | |
* @param {Event} e | |
*/ | |
throttledSearch: _.debounce(function(e) { | |
var newSearch = this.$el.val(); | |
if(this.currentSearch !== newSearch) { |
NewerOlder