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
ad79c1e075987bea64d3a73e703363d07284338a.json
Enable sourcemap support for Ember development. This is useful while developing on Ember, and we may possibly publish the maps to `bower`, S3, etc in the future, but we need to be careful to not cause many errors/warnings while building Ember CLI (if the `.map` file is referenced but not present it causes a console wa...
package.json
@@ -18,7 +18,7 @@ "ember-cli-dependency-checker": "0.0.7", "ember-cli-yuidoc": "^0.4.0", "ember-publisher": "0.0.7", - "emberjs-build": "0.0.33", + "emberjs-build": "0.0.36", "express": "^4.5.0", "github": "^0.2.3", "glob": "~4.3.2",
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-application/lib/main.js
@@ -9,9 +9,9 @@ Ember Application @requires ember-views, ember-routing */ +import DefaultResolver from 'ember-application/system/resolver'; import { - Resolver, - default as DefaultResolver + Resolver } from 'ember-application/system/resolver'; import Application from 'ember-application/system/application'; ...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-extension-support/tests/container_debug_adapter_test.js
@@ -1,5 +1,5 @@ import run from "ember-metal/run_loop"; -import { default as EmberController } from "ember-runtime/controllers/controller"; +import EmberController from "ember-runtime/controllers/controller"; import "ember-extension-support"; // Must be required to export Ember.ContainerDebugAdapter import Applicati...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-htmlbars/tests/helpers/each_test.js
@@ -7,7 +7,7 @@ import _MetamorphView from "ember-views/views/metamorph_view"; import { computed } from "ember-metal/computed"; import ArrayController from "ember-runtime/controllers/array_controller"; import { A } from "ember-runtime/system/native_array"; -import { default as EmberController } from "ember-runtime/c...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-htmlbars/tests/helpers/with_test.js
@@ -5,8 +5,8 @@ import EmberObject from "ember-runtime/system/object"; import { computed } from "ember-metal/computed"; import { set } from "ember-metal/property_set"; import { get } from "ember-metal/property_get"; +import ObjectController from "ember-runtime/controllers/object_controller"; import { - default as ...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-htmlbars/tests/helpers/yield_test.js
@@ -8,9 +8,9 @@ import { set } from "ember-metal/property_set"; import { A } from "ember-runtime/system/native_array"; import Component from "ember-views/views/component"; import EmberError from "ember-metal/error"; +import helpers from "ember-htmlbars/helpers"; import { - registerHelper, - default as helpers + ...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-htmlbars/tests/hooks/element_test.js
@@ -1,6 +1,6 @@ import EmberView from "ember-views/views/view"; +import helpers from "ember-htmlbars/helpers"; import { - default as helpers, registerHelper } from "ember-htmlbars/helpers"; import { runAppend, runDestroy } from "ember-runtime/tests/utils";
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-routing-htmlbars/lib/helpers/render.js
@@ -6,9 +6,9 @@ import Ember from "ember-metal/core"; // assert, deprecate import EmberError from "ember-metal/error"; import { camelize } from "ember-runtime/system/string"; +import generateController from "ember-routing/system/generate_controller"; import { - generateControllerFactory, - default as generateCont...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-routing-htmlbars/tests/helpers/action_test.js
@@ -6,17 +6,17 @@ import ActionManager from "ember-views/system/action_manager"; import { Registry } from "ember-runtime/system/container"; import EmberObject from "ember-runtime/system/object"; -import { default as EmberController } from "ember-runtime/controllers/controller"; +import EmberController from "ember-r...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-routing-htmlbars/tests/helpers/render_test.js
@@ -6,7 +6,7 @@ import { observer } from 'ember-metal/mixin'; import Namespace from "ember-runtime/system/namespace"; -import { default as EmberController } from "ember-runtime/controllers/controller"; +import EmberController from "ember-runtime/controllers/controller"; import EmberArrayController from "ember-run...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-routing/lib/main.js
@@ -18,9 +18,9 @@ import HashLocation from "ember-routing/location/hash_location"; import HistoryLocation from "ember-routing/location/history_location"; import AutoLocation from "ember-routing/location/auto_location"; +import generateController from "ember-routing/system/generate_controller"; import { - generate...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-routing/tests/system/controller_for_test.js
@@ -7,14 +7,12 @@ import Registry from 'container/registry'; import Namespace from "ember-runtime/system/namespace"; import { classify } from "ember-runtime/system/string"; import Controller from "ember-runtime/controllers/controller"; -import { - default as ObjectController -} from "ember-runtime/controllers/objec...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-runtime/tests/controllers/controller_test.js
@@ -2,8 +2,8 @@ import Controller from "ember-runtime/controllers/controller"; import Service from "ember-runtime/system/service"; +import ObjectController from "ember-runtime/controllers/object_controller"; import { - default as ObjectController, objectControllerDeprecation } from "ember-runtime/controllers/...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-runtime/tests/controllers/object_controller_test.js
@@ -1,5 +1,5 @@ +import ObjectController from "ember-runtime/controllers/object_controller"; import { - default as ObjectController, objectControllerDeprecation } from "ember-runtime/controllers/object_controller"; import { observer } from 'ember-metal/mixin';
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-runtime/tests/inject_test.js
@@ -1,9 +1,9 @@ /* global EmberDev */ import InjectedProperty from "ember-metal/injected_property"; +import inject from "ember-runtime/inject"; import { - createInjectionHelper, - default as inject + createInjectionHelper } from "ember-runtime/inject"; import { Registry } from "ember-runtime/system/container"...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-runtime/tests/mixins/promise_proxy_test.js
@@ -3,8 +3,8 @@ import {get} from "ember-metal/property_get"; import run from "ember-metal/run_loop"; import ObjectProxy from "ember-runtime/system/object_proxy"; import PromiseProxyMixin from "ember-runtime/mixins/promise_proxy"; +import EmberRSVP from "ember-runtime/ext/rsvp"; import { - default as EmberRSVP, ...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-template-compiler/tests/plugins_test.js
@@ -1,5 +1,5 @@ +import plugins from "ember-template-compiler/plugins"; import { - default as plugins, registerPlugin } from "ember-template-compiler/plugins"; import compile from "ember-template-compiler/system/compile";
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-views/lib/main.js
@@ -39,8 +39,8 @@ import TextField from "ember-views/views/text_field"; import TextArea from "ember-views/views/text_area"; import SimpleBoundView from "ember-views/views/simple_bound_view"; +import _MetamorphView from "ember-views/views/metamorph_view"; import { - default as _MetamorphView, _Metamorph } from...
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-views/lib/views/each.js
@@ -15,8 +15,8 @@ import { removeBeforeObserver } from "ember-metal/observer"; +import _MetamorphView from "ember-views/views/metamorph_view"; import { - default as _MetamorphView, _Metamorph } from "ember-views/views/metamorph_view";
true
Other
emberjs
ember.js
8544921eeef3a9c043199a3d82f1467b86d14f72.json
Use correct syntax for importing a default export. The best replacement for importing `default` and a named export is: ```javascript import SomeDefaultExport, { namedStuff } from 'path/goes/here'; ``` But we cannot use this because the syntax is not recognized by JSHint as being valid. So this changes them to use...
packages/ember-views/lib/views/view.js
@@ -30,7 +30,10 @@ import CoreView from "ember-views/views/core_view"; import ViewStreamSupport from "ember-views/mixins/view_stream_support"; import ViewKeywordSupport from "ember-views/mixins/view_keyword_support"; import ViewContextSupport from "ember-views/mixins/view_context_support"; -import { default as ViewC...
true
Other
emberjs
ember.js
fc935673d59f8f991f6914f5ced383614ef299ee.json
Allow usage of limited ES2015 sematics. emberjs-build now uses Babel and a whitelist of transforms during transpilation. Current whitelisted transforms are: * [es6.templateLiterals](http://babeljs.io/docs/learn-es6/#template-strings) * [es6.parameters.rest](http://babeljs.io/docs/learn-es6/#default-rest-spread) * [e...
package.json
@@ -18,7 +18,7 @@ "ember-cli-dependency-checker": "0.0.7", "ember-cli-yuidoc": "^0.4.0", "ember-publisher": "0.0.7", - "emberjs-build": "0.0.32", + "emberjs-build": "0.0.33", "express": "^4.5.0", "github": "^0.2.3", "glob": "~4.3.2",
true
Other
emberjs
ember.js
fc935673d59f8f991f6914f5ced383614ef299ee.json
Allow usage of limited ES2015 sematics. emberjs-build now uses Babel and a whitelist of transforms during transpilation. Current whitelisted transforms are: * [es6.templateLiterals](http://babeljs.io/docs/learn-es6/#template-strings) * [es6.parameters.rest](http://babeljs.io/docs/learn-es6/#default-rest-spread) * [e...
packages/ember-htmlbars/tests/helpers/view_test.js
@@ -1,5 +1,4 @@ /*globals EmberDev */ -import { set } from "ember-metal/property_set"; import EmberView from "ember-views/views/view"; import Registry from "container/registry"; import run from "ember-metal/run_loop";
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
features.json
@@ -4,7 +4,6 @@ "ember-routing-named-substates": true, "ember-metal-injected-properties": true, "mandatory-setter": "development-only", - "ember-htmlbars": true, "ember-htmlbars-block-params": true, "ember-htmlbars-component-generation": null, "ember-htmlbars-component-helper": true,
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-application/tests/system/dependency_injection/default_resolver_test.js
@@ -93,16 +93,6 @@ QUnit.test("the default resolver resolves helpers", function() { registerHelper('fooresolvertest', fooresolvertestHelper); registerHelper('bar-baz-resolver-test', barBazResolverTestHelper); - var retrievedFooResolverTestHelper, retrievedBarBazResolverTestHelper; - - if (Ember.FEATURES.isEna...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/lib/compat.js
@@ -13,21 +13,18 @@ import { escapeExpression } from "ember-htmlbars/utils/string"; -var EmberHandlebars; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - EmberHandlebars = Ember.Handlebars = Ember.Handlebars || {}; - EmberHandlebars.helpers = helpers; - EmberHandlebars.helper = compatHandlebarsHelper; - ...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/lib/helpers/bind-attr.js
@@ -222,11 +222,7 @@ function applyClassNameBindings(classNameBindings, view) { function bindAttrHelperDeprecated() { Ember.deprecate("The 'bindAttr' view helper is deprecated in favor of 'bind-attr'"); - if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - return helpers['bind-attr'].helperFunction.apply(this...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/lib/main.js
@@ -65,15 +65,12 @@ registerHelper('collection', collectionHelper); registerHelper('each', eachHelper); registerHelper('unbound', unboundHelper); -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - Ember.HTMLBars = { - _registerHelper: registerHelper, - template: template, - compile: compile, - precom...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/lib/system/bootstrap.js
@@ -84,9 +84,6 @@ function registerComponentLookup(registry) { */ onLoad('Ember.Application', function(Application) { - if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - // jscs:disable validateIndentation - Application.initializer({ name: 'domTemplates', initialize: environment.hasDOM ? _bootstr...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/compat/helper_test.js
@@ -12,9 +12,6 @@ import { runAppend, runDestroy } from "ember-runtime/tests/utils"; var view; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - QUnit.module('ember-htmlbars: Handlebars compatible helpers', { teardown: function() { runDestroy(view); @@ -270,6 +267,3...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/compat/precompile_test.js
@@ -1,7 +1,6 @@ import EmberHandlebars from "ember-htmlbars/compat"; var precompile = EmberHandlebars.precompile; -var parse = EmberHandlebars.parse; var template = 'Hello World'; var result; @@ -21,15 +20,3 @@ QUnit.test("precompile creates a string when asObject is false", function() { result = precompile(...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/helpers/bind_attr_test.js
@@ -204,32 +204,19 @@ QUnit.test("{{bindAttr}} is aliased to {{bind-attr}}", function() { var originalBindAttr = helpers['bind-attr']; try { - if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - helpers['bind-attr'] = { - helperFunction: function() { - equal(arguments[0], 'foo', 'First a...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/helpers/collection_test.js
@@ -86,10 +86,7 @@ QUnit.test("itemViewClass works in the #collection helper with a global (DEPRECA template: compile('{{#collection content=view.exampleController itemViewClass=TemplateTests.ExampleItemView}}beta{{/collection}}') }); - var deprecation = /Resolved the view "TemplateTests.ExampleItemView" on ...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/helpers/each_test.js
@@ -540,10 +540,7 @@ QUnit.test("it supports {{itemViewClass=}} with global (DEPRECATED)", function() people: people }); - var deprecation = /Resolved the view "MyView" on the global context/; - if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - deprecation = /Global lookup of MyView from a Handlebars t...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/helpers/loc_test.js
@@ -51,8 +51,6 @@ QUnit.test('localize takes passed formats into an account', function() { runDestroy(view); }); -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation QUnit.test('localize throws an assertion if the second parameter is a binding', function() { var view = build...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/helpers/yield_test.js
@@ -215,31 +215,6 @@ QUnit.test("can bind a keyword to a component and use it in yield", function() { equal(view.$('div p:contains(update) + p:contains(update)').length, 1, "keyword has correctly propagated update"); }); -if (!Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - -Q...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/hooks/component_test.js
@@ -6,53 +6,44 @@ import { runAppend, runDestroy } from "ember-runtime/tests/utils"; var view, registry, container; -// this is working around a bug in defeatureify that prevents nested flags -// from being stripped -var componentGenerationEnabled = false; if (Ember.FEATURES.isEnabled('ember-htmlbars-component-ge...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/hooks/text_node_test.js
@@ -7,45 +7,43 @@ import { runAppend, runDestroy } from "ember-runtime/tests/utils"; var view; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - QUnit.module("ember-htmlbars: hooks/text_node_test", { - teardown: function() { - runDestroy(view); - } +QUnit.module("ember-htmlbars: hooks/text_node_test...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/htmlbars_test.js
@@ -4,16 +4,13 @@ import { domHelper } from "ember-htmlbars/env"; import { equalHTML } from "htmlbars-test-helpers"; import merge from "ember-metal/merge"; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { +QUnit.module("ember-htmlbars: main"); - QUnit.module("ember-htmlbars: main"); +QUnit.test("HTMLBars is pr...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-htmlbars/tests/system/make_bound_helper_test.js
@@ -19,9 +19,6 @@ function registerRepeatHelper() { })); } -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - QUnit.module("ember-htmlbars: makeBoundHelper", { setup: function() { registry = new Registry(); @@ -276,6 +273,3 @@ QUnit.test('when no hash parameters are...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-routing-htmlbars/tests/helpers/action_test.js
@@ -143,8 +143,6 @@ QUnit.test("Inside a yield, the target points at the original target", function( equal(watted, true, "The action was called on the right context"); }); -if (!Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation QUnit.test("should target the current controller ins...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-routing-htmlbars/tests/helpers/outlet_test.js
@@ -1,4 +1,3 @@ -import Ember from 'ember-metal/core'; // TEMPLATES import run from "ember-metal/run_loop"; import Namespace from "ember-runtime/system/namespace"; @@ -178,12 +177,8 @@ QUnit.test("Outlets bind to the current view, not the current concrete view", fu equal(output, "BOTTOM", "all templates were ren...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-routing-htmlbars/tests/helpers/render_test.js
@@ -506,9 +506,6 @@ QUnit.test("{{render}} works with slash notation", function() { equal(container.lookup('controller:blog.post'), renderedView.get('controller'), 'rendered with correct controller'); }); -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - QUnit.test("throws...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-template-compiler/tests/system/compile_test.js
@@ -3,9 +3,6 @@ import { compile as htmlbarsCompile } from "htmlbars-compiler/compiler"; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - QUnit.module('ember-htmlbars: compile'); QUnit.test('compiles the provided template with htmlbars', function() { @@ -42,6 +39,3 @@ ...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-template-compiler/tests/system/template_test.js
@@ -1,8 +1,5 @@ import template from "ember-template-compiler/system/template"; -if (Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - QUnit.module('ember-htmlbars: template'); QUnit.test('sets `isTop` on the provided function', function() { @@ -20,6 +17,3 @@ QUnit.test('sets `...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember-views/lib/views/view.js
@@ -762,12 +762,7 @@ var View = CoreView.extend( var template = get(this, 'template'); if (template) { - var useHTMLBars = false; - if (Ember.FEATURES.isEnabled('ember-htmlbars')) { - useHTMLBars = template.isHTMLBars; - } - - if (useHTMLBars) { + if (template.isHTMLBars) { ...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember/tests/component_registration_test.js
@@ -180,21 +180,14 @@ QUnit.test("Assigning templateName and layoutName should use the templates speci equal(Ember.$('#wrapper').text(), "inner-outer", "The component is composed correctly"); }); -if (!Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - // ember-htmlbars doesn't ...
true
Other
emberjs
ember.js
1a18ed539fd7320b9c87d378e6750b41da33d3d6.json
Remove ember-htmlbars feature flagging. It has :ship:'ed.
packages/ember/tests/helpers/helper_registration_test.js
@@ -80,37 +80,24 @@ QUnit.test("Bound helpers registered on the container can be late-invoked", func ok(!helpers['x-reverse'], "Container-registered helper doesn't wind up on global helpers hash"); }); -if (!Ember.FEATURES.isEnabled('ember-htmlbars')) { -// jscs:disable validateIndentation - // we have unit te...
true
Other
emberjs
ember.js
00ad738432088ab02eba822b5d55137b9e138ffd.json
Specify vendored packages in Ember's Brocfile. Rather than rely on emberjs-build to do this.
Brocfile.js
@@ -8,9 +8,29 @@ var EmberBuild = require('emberjs-build'); var packages = require('./lib/packages'); +var vendoredPackage = require('emberjs-build/lib/vendored-package'); +var htmlbarsPackage = require('emberjs-build/lib/htmlbars-package'); +var vendoredES6Package = require('emberjs-build/lib/es6-vendored-...
false
Other
emberjs
ember.js
a60f255243aa1936320e4dfb96800065bce36909.json
Update emberjs-build to v0.0.28. Provides local copy of HTMLBars, so that we do not have to update in both Ember and emberjs-builds in the future.
Brocfile.js
@@ -9,6 +9,7 @@ var EmberBuild = require('emberjs-build'); var packages = require('./lib/packages'); var emberBuild = new EmberBuild({ + htmlbars: require('htmlbars'), packages: packages });
true
Other
emberjs
ember.js
a60f255243aa1936320e4dfb96800065bce36909.json
Update emberjs-build to v0.0.28. Provides local copy of HTMLBars, so that we do not have to update in both Ember and emberjs-builds in the future.
package.json
@@ -17,7 +17,7 @@ "ember-cli": "0.1.12", "ember-cli-yuidoc": "^0.4.0", "ember-publisher": "0.0.7", - "emberjs-build": "0.0.27", + "emberjs-build": "0.0.28", "express": "^4.5.0", "github": "^0.2.3", "glob": "~4.3.2",
true
Other
emberjs
ember.js
36f8358377982fe719ea7a9fec5b8e72f74258d1.json
Update htmlbars to 0.11.0
package.json
@@ -21,7 +21,7 @@ "express": "^4.5.0", "github": "^0.2.3", "glob": "~4.3.2", - "htmlbars": "tildeio/htmlbars#master", + "htmlbars": "0.11.0", "qunit-extras": "^1.3.0", "qunitjs": "^1.16.0", "route-recognizer": "0.1.5",
false
Other
emberjs
ember.js
1e54081264e72affc0f22ac685b0ad21c771b552.json
Move beforeRender/afterRender into the legacy bin
packages/ember-views/lib/mixins/legacy_view_support.js
@@ -3,6 +3,10 @@ import { Mixin } from "ember-metal/mixin"; import { get } from "ember-metal/property_get"; var LegacyViewSupport = Mixin.create({ + beforeRender: function(buffer) {}, + + afterRender: function(buffer) {}, + mutateChildViews: function(callback) { var childViews = this._childViews; var...
true
Other
emberjs
ember.js
1e54081264e72affc0f22ac685b0ad21c771b552.json
Move beforeRender/afterRender into the legacy bin
packages/ember-views/lib/views/view.js
@@ -1174,10 +1174,6 @@ var View = CoreView.extend( */ parentViewDidChange: K, - beforeRender: function(buffer) {}, - - afterRender: function(buffer) {}, - applyAttributesToBuffer: function(buffer) { // Creates observers for all registered class name and attribute bindings, // then adds them to th...
true
Other
emberjs
ember.js
a9422f48228f5943886999d5ae3025464c18c409.json
adjust morph usage to be inclusive
packages/ember-metal-views/lib/renderer.js
@@ -170,7 +170,12 @@ Renderer.prototype.appendAttrTo = Renderer.prototype.replaceIn = function Renderer_replaceIn(view, target) { - var morph = this._dom.createMorph(target, null, null); + var morph; + if (target.firstNode) { + morph = this._dom.createMorph(target, target.firstNode, target.lastNode)...
true
Other
emberjs
ember.js
a9422f48228f5943886999d5ae3025464c18c409.json
adjust morph usage to be inclusive
packages/ember-metal-views/tests/test_helpers.js
@@ -47,15 +47,13 @@ MetalRenderer.prototype.createElement = function (view, contextualElement) { } } if (view.childViews) { - view._childViewsMorph = this._dom.createMorph(el, null, null); + view._childViewsMorph = this._dom.appendMorph(el); } else if (view.textContent) { setElementText(el, vie...
true
Other
emberjs
ember.js
a9422f48228f5943886999d5ae3025464c18c409.json
adjust morph usage to be inclusive
packages/ember-views/lib/system/render_buffer.js
@@ -528,11 +528,8 @@ RenderBuffer.prototype = { if (content.nodeType) { this._element.appendChild(content); } else { - var nodes; - nodes = this.dom.parseHTML(content, contextualElement); - while (nodes[0]) { - this._element.appendChild(nodes[0]); - } + var frag = this.d...
true
Other
emberjs
ember.js
a9422f48228f5943886999d5ae3025464c18c409.json
adjust morph usage to be inclusive
packages/ember-views/lib/system/utils.js
@@ -17,8 +17,8 @@ export function isSimpleClick(event) { */ function getViewRange(view) { var range = document.createRange(); - range.setStartAfter(view._morph.start); - range.setEndBefore(view._morph.end); + range.setStartBefore(view._morph.firstNode); + range.setEndAfter(view._morph.lastNode); return rang...
true
Other
emberjs
ember.js
a9422f48228f5943886999d5ae3025464c18c409.json
adjust morph usage to be inclusive
packages/ember-views/lib/views/container_view.js
@@ -267,13 +267,7 @@ var ContainerView = View.extend(MutableArray, { var element = buffer.element(); var dom = buffer.dom; - if (this.tagName === '') { - element = dom.createDocumentFragment(); - buffer._element = element; - this._childViewsMorph = dom.appendMorph(element, this._morph.cont...
true
Other
emberjs
ember.js
3c49cf2be64a5909b223baf0dcb9bff8f753b615.json
adjust container view
packages/ember-metal-views/lib/renderer.js
@@ -17,10 +17,9 @@ function Renderer(_helper, _destinedForDOM) { this._destinedForDOM = _destinedForDOM === undefined ? true : _destinedForDOM; } -function Renderer_renderTree(_view, _parentView, _insertAt) { +function Renderer_renderTree(_view, _parentView, _refMorph) { var views = this._views; views[0] = ...
true
Other
emberjs
ember.js
3c49cf2be64a5909b223baf0dcb9bff8f753b615.json
adjust container view
packages/ember-views/lib/views/container_view.js
@@ -395,11 +395,13 @@ merge(states.hasElement, { var childViews = view._childViews; var renderer = view._renderer; - var i, len, childView; - for (i = 0, len = childViews.length; i < len; i++) { - childView = childViews[i]; - if (!childView._elementCreated) { - renderer.renderTree(chi...
true
Other
emberjs
ember.js
c7b4af6b7a0484b7dab57ab85673121d5a3d7d07.json
Remove dead code
packages/ember-views/lib/views/view.js
@@ -3,9 +3,6 @@ // Ember.ContainerView circular dependency // Ember.ENV import Ember from 'ember-metal/core'; - -import Evented from "ember-runtime/mixins/evented"; -import EmberObject from "ember-runtime/system/object"; import EmberError from "ember-metal/error"; import { get } from "ember-metal/property_get"; i...
false
Other
emberjs
ember.js
35af16591ee00ac74568a9a1ebc859b04bf02658.json
Use standard naming convention for location
packages/ember-routing/lib/location/api.js
@@ -197,6 +197,6 @@ export default { @since 1.4.0 */ _getHash: function () { - return getHash(this._location || this.location); + return getHash(this.location); } };
false
Other
emberjs
ember.js
54d8d3959ec89e229ac3aef5dcd4a8ab424b2b96.json
Use delegate for AutoLocation Previously, AutoLocation worked by faking out a `create()` method and returning a concrete implementation of either HistoryLocation or AutoLocation. This was bad for a few reasons. First, messing with `create()` or `extend()` semantics makes it hard for people to reason about behavior. T...
packages/ember-routing/lib/location/api.js
@@ -1,5 +1,6 @@ import Ember from "ember-metal/core"; // deprecate, assert import environment from "ember-metal/environment"; +import { getHash } from "ember-routing/location/util"; /** @module ember @@ -192,15 +193,6 @@ export default { @since 1.4.0 */ _getHash: function () { - // AutoLocation has ...
true
Other
emberjs
ember.js
54d8d3959ec89e229ac3aef5dcd4a8ab424b2b96.json
Use delegate for AutoLocation Previously, AutoLocation worked by faking out a `create()` method and returning a concrete implementation of either HistoryLocation or AutoLocation. This was bad for a few reasons. First, messing with `create()` or `extend()` semantics makes it hard for people to reason about behavior. T...
packages/ember-routing/lib/location/auto_location.js
@@ -1,13 +1,12 @@ import Ember from "ember-metal/core"; // FEATURES +import { get } from "ember-metal/property_get"; import { set } from "ember-metal/property_set"; +import { computed } from "ember-metal/computed"; -import EmberLocation from "ember-routing/location/api"; -import HistoryLocation from "ember-routing/...
true
Other
emberjs
ember.js
54d8d3959ec89e229ac3aef5dcd4a8ab424b2b96.json
Use delegate for AutoLocation Previously, AutoLocation worked by faking out a `create()` method and returning a concrete implementation of either HistoryLocation or AutoLocation. This was bad for a few reasons. First, messing with `create()` or `extend()` semantics makes it hard for people to reason about behavior. T...
packages/ember-routing/lib/location/util.js
@@ -1,3 +1,67 @@ +/** + @private + + Returns the current `location.pathname`, normalized for IE inconsistencies. +*/ +export function getPath(location) { + var pathname = location.pathname; + // Various versions of IE/Opera don't always return a leading slash + if (pathname.charAt(0) !== '/') { + pathname = '/'...
true
Other
emberjs
ember.js
54d8d3959ec89e229ac3aef5dcd4a8ab424b2b96.json
Use delegate for AutoLocation Previously, AutoLocation worked by faking out a `create()` method and returning a concrete implementation of either HistoryLocation or AutoLocation. This was bad for a few reasons. First, messing with `create()` or `extend()` semantics makes it hard for people to reason about behavior. T...
packages/ember-routing/tests/location/auto_location_test.js
@@ -6,7 +6,7 @@ import copy from "ember-runtime/copy"; import EmberObject from "ember-runtime/system/object"; import AutoLocation from "ember-routing/location/auto_location"; import EmberLocation from "ember-routing/location/api"; -import { supportsHistory, supportsHashChange } from "ember-routing/location/feature_d...
true
Other
emberjs
ember.js
fd6530b425a8ea2e5001001a24d2a41d3454bdb4.json
Update versions for next cycle.
VERSION
@@ -1 +1 @@ -1.11.0-beta.1+canary +1.12.0-beta.1+canary
true
Other
emberjs
ember.js
fd6530b425a8ea2e5001001a24d2a41d3454bdb4.json
Update versions for next cycle.
package.json
@@ -1,7 +1,7 @@ { "name": "ember", "license": "MIT", - "version": "1.11.0-beta.1+canary", + "version": "1.12.0-beta.1+canary", "scripts": { "build": "ember build --environment production", "postinstall": "bower install", @@ -17,7 +17,7 @@ "ember-cli": "0.1.12", "ember-cli-yuidoc": "^0.4....
true
Other
emberjs
ember.js
1c0fb8a7b783ec3936d23416364996f5b967a052.json
Remove Gemfile from repo. Gems generally do not need to checkin their Gemfiles.
Gemfile
@@ -1,5 +0,0 @@ -source "https://rubygems.org" - -# Require the specific version of handlebars-source that -# we'll be precompiling and performing tests with. -gemspec
true
Other
emberjs
ember.js
1c0fb8a7b783ec3936d23416364996f5b967a052.json
Remove Gemfile from repo. Gems generally do not need to checkin their Gemfiles.
Gemfile.lock
@@ -1,14 +0,0 @@ -PATH - remote: . - specs: - ember-source (1.11.0.beta.1.canary) - -GEM - remote: https://rubygems.org/ - specs: - -PLATFORMS - ruby - -DEPENDENCIES - ember-source!
true
Other
emberjs
ember.js
26805fb968858b7d40f4d24c81f8e2b75ddc15f8.json
remove bad advice. If someone is running into this scenario they are creating a cycle. Constructor injections cannot absorb cycles. The advice given suggests the user re-class the entity, by means of register but this will likely lead them down an ever worse path. As the user will likely now end-up with two discrete i...
packages/container/lib/registry.js
@@ -479,9 +479,7 @@ Registry.prototype = { var fullNameType = fullName.split(':')[0]; if (fullNameType === type) { throw new Error('Cannot inject a `' + fullName + - '` on other ' + type + - '(s). Register the `' + fullName + - '` as a different type and perform the typeInjection.'); + ...
true
Other
emberjs
ember.js
26805fb968858b7d40f4d24c81f8e2b75ddc15f8.json
remove bad advice. If someone is running into this scenario they are creating a cycle. Constructor injections cannot absorb cycles. The advice given suggests the user re-class the entity, by means of register but this will likely lead them down an ever worse path. As the user will likely now end-up with two discrete i...
packages/container/tests/registry_test.js
@@ -56,7 +56,7 @@ QUnit.test("Throw exception when trying to inject `type:thing` on all type(s)", throws(function() { registry.typeInjection('controller', 'injected', 'controller:post'); - }, 'Cannot inject a `controller:post` on other controller(s). Register the `controller:post` as a different type and per...
true
Other
emberjs
ember.js
10397828ed488475afeb0d38f0d33a68760c70fa.json
Add 1.10.0 to CHANGELOG.
CHANGELOG.md
@@ -29,6 +29,73 @@ - [#10350](https://github.com/emberjs/ember.js/pull/10350) Make meta.cache & meta.cacheMeta lazy [@ebryn](https://github.com/ebryn) - [#10353](https://github.com/emberjs/ember.js/pull/10353) Avoid creating context bindings for collection views [@mmun](https://github.com/mmun) +### 1.10.0 (Februar...
false
Other
emberjs
ember.js
bec12a220ed03b304c780fb9305a2eadcfc7b37c.json
Add changelog generator.
bin/changelog
@@ -0,0 +1,71 @@ +#!/usr/bin/env node +'use strict'; + +/* + * This script generates the template a changelog by comparing a current version + * with master. Run this, copy what's logged into the `CHANGELOG.md` and update + * the top section based on the changes listed in "Community Contributions" + * + * Usage: + * + ...
true
Other
emberjs
ember.js
bec12a220ed03b304c780fb9305a2eadcfc7b37c.json
Add changelog generator.
package.json
@@ -19,6 +19,7 @@ "ember-publisher": "0.0.7", "emberjs-build": "0.0.25", "express": "^4.5.0", + "github": "^0.2.3", "glob": "~4.3.2", "htmlbars": "0.10.0", "qunit-extras": "^1.3.0",
true
Other
emberjs
ember.js
7d3e25ea41ad91978e2405690f5d715e4074f55f.json
Ensure computed.oneWay is exported properly. We previously imported `oneWay` twice (one for `Ember.oneWay` and the other for `Ember.computed.oneWay`), and Esperanto automatically rewrites all usage so that the last imported wins.
packages/ember-metal/lib/main.js
@@ -140,7 +140,7 @@ import { gte, lt, lte, - oneWay, + oneWay as computedOneWay, readOnly, defaultTo, deprecatingAlias, @@ -162,8 +162,8 @@ computed.gte = gte; computed.lt = lt; computed.lte = lte; computed.alias = alias; -computed.oneWay = oneWay; -computed.reads = oneWay; +computed.oneWay = com...
false
Other
emberjs
ember.js
69f6bea2c26d60c4c15ac96a674fa0865632d8fc.json
Remove unnecessary check for `NativeArray` `ignore` has always one or more items.
packages/ember-runtime/lib/system/native_array.js
@@ -108,9 +108,7 @@ forEach(NativeArray.keys(), function(methodName) { } }); -if (ignore.length > 0) { - NativeArray = NativeArray.without.apply(NativeArray, ignore); -} +NativeArray = NativeArray.without.apply(NativeArray, ignore); /** Creates an `Ember.NativeArray` from an Array like object.
false
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
lib/packages.js
@@ -1,7 +1,7 @@ module.exports = { 'container': {trees: null, requirements: []}, 'ember-metal': {trees: null, vendorRequirements: ['backburner']}, - 'ember-metal-views': {trees: null, vendorRequirements: ['morph']}, + 'ember-metal-views': {trees: null, vend...
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
package.json
@@ -17,10 +17,10 @@ "ember-cli": "0.1.6", "ember-cli-yuidoc": "^0.3.1", "ember-publisher": "0.0.7", - "emberjs-build": "0.0.23", + "emberjs-build": "0.0.24", "express": "^4.5.0", "glob": "~4.3.2", - "htmlbars": "0.8.4", + "htmlbars": "0.9.0", "qunit-extras": "^1.3.0", "qun...
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-application/lib/system/application.js
@@ -20,7 +20,7 @@ import EnumerableUtils from "ember-metal/enumerable_utils"; import ObjectController from "ember-runtime/controllers/object_controller"; import ArrayController from "ember-runtime/controllers/array_controller"; import Renderer from "ember-views/system/renderer"; -import { DOMHelper } from "morph"; +...
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-htmlbars/lib/env.js
@@ -1,6 +1,6 @@ import environment from "ember-metal/environment"; -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; import inline from "ember-htmlbars/hooks/inline"; import content from "ember-htmlbars/hooks/content";
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-metal-views/lib/renderer.js
@@ -1,4 +1,4 @@ -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; import environment from "ember-metal/environment"; var domHelper = environment.hasDOM ? new DOMHelper() : null;
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/lib/main.js
@@ -17,7 +17,7 @@ import { } from "ember-views/system/utils"; import RenderBuffer from "ember-views/system/render_buffer"; import Renderer from "ember-views/system/renderer"; -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; import "ember-views/system/ext"; // for the side effect of extendin...
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/lib/system/render_buffer.js
@@ -7,7 +7,7 @@ import jQuery from "ember-views/system/jquery"; import Ember from "ember-metal/core"; import create from 'ember-metal/platform/create'; import environment from "ember-metal/environment"; -import { normalizeProperty } from "morph/dom-helper/prop"; +import { normalizeProperty } from "dom-helper/prop"; ...
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/lib/views/core_view.js
@@ -1,5 +1,5 @@ import Renderer from "ember-views/system/renderer"; -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; import { cloneStates,
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/lib/views/view.js
@@ -58,7 +58,7 @@ import { isStream } from "ember-metal/streams/utils"; import sanitizeAttributeValue from "ember-views/system/sanitize_attribute_value"; -import { normalizeProperty } from "morph/dom-helper/prop"; +import { normalizeProperty } from "dom-helper/prop"; function K() { return this; }
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/tests/system/render_buffer_test.js
@@ -1,6 +1,6 @@ import jQuery from "ember-views/system/jquery"; import RenderBuffer from "ember-views/system/render_buffer"; -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; var svgNamespace = "http://www.w3.org/2000/svg"; var xhtmlNamespace = "http://www.w3.org/1999/xhtml";
true
Other
emberjs
ember.js
0de59931bec0e0b23b8c3379babbdea5eeeda190.json
Update HTMLBars to 0.9.0
packages/ember-views/tests/system/sanitize_attribute_value_test.js
@@ -1,6 +1,6 @@ import sanitizeAttributeValue from "ember-views/system/sanitize_attribute_value"; import { SafeString } from "ember-htmlbars/utils/string"; -import { DOMHelper } from "morph"; +import DOMHelper from "dom-helper"; QUnit.module('ember-views: sanitizeAttributeValue(null, "href")');
true
Other
emberjs
ember.js
4e9858137966a7fef62c9de301242656888311e7.json
Update transpiler to Esperanto. Supports latest ES2015 syntax and features.
package.json
@@ -17,7 +17,7 @@ "ember-cli": "0.1.6", "ember-cli-yuidoc": "^0.3.1", "ember-publisher": "0.0.7", - "emberjs-build": "0.0.22", + "emberjs-build": "0.0.23", "express": "^4.5.0", "glob": "~4.3.2", "htmlbars": "0.8.4",
true
Other
emberjs
ember.js
4e9858137966a7fef62c9de301242656888311e7.json
Update transpiler to Esperanto. Supports latest ES2015 syntax and features.
packages/ember-runtime/lib/ext/rsvp.js
@@ -8,7 +8,7 @@ import run from "ember-metal/run_loop"; // it should be `import * as RSVP from 'rsvp';` but // Esprima does not support this syntax yet (and neither does // es6-module-transpiler 0.4.0 - 0.6.2). -module RSVP from 'rsvp'; +import * as RSVP from 'rsvp'; var testModuleName = 'ember-testing/test'; va...
true
Other
emberjs
ember.js
4e9858137966a7fef62c9de301242656888311e7.json
Update transpiler to Esperanto. Supports latest ES2015 syntax and features.
packages/ember-runtime/tests/mixins/promise_proxy_test.js
@@ -3,11 +3,11 @@ import {get} from "ember-metal/property_get"; import run from "ember-metal/run_loop"; import ObjectProxy from "ember-runtime/system/object_proxy"; import PromiseProxyMixin from "ember-runtime/mixins/promise_proxy"; -var RSVP = requireModule("rsvp"); // jshint ignore:line import { default as Emb...
true
Other
emberjs
ember.js
60ff02d81b7676da4fc0fc98b874eef99c8c9f1e.json
Remove unused variable
packages/ember-views/lib/system/sanitize_attribute_value.js
@@ -1,6 +1,5 @@ /* jshint scripturl:true */ -var parsingNode; var badProtocols = { 'javascript:': true, 'vbscript:': true
false
Other
emberjs
ember.js
50bc8bedba68549b7d3c7565ca14d1d126e37276.json
Use DOMHelper to extract URL protocol
packages/ember-htmlbars/lib/hooks/attribute.js
@@ -23,7 +23,7 @@ export default function attribute(env, morph, element, attrName, attrValue) { if (isStream(attrValue)) { throw new EmberError('Bound attributes are not yet supported in Ember.js'); } else { - var sanitizedValue = sanitizeAttributeValue(element, attrName, attrValue); + var sa...
true
Other
emberjs
ember.js
50bc8bedba68549b7d3c7565ca14d1d126e37276.json
Use DOMHelper to extract URL protocol
packages/ember-views/lib/system/sanitize_attribute_value.js
@@ -20,13 +20,9 @@ export var badAttributes = { 'background': true }; -export default function sanitizeAttributeValue(element, attribute, value) { +export default function sanitizeAttributeValue(dom, element, attribute, value) { var tagName; - if (!parsingNode) { - parsingNode = document.createElement('a...
true
Other
emberjs
ember.js
50bc8bedba68549b7d3c7565ca14d1d126e37276.json
Use DOMHelper to extract URL protocol
packages/ember-views/lib/views/view.js
@@ -1232,7 +1232,7 @@ var View = CoreView.extend({ // Determine the current value and add it to the render buffer // if necessary. attributeValue = get(this, property); - View.applyAttributeBindings(buffer, attributeName, attributeValue); + View.applyAttributeBindings(this.rende...
true
Other
emberjs
ember.js
50bc8bedba68549b7d3c7565ca14d1d126e37276.json
Use DOMHelper to extract URL protocol
packages/ember-views/tests/system/sanitize_attribute_value_test.js
@@ -1,9 +1,11 @@ import sanitizeAttributeValue from "ember-views/system/sanitize_attribute_value"; import { SafeString } from "ember-htmlbars/utils/string"; +import { DOMHelper } from "morph"; QUnit.module('ember-views: sanitizeAttributeValue(null, "href")'); var goodProtocols = ['https', 'http', 'ftp', 'tel', ...
true
Other
emberjs
ember.js
93ef88ff323bed9103a25df93cd35f8acf54e986.json
Register default container on fallback registry. This ensures that all registries will have a reference to the first container created that references them. This ensures that deprecated access to `lookup` and `lookupFactory` on the registry will be proxied to the first container created for a registry. This avoids br...
packages/container/lib/registry.js
@@ -143,14 +143,29 @@ Registry.prototype = { container: function(options) { var container = new Container(this, options); - // Allow deprecated access to the first child container's `lookup` and - // `lookupFactory` methods to avoid breaking compatibility for Ember 1.x - // initializers. + // 2.0T...
false
Other
emberjs
ember.js
c8ed6cb6ce96e6a53b8f7095896369442bbc66d9.json
Add test for disabling autoboot
packages/ember-application/tests/system/visit_test.js
@@ -0,0 +1,45 @@ +import run from "ember-metal/run_loop"; +import Application from "ember-application/system/application"; + +function createApplication() { + var app = Application.extend().create({ + autoboot: false + }); + + return app; +} + +if (Ember.FEATURES.isEnabled('ember-application-visit')) { + QUnit.m...
false
Other
emberjs
ember.js
1d08c84e5d8cada2a324a595e6159e57ddd0a6f1.json
Add feature flag for visit API
FEATURES.md
@@ -5,6 +5,14 @@ for a detailed explanation. ## Feature Flags +* `ember-application-visit` + + Provides an API for creating an application instance and specifying + an initial URL that it should route to. This is useful for testing + (you can have multiple instances of an app without having to run + serially a...
true
Other
emberjs
ember.js
1d08c84e5d8cada2a324a595e6159e57ddd0a6f1.json
Add feature flag for visit API
features.json
@@ -17,7 +17,8 @@ "ember-htmlbars-each-with-index": true, "ember-application-instance-initializers": null, "ember-application-initializer-context": null, - "ember-router-willtransition": true + "ember-router-willtransition": true, + "ember-application-visit": null }, "debugStatements": [ ...
true