Skip to content

Commit

Permalink
Updating dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
okofish committed May 14, 2018
1 parent 1957250 commit 1cf77e2
Show file tree
Hide file tree
Showing 8 changed files with 2,806 additions and 2,490 deletions.
1,267 changes: 38 additions & 1,229 deletions dist/osc-browser.js

Large diffs are not rendered by default.

883 changes: 881 additions & 2 deletions dist/osc-browser.min.js

Large diffs are not rendered by default.

1,270 changes: 40 additions & 1,230 deletions dist/osc-chromeapp.js

Large diffs are not rendered by default.

975 changes: 973 additions & 2 deletions dist/osc-chromeapp.min.js

Large diffs are not rendered by default.

29 changes: 16 additions & 13 deletions dist/osc-module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! osc.js 2.2.0, Copyright 2017 Colin Clark | github.com/colinbdclark/osc.js */
/*! osc.js 2.2.1, Copyright 2018 Colin Clark | github.com/colinbdclark/osc.js */

(function (root, factory) {
if (typeof exports === "object") {
Expand All @@ -17,14 +17,15 @@
factory(root.osc, slip, EventEmitter);
}
}(this, function (exports, slip, EventEmitter, Long) {
;/*
;
/*
* osc.js: An Open Sound Control library for JavaScript that works in both the browser and Node.js
*
* Copyright 2014-2016, Colin Clark
* Licensed under the MIT and GPL 3 licenses.
*/

/* global require, module, process, Buffer, dcodeIO */
/* global require, module, process, Buffer, Long */

var osc = osc || {};

Expand Down Expand Up @@ -58,19 +59,18 @@ var osc = osc || {};
return obj && Object.prototype.toString.call(obj) === "[object Array]";
};

// Unsupported, non-API function
// Unsupported, non-API function.
osc.isTypedArrayView = function (obj) {
return obj.buffer && obj.buffer instanceof ArrayBuffer;
};

// Unsupported, non-API function
// Unsupported, non-API function.
osc.isBuffer = function (obj) {
return osc.isBufferEnv && obj instanceof Buffer;
};

// Private instance of the optional Long dependency.
var Long = typeof dcodeIO !== "undefined" ? dcodeIO.Long :
typeof Long !== "undefined" ? Long :
// Unsupported, non-API member.
osc.Long = typeof Long !== "undefined" ? Long :
osc.isNode ? require("long") : undefined;

/**
Expand Down Expand Up @@ -287,8 +287,8 @@ var osc = osc || {};
var high = osc.readPrimitive(dv, "getInt32", 4, offsetState),
low = osc.readPrimitive(dv, "getInt32", 4, offsetState);

if (Long) {
return new Long(low, high);
if (osc.Long) {
return new osc.Long(low, high);
} else {
return {
high: high,
Expand Down Expand Up @@ -625,7 +625,7 @@ var osc = osc || {};
*
* @param {DataView} dv a DataView instance to read from
* @param {Object} offsetState the offsetState object that stores the current offset into dv
* @param {Oobject} [options] read options
* @param {Object} [options] read options
* @return {Array} an array of the OSC arguments that were read
*/
osc.readArguments = function (dv, options, offsetState) {
Expand Down Expand Up @@ -1107,7 +1107,8 @@ var osc = osc || {};
module.exports = osc;
}
}());
;/*
;
/*
* osc.js: An Open Sound Control library for JavaScript that works in both the browser and Node.js
*
* Cross-platform base transport library for osc.js.
Expand Down Expand Up @@ -1328,7 +1329,8 @@ var osc = osc || require("./osc.js"),
module.exports = osc;
}
}());
;/*
;
/*
* osc.js: An Open Sound Control library for JavaScript that works in both the browser and Node.js
*
* Cross-Platform Web Socket client transport for osc.js.
Expand Down Expand Up @@ -1414,5 +1416,6 @@ var osc = osc || require("../osc.js");

}());
;

return osc;
}));
489 changes: 487 additions & 2 deletions dist/osc-module.min.js

Large diffs are not rendered by default.

19 changes: 9 additions & 10 deletions dist/osc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! osc.js 2.2.0, Copyright 2017 Colin Clark | github.com/colinbdclark/osc.js */
/*! osc.js 2.2.1, Copyright 2018 Colin Clark | github.com/colinbdclark/osc.js */

/*
* osc.js: An Open Sound Control library for JavaScript that works in both the browser and Node.js
Expand All @@ -7,7 +7,7 @@
* Licensed under the MIT and GPL 3 licenses.
*/

/* global require, module, process, Buffer, dcodeIO */
/* global require, module, process, Buffer, Long */

var osc = osc || {};

Expand Down Expand Up @@ -41,19 +41,18 @@ var osc = osc || {};
return obj && Object.prototype.toString.call(obj) === "[object Array]";
};

// Unsupported, non-API function
// Unsupported, non-API function.
osc.isTypedArrayView = function (obj) {
return obj.buffer && obj.buffer instanceof ArrayBuffer;
};

// Unsupported, non-API function
// Unsupported, non-API function.
osc.isBuffer = function (obj) {
return osc.isBufferEnv && obj instanceof Buffer;
};

// Private instance of the optional Long dependency.
var Long = typeof dcodeIO !== "undefined" ? dcodeIO.Long :
typeof Long !== "undefined" ? Long :
// Unsupported, non-API member.
osc.Long = typeof Long !== "undefined" ? Long :
osc.isNode ? require("long") : undefined;

/**
Expand Down Expand Up @@ -270,8 +269,8 @@ var osc = osc || {};
var high = osc.readPrimitive(dv, "getInt32", 4, offsetState),
low = osc.readPrimitive(dv, "getInt32", 4, offsetState);

if (Long) {
return new Long(low, high);
if (osc.Long) {
return new osc.Long(low, high);
} else {
return {
high: high,
Expand Down Expand Up @@ -608,7 +607,7 @@ var osc = osc || {};
*
* @param {DataView} dv a DataView instance to read from
* @param {Object} offsetState the offsetState object that stores the current offset into dv
* @param {Oobject} [options] read options
* @param {Object} [options] read options
* @return {Array} an array of the OSC arguments that were read
*/
osc.readArguments = function (dv, options, offsetState) {
Expand Down
Loading

0 comments on commit 1cf77e2

Please sign in to comment.