Created
January 17, 2019 10:38
-
-
Save louwersj/8da8a55ea6e821b2129b5d23a8f63642 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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