diff --git a/app/templates/_filters.js b/app/templates/_filters.js deleted file mode 100644 index 949ab47..0000000 --- a/app/templates/_filters.js +++ /dev/null @@ -1,14 +0,0 @@ -(function(){ - // Initializes the main container for all filters and skippers for this - // specific scope. - var filter = new Paloma.FilterScope(':scope'); - - // The _x object is also available on callbacks. - // You can make a variable visible on callbacks by using _x here. - // - // Example: - // _x.visibleOnCallback = "I'm a shared variable" - var _x = Paloma.variableContainer; - - // ~> Start definitions here and remove this line. -})(); \ No newline at end of file diff --git a/app/templates/application/_locals.js b/app/templates/application/_locals.js deleted file mode 100644 index 291b257..0000000 --- a/app/templates/application/_locals.js +++ /dev/null @@ -1,13 +0,0 @@ -(function(){ - // Initializes locals container for the global scope. - // All _locals.js file will inherit all locals here by default. - // - // Define a local by adding property to 'locals'. - // - // Example: - // locals.localMethod = function(){}; - var locals = Paloma.locals['/'] = {}; - - - // ~> Start local definitions here and remove this line. -})(); \ No newline at end of file diff --git a/app/templates/controller/_locals.js b/app/templates/controller/_locals.js deleted file mode 100644 index 9daec8d..0000000 --- a/app/templates/controller/_locals.js +++ /dev/null @@ -1,19 +0,0 @@ -(function(){ - // Initializes callbacks container for the this specific scope. - Paloma.callbacks[':controller_path'] = {}; - - // Initializes locals container for this specific scope. - // Define a local by adding property to 'locals'. - // - // Example: - // locals.localMethod = function(){}; - var locals = Paloma.locals[':controller_path'] = {}; - - - // ~> Start local definitions here and remove this line. - - - // Remove this line if you don't want to inherit locals defined - // on parent's _locals.js - Paloma.inheritLocals({from : ':parent', to : ':controller_path'}); -})(); \ No newline at end of file diff --git a/app/templates/controller/_manifest.js b/app/templates/controller/_manifest.js deleted file mode 100644 index cfaa921..0000000 --- a/app/templates/controller/_manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -//= require ./_locals.js -//= require ./_filters.js -//= require_tree . diff --git a/app/templates/controller/action.js b/app/templates/controller/action.js deleted file mode 100644 index 0b4f7f9..0000000 --- a/app/templates/controller/action.js +++ /dev/null @@ -1,23 +0,0 @@ -(function(){ - // You access variables from before/around filters from _x object. - // You can also share variables to after/around filters through _x object. - var _x = Paloma.variableContainer; - - // We are using _L as an alias for the locals container. - // Use either of the two to access locals from other scopes. - // - // Example: - // _L.otherController.localVariable = 100; - var _L = Paloma.locals; - - // Access locals for the current scope through the _l object. - // - // Example: - // _l.localMethod(); - var _l = _L[':controller_path']; - - - Paloma.callbacks[':controller_path'][':action'] = function(params){ - // Do something here. - }; -})(); \ No newline at end of file diff --git a/app/templates/index.js b/app/templates/index.js deleted file mode 100644 index ce0d173..0000000 --- a/app/templates/index.js +++ /dev/null @@ -1,3 +0,0 @@ -//= require paloma_core.js -//= require ./_locals.js -//= require ./_filters.js \ No newline at end of file diff --git a/app/templates/namespace/_locals.js b/app/templates/namespace/_locals.js deleted file mode 100644 index 3029a84..0000000 --- a/app/templates/namespace/_locals.js +++ /dev/null @@ -1,16 +0,0 @@ -(function(){ - // Initializes locals container for this specific scope. - // Define a local by adding property to 'locals'. - // - // Example: - // locals.localMethod = function(){}; - var locals = Paloma.locals[':namespace'] = {}; - - - // ~> Start local definitions here and remove this line. - - - // Remove this line if you don't want to inherit locals defined - // on parent's _locals.js - Paloma.inheritLocals({from : '/', to : ':namespace'}); -})(); \ No newline at end of file diff --git a/app/templates/namespace/_manifest.js b/app/templates/namespace/_manifest.js deleted file mode 100644 index 625c799..0000000 --- a/app/templates/namespace/_manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -//= require ./_locals.js -//= require ./_filters.js -//= require ./:controller/_manifest.js \ No newline at end of file diff --git a/app/views/paloma/_callback_hook.html.erb b/app/views/paloma/_callback_hook.html.erb deleted file mode 100644 index 0aa9147..0000000 --- a/app/views/paloma/_callback_hook.html.erb +++ /dev/null @@ -1,30 +0,0 @@ -<% id = "#{Time.now.to_i}#{(rand * 1000).ceil}" %> - -