Release: 1.0.4
This commit is contained in:
@@ -54,15 +54,18 @@
|
||||
<pre
|
||||
class="sunlight-highlight-javascript linenums">'use strict';
|
||||
|
||||
(function (root, definition) {
|
||||
var wildstring = (function (name, definition) {
|
||||
if (typeof(module) !== 'undefined') {
|
||||
module.exports = definition();
|
||||
}
|
||||
else if (typeof(define) === 'function' && typeof(define.amd) === 'object') {
|
||||
define(definition);
|
||||
}
|
||||
else if (typeof(this) !== 'undefined') {
|
||||
this[name] = definition();
|
||||
}
|
||||
else {
|
||||
this['wildstring'] = definition();
|
||||
return definition();
|
||||
}
|
||||
}('wildstring', function () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user