Merge pull request #1680 from google/rachel-fenichel-patch-1

Mark bindEvent_ and bindEventWithChecks_ package instead of private
This commit is contained in:
Rachel Fenichel
2018-03-02 13:51:21 -08:00
committed by GitHub

View File

@@ -427,7 +427,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) {
@@ -489,7 +489,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) {