Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5/14 master -> stable #134

Merged
merged 31 commits into from
May 15, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
df57c0f
remove karma-browserstack-launcher
May 9, 2013
56de7ff
whitespace
May 9, 2013
aad5c14
freshen platform and builds.
sorvell May 10, 2013
89ee0df
Merge branch 'master' of https://github.com/toolkitchen/toolkit
May 10, 2013
188796b
freshen
May 10, 2013
3eb6c9e
freshen
May 10, 2013
d306f03
s/send/fire (+ support send for now [deprecated]); return 'detail' fr…
May 11, 2013
3fef8ad
freshen
May 13, 2013
e525450
fix submodule path
dfreedm May 14, 2013
a198337
toolkit -> polymer
dfreedm May 14, 2013
0b8a4a7
Toolkit -> Polymer
dfreedm May 14, 2013
3229a57
clear out builds
dfreedm May 14, 2013
17fb92c
toolkit -> polymer
dfreedm May 14, 2013
2c1fdf5
Update README.md
ebidel May 14, 2013
3027460
polymer rename complete
dfreedm May 14, 2013
7fa92a5
Merge remote-tracking branch 'origin/master'
dfreedm May 14, 2013
5fc142b
fix merge conflicts
dfreedm May 14, 2013
09898ec
Update README.md
ebidel May 14, 2013
77daa91
freshen builds
frankiefu May 14, 2013
afc2511
fix path to polymer-project
dfreedm May 14, 2013
ccfe2f7
restart on platform module
dfreedm May 14, 2013
dc27eb0
fresh platform submodule
dfreedm May 14, 2013
df5793c
final naming fix
dfreedm May 14, 2013
3aec92c
isToolkitElement -> isPolymerElement
dfreedm May 14, 2013
8cd3d2e
fix submodule paths
dfreedm May 14, 2013
6b3d135
really fix attribution
dfreedm May 14, 2013
32abd39
submodule url fix
dfreedm May 14, 2013
d7477ce
submodule url fix
dfreedm May 14, 2013
75c8255
fix urls in README
dfreedm May 14, 2013
f831290
update paths
dfreedm May 14, 2013
8e2b510
Merge remote-tracking branch 'origin/stable'
dfreedm May 15, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[submodule "platform"]
path = platform
url = https://github.com/toolkitchen/platform.git
[submodule "buildbot"]
path = buildbot
url = https://github.com/toolkitchen/buildbot.git
url = https://github.com/Polymer/buildbot.git
[submodule "tools"]
path = tools
url = https://github.com/toolkitchen/tools.git
url = https://github.com/Polymer/tools.git
[submodule "platform"]
path = platform
url = https://github.com/Polymer/platform.git
branch = master
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Contributing

Want to contribute to the toolkit? Great!
Want to contribute to the polymer? Great!

We are more than happy to accept external contributions to the project in the form of [feedback](https://groups.google.com/forum/?fromgroups=#!forum/toolkitchen), [bug reports](/toolkitchen/toolkit/issues), and pull requests.
We are more than happy to accept external contributions to the project in the form of [feedback](https://groups.google.com/forum/?fromgroups=#!forum/polymer-dev), [bug reports](/polymer-project/polymer/issues), and pull requests.

## Contributor License Agreement

Expand All @@ -23,7 +23,7 @@ Here's an easy guide that should get you up and running:

1. Fork the project on github and pull down your copy.

git clone [email protected]:username/toolkit.git --recursive
git clone [email protected]:username/polymer.git --recursive

Note the `--recursive`. This is necessary for submodules to initialize properly. If you don't do a recursive clone, you'll have to init them manually:

Expand All @@ -40,8 +40,8 @@ That's it for the one time setup. Now you're ready to make a change.

We iterate fast! To avoid potential merge conflicts, it's a good idea to pull from the main project before making a change and submitting a pull request. The easiest way to do this is setup a remote called `upstream` and do a pull before working on a change:

cd toolkit
git remote add upstream git://github.com/toolkitchen/toolkit.git
cd polymer
git remote add upstream git://github.com/polymer-project/polymer.git

Then before making a change, do a pull from the upstream `master` branch:

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2012 The Toolkitchen Authors. All rights reserved.
// Copyright (c) 2012 The Polymer Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
Expand Down
12 changes: 6 additions & 6 deletions PATENTS
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Additional IP Rights Grant (Patents)

"This implementation" means the copyrightable works distributed by
Google as part of the Toolkitchen project.
Google as part of the Polymer project.

Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Toolkitchen, where such license applies only to those
implementation of Polymer, where such license applies only to those
patent claims, both currently owned or controlled by Google and acquired
in the future, licensable by Google that are necessarily infringed by
this implementation of Toolkitchen. This grant does not include claims
this implementation of Polymer. This grant does not include claims
that would be infringed only as a consequence of further modification of
this implementation. If you or your agent or exclusive licensee
institute or order or agree to the institution of patent litigation
against any entity (including a cross-claim or counterclaim in a
lawsuit) alleging that this implementation of Toolkitchen or any code
incorporated within this implementation of Toolkitchen constitutes
lawsuit) alleging that this implementation of Polymer or any code
incorporated within this implementation of Polymer constitutes
direct or contributory patent infringement, or inducement of patent
infringement, then any patent rights granted to you under this License
for this implementation of Toolkitchen shall terminate as of the date
for this implementation of Polymer shall terminate as of the date
such litigation is filed.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Polymer

Build Status: [http://build.chromium.org/p/client.toolkit/waterfall](http://build.chromium.org/p/client.toolkit/waterfall)
Build Status: [http://build.chromium.org/p/client.polymer/waterfall](http://build.chromium.org/p/client.polymer/waterfall)

## Brief Overview

For more detailed info goto [http://polymer-project.appspot.com/](http://polymer-project.appspot.com/).
For more detailed info goto [http://polymer-project.org/](http://polymer-project.org/).

The Polymer is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries.

Polymer is based on a set of future technologies, including [Shadow DOM](https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html), [Custom Elements](https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html) and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Polymer evacipates, leaving only the value-adds.

## Tools & Testing

For running tests or building minified files, consult the [tooling information](http://polymer-project.appspot.com/tooling-strategy.html).
For running tests or building minified files, consult the [tooling information](http://polymer-project.org/tooling-strategy.html).
2 changes: 1 addition & 1 deletion buildbot
3 changes: 1 addition & 2 deletions conf/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ files = [
'tools/test/mocha-htmltest.js',
'conf/mocha.conf.js',
'node_modules/chai/chai.js',
'toolkit.js',
'polymer.js',
'test/js/*.js',
{pattern: 'tools/**/*.js', included: false},
{pattern: 'platform/**/*', included: false},
Expand Down Expand Up @@ -84,7 +84,6 @@ preprocessors = {

plugins = [
'karma-mocha',
'karma-browserstack-launcher',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-script-launcher',
Expand Down
20 changes: 10 additions & 10 deletions gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 The Toolkitchen Authors. All rights reserved.
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
Expand All @@ -12,7 +12,7 @@ module.exports = function(grunt) {
'platform/platform.native.min.js'
];

Toolkit = [
Polymer = [
'src/lang.js',
'src/oop.js',
'src/register.js',
Expand Down Expand Up @@ -65,25 +65,25 @@ module.exports = function(grunt) {
reporters: ['crbot'],
logLevel: 'OFF'
},
toolkit: {
polymer: {
browsers: browsers
}
},
uglify: {
Toolkit: {
Polymer: {
options: {
sourceMap: 'toolkit.min.js.map'
sourceMap: 'polymer.min.js.map'
},
files: {
'toolkit.min.js': [].concat(Platform, Toolkit)
'polymer.min.js': [].concat(Platform, Polymer)
}
},
ToolkitNative: {
PolymerNative: {
options: {
sourceMap: 'toolkit.native.min.js.map'
sourceMap: 'polymer.native.min.js.map'
},
files: {
'toolkit.native.min.js': [].concat(PlatformNative, Toolkit)
'polymer.native.min.js': [].concat(PlatformNative, Polymer)
}
}
},
Expand Down Expand Up @@ -116,7 +116,7 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['uglify']);
grunt.registerTask('minify', ['uglify']);
grunt.registerTask('docs', ['yuidoc']);
grunt.registerTask('test', ['karma:toolkit']);
grunt.registerTask('test', ['karma:polymer']);
grunt.registerTask('test-buildbot', ['karma:buildbot']);
};

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Toolkit",
"name": "Polymer",
"version": "0.0.1",
"devDependencies": {
"mocha": "*",
Expand Down
2 changes: 1 addition & 1 deletion platform
8 changes: 4 additions & 4 deletions toolkit.js → polymer.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright 2013 The Toolkitchen Authors. All rights reserved.
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

/*
* Copyright 2013 The Toolkitchen Authors. All rights reserved.
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/

(function() {

var thisFile = 'toolkit.js';
var scopeName = 'Toolkit';
var thisFile = 'polymer.js';
var scopeName = 'Polymer';
var modules = [
'platform/platform.js',
'src/lang.js',
Expand Down
5 changes: 5 additions & 0 deletions polymer.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions polymer.min.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions polymer.native.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions polymer.native.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions smoke/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2013 The Toolkitchen Authors. All rights reserved.
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
Expand All @@ -8,7 +8,7 @@
<head>
<meta charset="UTF-8">
<title></title>
<script src="../toolkit.js"></script>
<script src="../polymer.js"></script>
<link rel="import" href="x-foo.html">
<link rel="import" href="x-bar.html">
<link rel="import" href="x-zot.html">
Expand Down
4 changes: 2 additions & 2 deletions smoke/x-bar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2013 The Toolkitchen Authors. All rights reserved.
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
Expand All @@ -8,7 +8,7 @@
<content></content>
</template>
<script>
Toolkit.register(this, {
Polymer.register(this, {
label: "tabula rasa",
ready: function() {
this.update();
Expand Down
4 changes: 2 additions & 2 deletions smoke/x-foo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2013 The Toolkitchen Authors. All rights reserved.
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
Expand All @@ -9,7 +9,7 @@
<x-bar label="{{label}}"></x-bar>
</template>
<script>
Toolkit.register(this, {
Polymer.register(this, {
label: '',
ready: function(root) {
this.textContent = 'cordon bleu';
Expand Down
4 changes: 2 additions & 2 deletions smoke/x-zot.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2013 The Toolkitchen Authors. All rights reserved.
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
Expand All @@ -8,7 +8,7 @@
<shadow></shadow>
</template>
<script>
Toolkit.register(this, {
Polymer.register(this, {
});
</script>
</element>
10 changes: 5 additions & 5 deletions src/attrs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 The Toolkitchen Authors. All rights reserved.
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
Expand All @@ -8,7 +8,7 @@

// imports

var bindPattern = Toolkit.bindPattern;
var bindPattern = Polymer.bindPattern;

// constants

Expand Down Expand Up @@ -128,8 +128,8 @@

// exports

Toolkit.takeAttributes = takeAttributes;
Toolkit.publishAttributes = publishAttributes;
Toolkit.propertyForAttribute = propertyForAttribute;
Polymer.takeAttributes = takeAttributes;
Polymer.publishAttributes = publishAttributes;
Polymer.propertyForAttribute = propertyForAttribute;

})();
19 changes: 12 additions & 7 deletions src/base.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013 The Toolkitchen Authors. All rights reserved.
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
Expand All @@ -12,16 +12,16 @@

var base = {
super: $super,
isToolkitElement: true,
isPolymerElement: true,
// MDV binding
bind: function() {
Toolkit.bind.apply(this, arguments);
Polymer.bind.apply(this, arguments);
},
unbind: function() {
Toolkit.unbind.apply(this, arguments);
Polymer.unbind.apply(this, arguments);
},
job: function() {
return Toolkit.job.apply(this, arguments);
return Polymer.job.apply(this, arguments);
},
asyncMethod: function(inMethod, inArgs, inTimeout) {
var args = (inArgs && inArgs.length) ? inArgs : [inArgs];
Expand All @@ -34,11 +34,12 @@
this[inMethodName].apply(this, inArguments);
}
},
send: function(inType, inDetail, inToNode) {
fire: function(inType, inDetail, inToNode) {
var node = inToNode || this;
log.events && console.log('[%s]: sending [%s]', node.localName, inType);
node.dispatchEvent(
new CustomEvent(inType, {bubbles: true, detail: inDetail}));
return inDetail;
},
asend: function(/*inType, inDetail*/) {
this.asyncMethod("send", arguments);
Expand All @@ -53,9 +54,13 @@
}
}
};

// TODO(sjmiles): backward-compat for deprecated syntax

base.send = base.fire;

// exports

scope.base = base;

})(window.Toolkit);
})(window.Polymer);
Loading