aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrian Ford2013-08-09 10:02:48 -0700
committerIgor Minar2013-08-09 11:54:35 -0700
commit94ec84e7b9c89358dc00e4039009af9e287bbd05 (patch)
treeb06c84f1329a8e4fd6ce75b6bbde64bdf4d0e60e /test
parent0d17838a0881376be3c226a68242b5d74dac208b (diff)
downloadangular.js-94ec84e7b9c89358dc00e4039009af9e287bbd05.tar.bz2
chore(ngMobile): rename module ngTouch and file to angular-touch.js
BREAKING CHANGE: since all the code in the ngMobile module is touch related, we are renaming the module to ngTouch. To migrate, please replace all references to "ngMobile" with "ngTouch" and "angular-mobile.js" to "angular-touch.js". Closes #3526
Diffstat (limited to 'test')
-rw-r--r--test/ngTouch/directive/ngClickSpec.js (renamed from test/ngMobile/directive/ngClickSpec.js)4
-rw-r--r--test/ngTouch/directive/ngSwipeSpec.js (renamed from test/ngMobile/directive/ngSwipeSpec.js)2
-rw-r--r--test/ngTouch/swipeSpec.js (renamed from test/ngMobile/swipeSpec.js)2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/ngMobile/directive/ngClickSpec.js b/test/ngTouch/directive/ngClickSpec.js
index 52394977..2a11adee 100644
--- a/test/ngMobile/directive/ngClickSpec.js
+++ b/test/ngTouch/directive/ngClickSpec.js
@@ -1,6 +1,6 @@
'use strict';
-describe('ngClick (mobile)', function() {
+describe('ngClick (touch)', function() {
var element, time, orig_now;
// TODO(braden): Once we have other touch-friendly browsers on CI, allow them here.
@@ -16,7 +16,7 @@ describe('ngClick (mobile)', function() {
beforeEach(function() {
- module('ngMobile');
+ module('ngTouch');
orig_now = Date.now;
time = 0;
Date.now = mockTime;
diff --git a/test/ngMobile/directive/ngSwipeSpec.js b/test/ngTouch/directive/ngSwipeSpec.js
index f51556c6..588a123d 100644
--- a/test/ngMobile/directive/ngSwipeSpec.js
+++ b/test/ngTouch/directive/ngSwipeSpec.js
@@ -23,7 +23,7 @@ var swipeTests = function(description, restrictBrowsers, startEvent, moveEvent,
}
beforeEach(function() {
- module('ngMobile');
+ module('ngTouch');
});
afterEach(function() {
diff --git a/test/ngMobile/swipeSpec.js b/test/ngTouch/swipeSpec.js
index 8befcfc9..7431f0c1 100644
--- a/test/ngMobile/swipeSpec.js
+++ b/test/ngTouch/swipeSpec.js
@@ -23,7 +23,7 @@ var swipeTests = function(description, restrictBrowsers, startEvent, moveEvent,
}
beforeEach(function() {
- module('ngMobile');
+ module('ngTouch');
});
afterEach(function() {