1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Working with locals

This commit is contained in:
kbparagua 2013-03-02 21:43:07 +08:00
parent 31fbdb61e7
commit 0f6d591084
4 changed files with 17 additions and 4 deletions

View file

@ -6,7 +6,6 @@ window.filtersExecuted = window.filtersExecuted || {before : [], after : []};
var filter = new Paloma.FilterScope('bar');
var _x = Paloma.variableContainer;
filter.skip_before_filter('Standard Skip Before Filter');
filter.skip_before_filter('Only Skip Before Filter').only('basic_action');
filter.skip_before_filter('Except Skip Before Filter').except('yet_another_basic_action');

View file

@ -1 +1,12 @@
Paloma.callbacks['foo'] = {}
(function(){
Paloma.callbacks['foo'] = {};
Paloma.helpers['foo'] = {
helperMethod : function(){
return 100;
},
helperVariable : 99
};
})();

View file

@ -1,6 +1,8 @@
(function(){
var _x = Paloma.variableContainer;
var _x = Paloma.variableContainer,
_H = Paloma.helpers,
_h = _H['foo'];
Paloma.callbacks['foo']['basic_action'] = function(params)
{

View file

@ -2,6 +2,7 @@
window.Paloma = {
callbacks : {},
filterScopes : {},
helpers : {},
variableContainer : {}
};