Browse Source

Merge pull request #3387 from yurydelendik/preserve-pdfjs

Preserving PDFJS in the generic builds
Yury Delendik 12 years ago
parent
commit
2dc603a3a9
  1. 6
      src/pdf.js

6
src/pdf.js

@ -15,7 +15,11 @@
* limitations under the License. * 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 //#if BUNDLE_VERSION
//#expand PDFJS.version = '__BUNDLE_VERSION__'; //#expand PDFJS.version = '__BUNDLE_VERSION__';
//#endif //#endif

Loading…
Cancel
Save