adobe / brackets.io

brackets.io website
111 stars 80 forks source link

Updated source for private function _disableCache #234

Closed g-217 closed 2 years ago

g-217 commented 4 years ago

Since we updated the signature of function getRemoteDebuggingPort to need a callback. And we update function _disableCache implementation to use same. So, updating the source in document to reflect latest implementation.

g-217 commented 4 years ago

@shubhsnov @narayani28, created the documentation update PR to reflect latest implementation of _disableCache().

shubhsnov commented 4 years ago

In case of this function returning a err, what does port variable have value as?

He's setting it to null on the shell side.

g-217 commented 4 years ago

Live preview:

Screen Shot 2019-12-02 at 5 48 49 PM