Skip to content

Commit

Permalink
2.0版本Release版本上传
Browse files Browse the repository at this point in the history
  • Loading branch information
Pama-Lee authored Nov 10, 2024
1 parent 4e8bccb commit 4642758
Show file tree
Hide file tree
Showing 8 changed files with 424 additions and 0 deletions.
Binary file added Moodesk2.0.zip
Binary file not shown.
1 change: 1 addition & 0 deletions components/pdfModule.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions components/todoModule.js

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions content.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

class Moodesk {
constructor() {
this.todoModule = new TodoModule();
this.pdfModule = new PDFModule();
this.init();
}

async init() {
await this.todoModule.init();
}
}

// Initialize Moodesk when the page is loaded
window.addEventListener('load', () => {
new Moodesk();
});
Binary file added icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/moodesk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"manifest_version": 3,
"name": "Moodesk 2.0",
"version": "2.0",
"description": "Add a floating todolist to Moodle course pages",
"permissions": [
"storage"
],
"content_scripts": [
{
"matches": [
"https://l.xmu.edu.my/course/view.php?id=*"
],
"css": [
"styles.css"
],
"js": [
"./components/pdfModule.js",
"./components/todoModule.js",
"./content.js"
],
"type": "module"
}
],
"icons": {
"48": "icons/moodesk.png"
},
"web_accessible_resources": [
{
"resources": [
"icons/*",
"components/*"
],
"matches": [
"https://l.xmu.edu.my/*"
]
}
]
}
Loading

0 comments on commit 4642758

Please sign in to comment.