|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
788 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | // Generated by LiveScript 1.6.0
|
|---|
| 2 | (function(){
|
|---|
| 3 | var parseString, cast, parseType, VERSION, parsedTypeParse, parse;
|
|---|
| 4 | parseString = require('./parse-string');
|
|---|
| 5 | cast = require('./cast');
|
|---|
| 6 | parseType = require('type-check').parseType;
|
|---|
| 7 | VERSION = '0.4.1';
|
|---|
| 8 | parsedTypeParse = function(parsedType, string, options){
|
|---|
| 9 | options == null && (options = {});
|
|---|
| 10 | options.explicit == null && (options.explicit = false);
|
|---|
| 11 | options.customTypes == null && (options.customTypes = {});
|
|---|
| 12 | return cast(parseString(parsedType, string, options), parsedType, options);
|
|---|
| 13 | };
|
|---|
| 14 | parse = function(type, string, options){
|
|---|
| 15 | return parsedTypeParse(parseType(type), string, options);
|
|---|
| 16 | };
|
|---|
| 17 | module.exports = {
|
|---|
| 18 | VERSION: VERSION,
|
|---|
| 19 | parse: parse,
|
|---|
| 20 | parsedTypeParse: parsedTypeParse
|
|---|
| 21 | };
|
|---|
| 22 | }).call(this);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.