initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
$(function(){
|
||||
mh.initSopModel = function(){
|
||||
|
||||
function fAddIets(p){
|
||||
var dit = this;
|
||||
this.id = p.id;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (mh.SopModel !== undefined){
|
||||
mh.SopModel.initModel();
|
||||
}
|
||||
else {
|
||||
mh.SopModel = {
|
||||
dingen : ko.observableArray([]),
|
||||
|
||||
|
||||
initBindings :function(){
|
||||
var self = mh.SopModel;
|
||||
|
||||
if (!ko.dataFor(document.getElementById('pagsophoofd')) ) {
|
||||
ko.applyBindings(mh.SopModel, document.getElementById("pagsophoofd"));
|
||||
}
|
||||
self.initModel();
|
||||
},
|
||||
initModel: function(){
|
||||
var self =mh.SopModel;
|
||||
}
|
||||
|
||||
|
||||
|
||||
} ; // definition van model
|
||||
mh.SopModel.initBindings();
|
||||
} // else
|
||||
}// function init mh.SopModel
|
||||
});
|
||||
Reference in New Issue
Block a user