Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
remove tools submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Sep 13, 2013
1 parent 2c98d41 commit a65fd2c
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 20 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

16 changes: 8 additions & 8 deletions conf/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module.exports = function(karma) {
var common = require('../tools/test/karma-common.conf.js');
var common = require('../../tools/test/karma-common.conf.js');
karma.configure(common.mixin_common_opts(karma, {
// base path, that will be used to resolve files and exclude
basePath: '../',
basePath: '../../',

// list of files / patterns to load in the browser
files: [
'tools/test/mocha-htmltest.js',
'conf/mocha.conf.js',
'node_modules/chai/chai.js',
'test/js/*.js',
'html-imports.js',
'HTMLImports/conf/mocha.conf.js',
'HTMLImports/node_modules/chai/chai.js',
'HTMLImports/test/js/*.js',
'HTMLImports/html-imports.js',
{pattern: 'tools/**/*.js', included: false},
{pattern: 'src/*', included: false},
{pattern: 'test/**/*', included: false}
{pattern: 'HTMLImports/src/*', included: false},
{pattern: 'HTMLImports/test/**/*', included: false}
],
}));
};
2 changes: 1 addition & 1 deletion conf/mocha.conf.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mocha.setup({ui:'tdd',htmlbase:'/base/test/'});
mocha.setup({ui:'tdd',htmlbase:'/base/HTMLImports/test/'});
2 changes: 1 addition & 1 deletion html-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var src = script.attributes.src.value;
var basePath = src.slice(0, src.indexOf(thisFile));

if (!window.PolymerLoader) {
var path = basePath + 'tools/loader/loader.js';
var path = basePath + '../tools/loader/loader.js';
document.write('<script src="' + path + '"></script>');
}
document.write('<script>PolymerLoader.load("' + scopeName + '")</script>');
Expand Down
2 changes: 1 addition & 1 deletion test/html/HTMLImports.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>HTML Imports Test</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../html-imports.js"></script>
<link rel="import" href="imports/import-1.html">
Expand Down
2 changes: 1 addition & 1 deletion test/html/parser.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>parser Test</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../html-imports.js"></script>
<link rel="import" href="imports/parsed-import-1.html">
Expand Down
2 changes: 1 addition & 1 deletion test/html/path.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>HTMLImports Path Tests</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../html-imports.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion test/html/style-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>Style Links Test</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../html-imports.js"></script>
<link rel="import" href="imports/style-links.html">
Expand Down
2 changes: 1 addition & 1 deletion test/html/template-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>template script test</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../html-imports.js"></script>
<link rel="import" href="imports/template-import.html">
Expand Down
2 changes: 1 addition & 1 deletion test/runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script src="../tools/test/mocha-htmltest.js"></script>
<script src="../../tools/test/mocha-htmltest.js"></script>
<script src="../html-imports.js"></script>
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion tools
Submodule tools deleted from 93f21a

0 comments on commit a65fd2c

Please sign in to comment.