Merge pull request #145 from pdehaan/develop-copyrightz

adding missing copyrights and excluding the bower_components directory
This commit is contained in:
Nick Chapman 2013-12-12 15:30:57 -08:00
Родитель 5fc84170c9 3bf2ea3184
Коммит 582bca2559
4 изменённых файлов: 20 добавлений и 2 удалений

Просмотреть файл

@ -14,6 +14,8 @@ module.exports = function (grunt) {
}, },
src: [ src: [
'**/*.js', '**/*.js',
'!<%= yeoman.app %>/bower_components/**',
'!<%= yeoman.dist %>/**',
'!node_modules/**' '!node_modules/**'
] ]
} }

Просмотреть файл

Просмотреть файл

@ -1,9 +1,17 @@
#!/usr/bin/env node
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
define([ define([
'intern!object', 'intern!object',
'intern/chai!assert', 'intern/chai!assert',
'require', 'require',
'intern/dojo/node!picl-gherkin' 'intern/dojo/node!picl-gherkin'
], function (registerSuite, assert, require, fxaClient) { ], function (registerSuite, assert, require, fxaClient) {
'use strict';
var url = 'http://localhost:3030/signin'; var url = 'http://localhost:3030/signin';
var password = 'password'; var password = 'password';
var email; var email;
@ -42,7 +50,7 @@ define([
.then(function (resultText) { .then(function (resultText) {
assert.ok(resultText.match(/^Congratulations,/), 'No errors in sign in'); assert.ok(resultText.match(/^Congratulations,/), 'No errors in sign in');
}) })
.end() .end();
} }
}); });
}); });

Просмотреть файл

@ -1,8 +1,16 @@
#!/usr/bin/env node
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
define([ define([
'intern!object', 'intern!object',
'intern/chai!assert', 'intern/chai!assert',
'require' 'require'
], function (registerSuite, assert, require) { ], function (registerSuite, assert, require) {
'use strict';
var url = 'http://localhost:3030/signup'; var url = 'http://localhost:3030/signup';
registerSuite({ registerSuite({
@ -36,7 +44,7 @@ define([
.then(function (resultText) { .then(function (resultText) {
assert.ok(resultText.match(/^Confirm Your Account/), 'No errors in account creation'); assert.ok(resultText.match(/^Confirm Your Account/), 'No errors in account creation');
}) })
.end() .end();
} }
}); });
}); });