From 3fcb6e22d797d6ab18c84abd615e19adb70c8ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 5 Jun 2019 13:51:40 +0800 Subject: [PATCH] Added AstXObject for dynamic class loading --- .../Astro/Blog/AstroEdit/Visualizer/Snippet/Code.js | 1 + .../_AstXObject_.AstroEdit.Visualizer.Snippet.Code.js | 10 ++++++++++ .../_AstXObject_.AstroEdit.Visualizer.Snippet.js | 2 ++ .../src/externs/_AstXObject_.AstroEdit.Visualizer.js | 2 ++ botanjs/src/externs/_AstXObject_.AstroEdit.js | 2 ++ botanjs/src/externs/_AstXObject_.js | 2 ++ 6 files changed, 19 insertions(+) create mode 100644 botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.Code.js create mode 100644 botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.js create mode 100644 botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.js create mode 100644 botanjs/src/externs/_AstXObject_.AstroEdit.js create mode 100644 botanjs/src/externs/_AstXObject_.js diff --git a/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/Code.js b/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/Code.js index 318e9b0..80d1411 100644 --- a/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/Code.js +++ b/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/Code.js @@ -100,6 +100,7 @@ ).show(); } + /* @type override {_AstXObject_.AstroEdit.Visualizer.Snippet.Code.Override} */ , visualizer = function( submitted, override ) { var lang, code, inline diff --git a/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.Code.js b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.Code.js new file mode 100644 index 0000000..cd26d38 --- /dev/null +++ b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.Code.js @@ -0,0 +1,10 @@ +/** @type {Object} */ +_AstXObject_.AstroEdit.Visualizer.Snippet.Code = {}; + +_AstXObject_.AstroEdit.Visualizer.Snippet.Code.Override = {}; +/** @type String */ +_AstXObject_.AstroEdit.Visualizer.Snippet.Code.Override.inline; +/** @type String */ +_AstXObject_.AstroEdit.Visualizer.Snippet.Code.Override.lang; +/** @type String */ +_AstXObject_.AstroEdit.Visualizer.Snippet.Code.Override.value; diff --git a/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.js b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.js new file mode 100644 index 0000000..c826d56 --- /dev/null +++ b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.Snippet.js @@ -0,0 +1,2 @@ +/** @type {Object} */ +_AstXObject_.AstroEdit.Visualizer.Snippet = {}; diff --git a/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.js b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.js new file mode 100644 index 0000000..d8971d9 --- /dev/null +++ b/botanjs/src/externs/_AstXObject_.AstroEdit.Visualizer.js @@ -0,0 +1,2 @@ +/** @type {Object} */ +_AstXObject_.AstroEdit.Visualizer = {}; diff --git a/botanjs/src/externs/_AstXObject_.AstroEdit.js b/botanjs/src/externs/_AstXObject_.AstroEdit.js new file mode 100644 index 0000000..a8df05f --- /dev/null +++ b/botanjs/src/externs/_AstXObject_.AstroEdit.js @@ -0,0 +1,2 @@ +/** @type {Object} */ +_AstXObject_.AstroEdit = {}; diff --git a/botanjs/src/externs/_AstXObject_.js b/botanjs/src/externs/_AstXObject_.js new file mode 100644 index 0000000..df21c32 --- /dev/null +++ b/botanjs/src/externs/_AstXObject_.js @@ -0,0 +1,2 @@ +/** @type {Object} */ +_AstXObject_ = {};