dcodeIO/ProtoBuf.js — pull request #117 by asindhu (2014-04-03 22:46:46+00:00)
Title: Added ability to specify multiple search paths for file imports

When building a .proto file, we need the ability to specify multiple search paths for file imports. In other words, different import statements are relative to different root paths. Now in the 'loadProtoFile' function, the filename can be in a third format: {file: [filename], paths: [array of search paths for imports]}.