"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/asn1/lib/ber/index.js" (8 Mar 2017, 469 Bytes) of archive /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 // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
    2 
    3 var errors = require('./errors');
    4 var types = require('./types');
    5 
    6 var Reader = require('./reader');
    7 var Writer = require('./writer');
    8 
    9 
   10 ///--- Exports
   11 
   12 module.exports = {
   13 
   14   Reader: Reader,
   15 
   16   Writer: Writer
   17 
   18 };
   19 
   20 for (var t in types) {
   21   if (types.hasOwnProperty(t))
   22     module.exports[t] = types[t];
   23 }
   24 for (var e in errors) {
   25   if (errors.hasOwnProperty(e))
   26     module.exports[e] = errors[e];
   27 }