Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename AMD module definition to typeahead for requirejs compatability #1558

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -145,7 +145,7 @@ module.exports = function(grunt) {
},
typeahead: {
src: '<%= tempDir %>/typeahead.jquery.js',
amdModuleId: 'typeahead.js',
amdModuleId: 'typeahead',
deps: {
default: ['$'],
amd: ['jquery'],
Expand Down
2 changes: 1 addition & 1 deletion dist/bloodhound.js
@@ -1,7 +1,7 @@
/*!
* typeahead.js 0.11.1
* https://github.com/twitter/typeahead.js
* Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2016 Twitter, Inc. and other contributors; Licensed MIT
*/

(function(root, factory) {
Expand Down
2 changes: 1 addition & 1 deletion dist/bloodhound.min.js

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

4 changes: 2 additions & 2 deletions dist/typeahead.bundle.js
@@ -1,7 +1,7 @@
/*!
* typeahead.js 0.11.1
* https://github.com/twitter/typeahead.js
* Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2016 Twitter, Inc. and other contributors; Licensed MIT
*/

(function(root, factory) {
Expand Down Expand Up @@ -919,7 +919,7 @@

(function(root, factory) {
if (typeof define === "function" && define.amd) {
define("typeahead.js", [ "jquery" ], function(a0) {
define("typeahead", [ "jquery" ], function(a0) {
return factory(a0);
});
} else if (typeof exports === "object") {
Expand Down
6 changes: 3 additions & 3 deletions dist/typeahead.bundle.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/typeahead.jquery.js
@@ -1,12 +1,12 @@
/*!
* typeahead.js 0.11.1
* https://github.com/twitter/typeahead.js
* Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT
* Copyright 2013-2016 Twitter, Inc. and other contributors; Licensed MIT
*/

(function(root, factory) {
if (typeof define === "function" && define.amd) {
define("typeahead.js", [ "jquery" ], function(a0) {
define("typeahead", [ "jquery" ], function(a0) {
return factory(a0);
});
} else if (typeof exports === "object") {
Expand Down
4 changes: 2 additions & 2 deletions dist/typeahead.jquery.min.js

Large diffs are not rendered by default.