mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-12 11:21:35 +08:00
style(*): disallow space after object keys, other rules
add `disallowSpaceAfterObjectKeys` and associated changes. add `disallowMixedSpacesAndTabs` (no files changed) add `disallowMultipleLineStrings` (no files changed) Closes #9679
This commit is contained in:
committed by
Peter Bacon Darwin
parent
b64b9ea02c
commit
ed3f799b5c
@@ -314,7 +314,7 @@ describe("resource", function() {
|
||||
it('should handle + in url params', function () {
|
||||
var R = $resource('/api/myapp/:myresource?from=:from&to=:to&histlen=:histlen');
|
||||
$httpBackend.expect('GET', '/api/myapp/pear+apple?from=2012-04-01&to=2012-04-29&histlen=3').respond('{}');
|
||||
R.get({ myresource: 'pear+apple', from : '2012-04-01', to : '2012-04-29', histlen : 3 });
|
||||
R.get({ myresource: 'pear+apple', from: '2012-04-01', to: '2012-04-29', histlen: 3 });
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user