Skip to content

Commit

Permalink
Library fix for versioning #524
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristin committed Mar 19, 2019
1 parent 2858c2c commit d03b171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/cass/cass-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/cass/org.cassproject.schema.general.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ EcRemoteLinkedData = stjs.extend(EcRemoteLinkedData, EcLinkedData, [], function(
*/
prototype.getTimestamp = function() {
var timestamp = this.id.substring(this.id.lastIndexOf("/") + 1);
if (timestamp.matches("\\/[0-9]+")) {
if (timestamp.matches("[0-9]+")) {
return Integer.parseInt(timestamp);
} else {
return null;
Expand Down

0 comments on commit d03b171

Please sign in to comment.