Use configFrom() as configFrom()

This makes it easier to grep for uses of this function.
parent 8623b940
'use strict'; 'use strict';
var configFrom = require('./config');
require('../shared/polyfills'); require('../shared/polyfills');
...@@ -37,7 +38,7 @@ var pluginClasses = { ...@@ -37,7 +38,7 @@ var pluginClasses = {
var appLinkEl = var appLinkEl =
document.querySelector('link[type="application/annotator+html"]'); document.querySelector('link[type="application/annotator+html"]');
var options = require('./config')(window); var options = configFrom(window);
$.noConflict(true)(function() { $.noConflict(true)(function() {
var Klass = window.PDFViewerApplication ? var Klass = window.PDFViewerApplication ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment