diff --git a/Src/ko.validation.start.frag b/Src/ko.validation.start.frag index 868eb834..995832e1 100644 --- a/Src/ko.validation.start.frag +++ b/Src/ko.validation.start.frag @@ -23,3 +23,5 @@ var kv = ko.validation; var koUtils = ko.utils; var unwrap = koUtils.unwrapObservable; + var forEach = koUtils.arrayForEach; + var extend = koUtils.extend; diff --git a/gruntfile.js b/gruntfile.js index 793275ac..91c07725 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -19,6 +19,8 @@ module.exports = function (grunt) { process: function (src, filepath) { return src .replace(/ko\.validation\./g, 'kv.') + .replace(/ko\.utils\.arrayForEach/g, 'forEach') + .replace(/ko\.utils\.extend/g, 'extend') .replace(/ko\.utils\.unwrapObservable/g, 'unwrap') .replace(/ko\.utils\./g, 'koUtils.'); }