Removed jQuery and D3 dependencies.
This commit is contained in:
Vendored
-19
@@ -4,26 +4,7 @@ https://gist.github.com/Yaffle/1145197
|
||||
No Licence ==> All Rights Reserved
|
||||
|
||||
|
||||
D3
|
||||
|
||||
https://github.com/d3/d3/blob/master/LICENSE
|
||||
|
||||
A permissive license similar to the BSD 2-Clause License, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
|
||||
|
||||
|
||||
Greensock
|
||||
|
||||
https://greensock.com/licensing
|
||||
Standard No Charge license allows commercial one-off project. Multiple installations require the "Business Green" license.
|
||||
|
||||
Pixie
|
||||
|
||||
https://github.com/usmanhalalit/pixie/blob/master/LICENSE
|
||||
MIT License
|
||||
|
||||
|
||||
jQuery
|
||||
|
||||
https://github.com/jquery/jquery/blob/master/LICENSE.txt
|
||||
|
||||
BSD style
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
# Patches
|
||||
|
||||
A listing of all manual changes of 3rdparty files.
|
||||
|
||||
## PIXI.js
|
||||
|
||||
+ Ensure that a minimal compressed texture example is working and apply changes to deepzoom.js~~ => Patched in pixi.js (Line 5794). + Changed:
|
||||
|
||||
```javascript
|
||||
if (status === STATUS_NONE && text.length > 0)) {`
|
||||
```
|
||||
to
|
||||
```javascript
|
||||
if (status === STATUS_NONE && (text.length > 0 || xhr.responseURL.endsWith
|
||||
('.dds'))) { // PATCH: Kupke, 07.08.2017`
|
||||
```
|
||||
+ Loading SVG Textures from filesystem
|
||||
+ Problem: In PIXI 4.7.0 the XHTTP Request of PIXI, when loading an SVG from the filesystem returned an error message and prevented the svg from being displayed.
|
||||
+ Solution: Just suppress the error when on local filesystem.
|
||||
+ Location: *BaseTexture.prototype._loadSvgSourceUsingXhr*
|
||||
|
||||
```javascript
|
||||
if(window.location.protocol !== "file:"){ // This condition was added.
|
||||
if (svgXhr.readyState !== svgXhr.DONE || svgXhr.status !== 200) {
|
||||
throw new Error('Failed to load SVG using XHR.');
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user