diff --git a/check.html b/check.html
new file mode 100644
index 0000000..0918ac2
--- /dev/null
+++ b/check.html
@@ -0,0 +1,41 @@
+
+
+
+
+ bn插件判别器
+
+
+
+ bn机制检测系统
+
+
+
+
diff --git a/index.html b/index.html
index 27bfd2d..9869374 100644
--- a/index.html
+++ b/index.html
@@ -363,6 +363,7 @@
+
diff --git a/js/custom/JSON.js b/js/custom/JSON.js
index d8d04b2..d65a760 100644
--- a/js/custom/JSON.js
+++ b/js/custom/JSON.js
@@ -57,4 +57,38 @@ Blockly.JavaScript['json_set'] = function(block) {
Blockly.JavaScript.ORDER_FUNCTION_CALL) || '\'\'';
var text=jsontmp+'['+Key+'] = '+valuetmp+";\n"
return text;
+};
+Blockly.Blocks['json_delete'] = {
+ init: function() {
+ this.jsonInit({
+ "message0": "删除 %1 的键 %2 和其对应的值",
+ "args0": [
+ {
+ "type": "input_value",
+ "name": "JSON",
+ "check": "json"
+ },
+ {
+ "type": "input_value",
+ "name": "KEY",
+ "check": "String"
+ }
+ ],
+ "nextStatement": null,
+ "previousStatement": null,
+ "inputsInline": false,
+ "colour": 97,
+ "tooltip": "删除json的指定键",
+ "helpUrl": "#"
+ });
+ }
+};
+Blockly.JavaScript['json_delete'] = function(block) {
+ //String or array length.
+ var jsontmp = Blockly.JavaScript.valueToCode(block, 'JSON',
+ Blockly.JavaScript.ORDER_FUNCTION_CALL) || '\'\'';
+ var keytmp = Blockly.JavaScript.valueToCode(block, 'KEY',
+ Blockly.JavaScript.ORDER_FUNCTION_CALL) || '\'\'';
+ var text="delete "+jsontmp+"["+keytmp+"];\n"
+ return text;
};
\ No newline at end of file