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 | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/component-managers/root.ts | @@ -1,8 +1,5 @@
import { ComponentCapabilities } from '@glimmer/interfaces';
-import {
- Arguments,
- ComponentDefinition
-} from '@glimmer/runtime';
+import { Arguments, ComponentDefinition } from '@glimmer/runtime';
import { FACTORY_FOR } from 'container';
import { DEBUG } from 'ember-env-flags';
import { _inst... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/component-managers/template-only.ts | @@ -1,6 +1,11 @@
import { ComponentCapabilities } from '@glimmer/interfaces';
import { CONSTANT_TAG } from '@glimmer/reference';
-import { ComponentDefinition, Invocation, NULL_REFERENCE, WithStaticLayout } from '@glimmer/runtime';
+import {
+ ComponentDefinition,
+ Invocation,
+ NULL_REFERENCE,
+ WithStaticLayou... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/component.ts | @@ -1,13 +1,7 @@
import { DirtyableTag } from '@glimmer/reference';
-import {
- normalizeProperty,
- SVG_NAMESPACE
-} from '@glimmer/runtime';
+import { normalizeProperty, SVG_NAMESPACE } from '@glimmer/runtime';
import { assert } from 'ember-debug';
-import {
- get,
- PROPERTY_DID_CHANGE,
-} from 'ember-metal';
... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/components/checkbox.ts | @@ -57,7 +57,7 @@ const Checkbox = EmberComponent.extend({
},
change() {
- set(this, 'checked', this.element.checked);
+ set(this, 'checked', this.element.checked);
},
});
| true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/components/link-to.ts | @@ -298,14 +298,8 @@
import { assert, warn } from 'ember-debug';
import { DEBUG } from 'ember-env-flags';
-import {
- computed,
- flaggedInstrument,
- get,
-} from 'ember-metal';
-import {
- inject,
-} from 'ember-runtime';
+import { computed, flaggedInstrument, get } from 'ember-metal';
+import { inject } from... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/components/text_field.ts | @@ -29,7 +29,7 @@ function canSetTypeOfInput(type: string) {
// ignored
}
- return inputTypes[type] = inputTypeTestElement.type === type;
+ return (inputTypes[type] = inputTypeTestElement.type === type);
}
/** | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/dom.ts | @@ -3,9 +3,6 @@ export {
DOMChanges,
DOMTreeConstruction,
clientBuilder,
- rehydrationBuilder
+ rehydrationBuilder,
} from '@glimmer/runtime';
-export {
- NodeDOMTreeConstruction,
- serializeBuilder
-} from '@glimmer/node';
+export { NodeDOMTreeConstruction, serializeBuilder } from '@glimmer/node'; | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/environment.ts | @@ -1,27 +1,17 @@
-import {
- OpaqueIterable, VersionedReference,
-} from '@glimmer/reference';
+import { OpaqueIterable, VersionedReference } from '@glimmer/reference';
import {
ElementBuilder,
Environment as GlimmerEnvironment,
SimpleDynamicAttribute,
} from '@glimmer/runtime';
-import {
- Destroyable, O... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helper.ts | @@ -37,9 +37,9 @@ export interface HelperInstance {
}
export function isHelperFactory(helper: any | undefined | null): helper is HelperFactory {
- return typeof helper === 'object' &&
- helper !== null &&
- helper.class && helper.class.isHelperFactory;
+ return (
+ typeof helper === 'object' &&... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/-normalize-class.ts | @@ -3,7 +3,10 @@ import { String as StringUtils } from 'ember-runtime';
import { InternalHelperReference } from '../utils/references';
function normalizeClass({ positional }: any) {
- let classNameParts = positional.at(0).value().split('.');
+ let classNameParts = positional
+ .at(0)
+ .value()
+ .split(... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/action.ts | @@ -6,12 +6,7 @@ import { Arguments, VM } from '@glimmer/runtime';
import { Opaque } from '@glimmer/util';
import { assert } from 'ember-debug';
import { DEBUG } from 'ember-env-flags';
-import {
- flaggedInstrument,
- get,
- isNone,
- join,
-} from 'ember-metal';
+import { flaggedInstrument, get, isNone, join }... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/concat.ts | @@ -1,8 +1,4 @@
-import {
- Arguments,
- CapturedArguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, CapturedArguments, VM } from '@glimmer/runtime';
import { InternalHelperReference } from '../utils/references';
const isEmpty = (value: any): boolean => {
@@ -37,7 +33,10 @@ const normalizeTextValue ... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/each-in.ts | @@ -2,10 +2,7 @@
@module ember
*/
import { Tag, VersionedPathReference } from '@glimmer/reference';
-import {
- Arguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, VM } from '@glimmer/runtime';
import { Opaque } from '@glimmer/util';
import { symbol } from 'ember-utils';
| true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/get.ts | @@ -9,11 +9,7 @@ import {
UpdatableTag,
VersionedPathReference,
} from '@glimmer/reference';
-import {
- Arguments,
- NULL_REFERENCE,
- VM
-} from '@glimmer/runtime';
+import { Arguments, NULL_REFERENCE, VM } from '@glimmer/runtime';
import { set } from 'ember-metal';
import { CachedReference, referenceFrom... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/hash.ts | @@ -1,7 +1,4 @@
-import {
- Arguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, VM } from '@glimmer/runtime';
/**
@module ember | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/if-unless.ts | @@ -2,23 +2,10 @@
@module ember
*/
-import {
- combine,
- CONSTANT_TAG,
- isConst,
- TagWrapper,
- UpdatableTag,
-} from '@glimmer/reference';
-import {
- Arguments,
- PrimitiveReference,
- VM
-} from '@glimmer/runtime';
+import { combine, CONSTANT_TAG, isConst, TagWrapper, UpdatableTag } from '@glimmer/ref... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/loc.ts | @@ -1,4 +1,3 @@
-
/**
@module ember
*/
@@ -38,6 +37,6 @@ import { helper } from '../helper';
@see {String#loc}
@public
*/
-export default helper(function (params) {
+export default helper(function(params) {
return StringUtils.loc.apply(null, params);
}); | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/log.ts | @@ -1,8 +1,4 @@
-import {
- Arguments,
- CapturedArguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, CapturedArguments, VM } from '@glimmer/runtime';
import { InternalHelperReference } from '../utils/references';
/**
@module ember
@@ -22,10 +18,10 @@ import { InternalHelperReference } from '../utils/... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/mut.ts | @@ -1,10 +1,7 @@
/**
@module ember
*/
-import {
- Arguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, VM } from '@glimmer/runtime';
import { assert } from 'ember-debug';
import { symbol } from 'ember-utils';
import { INVOKE, UPDATE } from '../utils/references'; | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/query-param.ts | @@ -1,11 +1,7 @@
/**
@module ember
*/
-import {
- Arguments,
- CapturedArguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, CapturedArguments, VM } from '@glimmer/runtime';
import { assert } from 'ember-debug';
import { QueryParams } from 'ember-routing';
import { assign } from 'ember-utils';
@@ -2... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/readonly.ts | @@ -1,11 +1,8 @@
/**
@module ember
*/
-import {
- Arguments,
- VM,
-} from '@glimmer/runtime';
-import { ReadonlyReference, } from '../utils/references';
+import { Arguments, VM } from '@glimmer/runtime';
+import { ReadonlyReference } from '../utils/references';
import { unMut } from './mut';
/** | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/helpers/unbound.ts | @@ -2,10 +2,7 @@
@module ember
*/
-import {
- Arguments,
- VM
-} from '@glimmer/runtime';
+import { Arguments, VM } from '@glimmer/runtime';
import { assert } from 'ember-debug';
import { UnboundReference } from '../utils/references';
@@ -40,7 +37,7 @@ import { UnboundReference } from '../utils/references';
... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/modifiers/action.ts | @@ -1,26 +1,17 @@
-import {
- Simple
-} from '@glimmer/interfaces';
-import {
- RevisionTag, TagWrapper
-} from '@glimmer/reference';
+import { Simple } from '@glimmer/interfaces';
+import { RevisionTag, TagWrapper } from '@glimmer/reference';
import {
Arguments,
CapturedNamedArguments,
CapturedPositionalAr... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/protocol-for-url.ts | @@ -51,5 +51,5 @@ function nodeProtocolForURL(url: string) {
if (typeof url === 'string') {
protocol = nodeURL.parse(url).protocol;
}
- return (protocol === null) ? ':' : protocol;
+ return protocol === null ? ':' : protocol;
} | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/renderer.ts | @@ -14,18 +14,8 @@ import {
} from '@glimmer/runtime';
import { Opaque } from '@glimmer/util';
import { assert } from 'ember-debug';
-import {
- backburner,
- getCurrentRunLoop,
- runInTransaction,
- setHasViews,
-} from 'ember-metal';
-import {
- fallbackViewRegistry,
- getViewElement,
- getViewId,
- setVie... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/resolver.ts | @@ -2,25 +2,16 @@ import {
ComponentDefinition,
Opaque,
Option,
- RuntimeResolver as IRuntimeResolver
+ RuntimeResolver as IRuntimeResolver,
} from '@glimmer/interfaces';
import { LazyCompiler, Macros, PartialDefinition } from '@glimmer/opcode-compiler';
-import {
- ComponentManager,
- getDynamicVar,
- ... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/setup-registry.ts | @@ -29,19 +29,26 @@ interface Registry {
}
export function setupApplicationRegistry(registry: Registry) {
- registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');
+ registry.injection(
+ 'service:-glimmer-environment',
+ 'appendOperations',
+ 'service:-d... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax.ts | @@ -15,7 +15,12 @@ import { renderMacro } from './syntax/render';
import { hashToArgs } from './syntax/utils';
import { wrapComponentClassAttribute } from './utils/bindings';
-function refineInlineSyntax(name: string, params: Option<Core.Params>, hash: Option<Core.Hash>, builder: OpcodeBuilder<OwnedTemplateMeta>): ... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/-text-area.ts | @@ -5,8 +5,16 @@ import { OwnedTemplateMeta } from 'ember-views';
import { wrapComponentClassAttribute } from '../utils/bindings';
import { hashToArgs } from './utils';
-export function textAreaMacro(_name: string, params: Option<WireFormat.Core.Params>, hash: Option<WireFormat.Core.Hash>, builder: OpcodeBuilder<Ow... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/input.ts | @@ -9,7 +9,12 @@ import { OwnedTemplateMeta } from 'ember-views';
import { wrapComponentClassAttribute } from '../utils/bindings';
import { hashToArgs } from './utils';
-function buildSyntax(type: string, params: any[], hash: any, builder: OpcodeBuilder<OwnedTemplateMeta>) {
+function buildSyntax(
+ type: string,
... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/let.ts | @@ -7,7 +7,7 @@ import { OwnedTemplateMeta } from 'ember-views';
@module ember
*/
- /**
+/**
The `let` helper receives one or more positional arguments and yields
them out as block params.
@@ -42,7 +42,13 @@ import { OwnedTemplateMeta } from 'ember-views';
@for Ember.Templates.helpers
@public
*/... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/mount.ts | @@ -9,7 +9,7 @@ import {
CurriedComponentDefinition,
curry,
UNDEFINED_REFERENCE,
- VM
+ VM,
} from '@glimmer/runtime';
import * as WireFormat from '@glimmer/wire-format';
import { assert } from 'ember-debug';
@@ -18,8 +18,11 @@ import { EMBER_ENGINES_MOUNT_PARAMS } from 'ember/features';
import { MountDe... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/outlet.ts | @@ -75,13 +75,19 @@ export function outletHelper(vm: VM, args: Arguments) {
return new OutletComponentReference(new OutletReference(scope.outletState, nameRef));
}
-export function outletMacro(_name: string, params: Option<WireFormat.Core.Params>, hash: Option<WireFormat.Core.Hash>, builder: OpcodeBuilder<OwnedTe... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/syntax/render.ts | @@ -7,12 +7,7 @@
import { Option } from '@glimmer/interfaces';
import { OpcodeBuilder } from '@glimmer/opcode-compiler';
import { isConst, VersionedPathReference } from '@glimmer/reference';
-import {
- Arguments,
- CurriedComponentDefinition,
- curry,
- VM,
-} from '@glimmer/runtime';
+import { Arguments, Curri... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/template-compiler.ts | @@ -5,5 +5,5 @@ import RuntimeResolver from './resolver';
export default {
create(): Compiler {
return new RuntimeResolver().compiler;
- }
+ },
}; | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/template_registry.ts | @@ -26,5 +26,5 @@ export function hasTemplate(name: string): boolean {
}
export function setTemplate(name: string, template: Factory): Factory {
- return TEMPLATES[name] = template;
+ return (TEMPLATES[name] = template);
} | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/bindings.ts | @@ -1,19 +1,6 @@
-import {
- Opaque,
- Option,
- Simple
-} from '@glimmer/interfaces';
-import {
- CachedReference,
- combine,
- map,
- Reference,
- Tag
-} from '@glimmer/reference';
-import {
- ElementOperations,
- PrimitiveReference
-} from '@glimmer/runtime';
+import { Opaque, Option, Simple } from '@glimm... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/curly-component-state-bucket.ts | @@ -16,9 +16,7 @@ export interface Component {
appendChild(view: {}): void;
trigger(event: string): void;
destroy(): void;
- setProperties(props: {
- [key: string]: any;
- }): void;
+ setProperties(props: { [key: string]: any }): void;
}
type Finalizer = () => void;
@@ -39,7 +37,12 @@ export default ... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/custom-component-manager.ts | @@ -10,24 +10,35 @@ export const COMPONENT_MANAGER = symbol('COMPONENT_MANAGER');
export function componentManager(obj: any, managerId: String) {
if ('reopenClass' in obj) {
return obj.reopenClass({
- [COMPONENT_MANAGER]: managerId
+ [COMPONENT_MANAGER]: managerId,
});
}
obj[COMPONENT_MA... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/debug-stack.ts | @@ -6,12 +6,11 @@ let DebugStack: any;
if (DEBUG) {
class Element {
- constructor(public name: string) {
- }
+ constructor(public name: string) {}
}
- class TemplateElement extends Element { }
- class EngineElement extends Element { }
+ class TemplateElement extends Element {}
+ class EngineElem... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/iterable.ts | @@ -6,7 +6,7 @@ import {
OpaqueIterator,
Tag,
UpdatableTag,
- VersionedReference
+ VersionedReference,
} from '@glimmer/reference';
import { Opaque, Option } from '@glimmer/util';
import { assert } from 'ember-debug';
@@ -20,9 +20,18 @@ const ITERATOR_KEY_GUID = 'be277757-bbbe-4620-9fcb-213ef433cca2';
... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/outlet.ts | @@ -65,8 +65,7 @@ export interface OutletState {
export class RootOutletReference implements VersionedPathReference<OutletState> {
tag = DirtyableTag.create();
- constructor(public outletState: OutletState) {
- }
+ constructor(public outletState: OutletState) {}
get(key: string): VersionedPathReference<Op... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/references.ts | @@ -20,27 +20,10 @@ import {
} from '@glimmer/runtime';
import { Option } from '@glimmer/util';
import { DEBUG } from 'ember-env-flags';
-import {
- didRender,
- get,
- set,
- tagFor,
- tagForProperty,
- watchKey,
-} from 'ember-metal';
-import {
- isProxy,
- symbol,
-} from 'ember-utils';
-import {
- EMBER... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/utils/string.ts | @@ -52,7 +52,9 @@ export function escapeExpression(string: any): string {
string = '' + string;
}
- if (!possible.test(string)) { return string; }
+ if (!possible.test(string)) {
+ return string;
+ }
return string.replace(badChars, escapeChar);
}
| true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-glimmer/lib/views/outlet.ts | @@ -42,8 +42,13 @@ export default class OutletView {
public ref: RootOutletReference;
public state: OutletDefinitionState;
- constructor(private _environment: BootEnvironment, public renderer: Renderer, public owner: Owner, public template: OwnedTemplate) {
- let ref = this.ref = new RootOutletReference({
+... | true |
Other | emberjs | ember.js | 27e61169b35fc8481de971290a630476f6c2c9b4.json | Apply prettier configuration changes to *.ts files. | packages/ember-metal/lib/tracked.ts | @@ -1,5 +1,5 @@
import { combine, CONSTANT_TAG, Tag } from '@glimmer/reference';
-import { dirty, tagFor, tagForProperty, update } from './tags';
+import { dirty, tagFor, tagForProperty, update } from './tags';
type Option<T> = T | null;
type unknown = null | undefined | void | {};
@@ -96,7 +96,11 @@ class Tracke... | true |
Other | emberjs | ember.js | 33e89cf6bbf1dba17e03effd6097745f27411aa8.json | Add prettier configuration to tslint. | .prettierrc | @@ -1,3 +0,0 @@
-{
- "singleQuote": true
-} | true |
Other | emberjs | ember.js | 33e89cf6bbf1dba17e03effd6097745f27411aa8.json | Add prettier configuration to tslint. | package.json | @@ -138,7 +138,9 @@
"serve-static": "^1.12.2",
"simple-dom": "^0.3.0",
"testem": "^1.18.4",
- "tslint": "^5.9.1"
+ "tslint": "^5.9.1",
+ "tslint-config-prettier": "^1.10.0",
+ "tslint-plugin-prettier": "^1.3.0"
},
"engines": {
"node": "^4.5 || 6.* || >= 8.*" | true |
Other | emberjs | ember.js | 33e89cf6bbf1dba17e03effd6097745f27411aa8.json | Add prettier configuration to tslint. | tslint.json | @@ -1,5 +1,14 @@
{
+ "extends": [
+ "tslint-config-prettier",
+ "tslint-plugin-prettier"
+ ],
"rules": {
+ "prettier": [true, {
+ "singleQuote": true,
+ "trailingComma": "es5",
+ "printWidth": 100
+ }],
"curly": false,
"no-var-keyword": true,
"indent": [true, "spaces"],
@... | true |
Other | emberjs | ember.js | 33e89cf6bbf1dba17e03effd6097745f27411aa8.json | Add prettier configuration to tslint. | yarn.lock | @@ -2799,7 +2799,7 @@ eslint-plugin-node@^6.0.1:
resolve "^1.3.3"
semver "^5.4.1"
-eslint-plugin-prettier@^2.6.0:
+eslint-plugin-prettier@^2.2.0, eslint-plugin-prettier@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.0.tgz#33e4e228bdb0... | true |
Other | emberjs | ember.js | dc1bb609e5fb2329ab9a171bfc021e278ab41033.json | Fix remaining linting failures.
After running prettier across the codebase a few additional linting
errors cropped up. | packages/ember-glimmer/tests/integration/helpers/closure-action-test.js | @@ -390,7 +390,7 @@ moduleFor(
let OuterComponent = Component.extend({
third,
- outerSubmit(actualFirst, actualSecond, actualThird, actualFourth) {
+ outerSubmit() {
// eslint-disable-line no-unused-vars
actualArgs = [...arguments];
} | true |
Other | emberjs | ember.js | dc1bb609e5fb2329ab9a171bfc021e278ab41033.json | Fix remaining linting failures.
After running prettier across the codebase a few additional linting
errors cropped up. | packages/ember-metal/lib/alias.js | @@ -68,7 +68,7 @@ export class AliasedProperty extends Descriptor {
}
}
-function AliasedProperty_readOnlySet(obj, keyName, value) {
+function AliasedProperty_readOnlySet(obj, keyName) {
// eslint-disable-line no-unused-vars
throw new EmberError(
`Cannot set read-only property '${keyName}' on object: $... | true |
Other | emberjs | ember.js | dc1bb609e5fb2329ab9a171bfc021e278ab41033.json | Fix remaining linting failures.
After running prettier across the codebase a few additional linting
errors cropped up. | packages/ember-metal/lib/each_proxy.js | @@ -41,7 +41,7 @@ class EachProxy {
// ARRAY CHANGES
// Invokes whenever the content array itself changes.
- arrayWillChange(content, idx, removedCnt, addedCnt) {
+ arrayWillChange(content, idx, removedCnt /*, addedCnt */) {
// eslint-disable-line no-unused-vars
let keys = this._keys;
let lim =... | true |
Other | emberjs | ember.js | dc1bb609e5fb2329ab9a171bfc021e278ab41033.json | Fix remaining linting failures.
After running prettier across the codebase a few additional linting
errors cropped up. | packages/ember-routing/lib/system/route.js | @@ -1171,7 +1171,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
@since 1.0.0
@public
*/
- transitionTo(name, context) {
+ transitionTo(/* name, context */) {
// eslint-disable-line no-unused-vars
return this._router.transitionTo(...prefixRouteNameArg(this, arguments));
},
@@ -... | true |
Other | emberjs | ember.js | dc1bb609e5fb2329ab9a171bfc021e278ab41033.json | Fix remaining linting failures.
After running prettier across the codebase a few additional linting
errors cropped up. | packages/ember-runtime/lib/mixins/array.js | @@ -157,7 +157,7 @@ const ArrayMixin = Mixin.create(Enumerable, {
@public
*/
'[]': computed({
- get(key) {
+ get() {
// eslint-disable-line no-unused-vars
return this;
},
@@ -635,7 +635,7 @@ const ArrayMixin = Mixin.create(Enumerable, {
@return {Array} filtered array
@publi... | true |
Other | emberjs | ember.js | a49b00743519603c03843137a2522473a6969281.json | Add prettier configuration to eslint.
This ensures that prettier usage is "enforced", but also allows nice
things like `eslint --fix .` (or related in-editor fixers). | .eslintrc.js | @@ -2,15 +2,18 @@ module.exports = {
root: true,
extends: [
'eslint:recommended',
+ 'prettier',
],
plugins: [
- "ember-internal"
+ 'ember-internal',
+ 'prettier',
],
rules: {
'semi': 'error',
'no-unused-vars': 'error',
'no-useless-escape': 'off', // TODO: bring this b... | true |
Other | emberjs | ember.js | a49b00743519603c03843137a2522473a6969281.json | Add prettier configuration to eslint.
This ensures that prettier usage is "enforced", but also allows nice
things like `eslint --fix .` (or related in-editor fixers). | .prettierrc.js | @@ -0,0 +1,7 @@
+'use strict';
+
+module.exports = {
+ singleQuote: true,
+ trailingComma: 'es5',
+ printWidth: 100,
+}; | true |
Other | emberjs | ember.js | a49b00743519603c03843137a2522473a6969281.json | Add prettier configuration to eslint.
This ensures that prettier usage is "enforced", but also allows nice
things like `eslint --fix .` (or related in-editor fixers). | package.json | @@ -113,8 +113,10 @@
"ember-cli-yuidoc": "^0.8.8",
"ember-publisher": "0.0.7",
"eslint": "^4.9.1",
+ "eslint-config-prettier": "^2.9.0",
"eslint-plugin-ember-internal": "^1.1.1",
"eslint-plugin-node": "^6.0.1",
+ "eslint-plugin-prettier": "^2.6.0",
"execa": "^0.10.0",
"express":... | true |
Other | emberjs | ember.js | a49b00743519603c03843137a2522473a6969281.json | Add prettier configuration to eslint.
This ensures that prettier usage is "enforced", but also allows nice
things like `eslint --fix .` (or related in-editor fixers). | yarn.lock | @@ -2777,6 +2777,12 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.0, escape-string-regexp@^1
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
+eslint-config-prettier@^2.9.0:
+ version "2.9.0"
+ res... | true |
Other | emberjs | ember.js | 87b61d4a118a613576f8ac6a6b026d2f07d85081.json | Remove usage of exists-sync package.
`fs.existsSync` was "un deprecated" we should use it instead... | blueprints/acceptance-test/index.js | @@ -1,9 +1,9 @@
'use strict';
+const fs = require('fs');
const path = require('path');
const pathUtil = require('ember-cli-path-utils');
const stringUtils = require('ember-cli-string-utils');
-const existsSync = require('exists-sync');
const useTestFrameworkDetector = require('../test-framework-detector');
@... | true |
Other | emberjs | ember.js | 87b61d4a118a613576f8ac6a6b026d2f07d85081.json | Remove usage of exists-sync package.
`fs.existsSync` was "un deprecated" we should use it instead... | blueprints/initializer-test/index.js | @@ -1,8 +1,8 @@
'use strict';
+const fs = require('fs');
const path = require('path');
const stringUtils = require('ember-cli-string-utils');
-const existsSync = require('exists-sync');
const useTestFrameworkDetector = require('../test-framework-detector');
@@ -12,7 +12,7 @@ module.exports = useTestFrameworkD... | true |
Other | emberjs | ember.js | 87b61d4a118a613576f8ac6a6b026d2f07d85081.json | Remove usage of exists-sync package.
`fs.existsSync` was "un deprecated" we should use it instead... | blueprints/instance-initializer-test/index.js | @@ -1,7 +1,7 @@
'use strict';
+const fs = require('fs');
const path = require('path');
-const existsSync = require('exists-sync');
const stringUtils = require('ember-cli-string-utils');
const useTestFrameworkDetector = require('../test-framework-detector');
@@ -12,7 +12,7 @@ module.exports = useTestFrameworkDet... | true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/build-for-publishing.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
'use strict';
/* eslint-env node, es6 */
| true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/publish_to_s3.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
// To invoke this from the commandline you need the following to env vars to exist:
// | true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/run-browserstack-tests.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
/* eslint-disable no-console */
| true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/run-tests.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
/* globals QUnit */
/* eslint-disable no-console */
| true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/run-travis-browser-tests.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
/* eslint-disable no-console */
| true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/yarn-link-glimmer.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
"use strict";
const child_process = require("child_process");
| true |
Other | emberjs | ember.js | 8898e795f89255d637138f6d21d6892b050dffaf.json | Remove extraneous shebang's from bin/*.js scripts. | bin/yarn-unlink-glimmer.js | @@ -1,4 +1,3 @@
-#!/usr/bin/env node
"use strict";
const child_process = require("child_process");
| true |
Other | emberjs | ember.js | c25c3da365183764ecdb306b5b6018cf63cb22bb.json | Add missing packages to package.json.
These packages are being used but were not listed as explicit
dependencies. This was identified by eslint-plugin-node... | package.json | @@ -50,6 +50,7 @@
"dependencies": {
"broccoli-funnel": "^2.0.1",
"broccoli-merge-trees": "^2.0.0",
+ "chalk": "^2.3.0",
"ember-cli-get-component-path-option": "^1.0.0",
"ember-cli-is-package-missing": "^1.0.0",
"ember-cli-normalize-entity-name": "^1.0.0",
@@ -71,6 +72,7 @@
"@glimmer/... | true |
Other | emberjs | ember.js | c25c3da365183764ecdb306b5b6018cf63cb22bb.json | Add missing packages to package.json.
These packages are being used but were not listed as explicit
dependencies. This was identified by eslint-plugin-node... | yarn.lock | @@ -1389,7 +1389,7 @@ broccoli-middleware@^1.0.0:
handlebars "^4.0.4"
mime "^1.2.11"
-broccoli-persistent-filter@^1.1.5, broccoli-persistent-filter@^1.1.6, broccoli-persistent-filter@^1.4.0:
+broccoli-persistent-filter@^1.1.5, broccoli-persistent-filter@^1.1.6, broccoli-persistent-filter@^1.4.0, broccoli-pe... | true |
Other | emberjs | ember.js | a6c8453ce778a0b61951a74ac158c1c6c9ff55b5.json | Move main entry point into `lib/`.
This is ultimately so that we can properly lint this file without
resorting to annoying inline comments. | lib/index.js | @@ -19,15 +19,21 @@ add(paths, 'debug', 'vendor/ember/ember.debug.js');
add(paths, 'testing', 'vendor/ember/ember-testing.js');
add(paths, 'jquery', 'vendor/ember/jquery/jquery.js');
-add(absolutePaths, 'templateCompiler', __dirname + '/dist/ember-template-compiler.js');
+add(absolutePaths, 'templateCompiler', path... | true |
Other | emberjs | ember.js | a6c8453ce778a0b61951a74ac158c1c6c9ff55b5.json | Move main entry point into `lib/`.
This is ultimately so that we can properly lint this file without
resorting to annoying inline comments. | package.json | @@ -10,6 +10,7 @@
"url": "https://github.com/emberjs/ember.js/issues"
},
"license": "MIT",
+ "main": "lib/index.js",
"files": [
"build-metadata.json",
"blueprints",
@@ -26,8 +27,8 @@
"dist/ember.prod.js",
"dist/ember.prod.map",
"docs/data.json",
- "vendor/ember",
- "index.j... | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | bin/run-tests.js | @@ -1,5 +1,5 @@
#!/usr/bin/env node
-
+/* globals QUnit */
/* eslint-disable no-console */
var execa = require('execa'); | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | packages/ember-environment/lib/index.js | @@ -1,4 +1,3 @@
-/* globals module */
import global from './global';
import { defaultFalse, defaultTrue, normalizeExtendPrototypes } from './utils';
/** | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | packages/ember-metal/lib/map.js | @@ -271,7 +271,7 @@ class Map {
let guid = guidFor(key);
// ensure we don't store -0
- let k = key === -0 ? 0 : key;
+ let k = key === -0 ? 0 : key; // eslint-disable-line no-compare-neg-zero
keys.add(k, guid);
| true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | packages/ember-testing/lib/adapters/qunit.js | @@ -1,3 +1,5 @@
+/* globals QUnit */
+
import { inspect } from 'ember-utils';
import Adapter from './adapter';
/** | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | packages/ember/lib/index.js | @@ -601,7 +601,6 @@ runLoadHooks('Ember');
*/
export default Ember;
-/* globals module */
if (IS_NODE) {
module.exports = Ember;
} else { | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | packages/node-module/lib/node-module.js | @@ -1,4 +1,4 @@
-/*global enifed */
+/*global enifed, module */
enifed('node-module', ['exports'], function(_exports) {
var IS_NODE = typeof module === 'object' && typeof module.require === 'function';
if (IS_NODE) {
@@ -10,4 +10,4 @@ enifed('node-module', ['exports'], function(_exports) {
_exports.module =... | true |
Other | emberjs | ember.js | a5d7e0ff7effbe9d26a38d94c8453ddf8dfe24ff.json | Fix linting errors (using new stricter settings). | rollup.config.js | @@ -1,7 +1,9 @@
-import * as fs from 'fs';
-import * as path from 'path';
+'use strict';
-export default {
+const fs = require('fs');
+const path = require('path');
+
+module.exports = {
input: 'dist/es/ember/index.js',
plugins: [emberPackage()],
output: { | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | .eslintignore | @@ -1,4 +1,6 @@
blueprints/*/*files/**/*.js
+node-tests/fixtures/**/*.js
+docs/
dist/
tmp/
**/*.ts | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | .eslintrc-browser.js | @@ -1,45 +0,0 @@
-module.exports = {
- root: true,
- parserOptions: {
- ecmaVersion: 6,
- sourceType: 'module',
- },
- extends: 'eslint:recommended',
- plugins: [
- "ember-internal"
- ],
- env: {
- qunit: true,
- },
- globals: {
- 'expectAssertion': true,
- 'expectDeprecation': true,
- 'ex... | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | .eslintrc-node.js | @@ -1,24 +0,0 @@
-module.exports = {
- root: true,
- parserOptions: {
- ecmaVersion: 8,
- sourceType: 'module',
- },
- extends: 'eslint:recommended',
- plugins: [
- "ember-internal"
- ],
- env: {
- mocha: true,
- node: true,
- qunit: true
- },
- globals: {
- Map: false,
- Set: false
- ... | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | .eslintrc.js | @@ -1 +1,109 @@
-module.exports = require('./.eslintrc-node');
+module.exports = {
+ root: true,
+ extends: [
+ 'eslint:recommended',
+ ],
+ plugins: [
+ "ember-internal"
+ ],
+
+ rules: {
+ 'semi': 'error',
+ 'no-unused-vars': 'error',
+ 'no-useless-escape': 'off', // TODO: bring this back
+ },
+... | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | node-tests/fixtures/acceptance-test/.eslintrc.js | @@ -1,7 +0,0 @@
-module.exports = {
- globals: {
- andThen: false,
- visit: false,
- currentURL: false
- }
-} | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | node-tests/fixtures/util-test/.eslintrc.js | @@ -1,5 +0,0 @@
-module.exports = {
- rules: {
- 'no-unused-vars': 'off'
- }
-} | true |
Other | emberjs | ember.js | ad6f5963a6cd67aa2a64df5cb4aade6489de15e6.json | Consolidate eslint configuration. | packages/.eslintrc.js | @@ -1 +0,0 @@
-module.exports = require('../.eslintrc-browser'); | true |
Other | emberjs | ember.js | 33e64593525be8a953b1b73a67da1176148dfa2b.json | Fix incorrect merging of TS output + rootDir. | broccoli/packages.js | @@ -4,7 +4,8 @@ const { readFileSync, existsSync } = require('fs');
const path = require('path');
const Rollup = require('broccoli-rollup');
const Funnel = require('broccoli-funnel');
-const filterTypeScript = require('broccoli-typescript-compiler').filterTypeScript;
+const MergeTrees = require('broccoli-merge-trees... | true |
Other | emberjs | ember.js | 33e64593525be8a953b1b73a67da1176148dfa2b.json | Fix incorrect merging of TS output + rootDir. | tsconfig.json | @@ -4,7 +4,7 @@
"target": "es2017",
"sourceMap": true,
"outDir": "dist",
- "baseUrl" : "packages",
+ "baseUrl": "packages",
"rootDir": "packages",
// Environment Configuration | true |
Other | emberjs | ember.js | fe59f2dd038b87d4d9a647237216d06bbd7c21a6.json | Remove duplicate externs.d.ts. | packages/ember-metal/externs.d.ts | @@ -1,12 +0,0 @@
-declare module 'ember/features' {
- export const EMBER_TEMPLATE_BLOCK_LET_HELPER: boolean | null;
- export const EMBER_MODULE_UNIFICATION: boolean | null;
- export const GLIMMER_CUSTOM_COMPONENT_MANAGER: boolean | null;
- export const EMBER_ENGINES_MOUNT_PARAMS: boolean | null;
- export const EMB... | false |
Other | emberjs | ember.js | e918aed822824388d0a8212c302bf18f5ee6c796.json | Target ES2017 from typescript compilation.
Further transformation (to make compatible with older browsers is done
downstream of typescript...). | tsconfig.json | @@ -1,8 +1,7 @@
{
"compilerOptions": {
// Compilation Configuration
- "target": "es2015",
- "module": "es2015",
+ "target": "es2017",
"inlineSources": true,
"inlineSourceMap": true,
"outDir": "dist", | false |
Other | emberjs | ember.js | d607cdc3956a0824566d6871fdde65d08beff009.json | Fix eager cause of '(unknown mixin)' | packages/ember-metal/lib/meta.js | @@ -1,15 +1,13 @@
-import {
- lookupDescriptor,
- symbol,
- toString
-} from 'ember-utils';
+import { lookupDescriptor, symbol, toString } from 'ember-utils';
import { protoMethods as listenerMethods } from './meta_listeners';
import { assert } from 'ember-debug';
import { DEBUG } from 'ember-env-flags';
-import ... | false |
Other | emberjs | ember.js | 9fa99447d769b02db0437461f6217ba8ec6d22f2.json | Expose `hasScheduledTimers` on `Ember.run` | packages/ember/lib/index.js | @@ -96,6 +96,7 @@ Ember.run.bind = metal.bind;
Ember.run.cancel = metal.cancel;
Ember.run.debounce = metal.debounce;
Ember.run.end = metal.end;
+Ember.run.hasScheduledTimers = metal.hasScheduledTimers;
Ember.run.join = metal.join;
Ember.run.later = metal.later;
Ember.run.next = metal.next; | true |
Other | emberjs | ember.js | 9fa99447d769b02db0437461f6217ba8ec6d22f2.json | Expose `hasScheduledTimers` on `Ember.run` | packages/ember/tests/reexports_test.js | @@ -77,6 +77,7 @@ let allExports =[
['run.cancel', 'ember-metal', 'cancel'],
['run.debounce', 'ember-metal', 'debounce'],
['run.end', 'ember-metal', 'end'],
+ ['run.hasScheduledTimers', 'ember-metal', 'hasScheduledTimers'],
['run.join', 'ember-metal', 'join'],
['run.later', 'ember-metal', 'later'],
[... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-application/lib/system/application.js | @@ -7,7 +7,11 @@ import { assert, isTesting } from 'ember-debug';
import { DEBUG } from 'ember-env-flags';
import {
libraries,
- run
+ run,
+ join,
+ schedule,
+ bind,
+ once,
} from 'ember-metal';
import {
Namespace,
@@ -493,9 +497,9 @@ const Application = Engine.extend({
*/
waitForDOMReady() {
... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-application/tests/system/visit_test.js | @@ -5,7 +5,7 @@ import {
RSVP,
onerrorDefault
} from 'ember-runtime';
-import { run } from 'ember-metal';
+import { later } from 'ember-metal';
import Application from '../../system/application';
import ApplicationInstance from '../../system/application-instance';
import Engine from '../../system/engine';
@@ ... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-extension-support/lib/data_adapter.js | @@ -1,7 +1,7 @@
import { getOwner } from 'ember-utils';
import {
get,
- run,
+ scheduleOnce,
objectAt,
addArrayObserver,
removeArrayObserver
@@ -297,7 +297,7 @@ export default EmberObject.extend({
// Only re-fetch records if the record count changed
// (which is all we care about as fa... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-glimmer/lib/helpers/action.ts | @@ -10,7 +10,7 @@ import {
flaggedInstrument,
get,
isNone,
- run,
+ join,
} from 'ember-metal';
import { ACTION, INVOKE, UnboundReference } from '../utils/references';
@@ -375,7 +375,7 @@ function makeClosureAction(context: any, target: any, action: any, processArgs:
return (...args: any[]) => {
... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-glimmer/lib/modifiers/action.ts | @@ -15,7 +15,7 @@ import {
Destroyable
} from '@glimmer/util';
import { assert } from 'ember-debug';
-import { flaggedInstrument, run } from 'ember-metal';
+import { flaggedInstrument, join } from 'ember-metal';
import { uuid } from 'ember-utils';
import {
ActionManager,
@@ -140,7 +140,7 @@ export class Actio... | true |
Other | emberjs | ember.js | 3b77850fa877c1872b126f6a0661159f57173b03.json | Make run loop functions named exports. | packages/ember-glimmer/lib/renderer.ts | @@ -15,7 +15,8 @@ import {
import { Opaque } from '@glimmer/util';
import { assert } from 'ember-debug';
import {
- run,
+ backburner,
+ getCurrentRunLoop,
runInTransaction,
setHasViews,
} from 'ember-metal';
@@ -36,7 +37,6 @@ import { OutletState } from './utils/outlet';
import { UnboundReference } from ... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.