Skip to content

Commit e88f0e5

Browse files
committed
Merge pull request #45 from radify/style-fixes
Styles fixes
2 parents 187ecef + 17ea0bc commit e88f0e5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spec/modelSpec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -761,11 +761,11 @@ describe('model', function() {
761761

762762
var $httpBackend;
763763

764-
beforeEach(inject(function ($injector) {
764+
beforeEach(inject(function($injector) {
765765
$httpBackend = $injector.get('$httpBackend');
766766
}));
767767

768-
afterEach(function () {
768+
afterEach(function() {
769769
$httpBackend.verifyNoOutstandingExpectation();
770770
$httpBackend.verifyNoOutstandingRequest();
771771
});
@@ -775,15 +775,15 @@ describe('model', function() {
775775

776776
describe('when a relation, resource and href are provided', function() {
777777
beforeEach(inject(function($rootScope, $compile) {
778-
elm = angular.element('<link rel="resource" name="Messages" href="/api-of-your-system/Messages">');
778+
elm = angular.element('<link rel=\'resource\' name=\'Messages\' href=\'/api-of-your-system/Messages\'>');
779779

780780
scope = $rootScope;
781781

782782
$compile(elm)(scope);
783783
scope.$digest();
784784
}));
785785

786-
it("assigns the model's URL from the href attribute", inject(function(model) {
786+
it('assigns the model\'s URL from the href attribute', inject(function(model) {
787787
var message = model('Messages').create({
788788
content: 'Hello!'
789789
});
@@ -797,15 +797,15 @@ describe('model', function() {
797797

798798
describe('when rel !== resource', function() {
799799
beforeEach(inject(function($rootScope, $compile) {
800-
elm = angular.element('<link rel="other" name="Messages" href="/api-of-your-system/Messages">');
800+
elm = angular.element('<link rel=\'other\' name=\'Messages\' href=\'/api-of-your-system/Messages\'>');
801801

802802
scope = $rootScope;
803803

804804
$compile(elm)(scope);
805805
scope.$digest();
806806
}));
807807

808-
it("is ignored", inject(function(model) {
808+
it('is ignored', inject(function(model) {
809809
expect(model('Messages')).toBeUndefined();
810810
}));
811811
});

src/angular-model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ angular.module('ur.model', []).provider('model', function() {
638638
/**
639639
* @ngdoc function
640640
* @name ur.model:$get
641-
* @description:
641+
* @description
642642
* Get the model class factory
643643
*
644644
* @param {object} $http https://docs.angularjs.org/api/ng/service/$http

0 commit comments

Comments
 (0)