Skip to content

Commit

Permalink
feat: migrate all Controls to TypeScript (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Jul 14, 2023
1 parent fc57b5e commit 0d129bd
Show file tree
Hide file tree
Showing 36 changed files with 3,322 additions and 3,069 deletions.
3 changes: 1 addition & 2 deletions examples/example-excel-compatible-spreadsheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ <h2>View Source:</h2>
</div>
</div>

<script src="https://cdn.jsdelivr.net/npm/sortablejs/Sortable.min.js"></script>
<script src="sortable-cdn-fallback.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sortablejs/Sortable.min.js"></script>

<script src="../dist/browser/slick.core.js"></script>
<script src="../dist/browser/slick.interactions.js"></script>
Expand Down Expand Up @@ -195,7 +195,6 @@ <h2>View Source:</h2>
columns[4] = {id: "%", name: "% Complete", field: "percentComplete", width: 95, resizable: false, formatter: Slick.Formatters.PercentCompleteBar, editor: Slick.Editors.PercentComplete};
columns[5] = {id: "start", name: "Start", field: "start", minWidth: 60};


document.addEventListener("DOMContentLoaded", function() {
for (var i = 0; i < 100; i++) {
var d = (data[i] = {});
Expand Down
5 changes: 3 additions & 2 deletions examples/sortable-cdn-fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
function fallback() {
console.log('use local SortableJS CDN fallback');
var element = document.createElement('script');
element.type = 'text/javascript';
element.src = '../node_modules/sortablejs/Sortable.js'; // or your path to your local script
// element.setAttribute('defer', true);
// element.type = 'text/javascript';
element.src = '../node_modules/sortablejs/Sortable.min.js'; // or your path to your local script
document.body.appendChild(element);
}

Expand Down
1,357 changes: 576 additions & 781 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,27 +74,27 @@
"browser-sync": "^2.29.3",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"conventional-changelog": "^3.1.25",
"conventional-changelog": "^4.0.0",
"copyfiles": "^2.4.1",
"cssnano": "^6.0.1",
"cssnano-preset-lite": "^3.0.0",
"cypress": "^9.7.0",
"dotenv": "^16.3.1",
"esbuild": "^0.18.11",
"esbuild": "^0.18.12",
"eslint": "^8.44.0",
"eslint-plugin-cypress": "^2.13.3",
"fs-extra": "^11.1.1",
"git-url-parse": "^13.1.0",
"glob": "^10.3.1",
"glob": "^10.3.3",
"http-server": "^14.1.1",
"inquirer": "^9.2.7",
"inquirer": "^9.2.8",
"new-github-release-url": "^1.0.0",
"path": "^0.12.7",
"postcss": "^8.4.24",
"postcss": "^8.4.26",
"postcss-cli": "^10.1.0",
"rimraf": "^5.0.1",
"sass": "^1.63.6",
"semver": "^7.5.3",
"semver": "^7.5.4",
"servor": "^4.0.2",
"strong-log-transformer": "^2.1.0",
"typescript": "^5.1.6",
Expand Down
Loading

0 comments on commit 0d129bd

Please sign in to comment.