Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e381c4d

Browse files
takashibtford
authored andcommitted
chore(formatting): removed unnecessary white spaces
1 parent 68e84ac commit e381c4d

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

docs/config/processors/pages-data.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ var AREA_NAMES = {
1111
};
1212

1313
function getNavGroup(pages, area, pageSorter, pageMapper) {
14-
14+
1515
var navItems = _(pages)
1616
// We don't want the child to include the index page as this is already catered for
1717
.omit(function(page) { return page.id === 'index'; })
18-
18+
1919
// Apply the supplied sorting function
2020
.sortBy(pageSorter)
21-
21+
2222
// Apply the supplied mapping function
2323
.map(pageMapper)
24-
24+
2525
.value();
2626

2727
return {
@@ -176,7 +176,7 @@ module.exports = {
176176
// - ngView
177177
// - section "service"
178178
// - $route
179-
//
179+
//
180180
var areas = {};
181181
_(navPages)
182182
.groupBy('area')

docs/content/error/ng/btstrpd.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ You can also get this error if you accidentally load AngularJS itself more than
3838
<html ng-app>
3939
<head>
4040
<script src="angular.js"></script>
41-
41+
4242
...
4343

4444
</head>
4545
<body>
46-
46+
4747
...
4848

4949
<script src="angular.js"></script>

docs/content/guide/ie.ngdoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To make your Angular application work on IE please make sure that:
2626
1. You polyfill JSON.stringify for IE7 and below. You can use
2727
[JSON2](https://github.com/douglascrockford/JSON-js) or
2828
[JSON3](http://bestiejs.github.com/json3/) polyfills for this.
29-
29+
3030
```html
3131
<!doctype html>
3232
<html xmlns:ng="http://angularjs.org">
@@ -42,7 +42,7 @@ To make your Angular application work on IE please make sure that:
4242
```
4343

4444
2. add `id="ng-app"` to the root element in conjunction with `ng-app` attribute
45-
45+
4646
```html
4747
<!doctype html>
4848
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="optionalModuleName">
@@ -54,7 +54,7 @@ To make your Angular application work on IE please make sure that:
5454
`<div ng-view>` instead), or
5555

5656
4. if you **do use** custom element tags, then you must take these steps to make IE 8 and below happy:
57-
57+
5858
```html
5959
<!doctype html>
6060
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="optionalModuleName">
@@ -64,7 +64,7 @@ To make your Angular application work on IE please make sure that:
6464
document.createElement('ng-include');
6565
document.createElement('ng-pluralize');
6666
document.createElement('ng-view');
67-
67+
6868
// Optionally these for CSS
6969
document.createElement('ng:include');
7070
document.createElement('ng:pluralize');
@@ -79,7 +79,7 @@ To make your Angular application work on IE please make sure that:
7979
```
8080
5. Use `ng-style` tags instead of `style="{{ someCss }}"`. The later works in Chrome and Firefox
8181
but does not work in Internet Explorer <= 11 (the most recent version at time of writing).
82-
82+
8383

8484
The **important** parts are:
8585

@@ -165,7 +165,7 @@ In IE, the behavior is that the `BODY` element has three children:
165165

166166
## CSS Styling of Custom Tag Names
167167

168-
To make CSS selectors work with custom elements, the custom element name must be pre-created with
168+
To make CSS selectors work with custom elements, the custom element name must be pre-created with
169169
`document.createElement('my-tag')` regardless of XML namespace.
170170

171171
```html

docs/content/tutorial/step_04.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ phonecatApp.controller('PhoneListCtrl', function ($scope) {
9191
record. This property is used to order phones by age.
9292

9393
* We added a line to the controller that sets the default value of `orderProp` to `age`. If we had
94-
not set a default value here, the `orderBy` filter would remain uninitialized until our
94+
not set a default value here, the `orderBy` filter would remain uninitialized until our
9595
user picked an option from the drop down menu.
9696

9797
This is a good time to talk about two-way data-binding. Notice that when the app is loaded in the
@@ -117,7 +117,7 @@ describe('PhoneCat controllers', function() {
117117
var scope, ctrl;
118118

119119
beforeEach(module('phonecatApp'));
120-
120+
121121
beforeEach(inject(function($controller) {
122122
scope = {};
123123
ctrl = $controller('PhoneListCtrl', {$scope:scope});

docs/content/tutorial/step_11.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The most important changes are listed below. You can see the full diff on [GitHu
2222
## Template
2323

2424
The custom service is defined in `app/js/services.js` so we need to include this file in our layout
25-
template. Additionally, we also need to load the `angular-resource.js` file, which contains the
26-
{@link api/ngResource ngResource} module and in it the {@link api/ngResource.$resource $resource}
25+
template. Additionally, we also need to load the `angular-resource.js` file, which contains the
26+
{@link api/ngResource ngResource} module and in it the {@link api/ngResource.$resource $resource}
2727
service, that we'll soon use:
2828

2929
__`app/index.html`.__

i18n/spec/converterSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("convertDatetimeData", function() {
3333
AMPMS: ['AM', 'PM'],
3434
DATEFORMATS: ['a', 'b', 'c', 'd'],
3535
TIMEFORMATS: ['e', 'f', 'g', 'h'] };
36-
36+
3737
it('should convert empty datetime obj', function() {
3838
var processedData = convert(dataObj);
3939
expect(processedData.MONTH).toEqual(['Enero', 'Pebrero']);

0 commit comments

Comments
 (0)