Skip to content

Commit

Permalink
renamed client libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
callmephilip committed Sep 17, 2012
1 parent 9c93eee commit 0a6a958
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
21 changes: 13 additions & 8 deletions dist/api.client.dev.js → dist/remotes.js
@@ -1,5 +1,5 @@
(function (root, factory) {
root.Remoats = factory();
root.Remotes = factory();
}(this, function () {
/**
* almond 0.1.2 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
Expand Down Expand Up @@ -1616,15 +1616,15 @@ define('oats/ApiSpecification',[], function(){
define('settings',[], function(){
return {
applicationKey : "1234567890",
authenticationCheckUrl : "http://localhost:5566/auth/check/",
channelResolutionUrl : "http://localhost:5566/auth/channel/resolve/",
pusherAuthEndpoint : 'http://localhost:5566/pusher/auth/',
authenticationCheckUrl : "http://www.remotes.io/auth/check/",
channelResolutionUrl : "http://www.remotes.io/auth/channel/resolve/",
pusherAuthEndpoint : 'http://www.remotes.io/pusher/auth/',
pusherApplicationKey : "0b6ee8539603f52808dd",
actionEventName : "client-action",
loginUrl : "http://localhost:5566/auth/login/",
installationWidgetUrl : "http://localhost:5566/widgets/install/",
actionEventName : "client-action",
loginUrl : "http://www.remotes.io/auth/login/",
installationWidgetUrl : "http://www.remotes.io/widgets/install/",
extensionCheckTimeout : 3000,
debug : true
debug : false
};
});
define('oats/ClientBootstrap',["oats/ApiSpecification","settings"], function(ApiSpecification, settings){
Expand Down Expand Up @@ -1661,6 +1661,11 @@ define('oats/ClientBootstrap',["oats/ApiSpecification","settings"], function(Api
widget.style.width = event.data.size.width;
widget.style.height = event.data.size.height;
}

if(event.data.destination === "page"){
widget.contentWindow.postMessage(event.data,"*");
}

}
}, false);
}
Expand Down

0 comments on commit 0a6a958

Please sign in to comment.