language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | emberjs | ember.js | 22e1612ad07249fddb6a1e0bb2344eba638fab46.json | Remove remnants of HTMLBars. | packages/ember/tests/component_registration_test.js | @@ -7,15 +7,6 @@ import { compile } from 'ember-template-compiler';
import Component from 'ember-templates/component';
import jQuery from 'ember-views/system/jquery';
import { setTemplates, set as setTemplate } from 'ember-templates/template_registry';
-import isEnabled from 'ember-metal/features';
-import require f... | true |
Other | emberjs | ember.js | 22e1612ad07249fddb6a1e0bb2344eba638fab46.json | Remove remnants of HTMLBars. | yuidoc.json | @@ -9,7 +9,7 @@
"packages/ember-metal/lib",
"packages/ember-runtime/lib",
"packages/ember-views/lib",
- "packages/ember-htmlbars/lib",
+ "packages/ember-glimmer/lib",
"packages/ember-routing/lib",
"packages/ember-routing-views/lib",
"packages/ember-application/lib", | true |
Other | emberjs | ember.js | d43a86326b35fb493737bca48ccd5dc8e64547d7.json | Add 2.8.0-beta.5 to CHANGELOG.md.
[ci skip] | CHANGELOG.md | @@ -1,5 +1,9 @@
# Ember Changelog
+### 2.8.0-beta.5 (August 30, 2016)
+
+- [#14159](https://github.com/emberjs/ember.js/pull/14159) [BUGFIX] Fix rendering system cleanup.
+
### 2.8.0-beta.4 (August 29, 2016)
- [#14123](https://github.com/emberjs/ember.js/pull/14123) [BUGFIX] Avoid rerendering outlet state during... | false |
Other | emberjs | ember.js | 6591d689689e3c1203fc3dc94d1ba234433328a1.json | Implement platform specific protocolForURL. | packages/ember-glimmer/lib/environment.js | @@ -46,6 +46,8 @@ import { default as normalizeClassHelper } from './helpers/-normalize-class';
import { default as htmlSafeHelper } from './helpers/-html-safe';
import { OWNER } from 'container';
+import installPlatformSpecificProtocolForURL from './protocol-for-url';
+
const builtInComponents = {
textarea: '-... | true |
Other | emberjs | ember.js | 6591d689689e3c1203fc3dc94d1ba234433328a1.json | Implement platform specific protocolForURL. | packages/ember-glimmer/lib/protocol-for-url.js | @@ -0,0 +1,51 @@
+/* globals module, URL */
+
+import { environment as emberEnvironment } from 'ember-environment';
+
+let nodeURL;
+let parsingNode;
+
+export default function installProtocolForURL(environment) {
+ let protocol;
+
+ if (emberEnvironment.hasDOM) {
+ protocol = browserProtocolForURL.call(environmen... | true |
Other | emberjs | ember.js | 518669ed061f2809737e359f86458447a1c55b13.json | Add 2.8.0-beta.4 to CHANGELOG.md.
[ci skip]
(cherry picked from commit c50cf7569fda3ac9f1135c10e9686747b47b52cf) | CHANGELOG.md | @@ -1,5 +1,17 @@
# Ember Changelog
+### 2.8.0-beta.4 (August 29, 2016)
+
+- [#14123](https://github.com/emberjs/ember.js/pull/14123) [BUGFIX] Avoid rerendering outlet state during router destruction.
+- [#14077](https://github.com/emberjs/ember.js/pull/14077) [BUGFIX] Update route-recognizer.
+- [#14087](https://git... | false |
Other | emberjs | ember.js | cbd680c42fba2fff7fed581ed33511a11b6eb8ab.json | Use relative imports in ember-testing. | packages/ember-testing/lib/adapters/qunit.js | @@ -1,4 +1,4 @@
-import Adapter from 'ember-testing/adapters/adapter';
+import Adapter from './adapter';
import { inspect } from 'ember-metal/utils';
/** | true |
Other | emberjs | ember.js | cbd680c42fba2fff7fed581ed33511a11b6eb8ab.json | Use relative imports in ember-testing. | packages/ember-testing/lib/index.js | @@ -1,14 +1,14 @@
import Ember from 'ember-metal/core'; // reexports
-import Test from 'ember-testing/test';
-import Adapter from 'ember-testing/adapters/adapter';
-import setupForTesting from 'ember-testing/setup_for_testing';
+import Test from './test';
+import Adapter from './adapters/adapter';
+import setupForTest... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/env.js | @@ -4,37 +4,37 @@ import { hooks } from 'htmlbars-runtime';
import assign from 'ember-metal/assign';
import isEnabled from 'ember-metal/features';
-import subexpr from 'ember-htmlbars/hooks/subexpr';
-import concat from 'ember-htmlbars/hooks/concat';
-import linkRenderNode from 'ember-htmlbars/hooks/link-render-nod... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/helpers/each.js | @@ -4,7 +4,7 @@
*/
import shouldDisplay from '../streams/should_display';
-import decodeEachKey from 'ember-htmlbars/utils/decode-each-key';
+import decodeEachKey from '../utils/decode-each-key';
/**
The `{{#each}}` helper loops over elements in a collection. It is an extension | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/classify.js | @@ -3,7 +3,7 @@
@submodule ember-htmlbars
*/
-import isComponent from 'ember-htmlbars/utils/is-component';
+import isComponent from '../utils/is-component';
export default function classify(env, scope, path) {
if (isComponent(env, scope, path)) { | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/component.js | @@ -1,20 +1,20 @@
import { assert } from 'ember-metal/debug';
-import ComponentNodeManager from 'ember-htmlbars/node-managers/component-node-manager';
+import ComponentNodeManager from '../node-managers/component-node-manager';
import lookupComponent from 'ember-views/utils/lookup-component';
import assign from 'emb... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/element.js | @@ -3,9 +3,9 @@
@submodule ember-htmlbars
*/
-import { findHelper } from 'ember-htmlbars/system/lookup-helper';
+import { findHelper } from '../system/lookup-helper';
import { handleRedirect } from 'htmlbars-runtime/hooks';
-import { buildHelperStream } from 'ember-htmlbars/system/invoke-helper';
+import { buildHe... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/get-cell-or-value.js | @@ -1,5 +1,5 @@
import { read } from '../streams/utils';
-import { MUTABLE_REFERENCE } from 'ember-htmlbars/keywords/mut';
+import { MUTABLE_REFERENCE } from '../keywords/mut';
export default function getCellOrValue(ref) {
if (ref && ref[MUTABLE_REFERENCE]) { | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/has-helper.js | @@ -1,4 +1,4 @@
-import { validateLazyHelperName } from 'ember-htmlbars/system/lookup-helper';
+import { validateLazyHelperName } from '../system/lookup-helper';
export default function hasHelperHook(env, scope, helperName) {
if (env.helpers[helperName]) { | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/invoke-helper.js | @@ -1,5 +1,5 @@
-import { buildHelperStream } from 'ember-htmlbars/system/invoke-helper';
-import subscribe from 'ember-htmlbars/utils/subscribe';
+import { buildHelperStream } from '../system/invoke-helper';
+import subscribe from '../utils/subscribe';
export default function invokeHelper(morph, env, scope, visitor... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/link-render-node.js | @@ -3,15 +3,15 @@
@submodule ember-htmlbars
*/
-import subscribe from 'ember-htmlbars/utils/subscribe';
+import subscribe from '../utils/subscribe';
import { isArray } from 'ember-runtime/utils';
import { chain, read, isStream, addDependency } from '../streams/utils';
-import { CONTAINS_DOT_CACHE } from 'ember-ht... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/lookup-helper.js | @@ -1,4 +1,4 @@
-import lookupHelper from 'ember-htmlbars/system/lookup-helper';
+import lookupHelper from '../system/lookup-helper';
export default function lookupHelperHook(env, scope, helperName) {
return lookupHelper(helperName, scope.getSelf(), env); | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/hooks/subexpr.js | @@ -3,13 +3,13 @@
@submodule ember-htmlbars
*/
-import lookupHelper from 'ember-htmlbars/system/lookup-helper';
-import { buildHelperStream } from 'ember-htmlbars/system/invoke-helper';
+import lookupHelper from '../system/lookup-helper';
+import { buildHelperStream } from '../system/invoke-helper';
import {
la... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/index.js | @@ -98,23 +98,23 @@ import Ember from 'ember-metal/core'; // exposing Ember.HTMLBars
import {
registerHelper
-} from 'ember-htmlbars/helpers';
+} from './helpers';
import {
ifHelper,
unlessHelper
-} from 'ember-htmlbars/helpers/if_unless';
-import withHelper from 'ember-htmlbars/helpers/with';
-import locH... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/action.js | @@ -4,7 +4,7 @@
*/
import { keyword } from 'htmlbars-runtime/hooks';
-import closureAction from 'ember-htmlbars/keywords/closure-action';
+import closureAction from './closure-action';
/**
The `{{action}}` helper provides a way to pass triggers for behavior (usually | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/closure-action.js | @@ -1,12 +1,12 @@
-import { Stream } from 'ember-htmlbars/streams/stream';
+import { Stream } from '../streams/stream';
import {
read,
readArray,
labelFor
-} from 'ember-htmlbars/streams/utils';
+} from '../streams/utils';
import symbol from 'ember-metal/symbol';
import { get } from 'ember-metal/property_ge... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/closure-component.js | @@ -10,9 +10,9 @@ import symbol from 'ember-metal/symbol';
import BasicStream from '../streams/stream';
import EmptyObject from 'ember-metal/empty_object';
import { read } from '../streams/utils';
-import { labelForSubexpr } from 'ember-htmlbars/hooks/subexpr';
+import { labelForSubexpr } from '../hooks/subexpr';
i... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/component.js | @@ -4,7 +4,7 @@
@public
*/
import { keyword } from 'htmlbars-runtime/hooks';
-import closureComponent from 'ember-htmlbars/keywords/closure-component';
+import closureComponent from './closure-component';
import EmptyObject from 'ember-metal/empty_object';
import assign from 'ember-metal/assign';
| true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/element-action.js | @@ -1,8 +1,8 @@
import { assert } from 'ember-metal/debug';
import { uuid } from 'ember-metal/utils';
-import { labelFor, read } from 'ember-htmlbars/streams/utils';
+import { labelFor, read } from '../streams/utils';
import run from 'ember-metal/run_loop';
-import { readUnwrappedModel } from 'ember-htmlbars/streams... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/element-component.js | @@ -8,7 +8,7 @@ import {
processPositionalParamsFromCell,
} from './closure-component';
import lookupComponent from 'ember-views/utils/lookup-component';
-import extractPositionalParams from 'ember-htmlbars/utils/extract-positional-params';
+import extractPositionalParams from '../utils/extract-positional-params'... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/get.js | @@ -6,7 +6,7 @@
import { assert } from 'ember-metal/debug';
import BasicStream from '../streams/stream';
import { isStream } from '../streams/utils';
-import subscribe from 'ember-htmlbars/utils/subscribe';
+import subscribe from '../utils/subscribe';
import { get } from 'ember-metal/property_get';
import { set } ... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/mount.js | @@ -3,8 +3,8 @@
@submodule ember-templates
*/
-import ViewNodeManager from 'ember-htmlbars/node-managers/view-node-manager';
-import RenderEnv from 'ember-htmlbars/system/render-env';
+import ViewNodeManager from '../node-managers/view-node-manager';
+import RenderEnv from '../system/render-env';
import { assert }... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/mut.js | @@ -9,7 +9,7 @@ import ProxyStream from '../streams/proxy-stream';
import BasicStream from '../streams/stream';
import { isStream } from '../streams/utils';
import { MUTABLE_CELL } from 'ember-views/compat/attrs-proxy';
-import { INVOKE, ACTION } from 'ember-htmlbars/keywords/closure-action';
+import { INVOKE, ACTIO... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/outlet.js | @@ -3,8 +3,8 @@
@submodule ember-templates
*/
-import ViewNodeManager from 'ember-htmlbars/node-managers/view-node-manager';
-import topLevelViewTemplate from 'ember-htmlbars/templates/top-level-view';
+import ViewNodeManager from '../node-managers/view-node-manager';
+import topLevelViewTemplate from '../templates... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/readonly.js | @@ -3,7 +3,7 @@
@submodule ember-templates
*/
-import { MUTABLE_REFERENCE } from 'ember-htmlbars/keywords/mut';
+import { MUTABLE_REFERENCE } from './mut';
export default function readonly(morph, env, scope, originalParams, hash, template, inverse) {
// If `morph` is `null` the keyword is being invoked as a s... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/keywords/render.js | @@ -6,10 +6,10 @@
import { assert } from 'ember-metal/debug';
import EmptyObject from 'ember-metal/empty_object';
import EmberError from 'ember-metal/error';
-import { isStream, read } from 'ember-htmlbars/streams/utils';
+import { isStream, read } from '../streams/utils';
import generateController from 'ember-rout... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/node-managers/component-node-manager.js | @@ -1,18 +1,18 @@
import { assert, warn } from 'ember-metal/debug';
-import buildComponentTemplate from 'ember-htmlbars/system/build-component-template';
-import getCellOrValue from 'ember-htmlbars/hooks/get-cell-or-value';
+import buildComponentTemplate from '../system/build-component-template';
+import getCellOrValu... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/node-managers/view-node-manager.js | @@ -1,19 +1,19 @@
import assign from 'ember-metal/assign';
import { assert, warn } from 'ember-metal/debug';
-import buildComponentTemplate from 'ember-htmlbars/system/build-component-template';
+import buildComponentTemplate from '../system/build-component-template';
import { get } from 'ember-metal/property_get';
... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/renderer.js | @@ -3,10 +3,10 @@ import { get } from 'ember-metal/property_get';
import { set } from 'ember-metal/property_set';
import assign from 'ember-metal/assign';
import setProperties from 'ember-metal/set_properties';
-import buildComponentTemplate from 'ember-htmlbars/system/build-component-template';
+import buildCompone... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/setup-registry.js | @@ -1,14 +1,14 @@
import { privatize as P } from 'container/registry';
-import { InteractiveRenderer, InertRenderer } from 'ember-htmlbars/renderer';
-import HTMLBarsDOMHelper from 'ember-htmlbars/system/dom-helper';
-import topLevelViewTemplate from 'ember-htmlbars/templates/top-level-view';
-import { OutletView as H... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/streams/utils.js | @@ -1,4 +1,4 @@
-import getValue from 'ember-htmlbars/hooks/get-value';
+import getValue from '../hooks/get-value';
import { assert } from 'ember-metal/debug';
import { Stream, IS_STREAM } from './stream';
import { get } from 'ember-metal/property_get'; | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/system/build-component-template.js | @@ -2,7 +2,7 @@ import { assert } from 'ember-metal/debug';
import { get } from 'ember-metal/property_get';
import { internal, render } from 'htmlbars-runtime';
import { buildStatement } from 'htmlbars-util/template-utils';
-import getValue from 'ember-htmlbars/hooks/get-value';
+import getValue from '../hooks/get-v... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/system/dom-helper.js | @@ -1,6 +1,6 @@
import DOMHelper from 'dom-helper';
-import EmberMorph from 'ember-htmlbars/morphs/morph';
-import EmberAttrMorph from 'ember-htmlbars/morphs/attr-morph';
+import EmberMorph from '../morphs/morph';
+import EmberAttrMorph from '../morphs/attr-morph';
export default function EmberDOMHelper(_document) ... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/system/invoke-helper.js | @@ -1,7 +1,7 @@
import { assert } from 'ember-metal/debug';
-import HelperInstanceStream from 'ember-htmlbars/streams/helper-instance';
-import HelperFactoryStream from 'ember-htmlbars/streams/helper-factory';
-import BuiltInHelperStream from 'ember-htmlbars/streams/built-in-helper';
+import HelperInstanceStream from ... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/system/render-env.js | @@ -1,5 +1,5 @@
-import defaultEnv from 'ember-htmlbars/env';
-import { MorphSet } from 'ember-htmlbars/renderer';
+import defaultEnv from '../env';
+import { MorphSet } from '../renderer';
import { getOwner } from 'container/owner';
export default function RenderEnv(options) { | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/system/render-view.js | @@ -1,5 +1,5 @@
-import ViewNodeManager, { createOrUpdateComponent } from 'ember-htmlbars/node-managers/view-node-manager';
-import RenderEnv from 'ember-htmlbars/system/render-env';
+import ViewNodeManager, { createOrUpdateComponent } from '../node-managers/view-node-manager';
+import RenderEnv from './render-env';
... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/utils/is-component.js | @@ -6,8 +6,8 @@
import {
CONTAINS_DASH_CACHE,
CONTAINS_DOT_CACHE
-} from 'ember-htmlbars/system/lookup-helper';
-import { isComponentCell } from 'ember-htmlbars/keywords/closure-component';
+} from '../system/lookup-helper';
+import { isComponentCell } from '../keywords/closure-component';
import { isStream } f... | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/utils/new-stream.js | @@ -1,5 +1,5 @@
import ProxyStream from '../streams/proxy-stream';
-import subscribe from 'ember-htmlbars/utils/subscribe';
+import subscribe from './subscribe';
export default function newStream(scope, key, newValue, renderNode, isSelf) {
let stream = new ProxyStream(newValue, isSelf ? '' : key); | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/utils/update-scope.js | @@ -1,5 +1,5 @@
import ProxyStream from '../streams/proxy-stream';
-import subscribe from 'ember-htmlbars/utils/subscribe';
+import subscribe from './subscribe';
export default function updateScope(scope, key, newValue, renderNode, isSelf) {
let existing = scope[key]; | true |
Other | emberjs | ember.js | 94d379d95f992c395ffae407d7df92589c7cc0a5.json | Use relative imports in ember-htmlbars. | packages/ember-htmlbars/lib/views/outlet.js | @@ -4,7 +4,7 @@
*/
import View from 'ember-views/views/view';
-import topLevelViewTemplate from 'ember-htmlbars/templates/top-level-view';
+import topLevelViewTemplate from '../templates/top-level-view';
import TemplateSupport from 'ember-views/mixins/template_support';
export let CoreOutletView = View.extend(T... | true |
Other | emberjs | ember.js | e7d3881aeb56c443609aead95c48083721107d13.json | Use relative imports in ember-extension-support. | packages/ember-extension-support/lib/index.js | @@ -4,8 +4,8 @@
*/
import Ember from 'ember-metal/core'; // reexports
-import DataAdapter from 'ember-extension-support/data_adapter';
-import ContainerDebugAdapter from 'ember-extension-support/container_debug_adapter';
+import DataAdapter from './data_adapter';
+import ContainerDebugAdapter from './container_debu... | false |
Other | emberjs | ember.js | 890db01442b8a1f7753947399d13e3a7fe0933d0.json | Use relative imports in ember-debug. | packages/ember-debug/lib/deprecate.js | @@ -5,7 +5,7 @@ import Logger from 'ember-console';
import { ENV } from 'ember-environment';
-import { registerHandler as genericRegisterHandler, invoke } from 'ember-debug/handlers';
+import { registerHandler as genericRegisterHandler, invoke } from './handlers';
export function registerHandler(handler) {
g... | true |
Other | emberjs | ember.js | 890db01442b8a1f7753947399d13e3a7fe0933d0.json | Use relative imports in ember-debug. | packages/ember-debug/lib/index.js | @@ -14,10 +14,10 @@ import Logger from 'ember-console';
import { environment } from 'ember-environment';
import _deprecate, {
registerHandler as registerDeprecationHandler
-} from 'ember-debug/deprecate';
+} from './deprecate';
import _warn, {
registerHandler as registerWarnHandler
-} from 'ember-debug/warn';
... | true |
Other | emberjs | ember.js | 890db01442b8a1f7753947399d13e3a7fe0933d0.json | Use relative imports in ember-debug. | packages/ember-debug/lib/warn.js | @@ -1,6 +1,6 @@
import Logger from 'ember-console';
import { deprecate } from 'ember-metal/debug';
-import { registerHandler as genericRegisterHandler, invoke } from 'ember-debug/handlers';
+import { registerHandler as genericRegisterHandler, invoke } from './handlers';
export function registerHandler(handler) {
... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/index.js | @@ -5,21 +5,21 @@
// BEGIN IMPORTS
import Ember from 'ember-runtime';
-import jQuery from 'ember-views/system/jquery';
+import jQuery from './system/jquery';
import {
isSimpleClick,
getViewBounds,
getViewClientRects,
getViewBoundingClientRect,
getRootViews,
getChildViews
-} from 'ember-views/syst... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/mixins/action_support.js | @@ -2,7 +2,7 @@ import { Mixin } from 'ember-metal/mixin';
import { get } from 'ember-metal/property_get';
import isNone from 'ember-metal/is_none';
import { assert } from 'ember-metal/debug';
-import { MUTABLE_CELL } from 'ember-views/compat/attrs-proxy';
+import { MUTABLE_CELL } from '../compat/attrs-proxy';
impo... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/mixins/view_support.js | @@ -5,11 +5,11 @@ import { Mixin } from 'ember-metal/mixin';
import { POST_INIT } from 'ember-runtime/system/core_object';
import symbol from 'ember-metal/symbol';
import { environment } from 'ember-environment';
-import { matches } from 'ember-views/system/utils';
+import { matches } from '../system/utils';
cons... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/system/event_dispatcher.js | @@ -9,12 +9,12 @@ import { set } from 'ember-metal/property_set';
import isNone from 'ember-metal/is_none';
import run from 'ember-metal/run_loop';
import EmberObject from 'ember-runtime/system/object';
-import jQuery from 'ember-views/system/jquery';
-import ActionManager from 'ember-views/system/action_manager';
+... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/core_view.js | @@ -5,7 +5,7 @@ import Evented from 'ember-runtime/mixins/evented';
import ActionHandler, { deprecateUnderscoreActions } from 'ember-runtime/mixins/action_handler';
import { typeOf } from 'ember-runtime/utils';
-import { cloneStates, states } from 'ember-views/views/states';
+import { cloneStates, states } from './... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states.js | @@ -1,9 +1,9 @@
import assign from 'ember-metal/assign';
-import _default from 'ember-views/views/states/default';
-import preRender from 'ember-views/views/states/pre_render';
-import hasElement from 'ember-views/views/states/has_element';
-import inDOM from 'ember-views/views/states/in_dom';
-import destroying from ... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states/default.js | @@ -1,6 +1,6 @@
import EmberError from 'ember-metal/error';
import { get } from 'ember-metal/property_get';
-import { MUTABLE_CELL } from 'ember-views/compat/attrs-proxy';
+import { MUTABLE_CELL } from '../../compat/attrs-proxy';
/**
@module ember | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states/destroying.js | @@ -1,5 +1,5 @@
import assign from 'ember-metal/assign';
-import _default from 'ember-views/views/states/default';
+import _default from './default';
import EmberError from 'ember-metal/error';
/**
@module ember | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states/has_element.js | @@ -1,6 +1,6 @@
-import _default from 'ember-views/views/states/default';
+import _default from './default';
import assign from 'ember-metal/assign';
-import jQuery from 'ember-views/system/jquery';
+import jQuery from '../../system/jquery';
import run from 'ember-metal/run_loop';
import { flaggedInstrument } from '... | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states/in_dom.js | @@ -3,7 +3,7 @@ import assign from 'ember-metal/assign';
import EmberError from 'ember-metal/error';
import { _addBeforeObserver } from 'ember-metal/observer';
-import hasElement from 'ember-views/views/states/has_element';
+import hasElement from './has_element';
/**
@module ember
@submodule ember-views | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/states/pre_render.js | @@ -1,4 +1,4 @@
-import _default from 'ember-views/views/states/default';
+import _default from './default';
import assign from 'ember-metal/assign';
/** | true |
Other | emberjs | ember.js | 7dab3b1fbb19d27f088cbe347a5202c2ab281112.json | Use relative imports in ember-views. | packages/ember-views/lib/views/view.js | @@ -1,14 +1,14 @@
-import 'ember-views/system/ext'; // for the side effect of extending Ember.run.queues
-
-import CoreView from 'ember-views/views/core_view';
-import ViewChildViewsSupport from 'ember-views/mixins/child_views_support';
-import ViewStateSupport from 'ember-views/mixins/view_state_support';
-import Cla... | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/plugins/assert-reserved-named-arguments.js | @@ -1,5 +1,5 @@
import { assert } from 'ember-metal/debug';
-import calculateLocationDisplay from 'ember-template-compiler/system/calculate-location-display';
+import calculateLocationDisplay from '../system/calculate-location-display';
export default function AssertReservedNamedArguments(options) {
this.syntax ... | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/plugins/deprecate-render-model.js | @@ -1,6 +1,6 @@
import { deprecate } from 'ember-metal/debug';
import calculateLocationDisplay from
- 'ember-template-compiler/system/calculate-location-display';
+ '../system/calculate-location-display';
export default function DeprecateRenderModel(options) {
this.syntax = null; | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/plugins/index.js | @@ -1,12 +1,12 @@
-import TransformOldBindingSyntax from 'ember-template-compiler/plugins/transform-old-binding-syntax';
-import TransformItemClass from 'ember-template-compiler/plugins/transform-item-class';
-import TransformAngleBracketComponents from 'ember-template-compiler/plugins/transform-angle-bracket-component... | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/plugins/transform-input-on-to-onEvent.js | @@ -1,5 +1,5 @@
import { deprecate } from 'ember-metal/debug';
-import calculateLocationDisplay from 'ember-template-compiler/system/calculate-location-display';
+import calculateLocationDisplay from '../system/calculate-location-display';
/**
@module ember | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/plugins/transform-old-binding-syntax.js | @@ -1,5 +1,5 @@
import { assert, deprecate } from 'ember-metal/debug';
-import calculateLocationDisplay from 'ember-template-compiler/system/calculate-location-display';
+import calculateLocationDisplay from '../system/calculate-location-display';
export default function TransformOldBindingSyntax(options) {
this... | true |
Other | emberjs | ember.js | c56e2152b4d01b38a4c4e227e8e4ca295fb46da0.json | Use relative imports in ember-template-compiler. | packages/ember-template-compiler/lib/system/bootstrap.js | @@ -4,7 +4,7 @@
*/
import EmberError from 'ember-metal/error';
-import { compile } from 'ember-template-compiler';
+import { compile } from '../index';
import {
has as hasTemplate,
set as registerTemplate | true |
Other | emberjs | ember.js | 7f6cf8cfa3752d41956bd9ff086f8ee1469cef42.json | Use relative imports for ember-application. | packages/ember-application/lib/index.js | @@ -7,11 +7,11 @@ import { runLoadHooks } from 'ember-runtime/system/lazy_load';
@submodule ember-application
*/
-import DefaultResolver from 'ember-application/system/resolver';
-import Application from 'ember-application/system/application';
-import ApplicationInstance from 'ember-application/system/application-i... | true |
Other | emberjs | ember.js | 7f6cf8cfa3752d41956bd9ff086f8ee1469cef42.json | Use relative imports for ember-application. | packages/ember-application/lib/system/application.js | @@ -22,7 +22,7 @@ import HistoryLocation from 'ember-routing/location/history_location';
import AutoLocation from 'ember-routing/location/auto_location';
import NoneLocation from 'ember-routing/location/none_location';
import BucketCache from 'ember-routing/system/cache';
-import ApplicationInstance from 'ember-appl... | true |
Other | emberjs | ember.js | 7f6cf8cfa3752d41956bd9ff086f8ee1469cef42.json | Use relative imports for ember-application. | packages/ember-application/lib/system/engine-instance.js | @@ -9,7 +9,7 @@ import Registry from 'container/registry';
import ContainerProxy from 'ember-runtime/mixins/container_proxy';
import RegistryProxy from 'ember-runtime/mixins/registry_proxy';
import { privatize as P } from 'container/registry';
-import { getEngineParent, setEngineParent } from 'ember-application/syst... | true |
Other | emberjs | ember.js | 7f6cf8cfa3752d41956bd9ff086f8ee1469cef42.json | Use relative imports for ember-application. | packages/ember-application/lib/system/engine.js | @@ -12,7 +12,7 @@ import { set } from 'ember-metal/property_set';
import { assert, deprecate } from 'ember-metal/debug';
import { canInvoke } from 'ember-metal/utils';
import EmptyObject from 'ember-metal/empty_object';
-import DefaultResolver from 'ember-application/system/resolver';
+import DefaultResolver from '.... | true |
Other | emberjs | ember.js | 7f6cf8cfa3752d41956bd9ff086f8ee1469cef42.json | Use relative imports for ember-application. | packages/ember-application/lib/system/resolver.js | @@ -13,7 +13,7 @@ import {
} from 'ember-runtime/system/string';
import EmberObject from 'ember-runtime/system/object';
import Namespace from 'ember-runtime/system/namespace';
-import validateType from 'ember-application/utils/validate-type';
+import validateType from '../utils/validate-type';
import dictionary fro... | true |
Other | emberjs | ember.js | 6aa70081f55feefc106b2c2cfaae369ab8d74d60.json | Use relative imports for container. | packages/container/lib/index.js | @@ -5,8 +5,8 @@ The public API, specified on the application namespace should be considered the
@private
*/
-import Registry from 'container/registry';
-import Container from 'container/container';
-import { getOwner, setOwner } from 'container/owner';
+import Registry from './registry';
+import Container from '.... | false |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/index.js | @@ -6,23 +6,23 @@
import Ember from 'ember-metal/core'; // reexports
// ES6TODO: Cleanup modules with side-effects below
-import 'ember-routing/ext/run_loop';
-import 'ember-routing/ext/controller';
+import './ext/run_loop';
+import './ext/controller';
-import EmberLocation from 'ember-routing/location/api';
-imp... | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/location/api.js | @@ -1,6 +1,6 @@
import { assert } from 'ember-metal/debug';
import { environment } from 'ember-environment';
-import { getHash } from 'ember-routing/location/util';
+import { getHash } from './util';
/**
@module ember | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/location/auto_location.js | @@ -15,7 +15,7 @@ import {
getQuery,
getFullPath,
replacePath
-} from 'ember-routing/location/util';
+} from './util';
/**
@module ember | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/location/hash_location.js | @@ -3,7 +3,7 @@ import { set } from 'ember-metal/property_set';
import run from 'ember-metal/run_loop';
import EmberObject from 'ember-runtime/system/object';
-import EmberLocation from 'ember-routing/location/api';
+import EmberLocation from './api';
/**
@module ember | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/location/history_location.js | @@ -2,7 +2,7 @@ import { get } from 'ember-metal/property_get';
import { set } from 'ember-metal/property_set';
import EmberObject from 'ember-runtime/system/object';
-import EmberLocation from 'ember-routing/location/api';
+import EmberLocation from './api';
/**
@module ember | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/services/routing.js | @@ -7,7 +7,7 @@ import Service from 'ember-runtime/system/service';
import { get } from 'ember-metal/property_get';
import { readOnly } from 'ember-runtime/computed/computed_macros';
-import { routeArgs } from 'ember-routing/utils';
+import { routeArgs } from '../utils';
import assign from 'ember-metal/assign';
... | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/system/route.js | @@ -20,15 +20,15 @@ import EmberObject from 'ember-runtime/system/object';
import { A as emberA } from 'ember-runtime/system/native_array';
import Evented from 'ember-runtime/mixins/evented';
import ActionHandler, { deprecateUnderscoreActions } from 'ember-runtime/mixins/action_handler';
-import generateController f... | true |
Other | emberjs | ember.js | 9a28659e5c0b029d3d0dbdc3fddb5cd116c484d5.json | Use relative imports for ember-routing. | packages/ember-routing/lib/system/router.js | @@ -11,15 +11,15 @@ import assign from 'ember-metal/assign';
import run from 'ember-metal/run_loop';
import EmberObject from 'ember-runtime/system/object';
import Evented from 'ember-runtime/mixins/evented';
-import { defaultSerialize, hasDefaultSerialize } from 'ember-routing/system/route';
-import EmberRouterDSL f... | true |
Other | emberjs | ember.js | dfbb59fa85cce50cba299b5fdbb85b89a28e07fa.json | Expose `getViewBounds` on `ViewUtils` | packages/ember-views/lib/index.js | @@ -8,6 +8,7 @@ import Ember from 'ember-runtime';
import jQuery from 'ember-views/system/jquery';
import {
isSimpleClick,
+ getViewBounds,
getViewClientRects,
getViewBoundingClientRect,
getRootViews,
@@ -37,6 +38,7 @@ Ember.ViewTargetActionSupport = ViewTargetActionSupport;
const ViewUtils = Ember.Vi... | false |
Other | emberjs | ember.js | 48e52b3d267d62e1c28d192a4679f25d669eb7d7.json | Introduce a way to make ES5 getters from `Mixin`s | packages/ember-metal/lib/descriptor.js | @@ -0,0 +1,27 @@
+import { Descriptor as EmberDescriptor } from 'ember-metal/properties';
+
+export default function descriptor(desc) {
+ return new Descriptor(desc);
+}
+
+/**
+ A wrapper for a native ES5 descriptor. In an ideal world, we wouldn't need
+ this at all, however, the way we currently flatten/merge our ... | true |
Other | emberjs | ember.js | 48e52b3d267d62e1c28d192a4679f25d669eb7d7.json | Introduce a way to make ES5 getters from `Mixin`s | packages/ember-metal/tests/descriptor_test.js | @@ -0,0 +1,352 @@
+import EmberObject from 'ember-runtime/system/object';
+import { Mixin } from 'ember-metal/mixin';
+import { defineProperty } from 'ember-metal/properties';
+import descriptor from 'ember-metal/descriptor';
+
+class DescriptorTest {
+
+ /* abstract static module(title: string); */
+
+ static test(t... | true |
Other | emberjs | ember.js | d78c0dd1415ed6b49ab97b966ef650e8d5be3b35.json | Use a dictionary for the view registry | packages/ember-application/lib/system/application.js | @@ -4,6 +4,7 @@
*/
import { ENV } from 'ember-environment';
import { assert, debug } from 'ember-metal/debug';
+import dictionary from 'ember-metal/dictionary';
import libraries from 'ember-metal/libraries';
import { isTesting } from 'ember-metal/testing';
import { get } from 'ember-metal/property_get';
@@ -1037,... | true |
Other | emberjs | ember.js | d78c0dd1415ed6b49ab97b966ef650e8d5be3b35.json | Use a dictionary for the view registry | packages/ember-glimmer/tests/utils/helpers.js | @@ -18,6 +18,7 @@ export { DOMChanges } from 'glimmer-runtime';
export { InteractiveRenderer, InertRenderer } from 'ember-glimmer/renderer';
export { default as makeBoundHelper } from 'ember-glimmer/make-bound-helper';
export { htmlSafe, SafeString } from 'ember-glimmer/utils/string';
+import dictionary from 'ember-... | true |
Other | emberjs | ember.js | d78c0dd1415ed6b49ab97b966ef650e8d5be3b35.json | Use a dictionary for the view registry | packages/ember-htmlbars/tests/utils/helpers.js | @@ -18,6 +18,7 @@ export { default as LinkTo } from 'ember-htmlbars/components/link-to';
export { InteractiveRenderer, InertRenderer } from 'ember-htmlbars/renderer';
export { default as makeBoundHelper } from 'ember-glimmer/make-bound-helper';
export { htmlSafe, SafeString } from 'ember-htmlbars/utils/string';
+imp... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-application/lib/system/engine-instance.js | @@ -13,6 +13,7 @@ import { getEngineParent, setEngineParent } from 'ember-application/system/engin
import { assert } from 'ember-metal/debug';
import run from 'ember-metal/run_loop';
import RSVP from 'ember-runtime/ext/rsvp';
+import { guidFor } from 'ember-metal/utils';
import isEnabled from 'ember-metal/features'... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/lib/environment.js | @@ -1,3 +1,4 @@
+import { guidFor } from 'ember-metal/utils';
import lookupPartial, { hasPartial } from 'ember-views/system/lookup_partial';
import {
Environment as GlimmerEnvironment,
@@ -140,12 +141,15 @@ export default class Environment extends GlimmerEnvironment {
return new CurlyComponentDefinition(n... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/lib/syntax/curly-component.js | @@ -9,6 +9,7 @@ import get from 'ember-metal/property_get';
import { _instrumentStart } from 'ember-metal/instrumentation';
import { ComponentDefinition } from 'glimmer-runtime';
import Component from '../component';
+import { OWNER } from 'container/owner';
const DEFAULT_LAYOUT = P`template:components/-default`;... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/lib/template.js | @@ -1,8 +1,8 @@
import { Template } from 'glimmer-runtime';
+import { OWNER } from 'container/owner';
class Wrapper {
- constructor(id, env, spec) {
- let { owner } = env;
+ constructor(id, env, owner, spec) {
if (spec.meta) {
spec.meta.owner = owner;
} else {
@@ -39,8 +39,11 @@ export default... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/tests/integration/application/engine-test.js | @@ -0,0 +1,60 @@
+import packageName from '../../utils/package-name';
+import { moduleFor, ApplicationTest } from '../../utils/test-case';
+import { strip } from '../../utils/abstract-test-case';
+import { compile } from '../../utils/helpers';
+import Controller from 'ember-runtime/controllers/controller';
+import Engi... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/tests/unit/layout-cache-test.js | @@ -51,7 +51,7 @@ moduleFor('Layout cache test', class extends RenderingTest {
templateFor(content) {
let Factory = this.compile(content);
- return this.env.getTemplate(Factory);
+ return this.env.getTemplate(Factory, this.owner);
}
['@test each template is only compiled once'](assert) { | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/tests/unit/template-factory-test.js | @@ -28,12 +28,12 @@ moduleFor('Template factory test', class extends RenderingTest {
assert.equal(env._templateCache.misses, 0, 'misses 0');
assert.equal(env._templateCache.hits, 0, 'hits 0');
- let precompiled = env.getTemplate(Precompiled);
+ let precompiled = env.getTemplate(Precompiled, env.owner)... | true |
Other | emberjs | ember.js | 02814c2da26a1558fb06eb527ef83e829dae7016.json | Use the correct owner for each template lookup.
Ensure that the owner being used is not the environments default
`Owner`, but it is the owner that the template is being looked up by.
For late bound templates this means the components owner, and for normal
templates (looked up from registry) it is passed to the factor... | packages/ember-glimmer/tests/utils/abstract-test-case.js | @@ -307,6 +307,10 @@ export class AbstractApplicationTest extends TestCase {
registerController(name, controller) {
this.application.register(`controller:${name}`, controller);
}
+
+ registerEngine(name, engine) {
+ this.application.register(`engine:${name}`, engine);
+ }
}
export class AbstractRend... | true |
Other | emberjs | ember.js | ca443d01d22409da0c1001557e0852017654045e.json | Update Glimmer to 0.11.0.
* Threads `SymbolTable` throughout the system instead of `blockMeta`.
* Change a few argument signatures for Glimmer syntax's (moving from
options hash to positional, etc). | package.json | @@ -39,7 +39,7 @@
"git-repo-info": "^1.1.4",
"git-repo-version": "^0.3.1",
"github": "^0.2.3",
- "glimmer-engine": "0.10.2",
+ "glimmer-engine": "0.11.0",
"glob": "^5.0.13",
"htmlbars": "0.14.24",
"mocha": "^2.4.5", | true |
Other | emberjs | ember.js | ca443d01d22409da0c1001557e0852017654045e.json | Update Glimmer to 0.11.0.
* Threads `SymbolTable` throughout the system instead of `blockMeta`.
* Change a few argument signatures for Glimmer syntax's (moving from
options hash to positional, etc). | packages/ember-glimmer/lib/environment.js | @@ -193,7 +193,7 @@ export default class Environment extends GlimmerEnvironment {
// isn't going to return any syntax and the Glimmer engine knows how to handle
// this case.
- refineStatement(statement, blockMeta) {
+ refineStatement(statement, symbolTable) {
// 1. resolve any native syntax – if, unless... | true |
Other | emberjs | ember.js | ca443d01d22409da0c1001557e0852017654045e.json | Update Glimmer to 0.11.0.
* Threads `SymbolTable` throughout the system instead of `blockMeta`.
* Change a few argument signatures for Glimmer syntax's (moving from
options hash to positional, etc). | packages/ember-glimmer/lib/helpers/component.js | @@ -5,16 +5,16 @@ import { assert } from 'ember-metal/debug';
import assign from 'ember-metal/assign';
export class ClosureComponentReference extends CachedReference {
- static create(args, blockMeta, env) {
- return new ClosureComponentReference(args, blockMeta, env);
+ static create(args, symbolTable, env) {... | true |
Other | emberjs | ember.js | ca443d01d22409da0c1001557e0852017654045e.json | Update Glimmer to 0.11.0.
* Threads `SymbolTable` throughout the system instead of `blockMeta`.
* Change a few argument signatures for Glimmer syntax's (moving from
options hash to positional, etc). | packages/ember-glimmer/lib/syntax/curly-component.js | @@ -104,16 +104,17 @@ function applyAttributeBindings(element, attributeBindings, component, operation
}
export class CurlyComponentSyntax extends StatementSyntax {
- constructor({ args, definition, templates }) {
+ constructor({ args, definition, templates, symbolTable }) {
super();
this.args = args;
... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.