Skip to content

Commit

Permalink
Removed unused AMD includes
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcozzi committed Sep 12, 2013
1 parent 7e55666 commit f53f9ef
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 26 deletions.
4 changes: 0 additions & 4 deletions Specs/Scene/DebugAppearanceSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ defineSuite([
'Core/VertexFormat',
'Renderer/ClearCommand',
'Specs/render',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand All @@ -28,8 +26,6 @@ defineSuite([
VertexFormat,
ClearCommand,
render,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 0 additions & 4 deletions Specs/Scene/EllipsoidSurfaceAppearanceSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ defineSuite([
'Core/ColorGeometryInstanceAttribute',
'Renderer/ClearCommand',
'Specs/render',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand All @@ -26,8 +24,6 @@ defineSuite([
ColorGeometryInstanceAttribute,
ClearCommand,
render,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 0 additions & 4 deletions Specs/Scene/GeometryRenderingSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ defineSuite([
'Scene/Material',
'Specs/render',
'Specs/pick',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand Down Expand Up @@ -88,8 +86,6 @@ defineSuite([
Material,
render,
pick,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 0 additions & 4 deletions Specs/Scene/MaterialAppearanceSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ defineSuite([
'Core/ColorGeometryInstanceAttribute',
'Renderer/ClearCommand',
'Specs/render',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand All @@ -26,8 +24,6 @@ defineSuite([
ColorGeometryInstanceAttribute,
ClearCommand,
render,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 0 additions & 4 deletions Specs/Scene/PerInstanceColorAppearanceSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ defineSuite([
'Core/ColorGeometryInstanceAttribute',
'Renderer/ClearCommand',
'Specs/render',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand All @@ -26,8 +24,6 @@ defineSuite([
ColorGeometryInstanceAttribute,
ClearCommand,
render,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 0 additions & 4 deletions Specs/Scene/PrimitiveSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ defineSuite([
'Scene/OrthographicFrustum',
'Specs/render',
'Specs/pick',
'Specs/createCanvas',
'Specs/destroyCanvas',
'Specs/createContext',
'Specs/destroyContext',
'Specs/createFrameState'
Expand All @@ -50,8 +48,6 @@ defineSuite([
OrthographicFrustum,
render,
pick,
createCanvas,
destroyCanvas,
createContext,
destroyContext,
createFrameState) {
Expand Down
4 changes: 2 additions & 2 deletions Specs/destroyContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ define(['Specs/destroyCanvas'], function(destroyCanvas) {

function destroyContext(context) {
if (context) {
destroyCanvas(context.getCanvas());
context = context.destroy();
// destroyCanvas(context.getCanvas());
// context = context.destroy();
}
}

Expand Down

0 comments on commit f53f9ef

Please sign in to comment.