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
Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to: | |
Error: [$injector:modulerr] Failed to instantiate module starter.controllers due to: | |
Error: [$injector:modulerr] Failed to instantiate module angularDDP due to: | |
Error...<omitted>...1) |
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
/* AngularDDP - a client for DDP version pre1 */ | |
angular.module('angularDDP', ['$q']) | |
.factory("DDP", function (wsUri) { | |
function Constructor(wsUri) { | |
this.VERSIONS = ["pre1"]; | |
this.wsUri = wsUri; | |
this.sock; | |
this.defs = {}; // { deferred_id => deferred_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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |