From 032bb44c051b9e17ece046077cf21fd013f07e58 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 25 Aug 2017 13:54:24 +0800 Subject: [PATCH] update --- Gruntfile.js | 2 +- dist/bundle.js | 17 ++++++++++++++++- public/js/index.js | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 public/js/index.js diff --git a/Gruntfile.js b/Gruntfile.js index a3d18d86e..d8b67cc15 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -99,7 +99,7 @@ module.exports = function (grunt) { }, bundleJs: { - src: ['dist/core.js', 'dist/base.js', 'dist/case.js', 'dist/widget.js'], + src: ['dist/core.js', 'dist/base.js', 'dist/case.js', 'dist/widget.js', 'public/js/**/*.js'], dest: 'dist/bundle.js' }, diff --git a/dist/bundle.js b/dist/bundle.js index bf8299aa7..d63d7e951 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -93660,4 +93660,19 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { } }); BI.ValueChooserPane.EVENT_CHANGE = "ValueChooserPane.EVENT_CHANGE"; -BI.shortcut('bi.value_chooser_pane', BI.ValueChooserPane); \ No newline at end of file +BI.shortcut('bi.value_chooser_pane', BI.ValueChooserPane);BI.servletURL = "http://fanruan.coding.me/fineui/dist/"; +BI.resourceURL = "http://fanruan.coding.me/fineui/dist/resource/"; +BI.i18n = { + "BI-Basic_OK": "确定", + "BI-Basic_Sure": "确定", + "BI-Basic_Clears": "清空", + "BI-Basic_Cancel": "取消", + "BI-Basic_Time": "时间", + "BI-Basic_Simple_Sunday": "日", + "BI-Basic_Simple_Monday": "一", + "BI-Basic_Simple_Tuesday": "二", + "BI-Basic_Simple_Wednesday": "三", + "BI-Basic_Simple_Thursday": "四", + "BI-Basic_Simple_Friday": "五", + "BI-Basic_Simple_Saturday": "六", +}; \ No newline at end of file diff --git a/public/js/index.js b/public/js/index.js new file mode 100644 index 000000000..18d0f48dd --- /dev/null +++ b/public/js/index.js @@ -0,0 +1,16 @@ +BI.servletURL = "http://fanruan.coding.me/fineui/dist/"; +BI.resourceURL = "http://fanruan.coding.me/fineui/dist/resource/"; +BI.i18n = { + "BI-Basic_OK": "确定", + "BI-Basic_Sure": "确定", + "BI-Basic_Clears": "清空", + "BI-Basic_Cancel": "取消", + "BI-Basic_Time": "时间", + "BI-Basic_Simple_Sunday": "日", + "BI-Basic_Simple_Monday": "一", + "BI-Basic_Simple_Tuesday": "二", + "BI-Basic_Simple_Wednesday": "三", + "BI-Basic_Simple_Thursday": "四", + "BI-Basic_Simple_Friday": "五", + "BI-Basic_Simple_Saturday": "六", +}; \ No newline at end of file