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
import Ember from 'ember'; | |
import { computed } from '@ember/object'; | |
import { task, timeout } from 'ember-concurrency'; | |
export default Ember.Component.extend({ | |
startValue: 10, | |
currentValue: null, | |
init() { |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
message: null, | |
name: Ember.computed('message', { | |
set(_key, value) { | |
let message = `${this.get('greeting')} ${value}`; | |
this.set('message', message); | |
} |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
}); |
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
<main>Main</main> |
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
body { | |
padding: 15px; | |
} |
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
body { | |
padding-top: 75px; | |
} |
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
language: objective-c | |
rvm: | |
- 1.9.3 | |
env: | |
matrix: | |
- TEST_SDK=iphonesimulator5.1 SIMULATOR=ipad | |
- TEST_SDK=iphonesimulator6.1 SIMULATOR=ipad | |
- TEST_SDK=iphonesimulator7.0 SIMULATOR=iphone | |
- TEST_SDK=iphonesimulator7.0 SIMULATOR=ipad | |
script: |
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
language: objective-c | |
rvm: | |
- 1.9.3 | |
env: | |
global: | |
- KIF_SCREENSHOTS="${TRAVIS_BUILD_DIR}/Screenshots/${TRAVIS_BUILD_NUMBER}" | |
- secure: N0tEZ7I8Flu1OPxHqG2a4hdZtq/i/X3nz3vbFZWdO9OW9PAm2BXh6Ndqp0W3CyKTnHuLt1l+6RvoaHW9UxHjpSElYcTHB7f62XDV6ldQ6JFk/B2V9z90imKbBN0v1yijjCN2qYSzwV6vAi+QEMyRyGTUKAKanQAng0cUfFsgT00= | |
matrix: | |
- TEST_SDK=iphonesimulator5.1 SIMULATOR=ipad | |
- TEST_SDK=iphonesimulator6.1 SIMULATOR=ipad |
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
require 'csv' | |
FILE_IN = "in.csv" | |
FILE_OUT = "out.csv" | |
CSV.open(FILE_OUT, "wb") do |out| | |
CSV.foreach(FILE_IN) do |row| | |
@complete_row ||= row | |
row.each_with_index {|v,i| @complete_row[i] = v if v } |
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
source :rubygems | |
gem 'rspec' | |
gem 'capybara' | |
gem 'poltergeist' # Capybara driver for PhantomJs | |
gem 'capybara-screenshot', :require => false # takes screenshots when test fails | |
NewerOlder