Skip to content

Commit f2c9c85

Browse files
i swear ize coded before.
1 parent ceb078b commit f2c9c85

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "whimsy",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"main": "src/whimsy.js",
55
"ignore": [
66
"**/.*",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "whimsyjs",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"private": true,
55
"description": "It turns out you can, indeed, calculate whimsy.",
66
"keywords": [

src/whimsy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
element.innerHTML.replace(/(\w)\.(?!\w)/g, '$1<i class="whimsy">!</i>');
3535
}
3636

37-
$ && $.fn && $.fn.whimsy = function () {
37+
$ && $.fn && ($.fn.whimsy = function () {
3838
return this.each(function () {
3939
whimsy(this);
4040
});
41-
};
41+
});
4242

4343
window.whimsy = whimsy;
4444
})(window, jQuery);

0 commit comments

Comments
 (0)