Website/node_modules/yaml-js/yaml.min.js

1 line
88 KiB
JavaScript
Raw Normal View History

(function(){var root=this,modules,require_from,register,error;if(typeof global=="undefined"){var global;typeof window!="undefined"?global=window:global={}}modules={},require_from=function(parent,from){return function(name){return modules[from]&&modules[from][name]?(modules[from][name].parent=parent,modules[from][name].initialize&&modules[from][name].initialize(),modules[from][name].exports):error(name,from)}},register=function(names,directory,callback){var module={exports:{},initialize:function(){callback.call(module.exports,global,module,module.exports,require_from(module,directory),undefined),delete module.initialize},parent:null};for(var from in names){modules[from]=modules[from]||{};for(var j in names[from]){var name=names[from][j];modules[from][name]=module}}},error=function anonymous(name,from){var message="Warn: could not find module "+name;console.log(message)},register({0:["./events"]},0,function(global,module,exports,require,window){(function(){var _ref,_ref1,_ref2,_ref3,_ref4,_ref5,_ref6,__hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);function ctor(){this.constructor=child}return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};this.Event=function(){function Event(start_mark,end_mark){this.start_mark=start_mark,this.end_mark=end_mark}return Event}(),this.NodeEvent=function(_super){__extends(NodeEvent,_super);function NodeEvent(anchor,start_mark,end_mark){this.anchor=anchor,this.start_mark=start_mark,this.end_mark=end_mark}return NodeEvent}(this.Event),this.CollectionStartEvent=function(_super){__extends(CollectionStartEvent,_super);function CollectionStartEvent(anchor,tag,implicit,start_mark,end_mark){this.anchor=anchor,this.tag=tag,this.implicit=implicit,this.start_mark=start_mark,this.end_mark=end_mark}return CollectionStartEvent}(this.NodeEvent),this.CollectionEndEvent=function(_super){__extends(CollectionEndEvent,_super);function CollectionEndEvent(){return _ref=CollectionEndEvent.__super__.constructor.apply(this,arguments),_ref}return CollectionEndEvent}(this.Event),this.StreamStartEvent=function(_super){__extends(StreamStartEvent,_super);function StreamStartEvent(start_mark,end_mark,explicit,version,tags){this.start_mark=start_mark,this.end_mark=end_mark,this.explicit=explicit,this.version=version,this.tags=tags}return StreamStartEvent}(this.Event),this.StreamEndEvent=function(_super){__extends(StreamEndEvent,_super);function StreamEndEvent(){return _ref1=StreamEndEvent.__super__.constructor.apply(this,arguments),_ref1}return StreamEndEvent}(this.Event),this.DocumentStartEvent=function(_super){__extends(DocumentStartEvent,_super);function DocumentStartEvent(start_mark,end_mark,explicit,version,tags){this.start_mark=start_mark,this.end_mark=end_mark,this.explicit=explicit,this.version=version,this.tags=tags}return DocumentStartEvent}(this.Event),this.DocumentEndEvent=function(_super){__extends(DocumentEndEvent,_super);function DocumentEndEvent(start_mark,end_mark,explicit){this.start_mark=start_mark,this.end_mark=end_mark,this.explicit=explicit}return DocumentEndEvent}(this.Event),this.AliasEvent=function(_super){__extends(AliasEvent,_super);function AliasEvent(){return _ref2=AliasEvent.__super__.constructor.apply(this,arguments),_ref2}return AliasEvent}(this.NodeEvent),this.ScalarEvent=function(_super){__extends(ScalarEvent,_super);function ScalarEvent(anchor,tag,implicit,value,start_mark,end_mark,style){this.anchor=anchor,this.tag=tag,this.implicit=implicit,this.value=value,this.start_mark=start_mark,this.end_mark=end_mark,this.style=style}return ScalarEvent}(this.NodeEvent),this.SequenceStartEvent=function(_super){__extends(SequenceStartEvent,_super);function SequenceStartEvent(){return _ref3=SequenceStartEvent.__super__.constructor.apply(this,arguments),_ref3}return SequenceStartEvent}(this.CollectionStartEvent),this.SequenceEndEvent=function(_super){__extends(SequenceEndEvent,_super);function SequenceEndEvent(){return _ref4=SequenceEndEvent.__super__.constructor.app