From 891d23795e3b026de8ece785df5231858832718c Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Sat, 10 Aug 2019 09:17:33 -0700 Subject: [PATCH] Corrected some language. --- core/field_registry.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/field_registry.js b/core/field_registry.js index 15a66e042..a103ea645 100644 --- a/core/field_registry.js +++ b/core/field_registry.js @@ -19,7 +19,9 @@ */ /** - * @fileoverview Utility methods for handling fields. + * @fileoverview Fields can be created based on a JSON definition. This file + * contains methods for registering those JSON definitions, and building the + * fields based on JSON. * @author bekawestberg@gmail.com (Beka Westberg) */ 'use strict'; @@ -74,8 +76,8 @@ Blockly.fieldRegistry.fromJson = function(options) { var fieldClass = Blockly.fieldRegistry.typeMap_[options['type']]; if (!fieldClass) { console.warn('Blockly could not create a field of type ' + options['type'] + - '. The field is probably not being registered. This may be because the' + - ' file is not loaded, the field does not register itself (See:' + + '. The field is probably not being registered. This could be because' + + ' the file is not loaded, the field does not register itself (See:' + ' github.com/google/blockly/issues/1584), or the registration is not' + ' being reached.'); return null;