-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtemplate.js
35 lines (30 loc) · 1.01 KB
/
template.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-env browser, amd, node */
/**
*
* @file Translates plain ASCII punctuation characters into "smart" typographic punctuation
* @desc See the readme for details, installation instructions, and * license information.
* @version 0.0.4
* @author othree
*
* Copyright (c) 2003-2004 John Gruber
* Copyright (c) 2016 Kao, Wei-Ko(othree)
*
* @see {@link https://www.npmjs.com/package/smartypants|smartypants.js}
*/
/*! smartypants.js 0.0.6 | (c) Kao, Wei-Ko(othree) | github.com/othree/smartypants.js/blob/master/LICENSE */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define('SmartyPants', ['exports'], function (exports) {
factory((root.SmartyPants = exports));
});
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports);
} else {
// Browser globals
factory((root.SmartyPants = {}));
}
}(this, function (exports) {
// @CODE
}));