-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ready-if-defaultView
- Loading branch information
Showing
42 changed files
with
495 additions
and
378 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,21 +21,29 @@ Other projects require a similar agreement: jQuery, Firefox, Apache, Node, and m | |
|
||
Here's an easy guide that should get you up and running: | ||
|
||
1. Setup Grunt: `sudo npm install -g grunt-cli` | ||
1. Fork the project on github and pull down your copy. | ||
> replace the {{ username }} with your username and {{ repository }} with the repository name | ||
git clone [email protected]:{{ username }}/{{ repository }}.git -b master --recursive | ||
git clone [email protected]:{{ username }}/{{ repository }}.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: | ||
|
||
git submodule init | ||
git submodule update | ||
|
||
Adding `-b master` is a shorthand to checkout the `master` branch. If you include it, skip step 2. | ||
Download and run the `pull-all.sh` script to install the sibling dependencies. | ||
|
||
2. Development happens on the `master` branch. Get yourself on it! | ||
git clone git://github.com/Polymer/tools.git && tools/bin/pull-all.sh | ||
|
||
git checkout master | ||
1. Test your change | ||
> in the repo you've made changes to, run the tests: | ||
cd $REPO | ||
npm install | ||
grunt test | ||
|
||
1. Commit your code and make a pull request. | ||
|
||
That's it for the one time setup. Now you're ready to make a change. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,47 @@ | ||
module.exports = function(karma) { | ||
var common = require('../tools/test/karma-common.conf.js'); | ||
var common = require('../../tools/test/karma-common.conf.js'); | ||
karma.set(common.mixin_common_opts(karma, { | ||
// base path, that will be used to resolve files and exclude | ||
basePath: '../../', | ||
|
||
// list of files / patterns to load in the browser | ||
files: [ | ||
'polymer/tools/test/mocha-htmltest.js', | ||
'tools/test/mocha-htmltest.js', | ||
'polymer/conf/mocha.conf.js', | ||
'polymer/node_modules/chai/chai.js', | ||
'polymer/polymer.js', | ||
'polymer/test/js/*.js', | ||
{pattern: 'platform/*.js', included: false}, | ||
{pattern: 'platform/tools/**/*.js', included: false}, | ||
{pattern: 'platform/platform.*', included: false}, | ||
{pattern: 'platform/test/**/*.html', included: false}, | ||
{pattern: 'platform/test/**/*.js', included: false}, | ||
{pattern: 'platform/src/*.js', included: false}, | ||
{pattern: 'CustomElements/custom-elements.js', included: false}, | ||
{pattern: 'CustomElements/MutationObservers/*.js', included: false}, | ||
{pattern: 'CustomElements/custom-elements.js', included: false}, | ||
{pattern: 'CustomElements/src/*.js', included: false}, | ||
{pattern: 'HTMLImports/html-imports.js', included: false}, | ||
{pattern: 'HTMLImports/src/*', included: false}, | ||
{pattern: 'NodeBind/src/*.js', included: false}, | ||
{pattern: 'PointerEvents/pointerevents.js', included: false}, | ||
{pattern: 'PointerEvents/src/*.js', included: false}, | ||
{pattern: 'PointerGestures/pointergestures.js', included: false}, | ||
{pattern: 'PointerGestures/src/*.js', included: false}, | ||
{pattern: 'ShadowDOM/shadowdom.js', included: false}, | ||
{pattern: 'ShadowDOM/src/**/*.js', included: false}, | ||
{pattern: 'observe-js/src/*.js', included: false}, | ||
{pattern: 'observe-js/util/*.js', included: false}, | ||
{pattern: 'NodeBind/src/*.js', included: false}, | ||
{pattern: 'TemplateBinding/load.js', included: false}, | ||
{pattern: 'TemplateBinding/src/*.js', included: false}, | ||
{pattern: 'TemplateBinding/src/*.css', included: false}, | ||
{pattern: 'TemplateBinding/src/*.js', included: false}, | ||
{pattern: 'WeakMap/weakmap.js', included: false}, | ||
{pattern: 'observe-js/src/*.js', included: false}, | ||
{pattern: 'observe-js/util/*.js', included: false}, | ||
{pattern: 'platform/*.js', included: false}, | ||
{pattern: 'platform/platform.*', included: false}, | ||
{pattern: 'platform/src/*.js', included: false}, | ||
{pattern: 'platform/test/**/*.html', included: false}, | ||
{pattern: 'platform/test/**/*.js', included: false}, | ||
{pattern: 'platform/tools/**/*.js', included: false}, | ||
{pattern: 'polymer-expressions/src/*.js', included: false}, | ||
{pattern: 'polymer-expressions/third_party/**/*.js', included: false}, | ||
{pattern: 'PointerEvents/pointerevents.js', included: false}, | ||
{pattern: 'PointerEvents/src/*.js', included: false}, | ||
{pattern: 'PointerGestures/pointergestures.js', included: false}, | ||
{pattern: 'PointerGestures/src/*.js', included: false}, | ||
{pattern: 'polymer/tools/**/*.js', included: false}, | ||
{pattern: 'polymer/src/**/*.js', included: false}, | ||
{pattern: 'polymer/test/**/*.html', included: false}, | ||
{pattern: 'polymer/test/**/*.css', included: false}, | ||
{pattern: 'polymer/test/**/*.js', included: false} | ||
{pattern: 'polymer/test/**/*.html', included: false}, | ||
{pattern: 'polymer/test/**/*.js', included: false}, | ||
{pattern: 'tools/**/*.js', included: false} | ||
] | ||
})); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.