highsource / ogc-schemas

XML<->Java and XML<->JS for OGC XSDs.
BSD 2-Clause "Simplified" License
82 stars 49 forks source link

require? #178

Closed WillieMaddox closed 8 years ago

WillieMaddox commented 8 years ago

Hello,

In the following code snippet, where does the "require" function come from?

var WFS_1_1_0 = require('ogc-schemas').WFS_1_1_0;

Thanks,

WillieMaddox commented 8 years ago

Nevermind. I answered my own question.

Node.js

highsource commented 8 years ago

In builds require is from Node.js. In the runtime you can also get it from module loader like System.js.