mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 23:01:00 +00:00
amd define as named module
This commit is contained in:
parent
08c284c00d
commit
820d343cb2
@ -14,7 +14,7 @@
|
||||
'use strict';
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory);
|
||||
define('jquery.autocomplete', ['jquery'], factory);
|
||||
} else if (typeof exports === 'object' && typeof require === 'function') {
|
||||
// Browserify
|
||||
factory(require('jquery'));
|
||||
|
Loading…
Reference in New Issue
Block a user