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 | 1b34a2a115fa7fbc65de37f867ab8e4db410c5d1.json | Use rsvp.js in Deferred mixin | packages/ember-runtime/lib/mixins/deferred.js | @@ -1,50 +1,12 @@
+require("rsvp");
+
/**
@module ember
@submodule ember-runtime
*/
-var get = Ember.get, set = Ember.set,
- slice = Array.prototype.slice,
- forEach = Ember.ArrayPolyfills.forEach;
-
-var Callbacks = function(target, once) {
- this.target = target;
- this.once = once || false;
- this.lis... | true |
Other | emberjs | ember.js | 1b34a2a115fa7fbc65de37f867ab8e4db410c5d1.json | Use rsvp.js in Deferred mixin | packages/ember-runtime/tests/mixins/deferred_test.js | @@ -123,43 +123,7 @@ test("can call resolve multiple times", function() {
}, 20);
});
-test("deferred has progress", function() {
-
- var deferred, count = 0;
-
- Ember.run(function() {
- deferred = Ember.Object.create(Ember.Deferred);
- });
-
- deferred.then(function() {}, function() {}, function() {
- ... | true |
Other | emberjs | ember.js | 1b34a2a115fa7fbc65de37f867ab8e4db410c5d1.json | Use rsvp.js in Deferred mixin | packages/rsvp/lib/main.js | @@ -0,0 +1,208 @@
+(function(exports) { "use strict";
+
+var browserGlobal = (typeof window !== 'undefined') ? window : {};
+
+var MutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;
+var async;
+
+if (typeof process !== 'undefined') {
+ async = function(callback, binding) {
+ ... | true |
Other | emberjs | ember.js | 1b34a2a115fa7fbc65de37f867ab8e4db410c5d1.json | Use rsvp.js in Deferred mixin | packages/rsvp/package.json | @@ -0,0 +1,29 @@
+{
+ "name": "rsvp",
+ "summary": "Promises-A implementation",
+ "description": "A lightweight library that provides tools for organizing asynchronous code",
+ "homepage": "https://github.com/tildeio/rsvp.js",
+ "authors": ["Yehuda Katz", "Tom Dale"],
+ "version": "1.0.0",
+
+ "dependencies": {
... | true |
Other | emberjs | ember.js | 134fc61b764ef5b464ab3ebef968716b7df5c50c.json | Add a basic instrumentation API | packages/ember-metal/lib/instrumentation.js | @@ -0,0 +1,133 @@
+/**
+ @class Ember.Instrumentation
+
+ The purpose of the Ember Instrumentation module is
+ to provide efficient, general-purpose instrumentation
+ for Ember.
+
+ Subscribe to a listener by using `Ember.subscribe`:
+
+ Ember.subscribe("render", {
+ before: function(name, timestamp, p... | true |
Other | emberjs | ember.js | 134fc61b764ef5b464ab3ebef968716b7df5c50c.json | Add a basic instrumentation API | packages/ember-metal/lib/main.js | @@ -5,6 +5,7 @@ Ember Metal
@submodule ember-metal
*/
+require('ember-metal/instrumentation');
require('ember-metal/core');
require('ember-metal/map');
require('ember-metal/platform'); | true |
Other | emberjs | ember.js | 134fc61b764ef5b464ab3ebef968716b7df5c50c.json | Add a basic instrumentation API | packages/ember-metal/tests/instrumentation_test.js | @@ -0,0 +1,139 @@
+var instrument = Ember.Instrumentation;
+
+module("Ember Instrumentation", {
+ setup: function() {
+
+ },
+ teardown: function() {
+ instrument.reset();
+ }
+});
+
+test("subscribing to a simple path receives the listener", function() {
+ expect(12);
+
+ var sentPayload = {}, count = 0;
+
+ ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-application/tests/system/application_test.js | @@ -70,16 +70,21 @@ test("you cannot make two default applications without a rootElement error", fun
});
test("acts like a namespace", function() {
- var app;
- Ember.run(function() {
- app = window.TestApp = Ember.Application.create({rootElement: '#two'});
- });
- app.Foo = Ember.Object.extend();
- equal(a... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/lib/ext.js | @@ -1,5 +1,3 @@
-/*globals Handlebars */
-
require("ember-views/system/render_buffer");
/**
@@ -9,8 +7,8 @@ require("ember-views/system/render_buffer");
var objectCreate = Ember.create;
-
-Ember.assert("Ember Handlebars requires Handlebars 1.0.beta.5 or greater", window.Handlebars && window.Handlebars.VERSION.... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/controls/button_test.js | @@ -2,8 +2,12 @@ var button, dispatcher;
var get = Ember.get, set = Ember.set;
+var originalLookup = Ember.lookup, lookup;
+
module("Ember.Button", {
setup: function() {
+ lookup = Ember.lookup = {};
+
Ember.TESTING_DEPRECATION = true;
dispatcher = Ember.EventDispatcher.create();
dispatcher.s... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/handlebars_test.js | @@ -62,6 +62,8 @@ var appendView = function() {
};
var additionalTeardown;
+var originalLookup = Ember.lookup, lookup;
+var TemplateTests;
/**
This module specifically tests integration with Handlebars and Ember-specific
@@ -72,7 +74,8 @@ var additionalTeardown;
*/
module("Ember.View - handlebars integratio... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/helpers/each_test.js | @@ -4,8 +4,12 @@ var templateFor = function(template) {
return Ember.Handlebars.compile(template);
};
+var originalLookup = Ember.lookup, lookup;
+
module("the #each helper", {
setup: function() {
+ Ember.lookup = lookup = { Ember: Ember };
+
template = templateFor("{{#each people}}{{name}}{{/each}}")... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/helpers/with_test.js | @@ -5,9 +5,12 @@ var appendView = function(view) {
};
var view;
+var originalLookup = Ember.lookup, lookup;
module("Handlebars {{#with}} helper", {
setup: function() {
+ Ember.lookup = lookup = { Ember: Ember };
+
view = Ember.View.create({
template: Ember.Handlebars.compile("{{#with person as ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/helpers/yield_test.js | @@ -1,12 +1,12 @@
-/*global TemplateTests*/
-
var set = Ember.set, get = Ember.get;
-var view;
+var originalLookup = Ember.lookup, lookup, TemplateTests, view;
module("Support for {{yield}} helper (#307)", {
setup: function() {
- window.TemplateTests = Ember.Namespace.create();
+ Ember.lookup = lookup = ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/loader_test.js | @@ -1,9 +1,12 @@
-/*global Tobias:true*/
+var originalLookup = Ember.lookup, lookup, Tobias;
module("test Ember.Handlebars.bootstrap", {
+ setup: function() {
+ Ember.lookup = lookup = { Ember: Ember };
+ },
teardown: function() {
Ember.TEMPLATES = {};
- window.Tobias = undefined;
+ Ember.lookup =... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-handlebars/tests/views/collection_view_test.js | @@ -9,11 +9,12 @@ var nthChild = function(view, nth) {
};
var firstChild = nthChild;
-var view;
+var originalLookup = Ember.lookup, lookup, TemplateTests, view;
module("ember-handlebars/tests/views/collection_view_test", {
setup: function() {
- window.TemplateTests = Ember.Namespace.create();
+ Ember.lo... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/lib/accessors.js | @@ -177,10 +177,10 @@ function normalizeTuple(target, path) {
isGlobal = !hasThis && IS_GLOBAL_PATH.test(path),
key;
- if (!target || isGlobal) target = window;
+ if (!target || isGlobal) target = Ember.lookup;
if (hasThis) path = path.slice(5);
- if (target === window) {
+ if (target === Ember... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/lib/binding.js | @@ -32,7 +32,7 @@ var get = Ember.get,
function getWithGlobals(obj, path) {
- return get(isGlobalPath(path) ? window : obj, path);
+ return get(isGlobalPath(path) ? Ember.lookup : obj, path);
}
// ..........................................................
@@ -243,7 +243,7 @@ Binding.prototype = {
... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/lib/core.js | @@ -32,10 +32,13 @@ if ('undefined' === typeof Ember) {
Ember = {};
}
+// Default imports, exports and lookup to the global object;
+var imports = Ember.imports = Ember.imports || this;
+var exports = Ember.exports = Ember.exports || this;
+var lookup = Ember.lookup = Ember.lookup || this;
+
// aliases needed... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/lib/mixin.js | @@ -477,21 +477,21 @@ function processNames(paths, root, seen) {
}
function findNamespaces() {
- var Namespace = Ember.Namespace, obj, isNamespace;
+ var Namespace = Ember.Namespace, lookup = Ember.lookup, obj, isNamespace;
if (Namespace.PROCESSED) { return; }
- for (var prop in window) {
+ for (var prop... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/tests/accessors/setPath_test.js | @@ -1,4 +1,4 @@
-/*globals Foo:true $foo:true */
+var originalLookup = Ember.lookup;
var obj, moduleOpts = {
setup: function() {
@@ -11,33 +11,34 @@ var obj, moduleOpts = {
};
- Foo = {
- bar: {
- baz: { biff: 'FooBiff' }
- }
- };
+ Ember.lookup = {
+ Foo: {
+ bar: {... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/tests/observer_test.js | @@ -537,6 +537,7 @@ testBoth('addBeforeObserver should respect targets with methods', function(get,s
//
var obj, count;
+var originalLookup = Ember.lookup, lookup;
module('Ember.addObserver - dependentkey with chained properties', {
setup: function() {
@@ -550,11 +551,13 @@ module('Ember.addObserver - depende... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-metal/tests/utils/meta_test.js | @@ -41,7 +41,7 @@ module("Ember.meta enumerable");
// Tests fix for https://github.com/emberjs/ember.js/issues/344
// This is primarily for older browsers such as IE8
if (Ember.platform.defineProperty.isSimulated) {
- if (window.jQuery) {
+ if (Ember.imports.jQuery) {
test("meta is not jQuery.isPlainObject", ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-routing/lib/routable.js | @@ -222,7 +222,7 @@ Ember.Routable = Ember.Mixin.create({
var modelType = get(this, 'modelType');
if (typeof modelType === 'string') {
- return Ember.get(window, modelType);
+ return Ember.get(Ember.lookup, modelType);
} else {
return modelType;
} | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-routing/lib/router.js | @@ -576,7 +576,26 @@ Ember.Router = Ember.StateManager.extend(
}).start();
},
+ moveStatesIntoRoot: function() {
+ this.root = Ember.Route.extend();
+
+ for (var name in this) {
+ if (name === "constructor") { continue; }
+
+ var state = this[name];
+
+ if (state instanceof Ember.Route |... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-routing/tests/routable_test.js | @@ -1,3 +1,5 @@
+var originalLookup = Ember.lookup, lookup, TestApp;
+
module("Ember.Routable");
test("it should have its updateRoute method called when it is entered", function() {
@@ -272,19 +274,21 @@ var url, firstPost, firstUser;
module("default serialize and deserialize with modelType", {
setup: functio... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/lib/mixins/target_action_support.js | @@ -19,7 +19,7 @@ Ember.TargetActionSupport = Ember.Mixin.create({
if (Ember.typeOf(target) === "string") {
var value = get(this, target);
- if (value === undefined) { value = get(window, target); }
+ if (value === undefined) { value = get(Ember.lookup, target); }
return value;
} els... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/lib/system/namespace.js | @@ -37,7 +37,7 @@ Ember.Namespace = Ember.Object.extend({
destroy: function() {
var namespaces = Ember.Namespace.NAMESPACES;
- window[this.toString()] = undefined;
+ Ember.lookup[this.toString()] = undefined;
namespaces.splice(indexOf.call(namespaces, this), 1);
this._super();
} | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/core/isArray_test.js | @@ -1,5 +1,7 @@
module("Ember Type Checking");
+var global = this;
+
test("Ember.isArray" ,function(){
var numarray = [1,2,3],
number = 23,
@@ -15,6 +17,6 @@ test("Ember.isArray" ,function(){
equal( Ember.isArray(string), false, '"Hello"' );
equal( Ember.isArray(object), false, "{}" ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/legacy_1x/mixins/observable/observable_test.js | @@ -32,6 +32,7 @@ var forEach = Ember.EnumerableUtils.forEach;
var object, ObjectC, ObjectD, objectA, objectB ;
var ObservableObject = Ember.Object.extend(Ember.Observable);
+var originalLookup = Ember.lookup, lookup;
// ..........................................................
// GET()
@@ -167,20 +168,24 @@ t... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/mixins/target_action_support_test.js | @@ -1,6 +1,15 @@
/*global Test:true*/
-module("Ember.TargetActionSupport");
+var originalLookup;
+
+module("Ember.TargetActionSupport", {
+ setup: function() {
+ originalLookup = Ember.lookup;
+ },
+ teardown: function() {
+ Ember.lookup = originalLookup;
+ }
+});
test("it should return false if no targ... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/suites/enumerable/forEach.js | @@ -1,6 +1,6 @@
require('ember-runtime/~tests/suites/enumerable');
-var suite = Ember.EnumerableTests;
+var suite = Ember.EnumerableTests, global = this;
suite.module('forEach');
@@ -38,9 +38,8 @@ suite.test('forEach should iterate over list after mutation', function() {
suite.test('2nd target parameter', func... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/suites/enumerable/map.js | @@ -1,6 +1,6 @@
require('ember-runtime/~tests/suites/enumerable');
-var suite = Ember.EnumerableTests;
+var suite = Ember.EnumerableTests, global = this;
suite.module('map');
@@ -40,7 +40,7 @@ suite.test('2nd target parameter', function() {
obj.map(function() {
- equal(Ember.guidFor(this), Ember.guidF... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-runtime/tests/system/namespace/base_test.js | @@ -2,22 +2,27 @@
// Project: Ember Runtime
// ==========================================================================
-var get = Ember.get;
+var get = Ember.get, originalLookup = Ember.lookup, lookup;
module('Ember.Namespace', {
+ setup: function() {
+ lookup = Ember.lookup = {};
+ },
teardown: func... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/lib/core.js | @@ -3,12 +3,13 @@
@submodule ember-views
*/
-Ember.assert("Ember Views require jQuery 1.7 or 1.8", window.jQuery && (window.jQuery().jquery.match(/^1\.[78](\.\d+)?(pre|rc\d?)?/) || Ember.ENV.FORCE_JQUERY));
+var jQuery = Ember.imports.jQuery;
+Ember.assert("Ember Views require jQuery 1.7 or 1.8", jQuery && (jQuery(... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/lib/views/view.js | @@ -1189,7 +1189,7 @@ Ember.View = Ember.Object.extend(Ember.Evented,
var val = get(this, path);
if (val === undefined && Ember.isGlobalPath(path)) {
- val = get(window, path);
+ val = get(Ember.lookup, path);
}
return Ember.View._classStringForValue(path, val, parsedPath.className, pa... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/tests/system/controller_test.js | @@ -1,9 +1,11 @@
-/*globals TestApp*/
+var originalLookup = Ember.lookup, TestApp, lookup;
module("Ember.Controller#connectOutlet", {
setup: function() {
+ lookup = Ember.lookup = {};
+
Ember.run(function () {
- window.TestApp = Ember.Application.create();
+ lookup.TestApp = TestApp = Ember.Appl... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/tests/views/view/attribute_bindings_test.js | @@ -1,20 +1,24 @@
/*global Test:true*/
var set = Ember.set, get = Ember.get;
-var view;
+var originalLookup = Ember.lookup, lookup, view;
var appendView = function() {
Ember.run(function() { view.appendTo('#qunit-fixture'); });
};
module("Ember.View - Attribute Bindings", {
+ setup: function() {
+ Emb... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/tests/views/view/init_test.js | @@ -1,22 +1,31 @@
/*global TestApp:true*/
var set = Ember.set, get = Ember.get;
-module("Ember.View.create");
+var originalLookup = Ember.lookup, lookup;
+
+module("Ember.View.create", {
+ setup: function() {
+ Ember.lookup = lookup = {};
+ },
+ teardown: function() {
+ Ember.lookup = originalLookup;
+ }
... | true |
Other | emberjs | ember.js | 305202fa51aca55ce1ff935aa9fb8ebe3da4a0d4.json | Remove dependency on `window` throughout Ember
Previously, Ember used the `window` object for
three concerns:
* `imports`: libraries that Ember requires in
order to work, such as `jQuery`, `Handlebars`,
and `Metamorph`
* `exports`: the variables that Ember itself
exports (`Ember` and `Em`)
* `lookup`: the globa... | packages/ember-views/tests/views/view/view_lifecycle_test.js | @@ -1,10 +1,10 @@
/*global ViewTest:true*/
-var view;
+var originalLookup = Ember.lookup, lookup, view;
module("views/view/view_lifecycle_test - pre-render", {
setup: function() {
-
+ Ember.lookup = lookup = {};
},
teardown: function() {
@@ -13,6 +13,7 @@ module("views/view/view_lifecycle_test - pre... | true |
Other | emberjs | ember.js | 833e2367dce711d0b78aa754137f05c438f6dab0.json | Fix failing example in Ember.Select docs | packages/ember-handlebars/lib/controls/select.js | @@ -26,11 +26,11 @@ var indexOf = Ember.EnumerableUtils.indexOf, indexesOf = Ember.EnumerableUtils.i
Example:
``` javascript
- App.Names = ["Yehuda", "Tom"];
+ App.names = ["Yehuda", "Tom"];
```
``` handlebars
- {{view Ember.Select contentBinding="App.Names"}}
+ {{view Ember.Select contentBinding="A... | false |
Other | emberjs | ember.js | 3df8cb4bde6fec21ed4c646084bed75eaad86027.json | Use connectOutlet in {{outlet}} documentation | packages/ember-handlebars/lib/helpers/outlet.js | @@ -15,27 +15,29 @@ Ember.Handlebars.OutletView = Ember.ContainerView.extend(Ember._Metamorph);
{{outlet}}
```
- By default, when the the current controller's `view`
- property changes, the outlet will replace its current
- view with the new view.
+ By default, when the the current controller's `view` prope... | false |
Other | emberjs | ember.js | 0c0b720c92518a5083fba7693d449ac41836e8b6.json | Update instructions for building API docs - Fixes #1398 | README.md | @@ -149,13 +149,17 @@ See <http://emberjs.com/> for annotated introductory documentation.
## Preview API documenation
-* run `rake docs:preview`
+* Clone https://github.com/emberjs/website.git at the same level as the
+ main Ember repo.
-* The `docs:preview` task will build the documentation and make it availab... | false |
Other | emberjs | ember.js | a2fee026a5e38522b4ec8e858d13c4c4a825be8a.json | Allow operation with handlebars runtime only | packages/ember-handlebars/lib/ext.js | @@ -43,7 +43,12 @@ Ember.Handlebars.helpers = objectCreate(Handlebars.helpers);
@constructor
*/
Ember.Handlebars.Compiler = function() {};
-Ember.Handlebars.Compiler.prototype = objectCreate(Handlebars.Compiler.prototype);
+
+// Handlebars.Compiler doesn't exist in runtime-only
+if (Handlebars.Compiler) {
+ Ember... | false |
Other | emberjs | ember.js | 0a3adbe6ad46a9bf8a9592d210055a7d0065e48a.json | Fix comments for Ember.View.context | packages/ember-views/lib/views/view.js | @@ -700,8 +700,8 @@ Ember.View = Ember.Object.extend(Ember.Evented,
The context of a view is looked up as follows:
- 1. Specified controller
- 2. Supplied context (usually by Handlebars)
+ 1. Supplied context (usually by Handlebars)
+ 2. Specified controller
3. `parentView`'s context (for a ch... | false |
Other | emberjs | ember.js | bb149dcbb7df91866fce10e6dbec78c3e439d0ee.json | Remove support for inline anonymous templates.
Default a template without a name to application. | packages/ember-handlebars/lib/loader.js | @@ -39,49 +39,14 @@ Ember.Handlebars.bootstrap = function(ctx) {
// Get the name of the script, used by Ember.View's templateName property.
// First look for data-template-name attribute, then fall back to its
// id if no name is found.
- templateName = script.attr('data-template-name') || scr... | true |
Other | emberjs | ember.js | bb149dcbb7df91866fce10e6dbec78c3e439d0ee.json | Remove support for inline anonymous templates.
Default a template without a name to application. | packages/ember-handlebars/tests/loader_test.js | @@ -7,69 +7,45 @@ module("test Ember.Handlebars.bootstrap", {
}
});
-test('template with data-template-name should add a new template to Ember.TEMPLATES', function() {
- Ember.$('#qunit-fixture').html('<script type="text/x-handlebars" data-template-name="funkyTemplate" >{{Tobias.firstName}} {{Tobias.lastName}}</... | true |
Other | emberjs | ember.js | b6159885e88c842922e53395e531f5220327c3f8.json | Extract createRouter from Application#initialize | packages/ember-application/lib/system/application.js | @@ -315,22 +315,7 @@ Ember.Application = Ember.Namespace.extend(
@param router {Ember.Router}
*/
initialize: function(router) {
- if (!router && Ember.Router.detect(this.Router)) {
- router = this.Router.create();
- this._createdRouter = router;
- }
-
- if (router) {
- set(this, 'rout... | false |
Other | emberjs | ember.js | 41e2f8042f483f06ecd3bdc44ffbf1a140c52419.json | Extract runInjections from Application#initialize
This also runs the injections on the newly created router property,
because we collect the keys after adding the router. But this shouldn't
do any harm. | packages/ember-application/lib/system/application.js | @@ -315,9 +315,6 @@ Ember.Application = Ember.Namespace.extend(
@param router {Ember.Router}
*/
initialize: function(router) {
- var injections = get(this.constructor, 'injections'),
- namespace = this;
-
if (!router && Ember.Router.detect(this.Router)) {
router = this.Router.create();
... | false |
Other | emberjs | ember.js | 20cab0721d99214c468abe9fbd187344663f8007.json | Simplify syntax so we can extract more easily | packages/ember-application/lib/system/application.js | @@ -318,8 +318,8 @@ Ember.Application = Ember.Namespace.extend(
var injections = get(this.constructor, 'injections'),
namespace = this;
- if (!router && Ember.Router.detect(namespace['Router'])) {
- router = namespace['Router'].create();
+ if (!router && Ember.Router.detect(this.Router)) {
+ ... | false |
Other | emberjs | ember.js | a2cd03b0f219142c52f291de7a439931d83ffaa3.json | Add hooks to containerView.
It helps in some cases where we need to implement some special behavior
on outlet connection.
We add four new methods to containerView :
`presentCurrentView` and `dismissCurrentView`
`appendCurrentView` and `removeCurrentView`
In cases where we need some special handeling like animations y... | packages/ember-views/lib/views/container_view.js | @@ -230,6 +230,45 @@ var childViewsProperty = Ember.computed(function() {
{{view Ember.ContainerView currentViewBinding="App.appController.view"}}
```
+ ## Use lifecycle hooks
+
+ This is an example of how you could implement reusable currentView view.
+
+ ``` javascript
+ App.ContainerView = Ember.Containe... | true |
Other | emberjs | ember.js | a2cd03b0f219142c52f291de7a439931d83ffaa3.json | Add hooks to containerView.
It helps in some cases where we need to implement some special behavior
on outlet connection.
We add four new methods to containerView :
`presentCurrentView` and `dismissCurrentView`
`appendCurrentView` and `removeCurrentView`
In cases where we need some special handeling like animations y... | packages/ember-views/tests/views/container_view_test.js | @@ -494,3 +494,53 @@ test("should invalidate `element` on itself and childViews when being rendered b
ok(!!container.get('element'), "Parent's element should have been recomputed after being rendered");
ok(!!view.get('element'), "Child's element should have been recomputed after being rendered");
});
+
+test("sh... | true |
Other | emberjs | ember.js | 85cc66ac39baccb4b33af824d67ebf41008db9cb.json | Remove unused variable | packages/ember-views/lib/views/view.js | @@ -711,7 +711,7 @@ Ember.View = Ember.Object.extend(Ember.Evented,
@property _context
*/
_context: Ember.computed(function(key, value) {
- var parentView, controller, context;
+ var parentView, controller;
if (arguments.length === 2) {
return value; | false |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | LICENSE | @@ -1,4 +1,4 @@
-Copyright (c) 2011 Yehuda Katz, Tom Dale, Charles Jolley and Ember.js contributors
+Copyright (c) 2012 Yehuda Katz, Tom Dale, Charles Jolley and Ember.js contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (th... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | generators/license.js | @@ -3,5 +3,6 @@
// Copyright: ©2011-2012 Tilde Inc. and contributors
// Portions ©2006-2011 Strobe Inc.
// Portions ©2008-2011 Apple Inc. All rights reserved.
-// License: Licensed under MIT license (see license.js)
+// License: Licensed under MIT license
+// See https://raw.gith... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-application/lib/system/application.js | @@ -1,10 +1,3 @@
-// ==========================================================================
-// Project: Ember - JavaScript Application Framework
-// Copyright: ©2006-2011 Strobe Inc. and contributors.
-// Portions ©2008-2011 Apple Inc. All rights reserved.
-// License: Licensed under MIT license (se... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-application/tests/system/application_test.js | @@ -1,10 +1,3 @@
-// ==========================================================================
-// Project: Ember - JavaScript Application Framework
-// Copyright: ©2006-2011 Strobe Inc. and contributors.
-// Portions ©2008-2011 Apple Inc. All rights reserved.
-// License: Licensed under MIT license (se... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls/button.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls/checkbox.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls/text_area.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls/text_field.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/controls/text_support.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/ext.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers/binding.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers/collection.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers/debug.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers/unbound.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/helpers/view.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/loader.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/main.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/views.js | @@ -1,8 +1,2 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/lib/views/handlebars_bound_view.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/controls/button_test.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/controls/checkbox_test.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/controls/text_area_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/controls/text_field_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/handlebars_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/helpers/yield_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-handlebars/tests/views/collection_view_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Handlebars Views
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// =========================================================================... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/accessors.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/binding.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
requi... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/computed.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/core.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
/*globals... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/events.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/main.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
/**
Em... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/mixin.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
requi... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/observer.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/platform.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
/*globals... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/properties.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/run_loop.js | @@ -1,10 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2006-2011 Strobe Inc. and contributors.
-// Portions ©2008-2010 Apple Inc. All rights reserved.
-// License: Licensed under MIT license (see license.js)
-// ==========... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/utils.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/lib/watching.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Metal
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
require... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/getPath_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
/*globa... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/get_test.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
requi... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/isGlobalPath_test.js | @@ -1,9 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
modul... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/normalizeTuple_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
/*globa... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/setPath_test.js | @@ -1,8 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
/*globa... | true |
Other | emberjs | ember.js | b2470d9d824d7251307749cade58593f41760e31.json | Remove duplicate licenses, update copyright year | packages/ember-metal/tests/accessors/set_test.js | @@ -1,10 +1,3 @@
-// ==========================================================================
-// Project: Ember Runtime
-// Copyright: ©2011 Strobe Inc. and contributors.
-// License: Licensed under MIT license (see license.js)
-// ==========================================================================
-
-
mo... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.