mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Remove all goog.asserts and goog.isXxx
First step to reducing Closure’s footprint.
This commit is contained in:
@@ -660,7 +660,7 @@ Blockly.Scrollbar.prototype.setVisible = function(visible) {
|
||||
// Ideally this would also apply to scrollbar pairs, but that's a bigger
|
||||
// headache (due to interactions with the corner square).
|
||||
if (this.pair_) {
|
||||
throw 'Unable to toggle visibility of paired scrollbars.';
|
||||
throw Error('Unable to toggle visibility of paired scrollbars.');
|
||||
}
|
||||
this.isVisible_ = visible;
|
||||
if (visibilityChanged) {
|
||||
|
||||
Reference in New Issue
Block a user