Skip to content

Commit

Permalink
[build] 0.3.1
Browse files Browse the repository at this point in the history
what:
why:
how:
  • Loading branch information
toxic-johann committed Jul 13, 2017
1 parent 5c4efd2 commit 42e07c3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
13 changes: 7 additions & 6 deletions lib/toxic-decorators.browser.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

/**
* toxic-decorators v0.3.0
* toxic-decorators v0.3.1
* (c) 2017 toxic-johann
* Released under GPL-3.0
*/

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.toxicDecorators = global.toxicDecorators || {})));
(factory((global.toxicDecorators = {})));
}(this, (function (exports) { 'use strict';

function unwrapExports (x) {
Expand Down Expand Up @@ -1421,12 +1421,13 @@ function compressOneArgFnArray(fns) {
* @param {anything} args
*/
function warn() {
var _console2, _console3;

var _console = console,
warn = _console.warn,
log = _console.log;
warn = _console.warn;

if (isFunction(warn)) return warn.apply(undefined, arguments);
log.apply(undefined, arguments);
if (isFunction(warn)) return (_console2 = console).warn.apply(_console2, arguments);
(_console3 = console).log.apply(_console3, arguments);
}

function getDeepProperty(obj, keys) {
Expand Down
11 changes: 6 additions & 5 deletions lib/toxic-decorators.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* toxic-decorators v0.3.0
* toxic-decorators v0.3.1
* (c) 2017 toxic-johann
* Released under GPL-3.0
*/
Expand Down Expand Up @@ -127,12 +127,13 @@ function compressOneArgFnArray(fns) {
* @param {anything} args
*/
function warn() {
var _console2, _console3;

var _console = console,
warn = _console.warn,
log = _console.log;
warn = _console.warn;

if (toxicPredicateFunctions.isFunction(warn)) return warn.apply(undefined, arguments);
log.apply(undefined, arguments);
if (toxicPredicateFunctions.isFunction(warn)) return (_console2 = console).warn.apply(_console2, arguments);
(_console3 = console).log.apply(_console3, arguments);
}

function getDeepProperty(obj, keys) {
Expand Down
2 changes: 1 addition & 1 deletion lib/toxic-decorators.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions lib/toxic-decorators.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* toxic-decorators v0.3.0
* toxic-decorators v0.3.1
* (c) 2017 toxic-johann
* Released under GPL-3.0
*/
Expand Down Expand Up @@ -122,12 +122,13 @@ function compressOneArgFnArray(fns) {
* @param {anything} args
*/
function warn() {
var _console2, _console3;

var _console = console,
warn = _console.warn,
log = _console.log;
warn = _console.warn;

if (isFunction(warn)) return warn.apply(undefined, arguments);
log.apply(undefined, arguments);
if (isFunction(warn)) return (_console2 = console).warn.apply(_console2, arguments);
(_console3 = console).log.apply(_console3, arguments);
}

function getDeepProperty(obj, keys) {
Expand Down

0 comments on commit 42e07c3

Please sign in to comment.