Skip to content

Commit 9d6832f

Browse files
committed
Added missing build files for umd format (are being picked up by the .gitignore 'build/' pattern). This resolves #177.
1 parent dec8759 commit 9d6832f

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

Contrib/Build/umd-footer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Expose globals.
2+
return _global;
3+
}));

Contrib/Build/umd-header.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/**
2+
* +--------------------------------------------------------------------+
3+
* | This HTML_CodeSniffer file is Copyright (c) |
4+
* | Squiz Pty Ltd (ABN 77 084 670 600) |
5+
* +--------------------------------------------------------------------+
6+
* | IMPORTANT: Your use of this Software is subject to the terms of |
7+
* | the Licence provided in the file licence.txt. If you cannot find |
8+
* | this file please contact Squiz (www.squiz.com.au) so we may |
9+
* | provide you a copy. |
10+
* +--------------------------------------------------------------------+
11+
*
12+
*/
13+
(function (root, factory) {
14+
if (typeof define === 'function' && define.amd) {
15+
define(['htmlcs'], factory);
16+
} else if (typeof exports === 'object') {
17+
module.exports = factory();
18+
} else {
19+
var exports = factory();
20+
for (var prop in exports) {
21+
root[prop] = exports[prop];
22+
}
23+
}
24+
}(this, function () {
25+
var _global = {}

0 commit comments

Comments
 (0)