Skip to content

Commit

Permalink
removed Submodules directory (capital S)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeletdn committed Jan 19, 2014
1 parent ea1385e commit 9e7a617
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 49 deletions.
5 changes: 0 additions & 5 deletions src/SubModules/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions src/SubModules/library.submodule.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/submodule/library.submodule.js
@@ -1,5 +1,5 @@
/**
* submodules are similar to modules, only they do not use the same namespace as
* Submodules are similar to modules, only they do not use the same namespace as
* the Core, but defined a sub-namespace of their own.
* @param {Object} The Object that the library gets attached to in
* library.init.js. If the library was not loaded with an AMD loader such as
Expand All @@ -16,7 +16,7 @@ function initLibrarySubmodule (context) {
* configure this instance of the library.
* @constructor
*/
var submodule = Library.submodule = function(opt_config) {
var submodule = Library.Submodule = function(opt_config) {

// defines a temporary variable,
// living only as long as the constructor runs.
Expand Down
6 changes: 3 additions & 3 deletions test/qunit.library.html
Expand Up @@ -50,7 +50,7 @@ <h2 id="qunit-userAgent"></h2>

test('Can Submodule run', function() {
var library = new Library();
var submodule = new Library.submodule();
var submodule = new Library.Submodule();

equal(submodule.instanceVariable, 'Constructor Variable',
'The constructor has completed successfully');
Expand All @@ -60,7 +60,7 @@ <h2 id="qunit-userAgent"></h2>

test('Can Submodule public method get an instance value', function() {
var library = new Library();
var submodule = new Library.submodule();
var submodule = new Library.Submodule();

equal(submodule.publicMethod(), 'Constructor Variable',
'The public method has returned the constructor variable');
Expand All @@ -71,7 +71,7 @@ <h2 id="qunit-userAgent"></h2>

test('Can Submodule public method set an instance value', function() {
var library = new Library();
var submodule = new Library.submodule();
var submodule = new Library.Submodule();
var newValue = 7;
submodule.publicMethod(newValue);

Expand Down

0 comments on commit 9e7a617

Please sign in to comment.