Skip to content

Commit

Permalink
Added few more minifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiy Stotskiy committed Oct 23, 2013
1 parent e48950d commit a405940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/ko.validation.start.frag
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
var kv = ko.validation;
var koUtils = ko.utils;
var unwrap = koUtils.unwrapObservable;
var forEach = koUtils.arrayForEach;
var extend = koUtils.extend;
2 changes: 2 additions & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
Expand Down

0 comments on commit a405940

Please sign in to comment.