FIX: Remove `use strict` from ember build to get around iOS bugs

This commit is contained in:
Robin Ward 2014-11-17 14:41:58 -05:00
parent d702c31520
commit 7b7567f8e6
2 changed files with 0 additions and 46 deletions

View File

@ -75,7 +75,6 @@ var define, requireModule, require, requirejs, Ember;
define("backburner",
["backburner/utils","backburner/deferred_action_queues","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Utils = __dependency1__["default"];
var DeferredActionQueues = __dependency2__.DeferredActionQueues;
@ -591,7 +590,6 @@ define("backburner",
define("backburner/deferred_action_queues",
["backburner/utils","backburner/queue","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Utils = __dependency1__["default"];
var Queue = __dependency2__.Queue;
@ -717,7 +715,6 @@ define("backburner/deferred_action_queues",
define("backburner/queue",
["exports"],
function(__exports__) {
"use strict";
function Queue(daq, name, options) {
this.daq = daq;
this.name = name;
@ -846,7 +843,6 @@ define("backburner/queue",
define("backburner/utils",
["exports"],
function(__exports__) {
"use strict";
__exports__["default"] = {
each: function(collection, callback) {
for (var i = 0; i < collection.length; i++) {
@ -9367,7 +9363,6 @@ define("ember-handlebars/helpers/view",
} else if (isGlobalPath(path)) {
return null;
} else if (path === 'this' || path === '') {
if (data.insideGroup && data.insideEach) { return 'context'; }
return '_parentView.context';
} else {
return '_parentView.context.' + path;
@ -10800,7 +10795,6 @@ define("ember-metal/array",
// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/map
var map = isNativeFunc(ArrayPrototype.map) ? ArrayPrototype.map : function(fun /*, thisp */) {
//"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
@ -10825,7 +10819,6 @@ define("ember-metal/array",
// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/foreach
var forEach = isNativeFunc(ArrayPrototype.forEach) ? ArrayPrototype.forEach : function(fun /*, thisp */) {
//"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
@ -42302,7 +42295,6 @@ define("ember",
define("metamorph",
[],
function() {
"use strict";
// ==========================================================================
// Project: metamorph
// Copyright: ©2014 Tilde, Inc. All rights reserved.
@ -42783,7 +42775,6 @@ define("metamorph",
define("route-recognizer",
["route-recognizer/dsl","exports"],
function(__dependency1__, __exports__) {
"use strict";
var map = __dependency1__["default"];
var specials = [
@ -43316,7 +43307,6 @@ define("route-recognizer",
define("route-recognizer/dsl",
["exports"],
function(__exports__) {
"use strict";
function Target(path, matcher, delegate) {
this.path = path;
this.matcher = matcher;
@ -43421,7 +43411,6 @@ define("route-recognizer/dsl",
define("router/handler-info",
["./utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var bind = __dependency1__.bind;
var merge = __dependency1__.merge;
var serialize = __dependency1__.serialize;
@ -43598,7 +43587,6 @@ define("router/handler-info",
define("router/handler-info/factory",
["router/handler-info/resolved-handler-info","router/handler-info/unresolved-handler-info-by-object","router/handler-info/unresolved-handler-info-by-param","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var ResolvedHandlerInfo = __dependency1__["default"];
var UnresolvedHandlerInfoByObject = __dependency2__["default"];
var UnresolvedHandlerInfoByParam = __dependency3__["default"];
@ -43621,7 +43609,6 @@ define("router/handler-info/factory",
define("router/handler-info/resolved-handler-info",
["../handler-info","router/utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var subclass = __dependency2__.subclass;
var promiseLabel = __dependency2__.promiseLabel;
@ -43652,7 +43639,6 @@ define("router/handler-info/resolved-handler-info",
define("router/handler-info/unresolved-handler-info-by-object",
["../handler-info","router/utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var merge = __dependency2__.merge;
var subclass = __dependency2__.subclass;
@ -43714,7 +43700,6 @@ define("router/handler-info/unresolved-handler-info-by-object",
define("router/handler-info/unresolved-handler-info-by-param",
["../handler-info","router/utils","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var resolveHook = __dependency2__.resolveHook;
var merge = __dependency2__.merge;
@ -43748,7 +43733,6 @@ define("router/handler-info/unresolved-handler-info-by-param",
define("router/router",
["route-recognizer","rsvp/promise","./utils","./transition-state","./transition","./transition-intent/named-transition-intent","./transition-intent/url-transition-intent","./handler-info","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__, __dependency6__, __dependency7__, __dependency8__, __exports__) {
"use strict";
var RouteRecognizer = __dependency1__["default"];
var Promise = __dependency2__["default"];
var trigger = __dependency3__.trigger;
@ -44565,7 +44549,6 @@ define("router/router",
define("router/transition-intent",
["./utils","exports"],
function(__dependency1__, __exports__) {
"use strict";
var merge = __dependency1__.merge;
function TransitionIntent(props) {
@ -44585,7 +44568,6 @@ define("router/transition-intent",
define("router/transition-intent/named-transition-intent",
["../transition-intent","../transition-state","../handler-info/factory","../utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
"use strict";
var TransitionIntent = __dependency1__["default"];
var TransitionState = __dependency2__["default"];
var handlerInfoFactory = __dependency3__["default"];
@ -44786,7 +44768,6 @@ define("router/transition-intent/named-transition-intent",
define("router/transition-intent/url-transition-intent",
["../transition-intent","../transition-state","../handler-info/factory","../utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
"use strict";
var TransitionIntent = __dependency1__["default"];
var TransitionState = __dependency2__["default"];
var handlerInfoFactory = __dependency3__["default"];
@ -44856,7 +44837,6 @@ define("router/transition-intent/url-transition-intent",
define("router/transition-state",
["./handler-info","./utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var ResolvedHandlerInfo = __dependency1__.ResolvedHandlerInfo;
var forEach = __dependency2__.forEach;
var promiseLabel = __dependency2__.promiseLabel;
@ -44972,7 +44952,6 @@ define("router/transition-state",
define("router/transition",
["rsvp/promise","./handler-info","./utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var Promise = __dependency1__["default"];
var ResolvedHandlerInfo = __dependency2__.ResolvedHandlerInfo;
var trigger = __dependency3__.trigger;
@ -45283,7 +45262,6 @@ define("router/transition",
define("router/utils",
["exports"],
function(__exports__) {
"use strict";
var slice = Array.prototype.slice;
var _isArray;
@ -45502,7 +45480,6 @@ define("router/utils",
define("router",
["./router/router","exports"],
function(__dependency1__, __exports__) {
"use strict";
var Router = __dependency1__["default"];
__exports__["default"] = Router;

View File

@ -75,7 +75,6 @@ var define, requireModule, require, requirejs, Ember;
define("backburner",
["backburner/utils","backburner/deferred_action_queues","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Utils = __dependency1__["default"];
var DeferredActionQueues = __dependency2__.DeferredActionQueues;
@ -591,7 +590,6 @@ define("backburner",
define("backburner/deferred_action_queues",
["backburner/utils","backburner/queue","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var Utils = __dependency1__["default"];
var Queue = __dependency2__.Queue;
@ -717,7 +715,6 @@ define("backburner/deferred_action_queues",
define("backburner/queue",
["exports"],
function(__exports__) {
"use strict";
function Queue(daq, name, options) {
this.daq = daq;
this.name = name;
@ -846,7 +843,6 @@ define("backburner/queue",
define("backburner/utils",
["exports"],
function(__exports__) {
"use strict";
__exports__["default"] = {
each: function(collection, callback) {
for (var i = 0; i < collection.length; i++) {
@ -9074,7 +9070,6 @@ define("ember-handlebars/helpers/view",
} else if (isGlobalPath(path)) {
return null;
} else if (path === 'this' || path === '') {
if (data.insideGroup && data.insideEach) { return 'context'; }
return '_parentView.context';
} else {
return '_parentView.context.' + path;
@ -10499,7 +10494,6 @@ define("ember-metal/array",
// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/map
var map = isNativeFunc(ArrayPrototype.map) ? ArrayPrototype.map : function(fun /*, thisp */) {
//"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
@ -10524,7 +10518,6 @@ define("ember-metal/array",
// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/foreach
var forEach = isNativeFunc(ArrayPrototype.forEach) ? ArrayPrototype.forEach : function(fun /*, thisp */) {
//"use strict";
if (this === void 0 || this === null) {
throw new TypeError();
@ -40648,7 +40641,6 @@ define("ember",
define("metamorph",
[],
function() {
"use strict";
// ==========================================================================
// Project: metamorph
// Copyright: ©2014 Tilde, Inc. All rights reserved.
@ -41129,7 +41121,6 @@ define("metamorph",
define("route-recognizer",
["route-recognizer/dsl","exports"],
function(__dependency1__, __exports__) {
"use strict";
var map = __dependency1__["default"];
var specials = [
@ -41662,7 +41653,6 @@ define("route-recognizer",
define("route-recognizer/dsl",
["exports"],
function(__exports__) {
"use strict";
function Target(path, matcher, delegate) {
this.path = path;
this.matcher = matcher;
@ -41767,7 +41757,6 @@ define("route-recognizer/dsl",
define("router/handler-info",
["./utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var bind = __dependency1__.bind;
var merge = __dependency1__.merge;
var serialize = __dependency1__.serialize;
@ -41944,7 +41933,6 @@ define("router/handler-info",
define("router/handler-info/factory",
["router/handler-info/resolved-handler-info","router/handler-info/unresolved-handler-info-by-object","router/handler-info/unresolved-handler-info-by-param","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var ResolvedHandlerInfo = __dependency1__["default"];
var UnresolvedHandlerInfoByObject = __dependency2__["default"];
var UnresolvedHandlerInfoByParam = __dependency3__["default"];
@ -41967,7 +41955,6 @@ define("router/handler-info/factory",
define("router/handler-info/resolved-handler-info",
["../handler-info","router/utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var subclass = __dependency2__.subclass;
var promiseLabel = __dependency2__.promiseLabel;
@ -41998,7 +41985,6 @@ define("router/handler-info/resolved-handler-info",
define("router/handler-info/unresolved-handler-info-by-object",
["../handler-info","router/utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var merge = __dependency2__.merge;
var subclass = __dependency2__.subclass;
@ -42060,7 +42046,6 @@ define("router/handler-info/unresolved-handler-info-by-object",
define("router/handler-info/unresolved-handler-info-by-param",
["../handler-info","router/utils","exports"],
function(__dependency1__, __dependency2__, __exports__) {
"use strict";
var HandlerInfo = __dependency1__["default"];
var resolveHook = __dependency2__.resolveHook;
var merge = __dependency2__.merge;
@ -42094,7 +42079,6 @@ define("router/handler-info/unresolved-handler-info-by-param",
define("router/router",
["route-recognizer","rsvp/promise","./utils","./transition-state","./transition","./transition-intent/named-transition-intent","./transition-intent/url-transition-intent","./handler-info","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__, __dependency6__, __dependency7__, __dependency8__, __exports__) {
"use strict";
var RouteRecognizer = __dependency1__["default"];
var Promise = __dependency2__["default"];
var trigger = __dependency3__.trigger;
@ -42911,7 +42895,6 @@ define("router/router",
define("router/transition-intent",
["./utils","exports"],
function(__dependency1__, __exports__) {
"use strict";
var merge = __dependency1__.merge;
function TransitionIntent(props) {
@ -42931,7 +42914,6 @@ define("router/transition-intent",
define("router/transition-intent/named-transition-intent",
["../transition-intent","../transition-state","../handler-info/factory","../utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
"use strict";
var TransitionIntent = __dependency1__["default"];
var TransitionState = __dependency2__["default"];
var handlerInfoFactory = __dependency3__["default"];
@ -43132,7 +43114,6 @@ define("router/transition-intent/named-transition-intent",
define("router/transition-intent/url-transition-intent",
["../transition-intent","../transition-state","../handler-info/factory","../utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __exports__) {
"use strict";
var TransitionIntent = __dependency1__["default"];
var TransitionState = __dependency2__["default"];
var handlerInfoFactory = __dependency3__["default"];
@ -43202,7 +43183,6 @@ define("router/transition-intent/url-transition-intent",
define("router/transition-state",
["./handler-info","./utils","rsvp/promise","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var ResolvedHandlerInfo = __dependency1__.ResolvedHandlerInfo;
var forEach = __dependency2__.forEach;
var promiseLabel = __dependency2__.promiseLabel;
@ -43318,7 +43298,6 @@ define("router/transition-state",
define("router/transition",
["rsvp/promise","./handler-info","./utils","exports"],
function(__dependency1__, __dependency2__, __dependency3__, __exports__) {
"use strict";
var Promise = __dependency1__["default"];
var ResolvedHandlerInfo = __dependency2__.ResolvedHandlerInfo;
var trigger = __dependency3__.trigger;
@ -43629,7 +43608,6 @@ define("router/transition",
define("router/utils",
["exports"],
function(__exports__) {
"use strict";
var slice = Array.prototype.slice;
var _isArray;
@ -43848,7 +43826,6 @@ define("router/utils",
define("router",
["./router/router","exports"],
function(__dependency1__, __exports__) {
"use strict";
var Router = __dependency1__["default"];
__exports__["default"] = Router;