Commit Graph

41 Commits

Author SHA1 Message Date
Jonathan Putney
7f1d9953e4 Bug fixes and sorting issue with loadFromFlattenedJson
Also added several new test cases, most significantly some cases that test the commit functionality
2020-08-17 14:46:33 -04:00
Jonathan Putney
576d417365 Cleaning up npm package 2020-08-14 16:10:28 -04:00
Jonathan Putney
deef88f9c9 @types/mocha shouldn't have been a regular dependency 2020-08-14 16:08:50 -04:00
Jonathan Putney
4582d733af Adding setting to always commit total_time, listeners for commit requests 2020-08-14 15:40:29 -04:00
Jonathan Putney
c44d7c7436 Dependency updates 2020-08-14 14:44:36 -04:00
Jonathan Putney
107069963c Fixing build 2020-07-30 18:10:34 -04:00
Jonathan Putney
22408c2c0e Finalizing changes to initial data load 2020-07-30 18:05:11 -04:00
Jonathan Putney
9bb735bf59 Removing unnecessary log statements 2020-07-28 23:08:02 -04:00
Jonathan Putney
1b48c9ee4d Fixing an issue with CMI interactions not being loaded in the proper order
Interaction ID and Type need to be loaded before most other interaction fields, so I added a built in sort when loading using the flattened JSON load.
2020-07-28 22:36:37 -04:00
Jonathan Putney
4a97c1c0a9 Dependency updates and fixing an issue with multiple final commits in SCORM 1.2 2020-07-14 10:33:05 -04:00
Jonathan Putney
2a3f9b61af Switching to lodash's debounce 2020-06-29 17:45:34 -04:00
Jonathan Putney
8b58992293 Version bump 2020-06-29 15:43:42 -04:00
Jonathan Putney
ca94ee9fb5 Adding new selfReportSessionTime setting 2020-06-26 14:50:33 -04:00
Jonathan Putney
aa03f6affb Version bump and dev dependency updates 2020-06-26 12:08:03 -04:00
Jonathan Putney
e1b16e4107 Dependency updates 2020-06-08 12:28:15 -04:00
Jonathan Putney
4a62f930e2 Browsers don't like the XMLHttpRequest.responseType setting for synchronous requests 2020-06-01 13:12:34 -04:00
Jonathan Putney
219e2a2d5a Dependency updates 2020-06-01 08:21:41 -04:00
Jonathan Putney
5c59083e38 Version bump 2020-05-29 11:01:17 -04:00
Jonathan Putney
9398207c5e Dependency updates 2020-05-29 11:00:56 -04:00
Jonathan Putney
c311b4dbc7 Fixing a write-only issue with SCORM 1.2 nav.event until I figure out what to do with it
Not sure if it's even necessary outside of Moodle, or if it is custom for their player.
2020-05-25 19:55:30 -04:00
Jonathan Putney
ddbe28d014 Version bump 2020-05-25 17:07:42 -04:00
Jonathan Putney
f791aeec7b Adding the ability to use catch-all listeners 2020-05-25 17:06:51 -04:00
Jonathan Putney
d1acc4ea44 Update dependencies 2020-04-30 09:00:35 -04:00
Jonathan Putney
ad2e3b7639 Dependency updates 2020-04-06 08:36:27 -04:00
Jonathan Putney
f88a5dc934 Dependency updates 2020-03-17 17:18:34 -04:00
Jonathan Putney
3103707aec cmi.core.suspend_data vs. cmi.suspend_data
It seems to be a common issue that some SCORM 1.2 modules are trying to store "suspend_data" in cmi.core.suspend_data instead of cmi.suspend_data, which is actually the correct field according to the spec. We're still only storing it once, but will allow getting and setting from cmi.core.suspend_data. Exported JSON will continue to only output spec compliant data.
2020-02-06 12:35:49 -05:00
Jonathan Putney
0357442e93 Fixing some regex issues and adding additional API tests 2020-02-04 15:14:42 -05:00
Jonathan Putney
d807fdd076 Version 1.0.1 2020-01-22 13:41:08 -05:00
Jonathan Putney
3c6e460d44 Fixing up README and getting ready for initial publish 2020-01-16 13:03:45 -05:00
dependabot-preview[bot]
48755ea8e9 Bump nyc from 14.1.1 to 15.0.0
Bumps [nyc](https://github.com/istanbuljs/nyc) from 14.1.1 to 15.0.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v14.1.1...v15.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 15:40:46 +00:00
Jonathan Putney
4058a6050d Updating dependencies 2020-01-16 10:38:52 -05:00
Jonathan Putney
365080a93c Dependency updates 2019-12-23 09:50:05 -05:00
dependabot-preview[bot]
5f70f9813c Bump @babel/core from 7.7.2 to 7.7.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 10:35:52 +00:00
Jonathan Putney
290fb12f82 Adding dist and build 2019-11-13 21:16:30 -05:00
Jonathan Putney
49139df468 Updating badges 2019-11-13 19:14:03 -05:00
Jonathan Putney
54b56e905f Fixing docs 2019-11-12 22:27:28 -05:00
Jonathan Putney
2f5c9804c9 Fixing eslint issues, and still working on test cases 2019-11-11 15:05:02 -05:00
Jonathan Putney
eae2a688f6 Disabling eslint in build for now 2019-11-10 20:52:23 -05:00
Jonathan Putney
5bfae43f54 Adding ESLint config 2019-11-10 16:54:34 -05:00
Jonathan Putney
02082ca1a7 Adding CircleCI and Code Climate 2019-11-10 16:31:41 -05:00
Jonathan Putney
da4af1edba Initial push, working on test cases 2019-11-10 12:29:43 -05:00