mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Mark bindEvent_ and bindEventWithChecks_ package instead of private
Fixes 50 compiler warnings.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user