Preserving PDFJS in the generic builds

This commit is contained in:
Yury Delendik 2013-06-24 20:55:12 -05:00
parent cce3e9cd1b
commit 04a7b036ec

View File

@ -15,7 +15,11 @@
* limitations under the License.
*/
var PDFJS = {};
// Initializing PDFJS global object (if still undefined)
if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
//#if BUNDLE_VERSION
//#expand PDFJS.version = '__BUNDLE_VERSION__';
//#endif