8000 fix($routeProvider): do not deep-copy route definition objects by gkalpak · Pull Request #14750 · angular/angular.js · GitHub
[go: up one dir, main page]

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

fix($routeProvider): do not deep-copy route definition objects #14750

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup 3
- Make jsHint happy.
  • Loading branch information
gkalpak committed Jun 10, 2016
commit 3a548f3aece8d0cf5a80190a31485a423798e7e7
2 changes: 2 additions & 0 deletions src/ngRoute/route.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

/* global shallowCopy: false */

// There are necessary for `shallowCopy()` (included via `src/shallowCopy.js`)
var isArray = angular.isArray;
var isObject = angular.isObject;
Expand Down
2 changes: 1 addition & 1 deletion src/shallowCopy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

/* global: shallowCopy: true */
/* global shallowCopy: true */

/**
* Creates a shallow copy of an object, an array or a primitive.
Expand Down
2 changes: 1 addition & 1 deletion src/stringify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

/* global: toDebugString: true */
/* global toDebugString: true */

function serializeObject(obj) {
var seen = [];
Expand Down
0