Skip to content

Commit

Permalink
Removed AMD support. Fixes jackmoore#109 Ref jackmoore#56.
Browse files Browse the repository at this point in the history
(forgot to actually remove it in previous commit)
  • Loading branch information
jackmoore committed Nov 5, 2013
1 parent d9a093a commit 501c80f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion autosize.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "autosize",
"title": "Autosize",
"description": "Automatically adjust textarea height based on user input.",
"version": "1.18.0",
"version": "1.18.1",
"dependencies": {
"jquery": ">=1.7"
},
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-autosize",
"description": "Automatically adjust textarea height based on user input.",
"version": "1.18.0",
"version": "1.18.1",
"dependencies": {
"jquery": ">=1.7"
},
Expand Down
14 changes: 3 additions & 11 deletions jquery.autosize.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/*!
Autosize v1.18.0 - 2013-10-20
Autosize v1.18.1 - 2013-11-05
Automatically adjust textarea height based on user input.
(c) 2013 Jack Moore - http://www.jacklmoore.com/autosize
license: http://www.opensource.org/licenses/mit-license.php
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else {
// Browser globals: jQuery or jQuery-like library, such as Zepto
factory(window.jQuery || window.$);
}
}(function ($) {
(function ($) {
var
defaults = {
className: 'autosizejs',
Expand Down Expand Up @@ -255,4 +247,4 @@
adjust();
});
};
}));
}(window.jQuery || window.$)); // jQuery or jQuery-like library, such as Zepto
4 changes: 2 additions & 2 deletions jquery.autosize.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-autosize",
"description": "Automatically adjust textarea height based on user input.",
"version": "1.18.0",
"version": "1.18.1",
"dependencies": {},
"keywords": [
"form",
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Small jQuery plugin to allow dynamic resizing of textarea height, so that it gro

## Changelog

### v1.18.1 - 2013/11/5
* Removed AMD support. Fixes #109 Ref #56.

### v1.18.0 - 2013/10/20
* Fixed error that was being thrown in FireFox 3.x. Fixes #112
* Removed AMD support. Fixes #109 Ref #56.

### v1.17.8 - 2013/9/7
* Minor change to not append the mirror element when the plugin is applied to an empty jQuery collection
Expand Down

0 comments on commit 501c80f

Please sign in to comment.