Skip to content

Commit 8fc0956

Browse files
committed
Fixed module order
1 parent fedba07 commit 8fc0956

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/av.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ var path = require('path');
1717

1818
var include = function(filename) {
1919
var script = fs.readFileSync(path.join(__dirname, filename), {'encoding': 'utf-8'});
20-
module._compile(script);
20+
module._compile(script, filename);
2121
};
2222

23+
//The module order is important
2324
[
24-
'version.js',
2525
'underscore.js',
26+
'version.js',
2627
'utils.js',
2728
'error.js',
2829
'event.js',

0 commit comments

Comments
 (0)