Skip to content

Instantly share code, notes, and snippets.

@louwersj
Created January 18, 2019 09:56
Show Gist options
  • Save louwersj/3cf844507ef16b2dde4dee5983780646 to your computer and use it in GitHub Desktop.
Save louwersj/3cf844507ef16b2dde4dee5983780646 to your computer and use it in GitHub Desktop.
/**
* Copyright (c) 2018, Johan Louwers. Licensed under GNU GENERAL PUBLIC LICENSE
* code based upon the Oracle example viewModel file incidents.js for Oracle JET.
*/
define(['ojs/ojcore', 'knockout', 'jquery'],
function(oj, ko, $) {
this.someVariable0 = ko.observable();
function IncidentsViewModel() {
someVariable0= "<u>some text<u>"
}
return new IncidentsViewModel();
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment