Mark bindEvent_ and bindEventWithChecks_ package instead of private

Fixes 50 compiler warnings.
This commit is contained in:
Rachel Fenichel
2018-03-01 17:56:49 -08:00
committed by GitHub
parent 6565b2103b
commit 5920e6aa39

View File

@@ -426,7 +426,7 @@ Blockly.defineBlocksWithJsonArray = function(jsonArray) {
* opt_noPreventDefault is provided, opt_noCaptureIdentifier must also be
* provided.
* @return {!Array.<!Array>} Opaque data that can be passed to unbindEvent_.
* @private
* @package
*/
Blockly.bindEventWithChecks_ = function(node, name, thisObject, func,
opt_noCaptureIdentifier, opt_noPreventDefault) {
@@ -484,7 +484,7 @@ Blockly.bindEventWithChecks_ = function(node, name, thisObject, func,
* @param {Object} thisObject The value of 'this' in the function.
* @param {!Function} func Function to call when event is triggered.
* @return {!Array.<!Array>} Opaque data that can be passed to unbindEvent_.
* @private
* @package
*/
Blockly.bindEvent_ = function(node, name, thisObject, func) {
var wrapFunc = function(e) {