Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/polyfills/url.js

Issue 29338529: Issue 3824 - Move "use strict" into IIFE for compatibility with Kitt (Closed)
Patch Set: Created March 17, 2016, 3:57 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/polyfills/promise.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/polyfills/url.js
===================================================================
--- a/lib/polyfills/url.js
+++ b/lib/polyfills/url.js
@@ -15,10 +15,10 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-"use strict";
-
(function(global)
{
+ "use strict";
+
var URLProperties = ["href", "protocol", "hostname",
"host", "pathname", "search"];
« no previous file with comments | « lib/polyfills/promise.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld