Skip to content

Commit

Permalink
MAJOR: removed jQuery (!)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbrent committed Sep 21, 2019
1 parent 97828d7 commit d0618b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Coming In [3.0]:
- `save()` will be renamed, return a Promise
- jQuery is no longer required
- Many **BREAKING CHANGES**


Expand All @@ -16,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New cat/val axis options: majorTickMark/minorTickMark [\#473](https://github.com/gitbrent/PptxGenJS/pull/473) ([RokasDie](https://github.com/RokasDie))
- Ability to set start number "startAt" for a bullet list of type numbered [\#554](https://github.com/gitbrent/PptxGenJS/issue/554) [\#555](https://github.com/gitbrent/PptxGenJS/pull/555) ([bj-mitchell](https://github.com/bj-mitchell))
### Changed
- Removed: jQuery is no longer required (!)
- Fixed: Set proper MIME type for PPTX presentation [\#471](https://github.com/gitbrent/PptxGenJS/issue/471) ([StefanBrand](https://github.com/StefanBrand))
- Fixed: Downloading PPT in iOS using Safari does not work. File named as UNKNOWN. [\#540](https://github.com/gitbrent/PptxGenJS/issue/540) ([mustafagentrit](https://github.com/mustafagentrit))
- Fixed: Tables not being displayed after update [\#559](https://github.com/gitbrent/PptxGenJS/issue/559) ([emartz404](https://github.com/emartz404))
Expand Down
5 changes: 2 additions & 3 deletions demos/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="https://github.com/gitbrent">
<meta name="website" content="https://github.com/gitbrent/PptxGenJS/">
<meta name="updated" content="2019-09-10">
<meta name="updated" content="2019-09-20">
<link rel="icon" href="images/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="images/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="images/favicon.png">
Expand Down Expand Up @@ -193,6 +193,7 @@
.tabHtmlToPpt th, .tabHtmlToPpt td { border: 1px solid white; padding: 4px 8px; }
</style>

<script src="https://code.jquery.com/jquery-3.4.1.slim.js" integrity="sha256-BTlTdQO9/fascB1drekrDVkaKd9PkwBymMlHOiG+qLI=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@latest/examples/images/base64Images.js" async></script>
<!-- TODO-3:
Expand All @@ -210,7 +211,6 @@
<script src="https://cdn.jsdelivr.net/gh/gitbrent/pptxgenjs@master/demos/demo.js"></script>
-->
<!-- OFFICE365 TESTING:
<script src="../SiteAssets/pptxgenjs/libs/jquery.min.js"></script>
<script src="../SiteAssets/pptxgenjs/libs/jszip.min.js"></script>
<script src="../SiteAssets/pptxgenjs/dist/pptxgen.js"></script>
<script src="../SiteAssets/pptxgenjs/demos/demo.js"></script>
Expand All @@ -220,7 +220,6 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.20.13/system.js"></script> module loader - didnt work
-->
<script src="../../libs/promise.min.js"></script>
<script src="../../libs/jquery.min.js"></script>
<script src="../../libs/jszip.min.js"></script>
<script src="../../dist/pptxgen.min.js"></script>
<script src="../common/demos.js"></script>
Expand Down
2 changes: 0 additions & 2 deletions libs/jquery.min.js

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pptxgenjs",
"version": "3.0.0-beta2",
"version": "3.0.0-beta3",
"author": {
"name": "Brent Ely",
"url": "https://github.com/gitbrent/"
Expand Down Expand Up @@ -31,12 +31,10 @@
"express": "^4.17.1",
"https": "^1.0.0",
"image-size": "^0.7.2",
"jquery": "^3.4.1",
"jsdom": "^14.0.0",
"jszip": "^3.2.2"
},
"devDependencies": {
"@types/jquery": "^3.3.29",
"@types/jszip": "^3.1.6",
"@types/node": "^12.0.2",
"gulp": "^4.0.2",
Expand Down

0 comments on commit d0618b7

Please sign in to comment.