Changeset 1328985
- Timestamp:
- 01/15/2016 01:01:24 PM (10 years ago)
- Location:
- wp-h5p-xapi/trunk
- Files:
-
- 3 edited
-
process-xapi-statement.php (modified) (1 diff)
-
wp-h5p-xapi.js (modified) (1 diff)
-
wp-h5p-xapi.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-h5p-xapi/trunk/process-xapi-statement.php
r1297101 r1328985 65 65 } 66 66 67 do_action("h5p-xapi-post-save",$statementObject); 68 67 69 $response=array( 68 70 "ok"=>1 -
wp-h5p-xapi/trunk/wp-h5p-xapi.js
r1310920 r1328985 75 75 76 76 if (typeof event.data.statement.context == 'undefined') { 77 console.log("here, context");77 //console.log("here, context"); 78 78 event.data.statement.context = {}; 79 79 } 80 80 if (typeof event.data.statement.context.contextActivities == 'undefined') { 81 console.log("here, contextActivities");81 //console.log("here, contextActivities"); 82 82 event.data.statement.context.contextActivities = {}; 83 83 } 84 84 if (typeof event.data.statement.context.contextActivities.grouping == 'undefined') { 85 console.log("here, grouping");85 //console.log("here, grouping"); 86 86 event.data.statement.context.contextActivities.grouping = []; 87 87 } -
wp-h5p-xapi/trunk/wp-h5p-xapi.php
r1328241 r1328985 9 9 Plugin URI: http://github.com/tunapanda/wp-h5p-xapi 10 10 Description: Send H5P achievements to an xAPI repo. 11 Version: 0.0. 711 Version: 0.0.8 12 12 */ 13 13
Note: See TracChangeset
for help on using the changeset viewer.