[Code Style] Run gulp fixstyle
...to apply code style settings from #142.
This commit is contained in:
@@ -54,4 +54,4 @@ define(
|
||||
return MobileClassifier;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -55,4 +55,4 @@ define(function () {
|
||||
return agentService.isTouch();
|
||||
}
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
@@ -34,11 +34,11 @@ define(
|
||||
'isTouch'
|
||||
],
|
||||
TEST_PERMUTATIONS = [
|
||||
[ 'isMobile', 'isPhone', 'isTouch', 'isPortrait' ],
|
||||
[ 'isMobile', 'isPhone', 'isTouch', 'isLandscape' ],
|
||||
[ 'isMobile', 'isTablet', 'isTouch', 'isPortrait' ],
|
||||
[ 'isMobile', 'isTablet', 'isTouch', 'isLandscape' ],
|
||||
[ 'isTouch' ],
|
||||
['isMobile', 'isPhone', 'isTouch', 'isPortrait'],
|
||||
['isMobile', 'isPhone', 'isTouch', 'isLandscape'],
|
||||
['isMobile', 'isTablet', 'isTouch', 'isPortrait'],
|
||||
['isMobile', 'isTablet', 'isTouch', 'isLandscape'],
|
||||
['isTouch'],
|
||||
[]
|
||||
];
|
||||
|
||||
@@ -54,11 +54,11 @@ define(
|
||||
);
|
||||
mockDocument = jasmine.createSpyObj(
|
||||
'$document',
|
||||
[ 'find' ]
|
||||
['find']
|
||||
);
|
||||
mockBody = jasmine.createSpyObj(
|
||||
'body',
|
||||
[ 'addClass' ]
|
||||
['addClass']
|
||||
);
|
||||
mockDocument.find.andCallFake(function (sel) {
|
||||
return sel === 'body' && mockBody;
|
||||
|
||||
@@ -76,4 +76,4 @@ define(
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
@@ -24,7 +24,7 @@ define(
|
||||
['../src/MCTDevice'],
|
||||
function (MCTDevice) {
|
||||
|
||||
var JQLITE_METHODS = [ 'replaceWith' ];
|
||||
var JQLITE_METHODS = ['replaceWith'];
|
||||
|
||||
describe("The mct-device directive", function () {
|
||||
var mockAgentService,
|
||||
@@ -41,7 +41,7 @@ define(
|
||||
beforeEach(function () {
|
||||
mockAgentService = jasmine.createSpyObj(
|
||||
"agentService",
|
||||
[ "isMobile", "isPhone", "isTablet", "isPortrait", "isLandscape" ]
|
||||
["isMobile", "isPhone", "isTablet", "isPortrait", "isLandscape"]
|
||||
);
|
||||
mockTransclude = jasmine.createSpy("$transclude");
|
||||
mockElement = jasmine.createSpyObj(name, JQLITE_METHODS);
|
||||
|
||||
Reference in New Issue
Block a user