This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 5 files changed +20
-8
lines changed
5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
+ html-imports.min. *
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ * Code distributed by Google as part of the polymer project is also
8
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ */
Original file line number Diff line number Diff line change 1
1
module . exports = function ( karma ) {
2
2
var common = require ( '../../tools/test/karma-common.conf.js' ) ;
3
- karma . configure ( common . mixin_common_opts ( karma , {
3
+ karma . set ( common . mixin_common_opts ( karma , {
4
4
// base path, that will be used to resolve files and exclude
5
5
basePath : '../../' ,
6
6
Original file line number Diff line number Diff line change 4
4
* license that can be found in the LICENSE file.
5
5
*/
6
6
module . exports = function ( grunt ) {
7
- HTMLComponents = grunt . file . readJSON ( 'build.json' ) ;
7
+ var readManifest = require ( '../tools/loader/readManifest.js' ) ;
8
+
9
+ HTMLComponents = readManifest ( 'build.json' ) ;
8
10
grunt . initConfig ( {
9
11
karma : {
10
12
options : {
@@ -22,7 +24,7 @@ module.exports = function(grunt) {
22
24
HTMLComponents : {
23
25
options : {
24
26
sourceMap : 'html-components.min.source-map.js' ,
25
- banner : grunt . file . read ( 'LICENSE ' )
27
+ banner : grunt . file . read ( 'banner.txt ' )
26
28
} ,
27
29
files : {
28
30
'html-imports.min.js' : HTMLComponents
Original file line number Diff line number Diff line change 3
3
"description" : " Polyfill for W3C HTMLImports Specification" ,
4
4
"version" : " 0.0.1" ,
5
5
"devDependencies" : {
6
- "mocha" : " *" ,
7
6
"chai" : " *" ,
8
7
"grunt" : " *" ,
9
8
"grunt-contrib-uglify" : " *" ,
10
9
"grunt-contrib-yuidoc" : " ~0.4.0" ,
11
10
"grunt-karma" : " *" ,
12
11
"karma" : " ~0.12.0" ,
13
- "karma-mocha " : " *" ,
14
- "karma-firefox-launcher" : " * " ,
12
+ "karma-crbot-reporter " : " *" ,
13
+ "karma-firefox-launcher" : " ^0.1.3 " ,
15
14
"karma-ie-launcher" : " *" ,
16
- "karma-safari-launcher" : " *" ,
15
+ "karma-mocha" : " *" ,
16
+ "karma-safari-launcher" : " *" ,
17
17
"karma-script-launcher" : " *" ,
18
- "karma-crbot-reporter " : " *"
18
+ "mocha " : " *"
19
19
}
20
20
}
You can’t perform that action at this time.
0 commit comments