Skip to content

Instantly share code, notes, and snippets.

@louwersj
Created January 18, 2019 09:56
/**
* 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