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
∴ bundle exec iridium generate app app | |
create app | |
create app/assets/images | |
create app/assets/index.html.erb | |
create app/config | |
create app/config/application.coffee | |
create app/config/development.coffee | |
create app/config/environment.coffee | |
create app/config/initializers | |
create app/config/initializers/handlebars.coffee |
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
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
if($_POST[email] != '') | |
{ | |
$p = db_query_row("select user_userID from student where email = '$_POST[email]'"); | |
if($p[user_userID]) // taken | |
{ | |
js_alert("Sorry, that email address has an account already. If you lost your password please go to the lost password page from the login screen."); | |
js_back(); | |
die("Redirecting ..."); | |
} | |
} |
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
// Version: v1.0.pre-204-g9d988a3 | |
// Last commit: 9d988a3 (2012-10-17 17:34:12 -0700) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
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
// EDITED EDITED EDITED | |
// Version: v1.0.pre-200-gc52773d | |
// Last commit: c52773d (2012-10-15 13:46:56 -0700) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
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
// Version: v1.0.pre-172-gea08372 | |
// Last commit: ea08372 (2012-10-08 13:37:28 -0700) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
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
// Version: v1.0.pre-200-gc52773d | |
// Last commit: c52773d (2012-10-15 13:46:56 -0700) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
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
SocialRoi.ProgramEtoStaffMemberSalaryBlockView = Em.View.extend | |
templateName: 'reports/program_eto_staff_member_salary_block' | |
programEtoStaffMemberSalaryTextFieldView: Em.TextField.extend | |
classNames: 'span2 currency'.w() | |
transaction: null | |
init: -> | |
@_super() | |
# debugger | |
@set('transaction', SocialRoi.store.transaction()) |
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
(function() { | |
window.DS = Ember.Namespace.create({ | |
CURRENT_API_REVISION: 6 | |
}); | |
})(); | |
(function() { |
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
App.Router = Ember.Router.extend | |
root: Ember.Route.extend | |
index: Ember.Route.extend | |
route: "/" | |
connectOutlets: (router)-> | |
router.get('applicationController').connectOutlet | |
outletName: 'view' # default('home', App.Collections.Home.all()) | |
viewClass: App.Views.HomeView | |
controller: App.Controllers.homeController | |
context: foo |
NewerOlder