1 | // Copyright 2014 Simon Lydell
|
2 | // X11 (“MIT”) Licensed. (See LICENSE.)
|
3 |
|
4 | function u(url) {
|
5 | return "code\n/*# sourceMappingURL=" + url + " */"
|
6 | }
|
7 |
|
8 | function read(x) {
|
9 | return function() {
|
10 | return x
|
11 | }
|
12 | }
|
13 |
|
14 | function Throws(x) {
|
15 | throw new Error(x)
|
16 | }
|
17 |
|
18 | function identity(x) {
|
19 | return x
|
20 | }
|
21 |
|
22 | module.exports = {
|
23 | u: u,
|
24 | read: read,
|
25 | Throws: Throws,
|
26 | identity: identity
|
27 | }
|