jam
jam copied to clipboard
No path in the define after compile
A script with a define:
define ([
"jquery",
"cobweb/Basic/X3DField",
"cobweb/Bits/X3DConstants",
],
function ($, X3DField, X3DConstants)
{
"use strict";
function SFBool (value)
{
...
results after 'jam compile' in a define without path in the define. All other scripts have the path in the define. This effect does not occur when the "use strict" directive is not present. The effect occurs in very seldom cases (3 of 200 files). There is no special difference between other scripts to the affected script.