"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/cson-parser/lib/cson-parser.js" (11 Apr 2017, 1668 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Generated by CoffeeScript 1.9.0
    2 
    3 /*
    4 Copyright (c) 2014, Groupon, Inc.
    5 All rights reserved.
    6 
    7 Redistribution and use in source and binary forms, with or without
    8 modification, are permitted provided that the following conditions
    9 are met:
   10 
   11 Redistributions of source code must retain the above copyright notice,
   12 this list of conditions and the following disclaimer.
   13 
   14 Redistributions in binary form must reproduce the above copyright
   15 notice, this list of conditions and the following disclaimer in the
   16 documentation and/or other materials provided with the distribution.
   17 
   18 Neither the name of GROUPON nor the names of its contributors may be
   19 used to endorse or promote products derived from this software without
   20 specific prior written permission.
   21 
   22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
   23 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   24 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
   25 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
   26 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   27 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
   28 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
   29 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
   30 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
   31 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
   32 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   33  */
   34 var CSON, parse, stringify;
   35 
   36 stringify = require('./stringify');
   37 
   38 parse = require('./parse');
   39 
   40 module.exports = CSON = {
   41   stringify: stringify,
   42   parse: parse
   43 };