// Throw an error if some property in configuration
// is not in exposedProperties.
Object.keys(configuration).forEach(function (property){
if(!isExposed(property)){
throw new Error("Attempting to set a property that has not" +
" been added as a exposed property in model(configuration)");
}
});
Part of https://github.com/datavis-tech/reactive-model/issues/33
Sketch: