Skip to content

Commit bad40c7

Browse files
committed
Update compiled files
1 parent 0bbb707 commit bad40c7

File tree

15 files changed

+1865
-1443
lines changed

15 files changed

+1865
-1443
lines changed

dist/yaml.debug.js

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/yaml.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
1+
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
22
var Dumper, Inline, Utils;
33

44
Utils = require('./Utils');
@@ -25,6 +25,9 @@ Dumper = (function() {
2525
objectEncoder = null;
2626
}
2727
output = '';
28+
if (typeof input === 'function') {
29+
return output;
30+
}
2831
prefix = (indent ? Utils.strRepeat(' ', indent) : '');
2932
if (inline <= 0 || typeof input !== 'object' || input instanceof Date || Utils.isEmpty(input)) {
3033
output += prefix + Inline.dump(input, exceptionOnInvalidType, objectEncoder);
@@ -120,6 +123,7 @@ DumpException = (function(superClass) {
120123
extend(DumpException, superClass);
121124

122125
function DumpException(message, parsedLine, snippet) {
126+
DumpException.__super__.constructor.call(this, message);
123127
this.message = message;
124128
this.parsedLine = parsedLine;
125129
this.snippet = snippet;
@@ -149,6 +153,7 @@ ParseException = (function(superClass) {
149153
extend(ParseException, superClass);
150154

151155
function ParseException(message, parsedLine, snippet) {
156+
ParseException.__super__.constructor.call(this, message);
152157
this.message = message;
153158
this.parsedLine = parsedLine;
154159
this.snippet = snippet;
@@ -178,6 +183,7 @@ ParseMore = (function(superClass) {
178183
extend(ParseMore, superClass);
179184

180185
function ParseMore(message, parsedLine, snippet) {
186+
ParseMore.__super__.constructor.call(this, message);
181187
this.message = message;
182188
this.parsedLine = parsedLine;
183189
this.snippet = snippet;

dist/yaml.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Dumper.js

Lines changed: 39 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Escaper.js

Lines changed: 56 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Exception/DumpException.js

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Exception/ParseException.js

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Exception/ParseMore.js

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)