fixing lookup to external exports for the color db, just in case.
This commit is contained in:
parent
3cb43f0eeb
commit
f2c2b540fd
|
@ -2,7 +2,7 @@
|
||||||
// JavaScript land...
|
// JavaScript land...
|
||||||
|
|
||||||
|
|
||||||
var colorNamespace = MACHINE.modules['whalesong/image/private/color.rkt'].getExports();
|
var colorNamespace = MACHINE.modules['whalesong/image/private/color.rkt'].getExternalExports();
|
||||||
var colorStruct = colorNamespace.get('struct:color');
|
var colorStruct = colorNamespace.get('struct:color');
|
||||||
var makeColor = function(r,g,b,a) { return colorStruct.constructor([r,g,b,a]); };
|
var makeColor = function(r,g,b,a) { return colorStruct.constructor([r,g,b,a]); };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user