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 Adapter from "@ember-data/adapter"; | |
import { run } from "@ember/runloop"; | |
import RSVP from "rsvp"; | |
import $ from "jquery"; | |
export default class User extends Adapter { | |
createRecord(store, type, snapshot) { | |
let data = this.serialize(snapshot, { includeId: true }); | |
return new RSVP.Promise(function (resolve, reject) { |
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 Adapter from "@ember-data/adapter"; | |
import { run } from "@ember/runloop"; | |
import RSVP from "rsvp"; | |
import $ from "jquery"; | |
export default class User extends Adapter { | |
createRecord(store, type, snapshot) { | |
let data = this.serialize(snapshot, { includeId: true }); | |
return new RSVP.Promise(function (resolve, reject) { |
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, observer } from '@ember/object'; | |
import { on } from '@ember/object/evented'; | |
export default Ember.Component.extend({ | |
scale: 0.4, | |
click: false, | |
baseX: 0, | |
baseY: 0, | |
lastPointX: 0, |
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, observer } from '@ember/object'; | |
import { on } from '@ember/object/evented'; | |
export default Ember.Component.extend({ | |
scale: 0.4, | |
click: false, | |
baseX: 0, | |
baseY: 0, | |
lastPointX: 0, |
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, observer } from '@ember/object'; | |
import { on } from '@ember/object/evented'; | |
export default Ember.Component.extend({ | |
tagName: 'canvas', | |
attributeBindings: ['width', 'height'], | |
width: 500, | |
height: 300, | |
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({ | |
}); |
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({ | |
dropdownVisible: false, | |
isLoading: null, | |
dropdownClass: Ember.computed('dropdownVisible', function p () { | |
const visible = this.get('dropdownVisible'); | |
return visible ? 'visible' : 'hidden'; |
- https://manjilan.github.io/FinalProject/ - simple portfolio site
- https://abby-wilhelm.github.io/Iceland/ - a beautiful photo gallery from a student’s visit to Iceland
- http://www.dadsrboring.com/ - a parody of “Toys’R’Us”, with some pretty pointless content, but some fun styles!
- http://rtroyer.github.io/FEWD40/final-project/index.html - an exploration of Chakras, with some slick colour changes
- http://ericthelefty.github.io/fewd-37/Project/doggy.html - fun with colours & dogs
Live Site | Github Link (check out the code!) |
---|
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({ | |
options: null, | |
isActive: false, | |
activeOption: '', | |
isTouchScreenDevice: Ember.computed(function() { | |
return navigator.maxTouchPoints || 'ontouchstart' in document.documentElement; | |
}), |
NewerOlder