Skip to content

Commit 3339aa0

Browse files
authored
Merge pull request #1 from gowithfloat/bug/missing-template-files
Renames template files so they are not skipped when exporting source code from authoring tool
2 parents 5627ed3 + 77829d0 commit 3339aa0

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"repository": "git://github.com/gowithfloat/adapt-course-progress.git",
44
"homepage": "https://github.com/gowithfloat/adapt-course-progress",
55
"issues": "https://github.com/gowithfloat/adapt-course-progress/issues",
6-
"version": "1.0.1",
6+
"version": "1.0.2",
77
"framework": "^2.0.0",
88
"authors": [
99
"Daniel Pfeiffer <dpfeiffer@gowithfloat.com>"
1010
],
1111
"main": "/js/adapt-course-progress.js",
12-
"extension": "adapt-course-progress",
12+
"extension": "course-progress",
1313
"displayName": "Course Progress",
1414
"description": "Adds a progress bar to the bottom of each page indicating the overall course completion",
1515
"keywords": [
1616
"adapt-plugin",
1717
"adapt-extension"
1818
],
1919
"license": "MIT",
20-
"homepage": "",
20+
"targetAttribute": "_courseProgress",
2121
"ignore": [
2222
"**/.*",
2323
"node_modules",

js/ProgressView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ define(function(require) {
88

99
render: function() {
1010
var data = this.model.toJSON();
11-
var template = Handlebars.templates["course-progress"];
11+
var template = Handlebars.templates["courseProgress"];
1212
this.$el.html(template(data));
1313
return this;
1414
}

0 commit comments

Comments
 (0)