-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
294 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
function MyComponent() { | ||
return 'Hello world' | ||
} | ||
/* eslint-disable no-restricted-globals */ | ||
// we put the code in a function to avoid variable name collisions with the | ||
// global scope | ||
;(function () { | ||
class Plugin { | ||
name = 'UMDUrlPlugin' | ||
version = '1.0' | ||
|
||
class MyClass2 { | ||
name = 'UMDUrlPlugin' | ||
install(pluginManager) {} | ||
configure() {} | ||
} | ||
install(/* pluginManager */) {} | ||
|
||
// the plugin will be included in both the main thread and web worker, so | ||
// install plugin to either window or self (webworker global scope) | ||
;(typeof self !== 'undefined' ? self : window).JBrowsePluginUMDUrlPlugin = { | ||
default: MyClass2, | ||
} | ||
configure(/* pluginManager */) {} | ||
} | ||
|
||
// the plugin will be included in both the main thread and web worker, so | ||
// install plugin to either window or self (webworker global scope) | ||
;(typeof self !== 'undefined' ? self : window).JBrowsePluginUMDUrlPlugin = { | ||
default: Plugin, | ||
} | ||
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
class MyClass { | ||
name = 'UMDLocPlugin' | ||
install(pluginManager) {} | ||
configure() {} | ||
} | ||
/* eslint-disable no-restricted-globals */ | ||
// we put the code in a function to avoid variable name collisions with the | ||
// global scope | ||
;(function () { | ||
class Plugin { | ||
name = 'UMDLocPlugin' | ||
version = '1.0' | ||
|
||
// the plugin will be included in both the main thread and web worker, so | ||
// install plugin to either window or self (webworker global scope) | ||
;(typeof self !== 'undefined' ? self : window).JBrowsePluginUMDLocPlugin = { | ||
default: MyClass, | ||
} | ||
install(/* pluginManager */) {} | ||
|
||
configure(/* pluginManager */) {} | ||
} | ||
|
||
// the plugin will be included in both the main thread and web worker, so | ||
// install plugin to either window or self (webworker global scope) | ||
;(typeof self !== 'undefined' ? self : window).JBrowsePluginUMDLocPlugin = { | ||
default: Plugin, | ||
} | ||
})() |
Oops, something went wrong.