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
// Handle Scroll | |
scrolled( s ){ | |
if( Ember.$( window ).width() > 900 ){ | |
let sharePhone = document.querySelector( '#startSharing .phone' ); | |
sharePhone.style.top = ( -( s * 0.25 ) + 220 ) + 'px'; | |
let savePhone = document.querySelector( '#saveMore .phone' ); | |
savePhone.style.top = ( ( s * 0.25 ) - 220 ) + 'px'; |
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.Mixin.create({ | |
bindResize( ){ | |
let _this = this; | |
function onResize(){ | |
let windowWidth = Ember.$( window ).width(); | |
return ( windowWidth <= 1280 ) ? _this.resized( windowWidth ) : false; | |
} |
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 DS from 'ember-data'; | |
export default DS.JSONSerializer.extend({ | |
primaryKey: '_id' | |
}); |
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
var user = { | |
Address: "11663 North East Dr., ", | |
AssociatedChapter: "7", | |
City: "Camby", | |
Country: "United States", | |
DonorType: "Friend of Kappa Alpha Theta", | |
Email: "matthew.wagner@hotmail.com", | |
FirstName: "Matthew", | |
LastName: "Wagner", | |
PatriotID: "", |
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
{ | |
"name": "Product", | |
"description": "Products are the detailed information for previewing your new eCards to the Application.", | |
"displayField": "title", | |
"fields": [ | |
{ | |
"name": "Title", | |
"id": "title", | |
"type": "Text", | |
"required": true |
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
<ul> | |
<li ng-repeat="week in weeks" ng-class="{ true: 'active' }[ week.id <= currentWeek ]" ng-switch on="week.active" data-id="{{ week.id }}"> | |
<a href="#/weeks/{{ week.id }}" ng-switch-when="true"><h1>{{ week.title }}</h1></a> | |
<h1 ng-switch-default>{{ week.title }}</h1> | |
</li> | |
</ul> |
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
<li ng-repeat="week in weeks" ng-class="{ 'active' : week.active }" ng-switch on="week.active"> | |
<a href="#/weeks/{{ week.id }}" ng-switch-when="true"><h1>{{ week.title }}</h1></a> | |
<h1 ng-switch-default>{{ week.title }}</h1> | |
</li> |
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
object(WP_Post)[452] | |
public 'ID' => int 144 | |
public 'post_author' => string '6' (length=1) | |
public 'post_date' => string '2014-12-11 10:08:21' (length=19) | |
public 'post_date_gmt' => string '2014-12-11 15:08:21' (length=19) | |
public 'post_content' => string '' (length=0) | |
public 'post_title' => string 'Denver, CO' (length=10) | |
public 'post_excerpt' => string '' (length=0) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'closed' (length=6) |