lib/immutable-core-model-view.js
function makeImmutableSynchronous (modelView) {
    // create each function
    modelView.each = immutable.function(modelView.moduleName+'Each', modelView.each, {
        allowOverride: modelView.allowOverride,
    })
    // create post method if defined
    if (modelView.post) {
        modelView.post = immutable.function(modelView.moduleName+'Post', modelView.post, {
            allowOverride: modelView.allowOverride,
        })
    }
    // create pre method if defined
    if (modelView.pre) {
        modelView.pre = immutable.function(modelView.moduleName+'Pre', modelView.pre, {
            allowOverride: modelView.allowOverride,
        })
    }
}
function makeImmutableSynchronous (modelView) {
    // create each function
    modelView.each = immutable.function(modelView.moduleName+'Each', modelView.each, {
        allowOverride: modelView.allowOverride,
    })
    // create post method if defined
    if (modelView.post) {
        modelView.post = immutable.function(modelView.moduleName+'Post', modelView.post, {
            allowOverride: modelView.allowOverride,
        })
    }
    // create pre method if defined
    if (modelView.pre) {
        modelView.pre = immutable.function(modelView.moduleName+'Pre', modelView.pre, {
            allowOverride: modelView.allowOverride,
        })
    }
}
function makeImmutableSynchronous ( modelView ) { // create each function modelView . each = immutable . function ( modelView . moduleName + 'Each' , modelView . each , { allowOverride : modelView . allowOverride , } ) // create post method if defined if ( modelView . post ) { modelView . post = immutable . function ( modelView . moduleName + 'Post' , modelView . post , { allowOverride : modelView . allowOverride , } ) } // create pre method if defined if ( modelView . pre ) { modelView . pre = immutable . function ( modelView . moduleName + 'Pre' , modelView . pre , { allowOverride : modelView . allowOverride , } ) } }
@function makeImmutableSynchronous

make immutable functions for model view.

@param {ImmutableCoreModelView} modelView

@throws {Error}
@function makeImmutableSynchronous