Automatic commit Sat Dec 14 03:00:02 PST 2013

This commit is contained in:
ellen.spertus
2013-12-14 03:00:02 -08:00
parent 89af53a893
commit eb5895d70a
164 changed files with 1501 additions and 1234 deletions

View File

@@ -30,6 +30,7 @@ goog.provide('Blockly.Field');
// TODO(scr): Fix circular dependencies
// goog.require('Blockly.Block');
goog.require('Blockly.BlockSvg');
goog.require('goog.asserts');
/**
@@ -54,6 +55,17 @@ Blockly.Field = function(text) {
this.visible_ = true;
};
/**
* Clone this Field. This must be implemented by all classes derived from
* Field. Since this class should not be instantiated, calling this method
* throws an exception.
* @throws {goog.assert.AssertionError}
*/
Blockly.Field.prototype.clone = function() {
goog.asserts.fail('There should never be an instance of Field, ' +
'only its derived classes.');
};
/**
* Non-breaking space.
*/