ember-source 2.16.0.beta.2 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -781,10 +781,10 @@ void 0!==o?this.targetQueue(o,t,n,r,i):this.targetQueues[e]=[n,this._queue.push(
781
781
  this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce(function(e,n){return e[n]=new h(n,t[n],t),e},this.queues)}return e.prototype.schedule=function(e,t,n,r,i,a){var u=this.queues,c=u[e]
782
782
  return c||o(e),n||s(e),i?c.pushUnique(t,n,r,a):c.push(t,n,r,a)},e.prototype.flush=function(){for(var e=void 0,t=void 0,n=this.queueNames.length;this.queueNameIndex<n;)if(t=this.queueNames[this.queueNameIndex],e=this.queues[t],e.hasWork()===!1)this.queueNameIndex++
783
783
  else{if(1===e.flush(!1))return 1
784
- this.queueNameIndex=0}},e}(),d=function(e){for(var t=e(),n=t.next();n.done===!1;)n.value(),n=t.next()},m=function(){},g=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
784
+ this.queueNameIndex=0}},e}(),d=function(e){for(var t=e(),n=t.next();n.done===!1;)n.value(),n=t.next()},m=function(){},g=setTimeout,y=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
785
785
  this.DEBUG=!1,this.currentInstance=null,this._timerTimeoutId=null,this._autorun=null,this.queueNames=e,this.options=n,this.options.defaultQueue||(this.options.defaultQueue=e[0]),this.instanceStack=[],this._timers=[],this._debouncees=[],this._throttlers=[],this._eventCallbacks={end:[],begin:[]},this._onBegin=this.options.onBegin||m,this._onEnd=this.options.onEnd||m
786
786
  var r=this.options._platform||{},i=Object.create(null)
787
- i.setTimeout=r.setTimeout||function(e,t){return setTimeout(e,t)},i.clearTimeout=r.clearTimeout||function(e){return clearTimeout(e)},i.next=r.next||function(e){return i.setTimeout(e,0)},i.clearNext=r.clearNext||i.clearTimeout,i.now=r.now||function(){return Date.now()},this._platform=i,this._boundRunExpiredTimers=function(){t._runExpiredTimers()},this._boundAutorunEnd=function(){t._autorun=null,t.end()}}return e.prototype.begin=function(){var e=this.options,t=this.currentInstance,n=void 0
787
+ i.setTimeout=r.setTimeout||function(e,t){return setTimeout(e,t)},i.clearTimeout=r.clearTimeout||function(e){return clearTimeout(e)},i.next=r.next||function(e){return g(e,0)},i.clearNext=r.clearNext||i.clearTimeout,i.now=r.now||function(){return Date.now()},this._platform=i,this._boundRunExpiredTimers=function(){t._runExpiredTimers()},this._boundAutorunEnd=function(){t._autorun=null,t.end()}}return e.prototype.begin=function(){var e=this.options,t=this.currentInstance,n=void 0
788
788
  return null!==this._autorun?(n=t,this._cancelAutorun()):(null!==t&&this.instanceStack.push(t),n=this.currentInstance=new f(this.queueNames,e),this._trigger("begin",n,t)),this._onBegin(n,t),n},e.prototype.end=function(){var e,t=this.currentInstance,n=null
789
789
  if(null===t)throw new Error("end called without begin")
790
790
  var r=!1,i=void 0
@@ -839,7 +839,7 @@ if(void 0!==i)for(r=0;r<i.length;r++)i[r](t,n)},e.prototype._runExpiredTimers=fu
839
839
  n.splice(0,i),this._installTimerTimeout()},e.prototype._reinstallTimerTimeout=function(){this._clearTimerTimeout(),this._installTimerTimeout()},e.prototype._clearTimerTimeout=function(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)},e.prototype._installTimerTimeout=function(){if(0!==this._timers.length){var e=this._timers[0],t=this._platform.now(),n=Math.max(0,e-t)
840
840
  this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,n)}},e.prototype._ensureInstance=function(){var e,t=this.currentInstance
841
841
  return null===t&&(t=this.begin(),e=this._platform.next,this._autorun=e(this._boundAutorunEnd)),t},e}()
842
- g.Queue=h,e["default"]=g}),e("container",["exports","ember-utils","ember-debug"],function(e,t,n){"use strict"
842
+ y.Queue=h,e["default"]=y}),e("container",["exports","ember-utils","ember-debug"],function(e,t,n){"use strict"
843
843
  function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
844
844
  this.registry=e,this.owner=n.owner||null,this.cache=(0,t.dictionary)(n.cache||null),this.factoryManagerCache=(0,t.dictionary)(n.factoryManagerCache||null),this[C]=void 0,this.isDestroyed=!1}function i(e,t){return e.registry.getOption(t,"singleton")!==!1}function o(e,t){return e.registry.getOption(t,"instantiate")!==!1}function s(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
845
845
  if(r.source){if(n=e.registry.expandLocalLookup(t,r),!n)return
@@ -990,8 +990,8 @@ var r=n.buildInstance(t)
990
990
  return(0,a.setEngineParent)(r,this),r},cloneParentDependencies:function(){var e=this,t=(0,a.getEngineParent)(this);["route:basic","service:-routing","service:-glimmer-environment"].forEach(function(n){return e.register(n,t.resolveRegistration(n))})
991
991
  var n=t.lookup("-environment:main")
992
992
  this.register("-environment:main",n,{instantiate:!1})
993
- var r=["router:main",(0,s.privatize)(u),"-view-registry:main","renderer:-"+(n.isInteractive?"dom":"inert"),"service:-document","event_dispatcher:main"]
994
- r.forEach(function(n){return e.register(n,t.lookup(n),{instantiate:!1})}),this.inject("view","_environment","-environment:main"),this.inject("route","_environment","-environment:main")}})
993
+ var r=["router:main",(0,s.privatize)(u),"-view-registry:main","renderer:-"+(n.isInteractive?"dom":"inert"),"service:-document"]
994
+ n.isInteractive&&r.push("event_dispatcher:main"),r.forEach(function(n){return e.register(n,t.lookup(n),{instantiate:!1})}),this.inject("view","_environment","-environment:main"),this.inject("route","_environment","-environment:main")}})
995
995
  c.reopenClass({setupRegistry:function(e,t){t&&(e.injection("view","_environment","-environment:main"),e.injection("route","_environment","-environment:main"),t.isInteractive?(e.injection("view","renderer","renderer:-dom"),e.injection("component","renderer","renderer:-dom")):(e.injection("view","renderer","renderer:-inert"),e.injection("component","renderer","renderer:-inert")))}}),e["default"]=c}),e("ember-application/system/engine-parent",["exports","ember-utils"],function(e,t){"use strict"
996
996
  e.ENGINE_PARENT=void 0,e.getEngineParent=function(e){return e[n]},e.setEngineParent=function(e,t){e[n]=t}
997
997
  var n=e.ENGINE_PARENT=(0,t.symbol)("ENGINE_PARENT")}),e("ember-application/system/engine",["exports","ember-babel","ember-utils","ember-runtime","container","dag-map","ember-debug","ember-metal","ember-application/system/resolver","ember-application/system/engine-instance","ember-routing","ember-extension-support","ember-views","ember-glimmer"],function(e,t,n,r,i,o,s,a,u,c,l,p,h,f){"use strict"
@@ -1067,7 +1067,7 @@ return this.releaseMethods.pushObject(a),a},_nameToClass:function(e){var n,r
1067
1067
  return"string"==typeof e&&(n=(0,t.getOwner)(this),r=n.factoryFor("model:"+e),e=r&&r["class"]),e},watchRecords:function(e,t,n,i){function o(e){n([e])}var s=this,a=(0,r.A)(),u=this._nameToClass(e),c=this.getRecords(u,e),l=void 0,p=c.map(function(e){return a.push(s.observeRecord(e,o)),s.wrapRecord(e)}),h={didChange:function(e,n,u,c){var l,p,h
1068
1068
  for(l=n;l<n+c;l++)p=(0,r.objectAt)(e,l),h=s.wrapRecord(p),a.push(s.observeRecord(p,o)),t([h])
1069
1069
  u&&i(n,u)},willChange:function(){return this}}
1070
- return(0,r.addArrayObserver)(c,this,h),l=function(){a.forEach(function(e){return e()}),(0,r.removeArrayObserver)(c,s,h),s.releaseMethods.removeObject(l)},t(p),this.releaseMethods.pushObject(l),l},willDestroy:function(){this._super.apply(this,arguments),this.releaseMethods.forEach(function(e){return e()})},detect:function(){return!1},columnsForType:function(){return(0,r.A)()},observeModelType:function(e,t){function i(){t([this.wrapModelType(s,e)])}var o=this,s=this._nameToClass(e),a=this.getRecords(s,e),u={didChange:function(){n.run.scheduleOnce("actions",this,i)},willChange:function(){return this}}
1070
+ return(0,r.addArrayObserver)(c,this,h),l=function(){a.forEach(function(e){return e()}),(0,r.removeArrayObserver)(c,s,h),s.releaseMethods.removeObject(l)},t(p),this.releaseMethods.pushObject(l),l},willDestroy:function(){this._super.apply(this,arguments),this.releaseMethods.forEach(function(e){return e()})},detect:function(){return!1},columnsForType:function(){return(0,r.A)()},observeModelType:function(e,t){function i(){t([this.wrapModelType(s,e)])}var o=this,s=this._nameToClass(e),a=this.getRecords(s,e),u={didChange:function(e,t,r,o){(r>0||o>0)&&n.run.scheduleOnce("actions",this,i)},willChange:function(){return this}}
1071
1071
  return(0,r.addArrayObserver)(a,this,u),function(){return(0,r.removeArrayObserver)(a,o,u)}},wrapModelType:function(e,t){var r=this.getRecords(e,t),i=void 0
1072
1072
  return i={name:t,count:(0,n.get)(r,"length"),columns:this.columnsForType(e),object:e}},getModelTypes:function(){var e=this,t=this.get("containerDebugAdapter"),n=void 0
1073
1073
  return n=t.canCatalogEntriesByType("model")?t.catalogEntriesByType("model"):this._getObjectsOnNamespaces(),n=(0,r.A)(n).map(function(t){return{klass:e._nameToClass(t),name:t}}),n=(0,r.A)(n).filter(function(t){return e.detect(t.klass)}),(0,r.A)(n)},_getObjectsOnNamespaces:function(){var e=this,t=(0,r.A)(r.Namespace.NAMESPACES),n=(0,r.A)()
@@ -2386,35 +2386,35 @@ for(o.sort(function(e,t){return t-e}),(0,t.beginPropertyChanges)(),p=0;p<o.lengt
2386
2386
  return this._replace((0,t.get)(this,"length"),0,e),this},setObjects:function(e){if(0===e.length)return this.clear()
2387
2387
  var n=(0,t.get)(this,"length")
2388
2388
  return this._replace(0,n,e),this},unshiftObject:function(e){return this._insertAt(0,e),e},unshiftObjects:function(e){return this._replace(0,0,e),this},slice:function(){var e=this.toArray()
2389
- return e.slice.apply(e,arguments)},arrangedContentArrayWillChange:function(e,t,n,r){this.arrayContentWillChange(t,n,r)},arrangedContentArrayDidChange:function(e,t,n,r){this.arrayContentDidChange(t,n,r)},init:function(){this._super.apply(this,arguments),this._setupContent(),this._setupArrangedContent()},willDestroy:function(){this._teardownArrangedContent(),this._teardownContent()}})}),e("ember-runtime/system/core_object",["exports","ember-babel","ember-utils","ember-metal","ember-runtime/mixins/action_handler","ember-runtime/inject","ember-debug"],function(e,t,n,r,i,o,s){"use strict"
2390
- function a(){var e=!1,t=void 0,i=void 0,o=function(){function o(){e||o.proto(),arguments.length>0&&(t=[arguments[0]]),this.__defineNonEnumerable(n.GUID_KEY_PROPERTY)
2391
- var s,a,u,c,l,p,f,m,g,y,v,b,_,w=(0,r.meta)(this),O=w.proto
2392
- if(w.proto=this,i&&(w.factory=i,i=null),t)for(s=t,t=null,a=this.concatenatedProperties,u=this.mergedProperties,c=a&&a.length>0,l=u&&u.length>0,p=0;p<s.length;p++)if(f=s[p])for(m=Object.keys(f),g=0;g<m.length;g++)y=m[g],v=f[y],(0,r.detectBinding)(y)&&w.writeBindings(y,v),b=this[y],_=null!==b&&"object"==typeof b&&b.isDescriptor,c&&a.indexOf(y)>-1&&(v=b?(0,n.makeArray)(b).concat(v):(0,n.makeArray)(v)),l&&u.indexOf(y)>-1&&(v=(0,n.assign)({},b,v)),_?b.set(this,y,v):"function"!=typeof this.setUnknownProperty||y in this?this[y]=v:this.setUnknownProperty(y,v)
2393
- h(this,w),this.init.apply(this,arguments),this[d](),w.proto=O,(0,r.finishChains)(w),(0,r.sendEvent)(this,"init",void 0,void 0,void 0,w)}return o.willReopen=function(){e&&(o.PrototypeMixin=r.Mixin.create(o.PrototypeMixin)),e=!1},o._initProperties=function(e){t=e},o._initFactory=function(e){i=e},o.proto=function(){var t=o.superclass
2389
+ return e.slice.apply(e,arguments)},arrangedContentArrayWillChange:function(e,t,n,r){this.arrayContentWillChange(t,n,r)},arrangedContentArrayDidChange:function(e,t,n,r){this.arrayContentDidChange(t,n,r)},init:function(){this._super.apply(this,arguments),this._setupContent(),this._setupArrangedContent()},willDestroy:function(){this._teardownArrangedContent(),this._teardownContent()}})}),e("ember-runtime/system/core_object",["exports","ember-utils","ember-metal","ember-runtime/mixins/action_handler","ember-runtime/inject","ember-debug"],function(e,t,n,r,i,o){"use strict"
2390
+ function s(){var e=!1,r=void 0,i=void 0,o=function(){function o(){e||o.proto(),arguments.length>0&&(r=[arguments[0]]),this.__defineNonEnumerable(t.GUID_KEY_PROPERTY)
2391
+ var s,a,u,c,l,h,d,m,g,y,v,b,_,w=(0,n.meta)(this),O=w.proto
2392
+ if(w.proto=this,i&&(w.factory=i,i=null),r)for(s=r,r=null,a=this.concatenatedProperties,u=this.mergedProperties,c=a&&a.length>0,l=u&&u.length>0,h=0;h<s.length;h++)if(d=s[h])for(m=Object.keys(d),g=0;g<m.length;g++)y=m[g],v=d[y],(0,n.detectBinding)(y)&&w.writeBindings(y,v),b=this[y],_=null!==b&&"object"==typeof b&&b.isDescriptor,c&&a.indexOf(y)>-1&&(v=b?(0,t.makeArray)(b).concat(v):(0,t.makeArray)(v)),l&&u.indexOf(y)>-1&&(v=(0,t.assign)({},b,v)),_?b.set(this,y,v):"function"!=typeof this.setUnknownProperty||y in this?this[y]=v:this.setUnknownProperty(y,v)
2393
+ p(this,w),this.init.apply(this,arguments),this[f](),w.proto=O,(0,n.finishChains)(w),(0,n.sendEvent)(this,"init",void 0,void 0,void 0,w)}return o.willReopen=function(){e&&(o.PrototypeMixin=n.Mixin.create(o.PrototypeMixin)),e=!1},o._initProperties=function(e){r=e},o._initFactory=function(e){i=e},o.proto=function(){var t=o.superclass
2394
2394
  return t&&t.proto(),e||(e=!0,o.PrototypeMixin.applyPartial(o.prototype)),this.prototype},o}()
2395
- return o.toString=r.Mixin.prototype.toString,o}e.POST_INIT=void 0
2396
- var u,c,l=((0,t.taggedTemplateLiteralLoose)(["."],["."]),r.run.schedule),p=r.Mixin._apply,h=r.Mixin.finishPartial,f=r.Mixin.prototype.reopen,d=e.POST_INIT=(0,n.symbol)("POST_INIT"),m=a()
2397
- m.toString=function(){return"Ember.CoreObject"},m.PrototypeMixin=r.Mixin.create((u={reopen:function(){var e,t,n
2395
+ return o.toString=n.Mixin.prototype.toString,o}e.POST_INIT=void 0
2396
+ var a,u,c=n.run.schedule,l=n.Mixin._apply,p=n.Mixin.finishPartial,h=n.Mixin.prototype.reopen,f=e.POST_INIT=(0,t.symbol)("POST_INIT"),d=s()
2397
+ d.toString=function(){return"Ember.CoreObject"},d.PrototypeMixin=n.Mixin.create((a={reopen:function(){var e,t,n
2398
2398
  for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
2399
- return p(this,t,!0),this},init:function(){}},u[d]=function(){},u.__defineNonEnumerable=function(e){Object.defineProperty(this,e.name,e.descriptor)},u.concatenatedProperties=null,u.mergedProperties=null,u.isDestroyed=(0,r.descriptor)({get:function(){return(0,r.meta)(this).isSourceDestroyed()},set:function(e){null!==e&&"object"==typeof e&&e.isDescriptor}}),u.isDestroying=(0,r.descriptor)({get:function(){return(0,r.meta)(this).isSourceDestroying()},set:function(e){null!==e&&"object"==typeof e&&e.isDescriptor}}),u.destroy=function(){var e=(0,r.meta)(this)
2400
- if(!e.isSourceDestroying())return e.setSourceDestroying(),l("actions",this,this.willDestroy),l("destroy",this,this._scheduledDestroy,e),this},u.willDestroy=function(){},u._scheduledDestroy=function(e){e.isSourceDestroyed()||((0,r.destroy)(this),e.setSourceDestroyed())},u.bind=function(e,t){return t instanceof r.Binding||(t=r.Binding.from(t)),t.to(e).connect(this),t},u.toString=function(){var e="function"==typeof this.toStringExtension,t=e?":"+this.toStringExtension():"",i="<"+(this[n.NAME_KEY]||(0,r.meta)(this).factory||this.constructor.toString())+":"+(0,n.guidFor)(this)+t+">"
2401
- return i},u)),m.PrototypeMixin.ownerConstructor=m,m.__super__=null
2402
- var g=(c={ClassMixin:r.REQUIRED,PrototypeMixin:r.REQUIRED,isClass:!0,isMethod:!1},c[n.NAME_KEY]=null,c[n.GUID_KEY]=null,c.extend=function(){var e=a(),t=void 0
2403
- return e.ClassMixin=r.Mixin.create(this.ClassMixin),e.PrototypeMixin=r.Mixin.create(this.PrototypeMixin),e.ClassMixin.ownerConstructor=e,e.PrototypeMixin.ownerConstructor=e,f.apply(e.PrototypeMixin,arguments),e.superclass=this,e.__super__=this.prototype,t=e.prototype=Object.create(this.prototype),t.constructor=e,(0,n.generateGuid)(t),(0,r.meta)(t).proto=t,e.ClassMixin.apply(e),e},c.create=function(){var e,t,n,r=this
2399
+ return l(this,t,!0),this},init:function(){}},a[f]=function(){},a.__defineNonEnumerable=function(e){Object.defineProperty(this,e.name,e.descriptor)},a.concatenatedProperties=null,a.mergedProperties=null,a.isDestroyed=(0,n.descriptor)({get:function(){return(0,n.meta)(this).isSourceDestroyed()},set:function(e){null!==e&&"object"==typeof e&&e.isDescriptor}}),a.isDestroying=(0,n.descriptor)({get:function(){return(0,n.meta)(this).isSourceDestroying()},set:function(e){null!==e&&"object"==typeof e&&e.isDescriptor}}),a.destroy=function(){var e=(0,n.meta)(this)
2400
+ if(!e.isSourceDestroying())return e.setSourceDestroying(),c("actions",this,this.willDestroy),c("destroy",this,this._scheduledDestroy,e),this},a.willDestroy=function(){},a._scheduledDestroy=function(e){e.isSourceDestroyed()||((0,n.destroy)(this),e.setSourceDestroyed())},a.bind=function(e,t){return t instanceof n.Binding||(t=n.Binding.from(t)),t.to(e).connect(this),t},a.toString=function(){var e="function"==typeof this.toStringExtension,r=e?":"+this.toStringExtension():"",i="<"+(this[t.NAME_KEY]||(0,n.meta)(this).factory||this.constructor.toString())+":"+(0,t.guidFor)(this)+r+">"
2401
+ return i},a)),d.PrototypeMixin.ownerConstructor=d,d.__super__=null
2402
+ var m=(u={ClassMixin:n.REQUIRED,PrototypeMixin:n.REQUIRED,isClass:!0,isMethod:!1},u[t.NAME_KEY]=null,u[t.GUID_KEY]=null,u.extend=function(){var e=s(),r=void 0
2403
+ return e.ClassMixin=n.Mixin.create(this.ClassMixin),e.PrototypeMixin=n.Mixin.create(this.PrototypeMixin),e.ClassMixin.ownerConstructor=e,e.PrototypeMixin.ownerConstructor=e,h.apply(e.PrototypeMixin,arguments),e.superclass=this,e.__super__=this.prototype,r=e.prototype=Object.create(this.prototype),r.constructor=e,(0,t.generateGuid)(r),(0,n.meta)(r).proto=r,e.ClassMixin.apply(e),e},u.create=function(){var e,t,n,r=this
2404
2404
  for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
2405
- return t.length>0&&this._initProperties(t),new r},c.reopen=function(){return this.willReopen(),f.apply(this.PrototypeMixin,arguments),this},c.reopenClass=function(){return f.apply(this.ClassMixin,arguments),p(this,arguments,!1),this},c.detect=function(e){if("function"!=typeof e)return!1
2405
+ return t.length>0&&this._initProperties(t),new r},u.reopen=function(){return this.willReopen(),h.apply(this.PrototypeMixin,arguments),this},u.reopenClass=function(){return h.apply(this.ClassMixin,arguments),l(this,arguments,!1),this},u.detect=function(e){if("function"!=typeof e)return!1
2406
2406
  for(;e;){if(e===this)return!0
2407
- e=e.superclass}return!1},c.detectInstance=function(e){return e instanceof this},c.metaForProperty=function(e){var t=this.proto(),n=t[e]
2408
- return n._meta||{}},c._computedProperties=(0,r.computed)(function(){(0,r._hasCachedComputedProperties)()
2409
- var e=this.proto(),t=void 0,n=[]
2410
- for(var i in e)t=e[i],null!==t&&"object"==typeof t&&t.isDescriptor&&n.push({name:i,meta:t._meta})
2411
- return n}).readOnly(),c.eachComputedProperty=function(e,t){var n,i=void 0,o={},s=(0,r.get)(this,"_computedProperties")
2412
- for(n=0;n<s.length;n++)i=s[n],e.call(t||this,i.name,i.meta||o)},c)
2413
- g._lazyInjections=function(){var e={},t=this.proto(),n=void 0,i=void 0
2414
- for(n in t)i=t[n],i instanceof r.InjectedProperty&&(e[n]=i.type+":"+(i.name||n))
2407
+ e=e.superclass}return!1},u.detectInstance=function(e){return e instanceof this},u.metaForProperty=function(e){var t=this.proto(),n=t[e]
2408
+ return n._meta||{}},u._computedProperties=(0,n.computed)(function(){(0,n._hasCachedComputedProperties)()
2409
+ var e=this.proto(),t=void 0,r=[]
2410
+ for(var i in e)t=e[i],null!==t&&"object"==typeof t&&t.isDescriptor&&r.push({name:i,meta:t._meta})
2411
+ return r}).readOnly(),u.eachComputedProperty=function(e,t){var r,i=void 0,o={},s=(0,n.get)(this,"_computedProperties")
2412
+ for(r=0;r<s.length;r++)i=s[r],e.call(t||this,i.name,i.meta||o)},u)
2413
+ m._lazyInjections=function(){var e={},t=this.proto(),r=void 0,i=void 0
2414
+ for(r in t)i=t[r],i instanceof n.InjectedProperty&&(e[r]=i.type+":"+(i.name||r))
2415
2415
  return e}
2416
- var y=r.Mixin.create(g)
2417
- y.ownerConstructor=m,m.ClassMixin=y,y.apply(m),e["default"]=m}),e("ember-runtime/system/lazy_load",["exports","ember-environment"],function(e,t){"use strict"
2416
+ var g=n.Mixin.create(m)
2417
+ g.ownerConstructor=d,d.ClassMixin=g,g.apply(d),e["default"]=d}),e("ember-runtime/system/lazy_load",["exports","ember-environment"],function(e,t){"use strict"
2418
2418
  e._loaded=void 0,e.onLoad=function(e,t){var i=r[e]
2419
2419
  n[e]=n[e]||[],n[e].push(t),i&&t(i)},e.runLoadHooks=function(e,i){r[e]=i
2420
2420
  var o,s=t.environment.window
@@ -2548,19 +2548,19 @@ t=t.parentView}},c.rerender=function(){return this._currentState.rerender(this)}
2548
2548
  return n=t.hasDOM&&"string"==typeof e?document.querySelector(e):e,this.renderer.appendTo(this,n),this},c.append=function(){return this.appendTo(document.body)},c.elementId=null,c.findElementInParentElement=function(e){var t="#"+this.elementId
2549
2549
  return(0,a["default"])(t)[0]||(0,a["default"])(t,e)[0]},c.willInsertElement=u,c.didInsertElement=u,c.willClearRender=u,c.destroy=function(){this._super.apply(this,arguments),this._currentState.destroy(this)},c.willDestroyElement=u,c.parentViewDidChange=u,c.tagName=null,c.init=function(){var e,n
2550
2550
  this._super.apply(this,arguments),this.elementId||""===this.tagName||(this.elementId=(0,t.guidFor)(this)),this.eventManager&&(e=(0,t.getOwner)(this),n=e&&e.lookup("event_dispatcher:main"),!n||"canDispatchToEventManager"in n||(n.canDispatchToEventManager=!0))},c.__defineNonEnumerable=function(e){this[e.name]=e.descriptor.value},c.handleEvent=function(e,t){return this._currentState.handleEvent(this,e,t)},c))}),e("ember-views/system/action_manager",["exports"],function(e){"use strict"
2551
- function t(){}e["default"]=t,t.registeredActions={}}),e("ember-views/system/event_dispatcher",["exports","ember-utils","ember-debug","ember-metal","ember-runtime","ember-views/system/jquery","ember-views/system/action_manager","ember-environment","ember-views/compat/fallback-view-registry"],function(e,t,n,r,i,o,s,a,u){"use strict"
2552
- var c="ember-application",l="."+c
2551
+ function t(){}e["default"]=t,t.registeredActions={}}),e("ember-views/system/event_dispatcher",["exports","ember-utils","ember-debug","ember-metal","ember-runtime","ember-views/system/jquery","ember-views/system/action_manager","ember-views/compat/fallback-view-registry"],function(e,t,n,r,i,o,s,a){"use strict"
2552
+ var u="ember-application",c="."+u
2553
2553
  e["default"]=i.Object.extend({events:{touchstart:"touchStart",touchmove:"touchMove",touchend:"touchEnd",touchcancel:"touchCancel",keydown:"keyDown",keyup:"keyUp",keypress:"keyPress",mousedown:"mouseDown",mouseup:"mouseUp",contextmenu:"contextMenu",click:"click",dblclick:"doubleClick",mousemove:"mouseMove",focusin:"focusIn",focusout:"focusOut",mouseenter:"mouseEnter",mouseleave:"mouseLeave",submit:"submit",input:"input",change:"change",dragstart:"dragStart",drag:"drag",dragenter:"dragEnter",dragleave:"dragLeave",dragover:"dragOver",drop:"drop",dragend:"dragEnd"},rootElement:"body",init:function(){this._super()},setup:function(e,n){var i=void 0,s=this._finalEvents=(0,t.assign)({},(0,r.get)(this,"events"),e)
2554
- if((0,r.isNone)(n)?n=(0,r.get)(this,"rootElement"):(0,r.set)(this,"rootElement",n),n=(0,o["default"])(n),n.addClass(c),!n.is(l))throw new TypeError("Unable to add '"+c+"' class to root element ("+(n.selector||n[0].tagName)+"). Make sure you set rootElement to the body or an element in the body.")
2554
+ if((0,r.isNone)(n)?n=(0,r.get)(this,"rootElement"):(0,r.set)(this,"rootElement",n),n=(0,o["default"])(n),n.addClass(u),!n.is(c))throw new TypeError("Unable to add '"+u+"' class to root element ("+(n.selector||n[0].tagName)+"). Make sure you set rootElement to the body or an element in the body.")
2555
2555
  var a=this._getViewRegistry()
2556
2556
  for(i in s)s.hasOwnProperty(i)&&this.setupHandler(n,i,s[i],a)},setupHandler:function(e,t,n,r){var i=this
2557
2557
  null!==n&&(e.on(t+".ember",".ember-view",function(e,t){var o=r[this.id],s=!0,a=i.canDispatchToEventManager?i._findNearestEventManager(o,n):null
2558
2558
  return a&&a!==t?s=i._dispatchEvent(a,e,n,o):o&&(s=i._bubbleEvent(o,e,n)),s}),e.on(t+".ember","[data-ember-action]",function(e){var t,r,i,o,a=e.currentTarget.attributes,u=[]
2559
- for(t=0;t<a.length;t++)r=a.item(t),i=r.name,i.lastIndexOf("data-ember-action-",0)!==-1&&(o=s["default"].registeredActions[r.value],o&&o.eventName===n&&u.indexOf(o)===-1&&(o.handler(e),u.push(o)))}))},_getViewRegistry:function(){var e=(0,t.getOwner)(this),n=e&&e.lookup("-view-registry:main")||u["default"]
2559
+ for(t=0;t<a.length;t++)r=a.item(t),i=r.name,i.lastIndexOf("data-ember-action-",0)!==-1&&(o=s["default"].registeredActions[r.value],o&&o.eventName===n&&u.indexOf(o)===-1&&(o.handler(e),u.push(o)))}))},_getViewRegistry:function(){var e=(0,t.getOwner)(this),n=e&&e.lookup("-view-registry:main")||a["default"]
2560
2560
  return n},_findNearestEventManager:function(e,t){for(var n=null;e&&(n=(0,r.get)(e,"eventManager"),!n||!n[t]);)e=(0,r.get)(e,"parentView")
2561
2561
  return n},_dispatchEvent:function(e,t,n,i){var o=!0,s=e[n]
2562
2562
  return"function"==typeof s?(o=(0,r.run)(e,s,t,i),t.stopPropagation()):o=this._bubbleEvent(i,t,n),o},_bubbleEvent:function(e,t,n){return e.handleEvent(n,t)},destroy:function(){var e=(0,r.get)(this,"rootElement")
2563
- return(0,o["default"])(e).off(".ember","**").removeClass(c),this._super.apply(this,arguments)},toString:function(){return"(EventDispatcher)"}})}),e("ember-views/system/ext",["ember-metal"],function(e){"use strict"
2563
+ return(0,o["default"])(e).off(".ember","**").removeClass(u),this._super.apply(this,arguments)},toString:function(){return"(EventDispatcher)"}})}),e("ember-views/system/ext",["ember-metal"],function(e){"use strict"
2564
2564
  e.run._addQueue("render","actions"),e.run._addQueue("afterRender","render")}),e("ember-views/system/jquery",["exports","ember-environment"],function(e,t){"use strict"
2565
2565
  var n=void 0
2566
2566
  t.environment.hasDOM&&(n=t.context.imports.jQuery,n&&(n.event.addProp?n.event.addProp("dataTransfer"):["dragstart","drag","dragenter","dragleave","dragover","drop","dragend"].forEach(function(e){n.event.fixHooks[e]={props:["dataTransfer"]}}))),e["default"]=n}),e("ember-views/system/lookup_partial",["exports","ember-debug"],function(e,t){"use strict"
@@ -2605,7 +2605,7 @@ var b,_=s.computed
2605
2605
  _.alias=s.alias,s["default"].computed=_,s["default"].ComputedProperty=s.ComputedProperty,s["default"].cacheFor=s.cacheFor,s["default"].assert=u.assert,s["default"].warn=u.warn,s["default"].debug=u.debug,s["default"].deprecate=u.deprecate,s["default"].deprecateFunc=u.deprecateFunc,s["default"].runInDebug=u.runInDebug,s["default"].Debug={registerDeprecationHandler:u.registerDeprecationHandler,registerWarnHandler:u.registerWarnHandler},s["default"].merge=s.merge,s["default"].instrument=s.instrument,s["default"].subscribe=s.instrumentationSubscribe,s["default"].Instrumentation={instrument:s.instrument,subscribe:s.instrumentationSubscribe,unsubscribe:s.instrumentationUnsubscribe,reset:s.instrumentationReset},s["default"].Error=u.Error,s["default"].META_DESC=s.META_DESC,s["default"].meta=s.meta,s["default"].get=s.get,s["default"].getWithDefault=s.getWithDefault,s["default"]._getPath=s._getPath,s["default"].set=s.set,s["default"].trySet=s.trySet,s["default"].FEATURES=a.FEATURES,s["default"].FEATURES.isEnabled=u.isFeatureEnabled,s["default"]._Cache=s.Cache,s["default"].on=s.on,s["default"].addListener=s.addListener,s["default"].removeListener=s.removeListener,s["default"]._suspendListener=s.suspendListener,s["default"]._suspendListeners=s.suspendListeners,s["default"].sendEvent=s.sendEvent,s["default"].hasListeners=s.hasListeners,s["default"].watchedEvents=s.watchedEvents,s["default"].listenersFor=s.listenersFor,s["default"].isNone=s.isNone,s["default"].isEmpty=s.isEmpty,s["default"].isBlank=s.isBlank,s["default"].isPresent=s.isPresent,s["default"].run=s.run,s["default"]._ObserverSet=s.ObserverSet,s["default"].propertyWillChange=s.propertyWillChange,s["default"].propertyDidChange=s.propertyDidChange,s["default"].overrideChains=s.overrideChains,s["default"].beginPropertyChanges=s.beginPropertyChanges,s["default"].endPropertyChanges=s.endPropertyChanges,s["default"].changeProperties=s.changeProperties,s["default"].platform={defineProperty:!0,hasPropertyAccessors:!0},s["default"].defineProperty=s.defineProperty,s["default"].watchKey=s.watchKey,s["default"].unwatchKey=s.unwatchKey,s["default"].removeChainWatcher=s.removeChainWatcher,s["default"]._ChainNode=s.ChainNode,s["default"].finishChains=s.finishChains,s["default"].watchPath=s.watchPath,s["default"].unwatchPath=s.unwatchPath,s["default"].watch=s.watch,s["default"].isWatching=s.isWatching,s["default"].unwatch=s.unwatch,s["default"].destroy=s.destroy,s["default"].libraries=s.libraries,s["default"].OrderedSet=s.OrderedSet,s["default"].Map=s.Map,s["default"].MapWithDefault=s.MapWithDefault,s["default"].getProperties=s.getProperties,s["default"].setProperties=s.setProperties,s["default"].expandProperties=s.expandProperties,s["default"].NAME_KEY=i.NAME_KEY,s["default"].addObserver=s.addObserver,s["default"].observersFor=s.observersFor,s["default"].removeObserver=s.removeObserver,s["default"]._suspendObserver=s._suspendObserver,s["default"]._suspendObservers=s._suspendObservers,s["default"].required=s.required,s["default"].aliasMethod=s.aliasMethod,s["default"].observer=s.observer,s["default"].immediateObserver=s._immediateObserver,s["default"].mixin=s.mixin,s["default"].Mixin=s.Mixin,s["default"].bind=s.bind,s["default"].Binding=s.Binding,s["default"].isGlobalPath=s.isGlobalPath,Object.defineProperty(s["default"],"ENV",{get:function(){return n.ENV},enumerable:!1}),Object.defineProperty(s["default"],"lookup",{get:function(){return n.context.lookup},set:function(e){n.context.lookup=e},enumerable:!1}),s["default"].EXTEND_PROTOTYPES=n.ENV.EXTEND_PROTOTYPES,Object.defineProperty(s["default"],"LOG_STACKTRACE_ON_DEPRECATION",{get:function(){return n.ENV.LOG_STACKTRACE_ON_DEPRECATION},set:function(e){n.ENV.LOG_STACKTRACE_ON_DEPRECATION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_VERSION",{get:function(){return n.ENV.LOG_VERSION},set:function(e){n.ENV.LOG_VERSION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_BINDINGS",{get:function(){return n.ENV.LOG_BINDINGS},set:function(e){n.ENV.LOG_BINDINGS=!!e},enumerable:!1}),Object.defineProperty(s["default"],"onerror",{get:s.getOnerror,set:s.setOnerror,enumerable:!1}),Object.defineProperty(s["default"],"K",{get:function(){return v}}),Object.defineProperty(s["default"],"testing",{get:u.isTesting,set:u.setTesting,enumerable:!1}),s["default"]._Backburner=c["default"],s["default"].Logger=l["default"],s["default"].String=p.String,s["default"].Object=p.Object,s["default"]._RegistryProxyMixin=p.RegistryProxyMixin,s["default"]._ContainerProxyMixin=p.ContainerProxyMixin,s["default"].compare=p.compare,s["default"].copy=p.copy,s["default"].isEqual=p.isEqual,s["default"].inject=p.inject,s["default"].Array=p.Array,s["default"].Comparable=p.Comparable,s["default"].Enumerable=p.Enumerable,s["default"].ArrayProxy=p.ArrayProxy,s["default"].ObjectProxy=p.ObjectProxy,s["default"].ActionHandler=p.ActionHandler,s["default"].CoreObject=p.CoreObject,s["default"].NativeArray=p.NativeArray,s["default"].Copyable=p.Copyable,s["default"].Freezable=p.Freezable,s["default"].FROZEN_ERROR=p.FROZEN_ERROR,s["default"].MutableEnumerable=p.MutableEnumerable,s["default"].MutableArray=p.MutableArray,s["default"].TargetActionSupport=p.TargetActionSupport,s["default"].Evented=p.Evented,s["default"].PromiseProxyMixin=p.PromiseProxyMixin,s["default"].Observable=p.Observable,s["default"].typeOf=p.typeOf,s["default"].isArray=p.isArray,s["default"].Object=p.Object,s["default"].onLoad=p.onLoad,s["default"].runLoadHooks=p.runLoadHooks,s["default"].Controller=p.Controller,s["default"].ControllerMixin=p.ControllerMixin,s["default"].Service=p.Service,s["default"]._ProxyMixin=p._ProxyMixin,s["default"].RSVP=p.RSVP,s["default"].Namespace=p.Namespace,_.empty=p.empty,_.notEmpty=p.notEmpty,_.none=p.none,_.not=p.not,_.bool=p.bool,_.match=p.match,_.equal=p.equal,_.gt=p.gt,_.gte=p.gte,_.lt=p.lt,_.lte=p.lte,_.oneWay=p.oneWay,_.reads=p.oneWay,_.readOnly=p.readOnly,_.deprecatingAlias=p.deprecatingAlias,_.and=p.and,_.or=p.or,_.any=p.any,_.sum=p.sum,_.min=p.min,_.max=p.max,_.map=p.map,_.sort=p.sort,_.setDiff=p.setDiff,_.mapBy=p.mapBy,_.filter=p.filter,_.filterBy=p.filterBy,_.uniq=p.uniq,_.uniqBy=p.uniqBy,_.union=p.union,_.intersect=p.intersect,_.collect=p.collect,Object.defineProperty(s["default"],"STRINGS",{configurable:!1,get:p.getStrings,set:p.setStrings}),Object.defineProperty(s["default"],"BOOTED",{configurable:!1,enumerable:!1,get:p.isNamespaceSearchDisabled,set:p.setNamespaceSearchDisabled}),s["default"].Component=h.Component,h.Helper.helper=h.helper,s["default"].Helper=h.Helper,s["default"].Checkbox=h.Checkbox,s["default"].TextField=h.TextField,s["default"].TextArea=h.TextArea,s["default"].LinkComponent=h.LinkComponent,n.ENV.EXTEND_PROTOTYPES.String&&(String.prototype.htmlSafe=function(){return(0,h.htmlSafe)(this)})
2606
2606
  var w=s["default"].Handlebars=s["default"].Handlebars||{},O=s["default"].HTMLBars=s["default"].HTMLBars||{},E=w.Utils=w.Utils||{}
2607
2607
  Object.defineProperty(w,"SafeString",{get:h._getSafeString}),O.template=w.template=h.template,E.escapeExpression=h.escapeExpression,p.String.htmlSafe=h.htmlSafe,p.String.isHTMLSafe=h.isHTMLSafe,Object.defineProperty(s["default"],"TEMPLATES",{get:h.getTemplates,set:h.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=f["default"],s["default"].VERSION=f["default"],s.libraries.registerCoreLibrary("Ember",f["default"]),s["default"].$=d.jQuery,s["default"].ViewTargetActionSupport=d.ViewTargetActionSupport,s["default"].ViewUtils={isSimpleClick:d.isSimpleClick,getViewElement:d.getViewElement,getViewBounds:d.getViewBounds,getViewClientRects:d.getViewClientRects,getViewBoundingClientRect:d.getViewBoundingClientRect,getRootViews:d.getRootViews,getChildViews:d.getChildViews},s["default"].TextSupport=d.TextSupport,s["default"].ComponentLookup=d.ComponentLookup,s["default"].EventDispatcher=d.EventDispatcher,s["default"].Location=m.Location,s["default"].AutoLocation=m.AutoLocation,s["default"].HashLocation=m.HashLocation,s["default"].HistoryLocation=m.HistoryLocation,s["default"].NoneLocation=m.NoneLocation,s["default"].controllerFor=m.controllerFor,s["default"].generateControllerFactory=m.generateControllerFactory,s["default"].generateController=m.generateController,s["default"].RouterDSL=m.RouterDSL,s["default"].Router=m.Router,s["default"].Route=m.Route,s["default"].Application=g.Application,s["default"].ApplicationInstance=g.ApplicationInstance,s["default"].Engine=g.Engine,s["default"].EngineInstance=g.EngineInstance,s["default"].DefaultResolver=s["default"].Resolver=g.Resolver,(0,p.runLoadHooks)("Ember.Application",g.Application),s["default"].DataAdapter=y.DataAdapter,s["default"].ContainerDebugAdapter=y.ContainerDebugAdapter,(0,t.has)("ember-template-compiler")&&(0,t["default"])("ember-template-compiler"),(0,t.has)("ember-testing")&&(b=(0,t["default"])("ember-testing"),s["default"].Test=b.Test,s["default"].Test.Adapter=b.Adapter,s["default"].Test.QUnitAdapter=b.QUnitAdapter,s["default"].setupForTesting=b.setupForTesting),(0,p.runLoadHooks)("Ember"),e["default"]=s["default"],r.IS_NODE?r.module.exports=s["default"]:n.context.exports.Ember=n.context.exports.Em=s["default"]}),e("ember/version",["exports"],function(e){"use strict"
2608
- e["default"]="2.16.0-beta.2"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2608
+ e["default"]="2.16.0"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
2609
2609
  t?(e.require=module.require,e.module=module,e.IS_NODE=t):(e.require=null,e.module=null,e.IS_NODE=t)}),e("route-recognizer",["exports"],function(e){"use strict"
2610
2610
  function t(){var e=g(null)
2611
2611
  return e.__=void 0,delete e.__,e}function n(e,t,r){return function(i,o){var s=e+i
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.16.0-beta.2
9
+ * @version 2.16.0
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -9787,6 +9787,7 @@ enifed('backburner', ['exports'], function (exports) {
9787
9787
  };
9788
9788
 
9789
9789
  var noop = function () {};
9790
+ var SET_TIMEOUT = setTimeout;
9790
9791
 
9791
9792
  var Backburner = function () {
9792
9793
  function Backburner(queueNames) {
@@ -9823,7 +9824,7 @@ enifed('backburner', ['exports'], function (exports) {
9823
9824
  return clearTimeout(id);
9824
9825
  };
9825
9826
  platform.next = _platform.next || function (fn) {
9826
- return platform.setTimeout(fn, 0);
9827
+ return SET_TIMEOUT(fn, 0);
9827
9828
  };
9828
9829
  platform.clearNext = _platform.clearNext || platform.clearTimeout;
9829
9830
  platform.now = _platform.now || function () {
@@ -11453,7 +11454,6 @@ enifed("dag-map", ["exports"], function (exports) {
11453
11454
  };
11454
11455
  return IntStack;
11455
11456
  }();
11456
- //# sourceMappingURL=dag-map.js.map
11457
11457
  });
11458
11458
  enifed('ember-application/index', ['exports', 'ember-application/system/application', 'ember-application/system/application-instance', 'ember-application/system/resolver', 'ember-application/system/engine', 'ember-application/system/engine-instance', 'ember-application/system/engine-parent', 'ember-application/initializers/dom-templates'], function (exports, _application, _applicationInstance, _resolver, _engine, _engineInstance, _engineParent) {
11459
11459
  'use strict';
@@ -12590,7 +12590,11 @@ enifed('ember-application/system/engine-instance', ['exports', 'ember-babel', 'e
12590
12590
  var env = parent.lookup('-environment:main');
12591
12591
  this.register('-environment:main', env, { instantiate: false });
12592
12592
 
12593
- var singletons = ['router:main', (0, _container.privatize)(_templateObject), '-view-registry:main', 'renderer:-' + (env.isInteractive ? 'dom' : 'inert'), 'service:-document', 'event_dispatcher:main'];
12593
+ var singletons = ['router:main', (0, _container.privatize)(_templateObject), '-view-registry:main', 'renderer:-' + (env.isInteractive ? 'dom' : 'inert'), 'service:-document'];
12594
+
12595
+ if (env.isInteractive) {
12596
+ singletons.push('event_dispatcher:main');
12597
+ }
12594
12598
 
12595
12599
  singletons.forEach(function (key) {
12596
12600
  return _this2.register(key, parent.lookup(key), { instantiate: false });
@@ -14425,8 +14429,12 @@ enifed('ember-extension-support/data_adapter', ['exports', 'ember-utils', 'ember
14425
14429
  }
14426
14430
 
14427
14431
  var observer = {
14428
- didChange: function () {
14429
- _emberMetal.run.scheduleOnce('actions', this, onChange);
14432
+ didChange: function (array, idx, removedCount, addedCount) {
14433
+ // Only re-fetch records if the record count changed
14434
+ // (which is all we care about as far as model types are concerned).
14435
+ if (removedCount > 0 || addedCount > 0) {
14436
+ _emberMetal.run.scheduleOnce('actions', this, onChange);
14437
+ }
14430
14438
  },
14431
14439
  willChange: function () {
14432
14440
  return this;
@@ -39877,15 +39885,13 @@ enifed('ember-runtime/system/array_proxy', ['exports', 'ember-metal', 'ember-run
39877
39885
  }
39878
39886
  });
39879
39887
  });
39880
- enifed('ember-runtime/system/core_object', ['exports', 'ember-babel', 'ember-utils', 'ember-metal', 'ember-runtime/mixins/action_handler', 'ember-runtime/inject', 'ember-debug'], function (exports, _emberBabel, _emberUtils, _emberMetal, _action_handler, _inject, _emberDebug) {
39888
+ enifed('ember-runtime/system/core_object', ['exports', 'ember-utils', 'ember-metal', 'ember-runtime/mixins/action_handler', 'ember-runtime/inject', 'ember-debug'], function (exports, _emberUtils, _emberMetal, _action_handler, _inject, _emberDebug) {
39881
39889
  'use strict';
39882
39890
 
39883
39891
  exports.POST_INIT = undefined;
39884
39892
 
39885
39893
  var _Mixin$create, _ClassMixinProps;
39886
39894
 
39887
- var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['.'], ['.']);
39888
-
39889
39895
  var schedule = _emberMetal.run.schedule;
39890
39896
  var applyMixin = _emberMetal.Mixin._apply;
39891
39897
  var finishPartial = _emberMetal.Mixin.finishPartial;
@@ -40084,7 +40090,7 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-babel', 'ember-uti
40084
40090
  return;
40085
40091
  }
40086
40092
 
40087
- false && !false && (0, _emberDebug.assert)(('You cannot set `' + this + '.isDestroyed` directly, please use ').destroy()(_templateObject), false);
40093
+ false && !false && (0, _emberDebug.assert)('You cannot set `' + this + '.isDestroyed` directly, please use `.destroy()`.', false);
40088
40094
  }
40089
40095
  }), _Mixin$create.isDestroying = (0, _emberMetal.descriptor)({
40090
40096
  get: function () {
@@ -40096,7 +40102,7 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-babel', 'ember-uti
40096
40102
  return;
40097
40103
  }
40098
40104
 
40099
- false && !false && (0, _emberDebug.assert)(('You cannot set `' + this + '.isDestroying` directly, please use ').destroy()(_templateObject), false);
40105
+ false && !false && (0, _emberDebug.assert)('You cannot set `' + this + '.isDestroying` directly, please use `.destroy()`.', false);
40100
40106
  }
40101
40107
  }), _Mixin$create.destroy = function () {
40102
40108
  var m = (0, _emberMetal.meta)(this);
@@ -43013,14 +43019,15 @@ enifed("ember-views/system/action_manager", ["exports"], function (exports) {
43013
43019
  */
43014
43020
  ActionManager.registeredActions = {};
43015
43021
  });
43016
- enifed('ember-views/system/event_dispatcher', ['exports', 'ember-utils', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/action_manager', 'ember-environment', 'ember-views/compat/fallback-view-registry'], function (exports, _emberUtils, _emberDebug, _emberMetal, _emberRuntime, _jquery, _action_manager, _emberEnvironment, _fallbackViewRegistry) {
43022
+ enifed('ember-views/system/event_dispatcher', ['exports', 'ember-utils', 'ember-debug', 'ember-metal', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/action_manager', 'ember-views/compat/fallback-view-registry'], function (exports, _emberUtils, _emberDebug, _emberMetal, _emberRuntime, _jquery, _action_manager, _fallbackViewRegistry) {
43017
43023
  'use strict';
43018
43024
 
43019
- var ROOT_ELEMENT_CLASS = 'ember-application'; /**
43020
- @module ember
43021
- @submodule ember-views
43022
- */
43025
+ /**
43026
+ @module ember
43027
+ @submodule ember-views
43028
+ */
43023
43029
 
43030
+ var ROOT_ELEMENT_CLASS = 'ember-application';
43024
43031
  var ROOT_ELEMENT_SELECTOR = '.' + ROOT_ELEMENT_CLASS;
43025
43032
 
43026
43033
  /**
@@ -43132,8 +43139,18 @@ enifed('ember-views/system/event_dispatcher', ['exports', 'ember-utils', 'ember-
43132
43139
  */
43133
43140
 
43134
43141
  init: function () {
43142
+ var _this = this;
43143
+
43135
43144
  this._super();
43136
- false && !_emberEnvironment.environment.hasDOM && (0, _emberDebug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', _emberEnvironment.environment.hasDOM);
43145
+
43146
+ false && !function () {
43147
+ var owner = (0, _emberUtils.getOwner)(_this);
43148
+ var environment = owner.lookup('-environment:main');
43149
+
43150
+ return environment.isInteractive;
43151
+ }() && (0, _emberDebug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', function () {
43152
+ var owner = (0, _emberUtils.getOwner)(_this);var environment = owner.lookup('-environment:main');return environment.isInteractive;
43153
+ }());
43137
43154
  false && !!('canDispatchToEventManager' in this) && (0, _emberDebug.deprecate)('`canDispatchToEventManager` has been deprecated in ' + this + '.', !('canDispatchToEventManager' in this), {
43138
43155
  id: 'ember-views.event-dispatcher.canDispatchToEventManager',
43139
43156
  until: '2.17.0'
@@ -44353,7 +44370,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
44353
44370
  enifed("ember/version", ["exports"], function (exports) {
44354
44371
  "use strict";
44355
44372
 
44356
- exports.default = "2.16.0-beta.2";
44373
+ exports.default = "2.16.0";
44357
44374
  });
44358
44375
  enifed('node-module', ['exports'], function(_exports) {
44359
44376
  var IS_NODE = typeof module === 'object' && typeof module.require === 'function';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0.beta.2
4
+ version: 2.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ember.js source code wrapper for use with Ruby libs.
14
14
  email:
@@ -43,9 +43,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
43
  version: '0'
44
44
  required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 1.3.1
48
+ version: '0'
49
49
  requirements: []
50
50
  rubyforge_project:
51
51
  rubygems_version: 2.6.13