From a4059405f3a9c56158e64859e9cfbbb2f8d00c69 Mon Sep 17 00:00:00 2001 From: Sergiy Stotskiy Date: Wed, 23 Oct 2013 12:24:44 +0300 Subject: [PATCH] Added few more minifications --- Src/ko.validation.start.frag | 2 ++ gruntfile.js | 2 ++ 2 files changed, 4 insertions(+) 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.'); }