mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Remove spec/tmp
This commit is contained in:
parent
cad99e2ebe
commit
001920eacd
14 changed files with 2 additions and 106 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -2,6 +2,5 @@ Gemfile.lock
|
|||
*.gem
|
||||
/tmp/*
|
||||
/spec/tmp/
|
||||
/spec/sample_app/tmp/
|
||||
/spec/sample_app/log/
|
||||
/spec/sample_app/paloma_test
|
||||
/spec/test_app/tmp
|
||||
/spec/test_app/spec/tmp/*
|
|
@ -1,2 +0,0 @@
|
|||
// Place all the behaviors and hooks related to the matching controller here.
|
||||
// All this logic will automatically be available in application.js.
|
|
@ -1,2 +0,0 @@
|
|||
//= require ./paloma_core.js
|
||||
//= require ./my_controller/_manifest.js
|
|
@ -1,14 +0,0 @@
|
|||
(function(){
|
||||
// Initializes the main container for all filters and skippers for this
|
||||
// specific scope.
|
||||
var filter = new Paloma.FilterScope('my_controller');
|
||||
|
||||
// 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.
|
||||
})();
|
|
@ -1,19 +0,0 @@
|
|||
(function(){
|
||||
// Initializes callbacks container for the this specific scope.
|
||||
Paloma.callbacks['my_controller'] = {};
|
||||
|
||||
// Initializes locals container for this specific scope.
|
||||
// Define a local by adding property to 'locals'.
|
||||
//
|
||||
// Example:
|
||||
// locals.localMethod = function(){};
|
||||
var locals = Paloma.locals['my_controller'] = {};
|
||||
|
||||
|
||||
// ~> 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 : 'my_controller'});
|
||||
})();
|
|
@ -1,3 +0,0 @@
|
|||
//= require ./_locals.js
|
||||
//= require ./_filters.js
|
||||
//= require_tree .
|
|
@ -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['my_controller'];
|
||||
|
||||
|
||||
Paloma.callbacks['my_controller']['edit'] = function(params){
|
||||
// Do something here.
|
||||
};
|
||||
})();
|
|
@ -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['my_controller'];
|
||||
|
||||
|
||||
Paloma.callbacks['my_controller']['new'] = function(params){
|
||||
// Do something here.
|
||||
};
|
||||
})();
|
|
@ -1,4 +0,0 @@
|
|||
/*
|
||||
Place all the styles related to the matching controller here.
|
||||
They will automatically be included in application.css.
|
||||
*/
|
|
@ -1,7 +0,0 @@
|
|||
class MyControllerController < ApplicationController
|
||||
def new
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
end
|
|
@ -1,2 +0,0 @@
|
|||
module MyControllerHelper
|
||||
end
|
|
@ -1,2 +0,0 @@
|
|||
<h1>MyController#edit</h1>
|
||||
<p>Find me in app/views/my_controller/edit.html.erb</p>
|
|
@ -1,2 +0,0 @@
|
|||
<h1>MyController#new</h1>
|
||||
<p>Find me in app/views/my_controller/new.html.erb</p>
|
Loading…
Reference in a new issue