Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Passes jslint validation and displays an empty string for null or und…

…efined values.
  • Loading branch information...
commit 983b77dc28a07dc28d4b52cfb816740590e66bf5 1 parent 72098e9
@fabrikagency fabrikagency authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.nano.js
View
2  jquery.nano.js
@@ -5,7 +5,7 @@
return template.replace(/\{([\w\.]*)\}/g, function (str, key) {
var keys = key.split("."), value = data[keys.shift()];
$.each(keys, function () { value = value[this]; });
- return (value === null || value === undefined) ? "" : value;
+ return (value === null || value === undefined) ? "" : value;
});
};
})(jQuery);
Please sign in to comment.
Something went wrong with that request. Please try again.