-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove jQuery, switch dependency to Cornerstone 2.0.0, bump to versio…
- Loading branch information
Showing
125 changed files
with
5,489 additions
and
5,345 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,15 +194,12 @@ See the [live examples](https://rawgithub.com/cornerstonejs/cornerstoneTools/mas | |
|
||
````javascript | ||
// Load NPM packages | ||
import $ from 'jquery'; // npm install --save jquery | ||
import Hammer from 'hammerjs'; // npm install --save hammerjs | ||
import * as cornerstone from 'cornerstone-core'; // npm install --save cornerstone-core | ||
import * as cornerstoneTools from 'cornerstone-tools'; | ||
|
||
// Specify external dependencies | ||
cornerstone.external.$ = $; | ||
cornerstoneTools.external.cornerstone = cornerstone; | ||
cornerstoneTools.external.$ = $; | ||
cornerstoneTools.external.Hammer = Hammer; | ||
```` | ||
|
||
|
@@ -213,14 +210,12 @@ cornerstoneTools.external.Hammer = Hammer; | |
|
||
````javascript | ||
// Load Packaged Sources | ||
<script src="https://unpkg.com/[email protected]/dist/jquery.js"></script> | ||
<script src="https://unpkg.com/[email protected]/hammer.js"></script> | ||
<script src="https://unpkg.com/cornerstone-core@1.1.0/dist/cornerstone.min.js"></script> | ||
<script src="https://unpkg.com/cornerstone-tools@1.0.2/dist/cornerstoneTools.min.js"></script> | ||
<script src="https://unpkg.com/cornerstone-core@2.0.0/dist/cornerstone.min.js"></script> | ||
<script src="https://unpkg.com/cornerstone-tools@2.0.0/dist/cornerstoneTools.min.js"></script> | ||
|
||
// Specify external dependencies | ||
cornerstoneTools.external.cornerstone = cornerstone; | ||
cornerstoneTools.external.$ = $; | ||
cornerstoneTools.external.Hammer = Hammer; | ||
```` | ||
|
||
|
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
Oops, something went wrong.