Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FastRender.debugger = {}; | ||
FastRender.debugger._logs = []; | ||
FastRender.debugger.log = function function_name(message/*, args..*/) { | ||
if( | ||
typeof console != 'undefined' && | ||
typeof Meteor._localStorage != 'undefined' && | ||
Meteor._localStorage.getItem('__frlog') == "1") | ||
{ | ||
FastRender.debugger._logs.push(arguments); | ||
arguments[0] = "FR: " + arguments[0]; | ||
console.log.apply(console, arguments); | ||
} | ||
} | ||
|
||
FastRender.debugger.enable = function() { | ||
Meteor._localStorage.setItem('__frlog', "1"); | ||
location.reload(); | ||
}; | ||
|
||
FastRender.debugger.disable = function() { | ||
Meteor._localStorage.removeItem('__frlog'); | ||
location.reload(); | ||
}; | ||
|
||
FastRender.debugger.getLogs = function() { | ||
var stringifyLogs = JSON.stringify(FastRender.debugger._logs); | ||
console.log(stringifyLogs); | ||
}; | ||
|
||
FastRender.debugger.blockDDP = function() { | ||
Meteor._localStorage.setItem('__frblockddp', "1"); | ||
location.reload(); | ||
}; | ||
|
||
FastRender.debugger.unblockDDP = function() { | ||
Meteor._localStorage.removeItem('__frblockddp'); | ||
location.reload(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* use better version of updated without usign deepExtend | ||
* remove client side IR stuff | ||
* use DDP level document replacement | ||
* simply add null subscriptions data to when getting them | ||
* support with new IR to detect docs on the server | ||
* move docs to github | ||
* add tests in mini-mongo |