" +
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/SuccessMessageClosure.js b/webapp/src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js
similarity index 95%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/SuccessMessageClosure.js
rename to webapp/src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js
index 814c3bf..01bf265 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/SuccessMessageClosure.js
+++ b/webapp/src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js
@@ -19,12 +19,12 @@
*
* @author h.adachi
*/
-exmp.blog.functor.dhtml.SuccessMessageClosure = {
+export class SuccessMessageClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
// update the html element and the css style.
$("#message-block")
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/WaitingMessageClosure.js b/webapp/src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js
similarity index 94%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/WaitingMessageClosure.js
rename to webapp/src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js
index 15e2b05..ada41a1 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/WaitingMessageClosure.js
+++ b/webapp/src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js
@@ -19,12 +19,12 @@
*
* @author h.adachi
*/
-exmp.blog.functor.dhtml.WaitingMessageClosure = {
+export class WaitingMessageClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
// update the html element and the css style.
$("#message-block")
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/DeleteEventClosure.js b/webapp/src/main/assets/scripts/functor/event/DeleteEventClosure.js
similarity index 81%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/DeleteEventClosure.js
rename to webapp/src/main/assets/scripts/functor/event/DeleteEventClosure.js
index ddc7bac..69f3396 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/DeleteEventClosure.js
+++ b/webapp/src/main/assets/scripts/functor/event/DeleteEventClosure.js
@@ -12,6 +12,8 @@
* limitations under the License.
*/
+import { EntryDeleteClosure } from '../request/EntryDeleteClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,16 +21,16 @@
*
* @author h.adachi
*/
-exmp.blog.functor.event.DeleteEventClosure = {
+export class DeleteEventClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
- console.log("exmp.blog.functor.event.DeleteEventClosure#execute");
+ execute(obj) {
+ console.log("/functor/event/DeleteEventClosure#execute");
+
+ const deleteClosure = new EntryDeleteClosure();
- var deleteClosure = exmp.blog.functor.request.EntryDeleteClosure;
-
// dynamically generate an event handler.
$("#entry-delete-" + obj.code).click(function() {
deleteClosure.execute({
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EditEventClosure.js b/webapp/src/main/assets/scripts/functor/event/EditEventClosure.js
similarity index 89%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EditEventClosure.js
rename to webapp/src/main/assets/scripts/functor/event/EditEventClosure.js
index c10f185..6a18414 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EditEventClosure.js
+++ b/webapp/src/main/assets/scripts/functor/event/EditEventClosure.js
@@ -19,17 +19,17 @@
*
* @author h.adachi
*/
-exmp.blog.functor.event.EditEventClosure = {
+export class EditEventClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
- console.log("exmp.blog.functor.event.EditEventClosure#execute");
-
+ execute(obj) {
+ console.log("/functor/event/EditEventClosure#execute");
+
// dynamically generate an event handler.
$("#entry-edit-" + obj.code).click(function() {
-
+
// get the entry value for from that need to edit.
$("#entry-title").val(
$("#entry-title-" + obj.code).text()
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EventBuildClosure.js b/webapp/src/main/assets/scripts/functor/event/EventBuildClosure.js
similarity index 74%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EventBuildClosure.js
rename to webapp/src/main/assets/scripts/functor/event/EventBuildClosure.js
index 76313d0..02110ef 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/EventBuildClosure.js
+++ b/webapp/src/main/assets/scripts/functor/event/EventBuildClosure.js
@@ -12,6 +12,9 @@
* limitations under the License.
*/
+import { EditEventClosure } from '../event/EditEventClosure';
+import { DeleteEventClosure } from '../event/DeleteEventClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,19 +22,19 @@
*
* @author h.adachi
*/
-exmp.blog.functor.event.EventBuildClosure = {
+export class EventBuildClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
- var editEventClosure = exmp.blog.functor.event.EditEventClosure;
+ const editEventClosure = new EditEventClosure();
- var deleteEventClosure = exmp.blog.functor.event.DeleteEventClosure;
+ const deleteEventClosure = new DeleteEventClosure();
- for (var i = 0; i < obj.entryModelList.length; i++) {
- var code = obj.entryModelList[i].code;
+ for (let i = 0; i < obj.entryModelList.length; i++) {
+ let code = obj.entryModelList[i].code;
// set the event handler for edit.
editEventClosure.execute({
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/EntryListTransformer.js b/webapp/src/main/assets/scripts/functor/htmltag/EntryListTransformer.js
similarity index 81%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/EntryListTransformer.js
rename to webapp/src/main/assets/scripts/functor/htmltag/EntryListTransformer.js
index 9e04263..1e8ec79 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/EntryListTransformer.js
+++ b/webapp/src/main/assets/scripts/functor/htmltag/EntryListTransformer.js
@@ -20,37 +20,37 @@
*
* @author h.adachi
*/
-exmp.blog.functor.htmltag.EntryListTransformer = {
+export class EntryListTransformer {
///////////////////////////////////////////////////////////////////////////
// public methods
- transform: function(obj) {
- console.log("exmp.blog.functor.htmltag.EntryListTransformer#transform");
-
+ transform(obj) {
+ console.log("/functor/htmltag/EntryListTransformer#transform");
+
// dynamically generate an html table.
- var table = "
";
- for (var i = 0; i < obj.entryModelList.length; i++) {
+ let table = "
";
+ for (let i = 0; i < obj.entryModelList.length; i++) {
// get the value
- var id = obj.entryModelList[i].id;
- var code = obj.entryModelList[i].code;
- var title = $.erasureHTML(
+ let id = obj.entryModelList[i].id;
+ let code = obj.entryModelList[i].code;
+ let title = $.erasureHTML(
obj.entryModelList[i].title
);
- var content = $.erasureHTML(
+ let content = $.erasureHTML(
obj.entryModelList[i].content
);
- var category = $.erasureHTML(
+ let category = $.erasureHTML(
obj.entryModelList[i].category
);
- var tags = $.erasureHTML(
+ let tags = $.erasureHTML(
obj.entryModelList[i].tags
);
- var permalinkUrl = obj.entryModelList[i].permalinkUrl;
- var username = obj.entryModelList[i].username;
- var email = obj.entryModelList[i].email;
- var hash = 0;
+ let permalinkUrl = obj.entryModelList[i].permalinkUrl;
+ let username = obj.entryModelList[i].username;
+ let email = obj.entryModelList[i].email;
+ let hash = 0;
if (email) { hash = MD5_hexhash(email); }
// create an html tag and set the entry code.
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryDeleteClosure.js b/webapp/src/main/assets/scripts/functor/request/EntryDeleteClosure.js
similarity index 76%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryDeleteClosure.js
rename to webapp/src/main/assets/scripts/functor/request/EntryDeleteClosure.js
index e922f8a..b77ff70 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryDeleteClosure.js
+++ b/webapp/src/main/assets/scripts/functor/request/EntryDeleteClosure.js
@@ -12,6 +12,12 @@
* limitations under the License.
*/
+import { WaitingMessageClosure } from '../dhtml/WaitingMessageClosure';
+import { SuccessMessageClosure } from '../dhtml/SuccessMessageClosure';
+import { ErrorMessageClosure } from '../dhtml/ErrorMessageClosure';
+import { EntryListUpdateClosure } from '../dhtml/EntryListUpdateClosure';
+import { EventBuildClosure } from '../event/EventBuildClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,23 +25,23 @@
*
* @author h.adachi
*/
-exmp.blog.functor.request.EntryDeleteClosure = {
+export class EntryDeleteClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
- console.log("exmp.blog.functor.request.EntryDeleteClosure#execute");
+ execute(obj) {
+ console.log("/functor/request/EntryDeleteClosure#execute");
- var waitingMessageClosure = exmp.blog.functor.dhtml.WaitingMessageClosure;
+ const waitingMessageClosure = new WaitingMessageClosure();
- var successMessageClosure = exmp.blog.functor.dhtml.SuccessMessageClosure;
+ const successMessageClosure = new SuccessMessageClosure();
- var errorMessageClosure = exmp.blog.functor.dhtml.ErrorMessageClosure;
+ const errorMessageClosure = new ErrorMessageClosure();
- var entryListUpdateClosure = exmp.blog.functor.dhtml.EntryListUpdateClosure;
+ const entryListUpdateClosure = new EntryListUpdateClosure();
- var eventBuildClosure = exmp.blog.functor.event.EventBuildClosure;
+ const eventBuildClosure = new EventBuildClosure();
// show the waiting message.
waitingMessageClosure.execute({
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryListClosure.js b/webapp/src/main/assets/scripts/functor/request/EntryListClosure.js
similarity index 81%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryListClosure.js
rename to webapp/src/main/assets/scripts/functor/request/EntryListClosure.js
index c9a61f1..d9f4af4 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryListClosure.js
+++ b/webapp/src/main/assets/scripts/functor/request/EntryListClosure.js
@@ -12,6 +12,11 @@
* limitations under the License.
*/
+import { ListWaitingClosure } from '../dhtml/ListWaitingClosure';
+import { ErrorMessageClosure } from '../dhtml/ErrorMessageClosure';
+import { EntryListUpdateClosure } from '../dhtml/EntryListUpdateClosure';
+import { EventBuildClosure } from '../event/EventBuildClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,20 +24,20 @@
*
* @author h.adachi
*/
-exmp.blog.functor.request.EntryListClosure = {
+export class EntryListClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
- var listWaitingClosure = exmp.blog.functor.dhtml.ListWaitingClosure;
+ const listWaitingClosure = new ListWaitingClosure();
- var errorMessageClosure = exmp.blog.functor.dhtml.ErrorMessageClosure;
+ const errorMessageClosure = new ErrorMessageClosure();
- var entryListUpdateClosure = exmp.blog.functor.dhtml.EntryListUpdateClosure;
+ const entryListUpdateClosure = new EntryListUpdateClosure();
- var eventBuildClosure = exmp.blog.functor.event.EventBuildClosure;
+ const eventBuildClosure = new EventBuildClosure();
// show the waiting message.
listWaitingClosure.execute(
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryPostClosure.js b/webapp/src/main/assets/scripts/functor/request/EntryPostClosure.js
similarity index 79%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryPostClosure.js
rename to webapp/src/main/assets/scripts/functor/request/EntryPostClosure.js
index 47bac91..81233d1 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/EntryPostClosure.js
+++ b/webapp/src/main/assets/scripts/functor/request/EntryPostClosure.js
@@ -12,6 +12,12 @@
* limitations under the License.
*/
+import { WaitingMessageClosure } from '../dhtml/WaitingMessageClosure';
+import { SuccessMessageClosure } from '../dhtml/SuccessMessageClosure';
+import { ErrorMessageClosure } from '../dhtml/ErrorMessageClosure';
+import { EntryListUpdateClosure } from '../dhtml/EntryListUpdateClosure';
+import { EventBuildClosure } from '../event/EventBuildClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,22 +25,22 @@
*
* @author h.adachi
*/
-exmp.blog.functor.request.EntryPostClosure = {
+export class EntryPostClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
- var waitingMessageClosure = exmp.blog.functor.dhtml.WaitingMessageClosure;
+ const waitingMessageClosure = new WaitingMessageClosure();
- var successMessageClosure = exmp.blog.functor.dhtml.SuccessMessageClosure;
+ const successMessageClosure = new SuccessMessageClosure();
- var errorMessageClosure = exmp.blog.functor.dhtml.ErrorMessageClosure;
+ const errorMessageClosure = new ErrorMessageClosure();
- var entryListUpdateClosure = exmp.blog.functor.dhtml.EntryListUpdateClosure;
+ const entryListUpdateClosure = new EntryListUpdateClosure();
- var eventBuildClosure = exmp.blog.functor.event.EventBuildClosure;
+ const eventBuildClosure = new EventBuildClosure();
// show the waiting message.
waitingMessageClosure.execute({
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/SettingClosure.js b/webapp/src/main/assets/scripts/functor/request/SettingClosure.js
similarity index 84%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/SettingClosure.js
rename to webapp/src/main/assets/scripts/functor/request/SettingClosure.js
index b0b7cb3..6ceab69 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/SettingClosure.js
+++ b/webapp/src/main/assets/scripts/functor/request/SettingClosure.js
@@ -12,6 +12,10 @@
* limitations under the License.
*/
+import { WaitingMessageClosure } from '../dhtml/WaitingMessageClosure';
+import { SuccessMessageClosure } from '../dhtml/SuccessMessageClosure';
+import { ErrorMessageClosure } from '../dhtml/ErrorMessageClosure';
+
///////////////////////////////////////////////////////////////////////////////
/**
* a functor class of the application.
@@ -19,18 +23,18 @@
*
* @author h.adachi
*/
-exmp.blog.functor.request.SettingClosure = {
+export class SettingClosure {
///////////////////////////////////////////////////////////////////////////
// public methods
- execute: function(obj) {
+ execute(obj) {
- var waitingMessageClosure = exmp.blog.functor.dhtml.WaitingMessageClosure;
+ const waitingMessageClosure = new WaitingMessageClosure();
- var successMessageClosure = exmp.blog.functor.dhtml.SuccessMessageClosure;
+ const successMessageClosure = new SuccessMessageClosure();
- var errorMessageClosure = exmp.blog.functor.dhtml.ErrorMessageClosure;
+ const errorMessageClosure = new ErrorMessageClosure();
// show the waiting message.
waitingMessageClosure.execute({
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/EntryFactory.js b/webapp/src/main/assets/scripts/functor/value/EntryFactory.js
similarity index 92%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/EntryFactory.js
rename to webapp/src/main/assets/scripts/functor/value/EntryFactory.js
index 9a431e3..6c775f4 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/EntryFactory.js
+++ b/webapp/src/main/assets/scripts/functor/value/EntryFactory.js
@@ -20,14 +20,14 @@
*
* @author h.adachi
*/
-exmp.blog.functor.value.EntryFactory = {
+export class EntryFactory {
///////////////////////////////////////////////////////////////////////////
// public methods
- create: function() {
+ create() {
// convert the form data to JSON.
- var param = {};
+ let param = {};
$($("#entry-form").serializeArray()).each(
function(i, v) {
param[v.name] = v.value;
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/main.js b/webapp/src/main/assets/scripts/main.js
similarity index 88%
rename from webapp/src/main/webapp/docroot/scripts/src/exmp/blog/main.js
rename to webapp/src/main/assets/scripts/main.js
index ad24fa3..27abc94 100644
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/main.js
+++ b/webapp/src/main/assets/scripts/main.js
@@ -12,12 +12,13 @@
* limitations under the License.
*/
+import { Application } from './core/Application';
+
///////////////////////////////////////////////////////////////////////////////
/**
* called the main entry.
*
* @author h.adachi
*/
-new exmp.blog.core.Application(
- this
-);
+const app = new Application();
+app.run();
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/.gitignore b/webapp/src/main/webapp/docroot/scripts/.gitignore
index 3d30671..d2cd548 100644
--- a/webapp/src/main/webapp/docroot/scripts/.gitignore
+++ b/webapp/src/main/webapp/docroot/scripts/.gitignore
@@ -1,2 +1 @@
-*.nblh~
-exmp-blog.min.js
\ No newline at end of file
+*.nblh~
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/exmp-blog.min.js b/webapp/src/main/webapp/docroot/scripts/exmp-blog.min.js
new file mode 100644
index 0000000..a3c935b
--- /dev/null
+++ b/webapp/src/main/webapp/docroot/scripts/exmp-blog.min.js
@@ -0,0 +1,305 @@
+/******/ (function(modules) { // webpackBootstrap
+/******/ // The module cache
+/******/ var installedModules = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId]) {
+/******/ return installedModules[moduleId].exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ i: moduleId,
+/******/ l: false,
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Flag the module as loaded
+/******/ module.l = true;
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = modules;
+/******/
+/******/ // expose the module cache
+/******/ __webpack_require__.c = installedModules;
+/******/
+/******/ // define getter function for harmony exports
+/******/ __webpack_require__.d = function(exports, name, getter) {
+/******/ if(!__webpack_require__.o(exports, name)) {
+/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
+/******/ }
+/******/ };
+/******/
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = function(exports) {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/
+/******/ // create a fake namespace object
+/******/ // mode & 1: value is a module id, require it
+/******/ // mode & 2: merge all properties of value into the ns
+/******/ // mode & 4: return value when already ns object
+/******/ // mode & 8|1: behave like require
+/******/ __webpack_require__.t = function(value, mode) {
+/******/ if(mode & 1) value = __webpack_require__(value);
+/******/ if(mode & 8) return value;
+/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
+/******/ var ns = Object.create(null);
+/******/ __webpack_require__.r(ns);
+/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
+/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
+/******/ return ns;
+/******/ };
+/******/
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = function(module) {
+/******/ var getter = module && module.__esModule ?
+/******/ function getDefault() { return module['default']; } :
+/******/ function getModuleExports() { return module; };
+/******/ __webpack_require__.d(getter, 'a', getter);
+/******/ return getter;
+/******/ };
+/******/
+/******/ // Object.prototype.hasOwnProperty.call
+/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
+/******/
+/******/ // __webpack_public_path__
+/******/ __webpack_require__.p = "";
+/******/
+/******/
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(__webpack_require__.s = "./src/main/assets/scripts/main.js");
+/******/ })
+/************************************************************************/
+/******/ ({
+
+/***/ "./src/main/assets/scripts/core/Application.js":
+/*!*****************************************************!*\
+ !*** ./src/main/assets/scripts/core/Application.js ***!
+ \*****************************************************/
+/*! exports provided: Application */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Application\", function() { return Application; });\n/* harmony import */ var _Controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Controller */ \"./src/main/assets/scripts/core/Controller.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * an entry class of the application.\n * \n * @author h.adachi\n */\nclass Application {\n run() {\n const controller = new _Controller__WEBPACK_IMPORTED_MODULE_0__[\"Controller\"]();\n $(document).ready(function() {\n controller.init();\n })\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/core/Application.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/core/Controller.js":
+/*!****************************************************!*\
+ !*** ./src/main/assets/scripts/core/Controller.js ***!
+ \****************************************************/
+/*! exports provided: Controller */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Controller\", function() { return Controller; });\n/* harmony import */ var _functor_value_EntryFactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../functor/value/EntryFactory */ \"./src/main/assets/scripts/functor/value/EntryFactory.js\");\n/* harmony import */ var _functor_request_EntryListClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../functor/request/EntryListClosure */ \"./src/main/assets/scripts/functor/request/EntryListClosure.js\");\n/* harmony import */ var _functor_request_EntryPostClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../functor/request/EntryPostClosure */ \"./src/main/assets/scripts/functor/request/EntryPostClosure.js\");\n/* harmony import */ var _functor_request_SettingClosure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../functor/request/SettingClosure */ \"./src/main/assets/scripts/functor/request/SettingClosure.js\");\n/* harmony import */ var _functor_dhtml_ProfileUpdateClosure__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../functor/dhtml/ProfileUpdateClosure */ \"./src/main/assets/scripts/functor/dhtml/ProfileUpdateClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a controller class of the application.\n * \n * @author h.adachi\n */\nclass Controller {\n\n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n /**\n * the initialization method of the Controller class.\n * this method should be called.\n */\n init() {\n this._initializeComponent();\n }\n \n ///////////////////////////////////////////////////////////////////////////\n // event handler methods\n \n /**\n * an event handler that called when \n * the button of post is clicked.\n */\n _postButtonOnClick() {\n \n const entryPostClosure = new _functor_request_EntryPostClosure__WEBPACK_IMPORTED_MODULE_2__[\"EntryPostClosure\"]();\n const entryFactory = new _functor_value_EntryFactory__WEBPACK_IMPORTED_MODULE_0__[\"EntryFactory\"]();\n \n entryPostClosure.execute(\n entryFactory.create()\n );\n }\n \n /**\n * an event handler that called when \n * the button of setting is clicked.\n */\n _settingButtonOnClick() {\n \n const settingClosure = new _functor_request_SettingClosure__WEBPACK_IMPORTED_MODULE_3__[\"SettingClosure\"]();\n const entryFactory = new _functor_value_EntryFactory__WEBPACK_IMPORTED_MODULE_0__[\"EntryFactory\"]();\n \n settingClosure.execute(\n entryFactory.create()\n );\n }\n \n /**\n * an event handler that called when \n * the div of message close is clicked.\n */\n _messageDivOnClick() {\n $(\"#message-block\")\n .removeClass(\"show\")\n .css({\n margin: \"0\",\n padding: \"0\",\n border: \"none\"\n })\n .html(\"\");\n }\n \n /**\n * an event handler that called when\n * the div of title is clicked.\n */\n _headerTitleDivOnClick() {\n $(\"div.container\")\n .toggleClass(\n \"wide\", 300\n );\n }\n \n ///////////////////////////////////////////////////////////////////////////\n // private methods\n \n /**\n * initializes a div of the tabs area.\n */\n _initializeTabsDiv() {\n $(\"div.tab-content div.tab\").hide();\n $(\"div.tab-content div.tab:first\").show();\n $(\"div.tab-content ul li:first\").addClass(\"active\");\n $(\"div.tab-content ul li a\").click(function(){\n $(\"div.tab-content ul li\").removeClass(\"active\");\n $(this).parent().addClass(\"active\");\n var currentTab = $(this).attr(\"href\");\n $(\"div.tab-content div.tab\").hide();\n $(currentTab).show();\n return false;\n });\n }\n \n /**\n * initializes a div of entry list.\n * a HTTP request of Ajax for get the entry data.\n */\n _initializeEntryListDiv() {\n \n const profileUpdateClosure = new _functor_dhtml_ProfileUpdateClosure__WEBPACK_IMPORTED_MODULE_4__[\"ProfileUpdateClosure\"]();\n const entryListClosure = new _functor_request_EntryListClosure__WEBPACK_IMPORTED_MODULE_1__[\"EntryListClosure\"]();\n const entryFactory = new _functor_value_EntryFactory__WEBPACK_IMPORTED_MODULE_0__[\"EntryFactory\"]();\n const pageUrl = location.href;\n \n profileUpdateClosure.execute({\n username: $(\"#entry_username\").val(),\n email: $(\"#entry_email\").val()\n });\n \n if (!(pageUrl.indexOf(\"entry/form.html\") == -1)) {\n entryListClosure.execute(\n entryFactory.create()\n );\n }\n }\n \n /**\n * initializes a category select of form.\n * FIXME: a HTTP request of Ajax for get the data.. ? \n */\n _initializeCategorySelect() {\n $(\"#entry-category\").append($(''));\n $(\"#entry-category\").append($(''));\n $(\"#entry-category\").append($(''));\n $(\"#entry-category\").append($(''));\n $(\"#entry-category\").append($(''));\n $(\"#entry-category\").val(\"General\");\n }\n \n /**\n * initialize a component of the view class.\n */\n _initializeComponent() {\n var controller = this; // need\n \n // calls for the initialization methods.\n \n controller._initializeEntryListDiv();\n \n controller._initializeTabsDiv();\n \n controller._initializeCategorySelect();\n \n // set the control's event handler.\n \n $(\"#post-button\").click(function() {\n controller._postButtonOnClick();\n });\n \n $(\"#setting-button\").click(function() {\n controller._settingButtonOnClick();\n });\n \n $(\"#message-block\").click(function() {\n controller._messageDivOnClick();\n });\n \n $(\"span.header-title\").click(function() {\n controller._headerTitleDivOnClick();\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/core/Controller.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js":
+/*!*************************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js ***!
+ \*************************************************************************/
+/*! exports provided: EntryListUpdateClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryListUpdateClosure\", function() { return EntryListUpdateClosure; });\n/* harmony import */ var _htmltag_EntryListTransformer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../htmltag/EntryListTransformer */ \"./src/main/assets/scripts/functor/htmltag/EntryListTransformer.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * update the HTML table of the entry list.\n * \n * @author h.adachi\n */\nclass EntryListUpdateClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n const transformer = new _htmltag_EntryListTransformer__WEBPACK_IMPORTED_MODULE_0__[\"EntryListTransformer\"]();\n \n $(\"#entry-list-block\").html(\n transformer.transform(\n obj\n )\n );\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js":
+/*!**********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js ***!
+ \**********************************************************************/
+/*! exports provided: ErrorMessageClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ErrorMessageClosure\", function() { return ErrorMessageClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * display a message to div when the command is error.\n * \n * @author h.adachi\n */\nclass ErrorMessageClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n // update the html element and the css style.\n $(\"#message-block\")\n .addClass(\n \"show\"\n )\n .css({\n margin: \"1em 0.25em 1em 0.25em\",\n padding: \"0.25em\",\n color: \"red\",\n backgroundColor: \"pink\",\n border: \"1px solid red\"\n })\n .html(\n '' +\n \"
\" + obj.message + \"
\"\n );\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/ListWaitingClosure.js":
+/*!*********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/ListWaitingClosure.js ***!
+ \*********************************************************************/
+/*! exports provided: ListWaitingClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ListWaitingClosure\", function() { return ListWaitingClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * display an icon image when an ajax http request of\n * to get the entry list is waiting.\n * \n * @author h.adachi\n */\nclass ListWaitingClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n // update the html element.\n $(\"#entry-list-block\")\n .html(\n \"
\" + \n '' +\n \"
\"\n );\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/ListWaitingClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/ProfileUpdateClosure.js":
+/*!***********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/ProfileUpdateClosure.js ***!
+ \***********************************************************************/
+/*! exports provided: ProfileUpdateClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ProfileUpdateClosure\", function() { return ProfileUpdateClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * update the html of the profile.\n * \n * @author h.adachi\n */\nclass ProfileUpdateClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n var username = obj.username;\n var email = obj.email;\n var hash = 0;\n if (!username) { username = \"undefined\"; }\n if (email) { hash = MD5_hexhash(email); }\n \n $(\"#user-profile\").html(\n \"
\" +\n \"
\" +\n \"
\" +\n \"\" +\n \"
\" +\n \"
\" +\n \"
\" + username + \"
\" +\n \"
\" +\n \"
\" +\n \"
\"\n );\n }\n}\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/ProfileUpdateClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js":
+/*!************************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js ***!
+ \************************************************************************/
+/*! exports provided: SuccessMessageClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SuccessMessageClosure\", function() { return SuccessMessageClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * display a message to div when the command is success.\n * \n * @author h.adachi\n */\nclass SuccessMessageClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n // update the html element and the css style.\n $(\"#message-block\")\n .addClass(\n \"show\"\n ) \n .css({\n margin: \"1em 0.25em 1em 0.25em\",\n padding: \"0.25em\",\n color: \"green\",\n backgroundColor: \"palegreen\",\n border: \"1px solid green\"\n })\n .html(\n '' +\n \"
\" + obj.message + \"
\"\n );\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js":
+/*!************************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js ***!
+ \************************************************************************/
+/*! exports provided: WaitingMessageClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WaitingMessageClosure\", function() { return WaitingMessageClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * display a message to div when an ajax http request command waiting.\n * \n * @author h.adachi\n */\nclass WaitingMessageClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n // update the html element and the css style.\n $(\"#message-block\")\n .addClass(\n \"show\"\n )\n .css({\n margin: \"1em 0.25em 1em 0.25em\",\n padding: \"0.25em\",\n color: \"silver\",\n backgroundColor: \"lavender\",\n border: \"1px solid silver\"\n })\n .html(\n '' + \n \"
\" + obj.message + \"
\"\n );\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/event/DeleteEventClosure.js":
+/*!*********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/event/DeleteEventClosure.js ***!
+ \*********************************************************************/
+/*! exports provided: DeleteEventClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeleteEventClosure\", function() { return DeleteEventClosure; });\n/* harmony import */ var _request_EntryDeleteClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../request/EntryDeleteClosure */ \"./src/main/assets/scripts/functor/request/EntryDeleteClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * set the event handler of entry delete action.\n * \n * @author h.adachi\n */\nclass DeleteEventClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n console.log(\"/functor/event/DeleteEventClosure#execute\");\n \n const deleteClosure = new _request_EntryDeleteClosure__WEBPACK_IMPORTED_MODULE_0__[\"EntryDeleteClosure\"]();\n \n // dynamically generate an event handler.\n $(\"#entry-delete-\" + obj.code).click(function() {\n deleteClosure.execute({\n code: obj.code\n });\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/event/DeleteEventClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/event/EditEventClosure.js":
+/*!*******************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/event/EditEventClosure.js ***!
+ \*******************************************************************/
+/*! exports provided: EditEventClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EditEventClosure\", function() { return EditEventClosure; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * set the event handler of entry edit action.\n * \n * @author h.adachi\n */\nclass EditEventClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n console.log(\"/functor/event/EditEventClosure#execute\");\n \n // dynamically generate an event handler.\n $(\"#entry-edit-\" + obj.code).click(function() {\n \n // get the entry value for from that need to edit.\n $(\"#entry-title\").val(\n $(\"#entry-title-\" + obj.code).text()\n );\n $(\"#entry-content\").val(\n $(\"#entry-content-\" + obj.code).text()\n );\n $(\"#entry-category\").val(\n $(\"#entry-category-\" + obj.code).val()\n );\n $(\"#entry-tags\").val(\n $(\"#entry-tags-\" + obj.code).val()\n );\n $(\"#id\").val(\n $(\"#entry-id-\" + obj.code).val()\n );\n $(\"#code\").val(\n obj.code\n );\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/event/EditEventClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/event/EventBuildClosure.js":
+/*!********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/event/EventBuildClosure.js ***!
+ \********************************************************************/
+/*! exports provided: EventBuildClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EventBuildClosure\", function() { return EventBuildClosure; });\n/* harmony import */ var _event_EditEventClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../event/EditEventClosure */ \"./src/main/assets/scripts/functor/event/EditEventClosure.js\");\n/* harmony import */ var _event_DeleteEventClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../event/DeleteEventClosure */ \"./src/main/assets/scripts/functor/event/DeleteEventClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * build the event handler.\n * \n * @author h.adachi\n */\nclass EventBuildClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n const editEventClosure = new _event_EditEventClosure__WEBPACK_IMPORTED_MODULE_0__[\"EditEventClosure\"]();\n \n const deleteEventClosure = new _event_DeleteEventClosure__WEBPACK_IMPORTED_MODULE_1__[\"DeleteEventClosure\"]();\n \n for (let i = 0; i < obj.entryModelList.length; i++) {\n let code = obj.entryModelList[i].code;\n \n // set the event handler for edit.\n editEventClosure.execute({\n code: code\n });\n \n // set the event handler for delete.\n deleteEventClosure.execute({\n code: code\n });\n }\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/event/EventBuildClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/htmltag/EntryListTransformer.js":
+/*!*************************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/htmltag/EntryListTransformer.js ***!
+ \*************************************************************************/
+/*! exports provided: EntryListTransformer */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryListTransformer\", function() { return EntryListTransformer; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * this class is a transformer that JSON data get by\n * Ajax HTTP requests and convert to HTML tables.\n * \n * @author h.adachi\n */\nclass EntryListTransformer {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n transform(obj) {\n console.log(\"/functor/htmltag/EntryListTransformer#transform\");\n \n // dynamically generate an html table.\n let table = \"
\";\n for (let i = 0; i < obj.entryModelList.length; i++) {\n \n // get the value\n let id = obj.entryModelList[i].id; \n let code = obj.entryModelList[i].code; \n let title = $.erasureHTML(\n obj.entryModelList[i].title\n );\n let content = $.erasureHTML(\n obj.entryModelList[i].content\n );\n let category = $.erasureHTML(\n obj.entryModelList[i].category\n );\n let tags = $.erasureHTML(\n obj.entryModelList[i].tags\n );\n let permalinkUrl = obj.entryModelList[i].permalinkUrl;\n let username = obj.entryModelList[i].username;\n let email = obj.entryModelList[i].email;\n let hash = 0;\n if (email) { hash = MD5_hexhash(email); }\n \n // create an html tag and set the entry code.\n // TODO: another user's e and d..\n table +=\n \"
\";\n return table;\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/htmltag/EntryListTransformer.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/request/EntryDeleteClosure.js":
+/*!***********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/request/EntryDeleteClosure.js ***!
+ \***********************************************************************/
+/*! exports provided: EntryDeleteClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryDeleteClosure\", function() { return EntryDeleteClosure; });\n/* harmony import */ var _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dhtml/WaitingMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js\");\n/* harmony import */ var _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dhtml/SuccessMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js\");\n/* harmony import */ var _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dhtml/ErrorMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js\");\n/* harmony import */ var _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dhtml/EntryListUpdateClosure */ \"./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js\");\n/* harmony import */ var _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../event/EventBuildClosure */ \"./src/main/assets/scripts/functor/event/EventBuildClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * send HTTP request for the entry delete.\n * \n * @author h.adachi\n */\nclass EntryDeleteClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n console.log(\"/functor/request/EntryDeleteClosure#execute\");\n \n const waitingMessageClosure = new _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__[\"WaitingMessageClosure\"]();\n \n const successMessageClosure = new _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__[\"SuccessMessageClosure\"]();\n \n const errorMessageClosure = new _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__[\"ErrorMessageClosure\"]();\n \n const entryListUpdateClosure = new _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_3__[\"EntryListUpdateClosure\"]();\n \n const eventBuildClosure = new _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_4__[\"EventBuildClosure\"]();\n \n // show the waiting message.\n waitingMessageClosure.execute({\n message: \"please wait...\"\n });\n \n // create an ajax object.\n new $.ajax({\n url: \"delete.json\",\n type: \"POST\",\n data: {\n code: obj.code\n },\n dataType: \"json\",\n \n // callback function of the success.\n success: function(data, dataType) {\n \n // if get a error from the response.\n if (data.isError) {\n // show the error message.\n errorMessageClosure.execute({\n message: \"application error occurred..\"\n });\n return;\n }\n \n // update the HTML table of the entry list.\n entryListUpdateClosure.execute(\n data\n );\n \n // build the event of the entry list.\n eventBuildClosure.execute(\n data\n );\n \n // show the success message.\n successMessageClosure.execute({\n message: \"complete.\"\n });\n },\n \n // callback function of the error.\n error: function(XMLHttpRequest, textStatus, errorThrown) {\n \n // show the error message.\n errorMessageClosure.execute({\n message: \"httprequest error occurred..\"\n });\n }\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/request/EntryDeleteClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/request/EntryListClosure.js":
+/*!*********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/request/EntryListClosure.js ***!
+ \*********************************************************************/
+/*! exports provided: EntryListClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryListClosure\", function() { return EntryListClosure; });\n/* harmony import */ var _dhtml_ListWaitingClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dhtml/ListWaitingClosure */ \"./src/main/assets/scripts/functor/dhtml/ListWaitingClosure.js\");\n/* harmony import */ var _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dhtml/ErrorMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js\");\n/* harmony import */ var _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dhtml/EntryListUpdateClosure */ \"./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js\");\n/* harmony import */ var _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../event/EventBuildClosure */ \"./src/main/assets/scripts/functor/event/EventBuildClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * send HTTP request for get the entry list.\n * \n * @author h.adachi\n */\nclass EntryListClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n const listWaitingClosure = new _dhtml_ListWaitingClosure__WEBPACK_IMPORTED_MODULE_0__[\"ListWaitingClosure\"]();\n \n const errorMessageClosure = new _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_1__[\"ErrorMessageClosure\"]();\n \n const entryListUpdateClosure = new _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_2__[\"EntryListUpdateClosure\"]();\n \n const eventBuildClosure = new _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_3__[\"EventBuildClosure\"]();\n \n // show the waiting message.\n listWaitingClosure.execute(\n null\n );\n \n // create an ajax object.\n new $.ajax({\n url: \"list.json\",\n type: \"POST\",\n data: obj,\n dataType: \"json\",\n contentType: \"application/json;charset=UTF-8\",\n \n // callback function of the success.\n success: function(data, dataType) {\n \n // if get a error from the response.\n if (data.isError) {\n // show the error message.\n errorMessageClosure.execute({\n message: \"application error occurred..\"\n });\n $(\"#entry-list-block\").html(\"\");\n return;\n }\n \n // update the HTML table of the entry list.\n entryListUpdateClosure.execute(\n data\n );\n \n // build the event of the entry list.\n eventBuildClosure.execute(\n data\n );\n \n },\n \n // callback function of the error.\n error: function(XMLHttpRequest, textStatus, errorThrown) {\n \n // show the error message.\n errorMessageClosure.execute({\n message: \"httprequest error occurred..\"\n });\n $(\"#entry-list-block\").html(\"\");\n }\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/request/EntryListClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/request/EntryPostClosure.js":
+/*!*********************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/request/EntryPostClosure.js ***!
+ \*********************************************************************/
+/*! exports provided: EntryPostClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryPostClosure\", function() { return EntryPostClosure; });\n/* harmony import */ var _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dhtml/WaitingMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js\");\n/* harmony import */ var _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dhtml/SuccessMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js\");\n/* harmony import */ var _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dhtml/ErrorMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js\");\n/* harmony import */ var _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dhtml/EntryListUpdateClosure */ \"./src/main/assets/scripts/functor/dhtml/EntryListUpdateClosure.js\");\n/* harmony import */ var _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../event/EventBuildClosure */ \"./src/main/assets/scripts/functor/event/EventBuildClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * send HTTP request for the entry post.\n * \n * @author h.adachi\n */\nclass EntryPostClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n const waitingMessageClosure = new _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__[\"WaitingMessageClosure\"]();\n \n const successMessageClosure = new _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__[\"SuccessMessageClosure\"]();\n \n const errorMessageClosure = new _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__[\"ErrorMessageClosure\"]();\n \n const entryListUpdateClosure = new _dhtml_EntryListUpdateClosure__WEBPACK_IMPORTED_MODULE_3__[\"EntryListUpdateClosure\"]();\n \n const eventBuildClosure = new _event_EventBuildClosure__WEBPACK_IMPORTED_MODULE_4__[\"EventBuildClosure\"]();\n \n // show the waiting message.\n waitingMessageClosure.execute({\n message: \"please wait...\"\n });\n \n // create an ajax object.\n new $.ajax({\n url: \"post.json\",\n type: \"POST\",\n data: obj,\n dataType: \"json\",\n contentType: \"application/json;charset=UTF-8\",\n \n // callback function of the success.\n success: function(data, dataType) {\n \n // if get a error from the response.\n if (data.isError) {\n // show the error message.\n errorMessageClosure.execute({\n message: \"application error occurred..\"\n });\n return;\n }\n \n // update the HTML table of the entry list.\n entryListUpdateClosure.execute(\n data\n );\n \n // build the event of the entry list.\n eventBuildClosure.execute(\n data\n );\n \n // clear the input.\n $(\"#id\").val(\"\");\n $(\"#code\").val(\"\");\n $(\"#entry-title\").val(\"\");\n $(\"#entry-content\").val(\"\");\n $(\"#entry-category\").val(0);\n $(\"#entry-tags\").val(\"\");\n \n // show the success message.\n successMessageClosure.execute({\n message: \"complete.\"\n });\n },\n \n // callback function of the error.\n error: function(XMLHttpRequest, textStatus, errorThrown) {\n \n // show the error message.\n errorMessageClosure.execute({\n message: \"httprequest error occurred..\"\n });\n }\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/request/EntryPostClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/request/SettingClosure.js":
+/*!*******************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/request/SettingClosure.js ***!
+ \*******************************************************************/
+/*! exports provided: SettingClosure */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SettingClosure\", function() { return SettingClosure; });\n/* harmony import */ var _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dhtml/WaitingMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/WaitingMessageClosure.js\");\n/* harmony import */ var _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dhtml/SuccessMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/SuccessMessageClosure.js\");\n/* harmony import */ var _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dhtml/ErrorMessageClosure */ \"./src/main/assets/scripts/functor/dhtml/ErrorMessageClosure.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * send HTTP request for the setting.\n * \n * @author h.adachi\n */\nclass SettingClosure {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n execute(obj) {\n \n const waitingMessageClosure = new _dhtml_WaitingMessageClosure__WEBPACK_IMPORTED_MODULE_0__[\"WaitingMessageClosure\"]();\n \n const successMessageClosure = new _dhtml_SuccessMessageClosure__WEBPACK_IMPORTED_MODULE_1__[\"SuccessMessageClosure\"]();\n \n const errorMessageClosure = new _dhtml_ErrorMessageClosure__WEBPACK_IMPORTED_MODULE_2__[\"ErrorMessageClosure\"]();\n \n // show the waiting message.\n waitingMessageClosure.execute({\n message: \"please wait...\"\n });\n \n // create an ajax object.\n new $.ajax({\n url: \"setting.json\",\n type: \"POST\",\n data: obj,\n dataType: \"json\",\n contentType: \"application/json;charset=UTF-8\",\n \n // callback function of the success.\n success: function(data, dataType) {\n \n // if get a error from the response.\n if (data.isError) {\n // show the error message.\n errorMessageClosure.execute({\n message: \"application error occurred..\"\n });\n return;\n }\n },\n \n // callback function of the error.\n error: function(XMLHttpRequest, textStatus, errorThrown) {\n \n // ** success in this class method. **\n // because, this ajax requests are redirected as normal.\n if (XMLHttpRequest.status == 200) {\n // show the success message.\n successMessageClosure.execute({\n message: \"complete.\"\n });\n return;\n }\n \n // show the error message.\n errorMessageClosure.execute({\n message: \"httprequest error occurred..\"\n });\n }\n });\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/request/SettingClosure.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/functor/value/EntryFactory.js":
+/*!***************************************************************!*\
+ !*** ./src/main/assets/scripts/functor/value/EntryFactory.js ***!
+ \***************************************************************/
+/*! exports provided: EntryFactory */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EntryFactory\", function() { return EntryFactory; });\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * a functor class of the application.\n * get the value from the HTML form and \n * create a JSON object for HTTP POST.\n * \n * @author h.adachi\n */\nclass EntryFactory {\n \n ///////////////////////////////////////////////////////////////////////////\n // public methods\n \n create() {\n // convert the form data to JSON.\n let param = {};\n $($(\"#entry-form\").serializeArray()).each(\n function(i, v) {\n param[v.name] = v.value;\n }\n );\n return $.toJSON(param);\n }\n}\n\n\n//# sourceURL=webpack:///./src/main/assets/scripts/functor/value/EntryFactory.js?");
+
+/***/ }),
+
+/***/ "./src/main/assets/scripts/main.js":
+/*!*****************************************!*\
+ !*** ./src/main/assets/scripts/main.js ***!
+ \*****************************************/
+/*! no exports provided */
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _core_Application__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Application */ \"./src/main/assets/scripts/core/Application.js\");\n/* \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n///////////////////////////////////////////////////////////////////////////////\n/**\n * called the main entry.\n * \n * @author h.adachi\n */\nconst app = new _core_Application__WEBPACK_IMPORTED_MODULE_0__[\"Application\"]();\napp.run();\n\n//# sourceURL=webpack:///./src/main/assets/scripts/main.js?");
+
+/***/ })
+
+/******/ });
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/__exmp.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/__exmp.js
deleted file mode 100644
index 2ae99b3..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/__exmp.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp === "undefined") {
- var exmp = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/__blog.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/__blog.js
deleted file mode 100644
index 714ca6e..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/__blog.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog === "undefined") {
- exmp.blog = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/core/__core.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/core/__core.js
deleted file mode 100644
index 7dc212a..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/core/__core.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.core === "undefined") {
- exmp.blog.core = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/__functor.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/__functor.js
deleted file mode 100644
index 465fbb0..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/__functor.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor === "undefined") {
- exmp.blog.functor = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/__dhtml.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/__dhtml.js
deleted file mode 100644
index 7fbebbc..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/dhtml/__dhtml.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor.dhtml === "undefined") {
- exmp.blog.functor.dhtml = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/__event.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/__event.js
deleted file mode 100644
index 3173056..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/event/__event.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor.event === "undefined") {
- exmp.blog.functor.event = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/__htmltag.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/__htmltag.js
deleted file mode 100644
index d81d422..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/htmltag/__htmltag.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor.htmltag === "undefined") {
- exmp.blog.functor.htmltag = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/__reruest.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/__reruest.js
deleted file mode 100644
index 426fb97..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/request/__reruest.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor.request === "undefined") {
- exmp.blog.functor.request = {}
-}
\ No newline at end of file
diff --git a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/__value.js b/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/__value.js
deleted file mode 100644
index 4b34f6a..0000000
--- a/webapp/src/main/webapp/docroot/scripts/src/exmp/blog/functor/value/__value.js
+++ /dev/null
@@ -1,3 +0,0 @@
-if (typeof exmp.blog.functor.value === "undefined") {
- exmp.blog.functor.value = {}
-}
\ No newline at end of file
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js
new file mode 100644
index 0000000..3455108
--- /dev/null
+++ b/webapp/webpack.config.js
@@ -0,0 +1,9 @@
+const path = require('path');
+module.exports = {
+ mode: 'development',
+ entry: './src/main/assets/scripts/main.js',
+ output: {
+ filename: 'exmp-blog.min.js',
+ path: path.join(__dirname, 'src/main/webapp/docroot/scripts')
+ }
+};
\ No newline at end of file