| Cockpit Guide |
|---|
cockpit.js: Manifestscockpit.js: Manifests — Manifest info |
You can load manifest info by loading the ./manifest.json file in
your package. In addition there is a shortcut: if you're using AMD loading you can
use a special module id to access all the manifests in one shot:
define([
'manifests',
'other.dep'
], function(manifests, other) {
var manifest = manifests['package'];
});