Skip to content

Commit

Permalink
work around bug in AMDclean
Browse files Browse the repository at this point in the history
Fixes issue #84
  • Loading branch information
biasmv committed Mar 2, 2015
1 parent 6ef8754 commit 25bb9a1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
define([
'./gl-matrix',
'./color',
'./slab',
'./unique-object-id-pool',
'./gfx/canvas',
'./utils',
'./gfx/framebuffer',
'./buffer-allocators',
Expand All @@ -36,12 +36,12 @@ define([
'./gfx/custom-mesh',
'./gfx/animation',
'./gfx/scene-node',
'./gfx/canvas'],
'./slab'],
function(
glMatrix,
color,
slab,
UniqueObjectIdPool,
canvas,
utils,
FrameBuffer,
PoolAllocator,
Expand All @@ -54,7 +54,10 @@ define([
CustomMesh,
anim,
SceneNode,
canvas) {
// slab must be last due to a problem in AMDClean that occurs
// when the last parameter name does not match the module file
// name
slab) {

"use strict";

Expand Down

0 comments on commit 25bb9a1

Please sign in to comment.