This file contains hidden or 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
| coalescedOp Object {id: "8e4cf064-2806-432b-80c2-0fa0e1256aec", op: "add", path: "contact/6019a8f4-ac77-431f-8574-1904375458a1", value: Object} | |
| coalescedOp Object {id: "9abd2004-cd01-4e95-b208-26e12f28554b", op: "replace", path: "contact/6019a8f4-ac77-431f-8574-1904375458a1/firstName", value: "One"} | |
| coalescedOp Object {id: "7c0b6656-de8e-4231-b10f-e152d9fa6730", op: "replace", path: "contact/6019a8f4-ac77-431f-8574-1904375458a1/lastName", value: "Two"} | |
| coalescedOp Object {id: "8da526af-500d-40c4-9c63-0fcfe7326248", op: "replace", path: "contact/6019a8f4-ac77-431f-8574-1904375458a1/email", value: "Three"} | |
| coalescedOp Object {id: "4a18200b-6e34-44a8-baff-07edc5fc78f1", op: "add", path: "phoneNumber/cc13720b-51b3-4156-8cb7-14103b187678", value: Object} | |
| coalescedOp Object {id: "2e9dc5d2-dd76-44b1-b8f9-94c8edbf4fd8", op: "add", path: "contact/6019a8f4-ac77-431f-8574-1904375458a1/__rel/phoneNumbers/cc13720b-51b3-4156-8cb7-14103b187678", value: true} | |
| coalescedOp Object {id: "c74030fe-d380-4675-be3b-c2d2c21fcbbb", op |
This file contains hidden or 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
| def post_json_callback(path, payload) | |
| script = "jQuery.ajax({url: '#{path}', type: 'POST', data: JSON.stringify(#{payload.to_json}), contentType: 'application/json; charset=utf-8'});" | |
| page.execute_script(script) | |
| end |
This file contains hidden or 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 get = Ember.get; | |
| var forEach = Ember.EnumerableUtils.forEach; | |
| var camelize = Ember.String.camelize; | |
| var pluralize = new Ember.Inflector(); | |
| App.EmbeddedRecordsMixin = Ember.Mixin.create({ | |
| /** | |
| Serialize `belongsTo` relationship when it is configured as an embedded object. |
This file contains hidden or 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
| /*! | |
| * https://github.com/es-shims/es5-shim | |
| * @license es5-shim Copyright 2009-2014 by contributors, MIT License | |
| * see https://github.com/es-shims/es5-shim/blob/master/LICENSE | |
| */ | |
| // vim: ts=4 sts=4 sw=4 expandtab | |
| //Add semicolon to prevent IIFE from being passed as argument to concated code. | |
| ; |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script src='https://swww.tokbox.com/webrtc/v2.0/js/TB.min.js'></script> | |
| <script> | |
| var sessionId = ""; | |
| var apiKey = ""; | |
| var token = ""; | |
| var session = OT.initSession(sessionId); | |
| OT.setLogLevel(OT.DEBUG); | |
| self.session.on("sessionConnected", function(){ |
This file contains hidden or 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
| Ember.SimpleAuth.Session.reopen({ | |
| updateCurrentUser: function() { | |
| var self = this; | |
| var userId = this.get('user_id'); | |
| if (!Ember.isEmpty(userId)) { | |
| container.lookup('store:main').find('user', userId).then(function(user){ | |
| self.set("currentUser", user); | |
| }); | |
| } | |
| }.observes('user_id') |
This file contains hidden or 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
| development.lytbulbapp.com 3600 IN MX 5 client1.cloudmailin.net. | |
| development.lytbulbapp.com 3600 IN MX 5 client2.cloudmailin.net. | |
| lytbulbapp.com 3600 IN MX 5 client1.cloudmailin.net. | |
| lytbulbapp.com 3600 IN MX 5 client2.cloudmailin.net. | |
| stage.lytbulbapp.com 3600 IN MX 5 client1.cloudmailin.net. | |
| stage.lytbulbapp.com 3600 IN MX 5 client2.cloudmailin.net. |
This file contains hidden or 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
| /* global require, module */ | |
| var filterTemplates = require('broccoli-template'); | |
| var uglifyJavaScript = require('broccoli-uglify-js'); | |
| var compileES6 = require('broccoli-es6-concatenator'); | |
| var compileSass = require('broccoli-sass'); | |
| var pickFiles = require('broccoli-static-compiler'); | |
| var env = require('broccoli-env').getEnv(); | |
| function preprocess (tree) { | |
| return filterTemplates(tree, { |
This file contains hidden or 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
| project | |
| modelVersion 4.0.0/modelVersion | |
| repositories | |
| repository | |
| id central/id | |
| name Central Repository/name | |
| url http://repo.maven.apache.org/maven2/url | |
| layout default/layout | |
| snapshots |
This file contains hidden or 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 getData = function(callback){ | |
| showLoadingScreen(); | |
| $.ajax("http://someurl.com", { | |
| complete: function(data){ | |
| hideLoadingScreen(); | |
| callback(data); | |
| } | |
| }); | |
| }; |