Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
flandiGT committed Jun 17, 2015
1 parent d368678 commit 85ca6b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/moduleSystem/parts/parts.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function partsCreator(settings) {
buildingFinished(partName);
}
else if (window && window[partName]) {
buildingStart(partName);

partDescriptor = {
name : partName,
Expand All @@ -73,8 +72,6 @@ function partsCreator(settings) {
};

part = singletonConstructionStrategy(partDescriptor);

buildingFinished(partName);
}
else {
throw new Error('tried to load ' + partName + ' but was not registered');
Expand Down

0 comments on commit 85ca6b3

Please sign in to comment.