Permalink
Browse files

no-extension (ne) version of the plugin

  • Loading branch information...
1 parent 4444b41 commit 5a04ab3bbc94c46bde4010ddfa96192b9d880041 @callmephilip callmephilip committed Oct 19, 2012
Showing with 3,614 additions and 5 deletions.
  1. +9 −2 dist/remotes.dev.js
  2. +9 −2 dist/remotes.js
  3. +1 −1 dist/remotes.min.js
  4. +1,790 −0 dist/remotes.ne.dev.js
  5. +1,790 −0 dist/remotes.ne.js
  6. +15 −0 dist/remotes.ne.min.js
View
@@ -1560,7 +1560,8 @@ define('oats/Channels/LocalReceiver',["underscore","oats/Events"], function(_,Ev
function LocalReceiver(){
var that = this;
window.addEventListener("message", _.bind(function(event) {
- if (event.source != window) return;
+ // TODO: add a way to verify where the message comes from
+ //if (event.source != window) return;
if(localMessageFilter(event.data)){
var data = timestampData(event.data,"t_dispatch_rcvd");
@@ -1592,7 +1593,9 @@ define('oats/ApiSpecification',[], function(){
"swipe-down",
"tap",
"hold",
- "release"
+ "release",
+ "zoom-in",
+ "zoom-out"
// "drag-start",
// "drag-end",
// "dragging",
@@ -1629,6 +1632,7 @@ define('settings',[], function(){
actionEventName : "client-action",
loginUrl : "http://localhost:5566/auth/login/",
installationWidgetUrl : "http://localhost:5566/widgets/install/",
+ syncWidgetUrl : "http://localhost:5566/widgets/sync/",
extensionCheckTimeout : 3000,
debug : true
};
@@ -1691,6 +1695,9 @@ define('oats/ClientBootstrap',["oats/ApiSpecification","settings"], function(Api
check : function(){
var that = this;
setTimeout(function(){
+ // new Widget(settings.syncWidgetUrl).render();
+ // that.registerClient();
+ // that.onReady();
if(isExtensionInstalled()){
new Widget(getWidgetUrl()).render();
View
@@ -1560,7 +1560,8 @@ define('oats/Channels/LocalReceiver',["underscore","oats/Events"], function(_,Ev
function LocalReceiver(){
var that = this;
window.addEventListener("message", _.bind(function(event) {
- if (event.source != window) return;
+ // TODO: add a way to verify where the message comes from
+ //if (event.source != window) return;
if(localMessageFilter(event.data)){
var data = timestampData(event.data,"t_dispatch_rcvd");
@@ -1592,7 +1593,9 @@ define('oats/ApiSpecification',[], function(){
"swipe-down",
"tap",
"hold",
- "release"
+ "release",
+ "zoom-in",
+ "zoom-out"
// "drag-start",
// "drag-end",
// "dragging",
@@ -1629,6 +1632,7 @@ define('settings',[], function(){
actionEventName : "client-action",
loginUrl : "http://www.remotes.io/auth/login/",
installationWidgetUrl : "http://www.remotes.io/widgets/install/",
+ syncWidgetUrl : "http://www.remotes.io/widgets/sync/",
extensionCheckTimeout : 3000,
debug : false
};
@@ -1691,6 +1695,9 @@ define('oats/ClientBootstrap',["oats/ApiSpecification","settings"], function(Api
check : function(){
var that = this;
setTimeout(function(){
+ // new Widget(settings.syncWidgetUrl).render();
+ // that.registerClient();
+ // that.onReady();
if(isExtensionInstalled()){
new Widget(getWidgetUrl()).render();
Oops, something went wrong.

0 comments on commit 5a04ab3

Please sign in to comment.