Skip to content

Commit

Permalink
Remove jQuery, switch dependency to Cornerstone 2.0.0, bump to versio…
Browse files Browse the repository at this point in the history
…n 2.0.0
  • Loading branch information
swederik committed Dec 12, 2017
1 parent 625b8f9 commit d3c4d53
Show file tree
Hide file tree
Showing 91 changed files with 4,251 additions and 3,345 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
````

Expand All @@ -213,14 +210,12 @@ cornerstoneTools.external.Hammer = Hammer;

````javascript
// Load Packaged Sources
<script src="https://unpkg.com/jquery@3.2.1/dist/jquery.js"></script>
<script src="https://unpkg.com/hammerjs@2.0.8/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>

// Specify external dependencies
cornerstoneTools.external.cornerstone = cornerstone;
cornerstoneTools.external.$ = $;
cornerstoneTools.external.Hammer = Hammer;
````

Expand Down
Loading

0 comments on commit d3c4d53

Please sign in to comment.