fixing lookup to external exports for the color db, just in case.

This commit is contained in:
Danny Yoo 2013-03-27 15:39:12 -06:00
parent 3cb43f0eeb
commit f2c2b540fd

View File

@ -2,7 +2,7 @@
// 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 makeColor = function(r,g,b,a) { return colorStruct.constructor([r,g,b,a]); };