Skip to content

Commit

Permalink
Merge pull request knockout#486 from SteveSanderson/486-fix-compiler-…
Browse files Browse the repository at this point in the history
…warnings

fix google compiler warnings
  • Loading branch information
rniemeyer committed May 13, 2013
2 parents d386f14 + 3ff265c commit 15da151
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/fragments/amd-post.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
});
}));
2 changes: 1 addition & 1 deletion build/fragments/amd-pre.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!function(factory) {
(function(factory) {
// Support three module loading scenarios
if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') {
// [1] CommonJS/Node.js
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ko.utils = (function () {
while (
div.innerHTML = '<!--[if gt IE ' + (++version) + ']><i></i><![endif]-->',
iElems[0]
);
) {}
return version > 4 ? version : undefined;
}());
var isIe6 = ieVersion === 6,
Expand Down

0 comments on commit 15da151

Please sign in to comment.