Skip to content

Commit

Permalink
False-y value fix for $.fn.text
Browse files Browse the repository at this point in the history
Fix for issue #125
  • Loading branch information
shshaw committed May 26, 2016
1 parent 6a885b0 commit 8a90ca6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cash",
"main": "dist/cash.js",
"version": "1.3.3",
"version": "1.3.4",
"homepage": "https://github.com/kenwheeler/cash",
"authors": [
"Ken Wheeler <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions dist/cash.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

/*! cash-dom 1.3.3, https://github.com/kenwheeler/cash @license MIT */
/*! cash-dom 1.3.4, https://github.com/kenwheeler/cash @license MIT */
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define(factory);
Expand Down Expand Up @@ -720,7 +720,7 @@
},

text: function (content) {
if (!content) {
if (content === undefined) {
return this[0].textContent;
}
return this.each(function (v) {
Expand Down
4 changes: 2 additions & 2 deletions dist/cash.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a90ca6

Please sign in to comment.