From cbb2d58f9d890513c4608d352691a330baf5eb95 Mon Sep 17 00:00:00 2001 From: luqiong <605601787@qq.com> Date: Fri, 22 Aug 2014 16:29:00 +0800 Subject: [PATCH] add noty information --- Bench4Q-Web/src/main/webapp/createScript.jsp | 1 + .../main/webapp/lib/other/jquery.noty.packaged.min.js | 10 ++++++++++ Bench4Q-Web/src/main/webapp/script/editor/uiFactory.js | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 Bench4Q-Web/src/main/webapp/lib/other/jquery.noty.packaged.min.js diff --git a/Bench4Q-Web/src/main/webapp/createScript.jsp b/Bench4Q-Web/src/main/webapp/createScript.jsp index b25ad573..76d141ee 100644 --- a/Bench4Q-Web/src/main/webapp/createScript.jsp +++ b/Bench4Q-Web/src/main/webapp/createScript.jsp @@ -230,6 +230,7 @@ body { + diff --git a/Bench4Q-Web/src/main/webapp/lib/other/jquery.noty.packaged.min.js b/Bench4Q-Web/src/main/webapp/lib/other/jquery.noty.packaged.min.js new file mode 100644 index 00000000..68f0190e --- /dev/null +++ b/Bench4Q-Web/src/main/webapp/lib/other/jquery.noty.packaged.min.js @@ -0,0 +1,10 @@ +/*! + @package noty - jQuery Notification Plugin + @version version: 2.2.5 + @contributors https://github.com/needim/noty/graphs/contributors + + @documentation Examples and Documentation - http://needim.github.com/noty/ + + @license Licensed under the MIT licenses: http://www.opensource.org/licenses/mit-license.php + */ +"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a){var b={init:function(b){return this.options=a.extend({},a.noty.defaults,b),this.options.layout=this.options.custom?a.noty.layouts.inline:a.noty.layouts[this.options.layout],a.noty.themes[this.options.theme]?this.options.theme=a.noty.themes[this.options.theme]:b.themeClassName=this.options.theme,delete b.layout,delete b.theme,this.options=a.extend({},this.options,this.options.layout.options),this.options.id="noty_"+(new Date).getTime()*Math.floor(1e6*Math.random()),this.options=a.extend({},this.options,b),this._build(),this},_build:function(){var b=a('
').attr("id",this.options.id);if(b.append(this.options.template).find(".noty_text").html(this.options.text),this.$bar=null!==this.options.layout.parent.object?a(this.options.layout.parent.object).css(this.options.layout.parent.css).append(b):b,this.options.themeClassName&&this.$bar.addClass(this.options.themeClassName).addClass("noty_container_type_"+this.options.type),this.options.buttons){this.options.closeWith=[],this.options.timeout=!1;var c=a("
").addClass("noty_buttons");null!==this.options.layout.parent.object?this.$bar.find(".noty_bar").append(c):this.$bar.append(c);var d=this;a.each(this.options.buttons,function(b,c){var e=a("