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 182e020 commit c26a6ca
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "MutationObservers"]
path = MutationObservers
url = https://github.com/Polymer/MutationObservers.git
[submodule "tools"]
path = tools
url = https://github.com/Polymer/tools.git
18 changes: 9 additions & 9 deletions conf/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
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: '../',
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',
'custom-elements.js',
'test/js/*.js',
{pattern: 'src/*', included: false},
{pattern: 'MutationObservers/*.js', included: false},
{pattern: 'test/html/*.html', included: false},
'CustomElements/conf/mocha.conf.js',
'CustomElements/node_modules/chai/chai.js',
'CustomElements/custom-elements.js',
'CustomElements/test/js/*.js',
{pattern: 'CustomElements/src/*', included: false},
{pattern: 'CustomElements/MutationObservers/*.js', included: false},
{pattern: 'CustomElements/test/html/*.html', included: false},
{pattern: 'tools/**/*.js', included: false}
]
}));
Expand Down
2 changes: 1 addition & 1 deletion conf/mocha.conf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mocha.setup({
ui:'tdd',
htmlbase: '/base/test/'
htmlbase: '/base/CustomElements/test/'
});
2 changes: 1 addition & 1 deletion custom-elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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 gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function(grunt) {
outdir: 'docs',
linkNatives: 'true',
tabtospace: 2,
themedir: 'tools/doc/themes/polymerase'
themedir: '../tools/doc/themes/polymerase'
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions test/html/attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>HTML Imports Test</title>
<script src="../../tools/test/htmltest.js"></script>
<script src="../../tools/test/chai/chai.js"></script>
<script src="../../../tools/test/htmltest.js"></script>
<script src="../../../tools/test/chai/chai.js"></script>
<script src="../../custom-elements.js"></script>
</head>
<body>
Expand Down
8 changes: 4 additions & 4 deletions test/runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<head>
<title>Test: Custom Elements</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="../tools/test/mocha/mocha.css" />
<script src="../tools/test/mocha/mocha.js"></script>
<script src="../tools/test/chai/chai.js"></script>
<script src="../tools/test/mocha-htmltest.js"></script>
<link rel="stylesheet" href="../../tools/test/mocha/mocha.css" />
<script src="../../tools/test/mocha/mocha.js"></script>
<script src="../../tools/test/chai/chai.js"></script>
<script src="../../tools/test/mocha-htmltest.js"></script>
<script src="../custom-elements.js"></script>
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion tools
Submodule tools deleted from 93f21a

0 comments on commit c26a6ca

Please sign in to comment.