mirror of
https://github.com/damouse/Drop64.git
synced 2024-05-31 18:27:58 -04:00
unknown local changes
This commit is contained in:
parent
c46b07a050
commit
94eac39f9f
|
@ -2,7 +2,6 @@ angular.module('controller', [])
|
||||||
|
|
||||||
.directive('myTouchstart', [function() {
|
.directive('myTouchstart', [function() {
|
||||||
return function(scope, element, attr) {
|
return function(scope, element, attr) {
|
||||||
|
|
||||||
element.on('touchstart', function(event) {
|
element.on('touchstart', function(event) {
|
||||||
scope.$apply(function() {
|
scope.$apply(function() {
|
||||||
scope.$eval(attr.myTouchstart);
|
scope.$eval(attr.myTouchstart);
|
||||||
|
@ -19,7 +18,6 @@ angular.module('controller', [])
|
||||||
|
|
||||||
.directive('myTouchend', [function() {
|
.directive('myTouchend', [function() {
|
||||||
return function(scope, element, attr) {
|
return function(scope, element, attr) {
|
||||||
|
|
||||||
element.on('touchend', function(event) {
|
element.on('touchend', function(event) {
|
||||||
scope.$apply(function() {
|
scope.$apply(function() {
|
||||||
scope.$eval(attr.myTouchend);
|
scope.$eval(attr.myTouchend);
|
||||||
|
@ -44,7 +42,6 @@ From Prediction:
|
||||||
*/
|
*/
|
||||||
.controller('RootController', function($scope, $location) {
|
.controller('RootController', function($scope, $location) {
|
||||||
var socket = io.connect($location.$$host + ':' + $location.$$port);
|
var socket = io.connect($location.$$host + ':' + $location.$$port);
|
||||||
// var socket = io.connect('http://home.paradrop.org:32769/');
|
|
||||||
|
|
||||||
// Are we currently "turning"?
|
// Are we currently "turning"?
|
||||||
var isGestureTurningLeft = false;
|
var isGestureTurningLeft = false;
|
||||||
|
|
Loading…
Reference in a new issue