Commit 8c140028 authored by mercury233's avatar mercury233

change struct module

parent f0e647fe
...@@ -2,7 +2,7 @@ _ = require 'underscore' ...@@ -2,7 +2,7 @@ _ = require 'underscore'
_.str = require 'underscore.string' _.str = require 'underscore.string'
_.mixin(_.str.exports()) _.mixin(_.str.exports())
Struct = require('struct').Struct Struct = require('./struct.js').Struct
#常量/类型声明 #常量/类型声明
structs_declaration = require './structs.json' #结构体声明 structs_declaration = require './structs.json' #结构体声明
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
_.mixin(_.str.exports()); _.mixin(_.str.exports());
Struct = require('struct').Struct; Struct = require('./struct.js').Struct;
structs_declaration = require('./structs.json'); structs_declaration = require('./structs.json');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment