Skip to content

Commit

Permalink
added a warn function
Browse files Browse the repository at this point in the history
Will be set for debug only in the future but needed to warn of future
breaking changes
  • Loading branch information
jasonkneen committed Apr 6, 2017
1 parent 0b56c4f commit 0e79ca3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reste.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ var main = function() {
}
}

// generic log handler in DEV mode
function warn(message) {
console.warn(message);
}

// sets up the config, headers, adds methods
reste.config = function(args) {

Expand Down

0 comments on commit 0e79ca3

Please sign in to comment.