Skip to content

Instantly share code, notes, and snippets.

@louwersj
Created January 17, 2019 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save louwersj/8da8a55ea6e821b2129b5d23a8f63642 to your computer and use it in GitHub Desktop.
Save louwersj/8da8a55ea6e821b2129b5d23a8f63642 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 = "zero"
}
return new IncidentsViewModel();
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment