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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> | |
<channel> | |
<title>RE•WORK Podcasts</title> | |
<author>RE•WORK </author> | |
<link>http://re-work.co/podcasts/feed.rss</link> | |
<language>en-us</language> | |
<copyright>&#x2117; &amp; &#xA9; 2017 RE•WORK</copyright> | |
<itunes:subtitle>Women in AI is a biweekly podcast from RE•WORK</itunes:subtitle> | |
<itunes:author>RE•WORK </itunes:author> |
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({ | |
appName: 'Ember Twiddle' | |
}); |
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({ | |
width: 600, | |
height: 300, | |
data: [ 30, 10, 5, 8, 15, 10 ], | |
color: 'red', | |
yScale: function() { | |
return d3.scale.linear() | |
.domain([0, d3.max(this.props.data)]) |
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
reorderTicket: (first_id, order, second_id) -> | |
tickets = @get('tickets').sortBy('position') | |
ticket_ids = tickets.mapBy('id').removeObject(first_id) | |
second_pos = ticket_ids.indexOf(second_id) | |
new_pos = if order == 'above' then second_pos else second_pos+1 | |
ticket_ids.splice(new_pos, 0, first_id) | |
for ticket_id, position in ticket_ids | |
ticket = tickets.findBy('id', ticket_id) | |
ticket.set('position', position) |
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({ | |
appName: 'Ember Twiddle', | |
actions: { | |
onFocus() { | |
console.log('focused') | |
} | |
} |
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({ | |
appName: 'Ember Twiddle', | |
globalScope: 'cid', | |
actions: { | |
changed(value) { | |
this.set('globalScope', 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
[#<Activity id: 1, user_id: 2, action: "moved", trackable_id: 2, trackable_type: "Ticket", created_at: "2014-12-01 17:05:46", updated_at: "2014-12-01 17:05:46", project_id: 1, tracked_state: nil, git_id: nil, git_url: nil>, | |
#<Activity id: 2, user_id: 2, action: "moved", trackable_id: 2, trackable_type: "Ticket", created_at: "2014-12-01 17:05:49", updated_at: "2014-12-01 17:05:49", project_id: 1, tracked_state: nil, git_id: nil, git_url: nil>, | |
#<Activity id: 3, user_id: 2, action: "moved", trackable_id: 2, trackable_type: "Ticket", created_at: "2014-12-01 17:05:53", updated_at: "2014-12-01 17:05:53", project_id: 1, tracked_state: nil, git_id: nil, git_url: nil>, | |
#<Activity id: 4, user_id: 1, action: "completed", trackable_id: 2, trackable_type: "Ticket", created_at: "2014-12-01 17:06:10", updated_at: "2014-12-01 17:06:10", project_id: 1, tracked_state: nil, git_id: nil, git_url: nil>, | |
#<Activity id: 5, user_id: 2, action: "moved", trackable_id: 2, trackable_type: "Ticket", created_at: "2014-12-01 17:06:59" |
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({ | |
appName:'Ember Twiddle' | |
}); |
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({ | |
appName:'Ember Twiddle', | |
features: [ | |
{ | |
id: 1, | |
title: 'Feature 1', | |
todos: [ | |
{ |
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'; | |
const { Controller, computed } = Ember; | |
export default Controller.extend({ | |
totalItems: 3, | |
items: computed(function() { | |
return [ | |
{id: 1, title:'1'}, | |
{id: 2, title:'2'}, |
NewerOlder