Skip to content

Commit

Permalink
FLUID-4572: Clean up unit test lib code; tidy the 'buildResourceSpec'…
Browse files Browse the repository at this point in the history
… function.
  • Loading branch information
acheetham committed Jan 9, 2012
1 parent 10d5ebc commit b2d2429
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 235 deletions.
12 changes: 5 additions & 7 deletions js/VideoPlayer.js
Expand Up @@ -310,14 +310,12 @@ https://source.fluidproject.org/svn/LICENSE.txt
};

var buildResourceSpec = function (templates, path) {
var spec = {};
for (var key in templates) {
spec[key] = {
return fluid.transform(templates, function (object, index) {
return {
forceCache: true,
href: path + templates[key]
};
}
return spec;
href: path + object
}
});
};

fluid.videoPlayer.finalInit = function (that) {
Expand Down
2 changes: 1 addition & 1 deletion tests/html/VideoPlayer-test.html
Expand Up @@ -16,7 +16,7 @@

<!-- jqUnit test framework js files -->
<script type="text/javascript" src="../lib/qunit/js/qunit.js"></script>
<script type="text/javascript" src="../test-core/jqUnit/js/jqUnit.js"></script>
<script type="text/javascript" src="../lib/jqUnit/js/jqUnit.js"></script>
<script type="text/javascript" src="../lib/jquery-ui/js/jquery.simulate.js"></script>

<!-- These are tests that have been written using this page as data and test supports -->
Expand Down
File renamed without changes.
File renamed without changes.
61 changes: 0 additions & 61 deletions tests/test-core/utils/js/DebugFocus.js

This file was deleted.

166 changes: 0 additions & 166 deletions tests/test-core/utils/js/TestUtils.js

This file was deleted.

0 comments on commit b2d2429

Please sign in to comment.