From 833aa792bdfc7e1ad9b77193660e67c998499cfc Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 2 Dec 2013 16:16:19 +0800 Subject: [PATCH 01/80] prepare 1.4.1 --- build/anim-min.js | 2 +- build/anim.js | 2 +- build/anim/base-min.js | 2 +- build/anim/base.js | 2 +- build/anim/timer-min.js | 2 +- build/anim/timer.js | 2 +- build/anim/transition-min.js | 2 +- build/anim/transition.js | 2 +- build/attribute-min.js | 2 +- build/attribute.js | 2 +- build/base-min.js | 2 +- build/base.js | 2 +- build/button-min.js | 2 +- build/button.js | 2 +- build/button/assets/dpl-min.css | 2 +- build/button/assets/dpl.css | 2 +- build/color-min.js | 2 +- build/color.js | 2 +- build/combobox-min.js | 2 +- build/combobox.js | 2 +- build/combobox/assets/dpl-min.css | 2 +- build/combobox/assets/dpl.css | 2 +- build/component/container-min.js | 2 +- build/component/container.js | 2 +- build/component/control-min.js | 2 +- build/component/control.js | 2 +- build/component/extension/align-min.js | 2 +- build/component/extension/align.js | 2 +- .../component/extension/content-render-min.js | 2 +- build/component/extension/content-render.js | 2 +- build/component/extension/content-xtpl-min.js | 2 +- build/component/extension/content-xtpl.js | 2 +- .../extension/delegate-children-min.js | 2 +- .../component/extension/delegate-children.js | 2 +- build/component/extension/shim-min.js | 2 +- build/component/extension/shim.js | 2 +- build/component/manager-min.js | 2 +- build/component/manager.js | 2 +- build/component/plugin/drag-min.js | 2 +- build/component/plugin/drag.js | 2 +- build/component/plugin/resize-min.js | 2 +- build/component/plugin/resize.js | 2 +- build/cookie-min.js | 2 +- build/cookie.js | 2 +- build/css/dpl/badges-min.css | 2 +- build/css/dpl/badges.css | 2 +- build/css/dpl/base-min.css | 2 +- build/css/dpl/base.css | 2 +- build/css/dpl/forms-min.css | 2 +- build/css/dpl/forms.css | 2 +- build/css/dpl/icons-min.css | 2 +- build/css/dpl/icons.css | 2 +- build/css/dpl/labels-min.css | 2 +- build/css/dpl/labels.css | 2 +- build/css/dpl/reset-context-min.css | 2 +- build/css/dpl/reset-context.css | 2 +- build/css/dpl/reset-min.css | 2 +- build/css/dpl/reset.css | 2 +- build/css/dpl/tables-min.css | 2 +- build/css/dpl/tables.css | 2 +- build/date/format-min.js | 2 +- build/date/format.js | 2 +- build/date/gregorian-min.js | 2 +- build/date/gregorian.js | 2 +- build/date/i18n/en-us-min.js | 2 +- build/date/i18n/en-us.js | 2 +- build/date/i18n/zh-cn-min.js | 2 +- build/date/i18n/zh-cn.js | 2 +- build/date/picker-min.js | 2 +- build/date/picker.js | 2 +- build/date/picker/i18n/en-us-min.js | 2 +- build/date/picker/i18n/en-us.js | 2 +- build/date/picker/i18n/zh-cn-min.js | 2 +- build/date/picker/i18n/zh-cn.js | 2 +- build/date/popup-picker-min.js | 2 +- build/date/popup-picker.js | 2 +- build/dd-min.js | 2 +- build/dd.js | 2 +- build/dd/plugin/constrain-min.js | 2 +- build/dd/plugin/constrain.js | 2 +- build/dd/plugin/proxy-min.js | 2 +- build/dd/plugin/proxy.js | 2 +- build/dd/plugin/scroll-min.js | 2 +- build/dd/plugin/scroll.js | 2 +- build/dom/base-min.js | 2 +- build/dom/base.js | 2 +- build/dom/class-list-min.js | 2 +- build/dom/class-list.js | 2 +- build/dom/ie-min.js | 2 +- build/dom/ie.js | 2 +- build/dom/selector-min.js | 2 +- build/dom/selector.js | 2 +- build/editor-min.js | 2 +- build/editor.js | 2 +- build/editor/plugin/back-color-min.js | 2 +- build/editor/plugin/back-color.js | 2 +- build/editor/plugin/back-color/cmd-min.js | 2 +- build/editor/plugin/back-color/cmd.js | 2 +- build/editor/plugin/bold-min.js | 2 +- build/editor/plugin/bold.js | 2 +- build/editor/plugin/bold/cmd-min.js | 2 +- build/editor/plugin/bold/cmd.js | 2 +- build/editor/plugin/bubble-min.js | 2 +- build/editor/plugin/bubble.js | 2 +- build/editor/plugin/button-min.js | 2 +- build/editor/plugin/button.js | 2 +- .../editor/plugin/checkbox-source-area-min.js | 2 +- build/editor/plugin/checkbox-source-area.js | 2 +- build/editor/plugin/code-min.js | 2 +- build/editor/plugin/code.js | 2 +- build/editor/plugin/code/dialog-min.js | 2 +- build/editor/plugin/code/dialog.js | 2 +- build/editor/plugin/color/btn-min.js | 2 +- build/editor/plugin/color/btn.js | 2 +- build/editor/plugin/color/cmd-min.js | 2 +- build/editor/plugin/color/cmd.js | 2 +- build/editor/plugin/color/dialog-min.js | 2 +- build/editor/plugin/color/dialog.js | 2 +- build/editor/plugin/contextmenu-min.js | 2 +- build/editor/plugin/contextmenu.js | 2 +- build/editor/plugin/dent-cmd-min.js | 2 +- build/editor/plugin/dent-cmd.js | 2 +- build/editor/plugin/dialog-loader-min.js | 2 +- build/editor/plugin/dialog-loader.js | 2 +- build/editor/plugin/dialog-min.js | 2 +- build/editor/plugin/dialog.js | 2 +- build/editor/plugin/draft-min.js | 2 +- build/editor/plugin/draft.js | 2 +- build/editor/plugin/drag-upload-min.js | 2 +- build/editor/plugin/drag-upload.js | 2 +- build/editor/plugin/element-path-min.js | 2 +- build/editor/plugin/element-path.js | 2 +- build/editor/plugin/fake-objects-min.js | 2 +- build/editor/plugin/fake-objects.js | 2 +- build/editor/plugin/flash-bridge-min.js | 2 +- build/editor/plugin/flash-bridge.js | 2 +- .../plugin/flash-common/base-class-min.js | 2 +- .../editor/plugin/flash-common/base-class.js | 2 +- build/editor/plugin/flash-common/utils-min.js | 2 +- build/editor/plugin/flash-common/utils.js | 2 +- build/editor/plugin/flash-min.js | 2 +- build/editor/plugin/flash.js | 2 +- build/editor/plugin/flash/dialog-min.js | 2 +- build/editor/plugin/flash/dialog.js | 2 +- build/editor/plugin/focus-fix-min.js | 2 +- build/editor/plugin/focus-fix.js | 2 +- build/editor/plugin/font-family-min.js | 2 +- build/editor/plugin/font-family.js | 2 +- build/editor/plugin/font-family/cmd-min.js | 2 +- build/editor/plugin/font-family/cmd.js | 2 +- build/editor/plugin/font-size-min.js | 2 +- build/editor/plugin/font-size.js | 2 +- build/editor/plugin/font-size/cmd-min.js | 2 +- build/editor/plugin/font-size/cmd.js | 2 +- build/editor/plugin/font/cmd-min.js | 2 +- build/editor/plugin/font/cmd.js | 2 +- build/editor/plugin/font/ui-min.js | 2 +- build/editor/plugin/font/ui.js | 2 +- build/editor/plugin/fore-color-min.js | 2 +- build/editor/plugin/fore-color.js | 2 +- build/editor/plugin/fore-color/cmd-min.js | 2 +- build/editor/plugin/fore-color/cmd.js | 2 +- build/editor/plugin/heading-min.js | 2 +- build/editor/plugin/heading.js | 2 +- build/editor/plugin/heading/cmd-min.js | 2 +- build/editor/plugin/heading/cmd.js | 2 +- build/editor/plugin/image-min.js | 2 +- build/editor/plugin/image.js | 2 +- build/editor/plugin/image/dialog-min.js | 2 +- build/editor/plugin/image/dialog.js | 2 +- build/editor/plugin/indent-min.js | 2 +- build/editor/plugin/indent.js | 2 +- build/editor/plugin/indent/cmd-min.js | 2 +- build/editor/plugin/indent/cmd.js | 2 +- build/editor/plugin/italic-min.js | 2 +- build/editor/plugin/italic.js | 2 +- build/editor/plugin/italic/cmd-min.js | 2 +- build/editor/plugin/italic/cmd.js | 2 +- build/editor/plugin/justify-center-min.js | 2 +- build/editor/plugin/justify-center.js | 2 +- build/editor/plugin/justify-center/cmd-min.js | 2 +- build/editor/plugin/justify-center/cmd.js | 2 +- build/editor/plugin/justify-cmd-min.js | 2 +- build/editor/plugin/justify-cmd.js | 2 +- build/editor/plugin/justify-left-min.js | 2 +- build/editor/plugin/justify-left.js | 2 +- build/editor/plugin/justify-left/cmd-min.js | 2 +- build/editor/plugin/justify-left/cmd.js | 2 +- build/editor/plugin/justify-right-min.js | 2 +- build/editor/plugin/justify-right.js | 2 +- build/editor/plugin/justify-right/cmd-min.js | 2 +- build/editor/plugin/justify-right/cmd.js | 2 +- build/editor/plugin/link-min.js | 2 +- build/editor/plugin/link.js | 2 +- build/editor/plugin/link/dialog-min.js | 2 +- build/editor/plugin/link/dialog.js | 2 +- build/editor/plugin/link/utils-min.js | 2 +- build/editor/plugin/link/utils.js | 2 +- build/editor/plugin/list-utils-min.js | 2 +- build/editor/plugin/list-utils.js | 2 +- build/editor/plugin/list-utils/btn-min.js | 2 +- build/editor/plugin/list-utils/btn.js | 2 +- build/editor/plugin/list-utils/cmd-min.js | 2 +- build/editor/plugin/list-utils/cmd.js | 2 +- build/editor/plugin/local-storage-min.js | 2 +- build/editor/plugin/local-storage.js | 2 +- build/editor/plugin/maximize-min.js | 2 +- build/editor/plugin/maximize.js | 2 +- build/editor/plugin/maximize/cmd-min.js | 2 +- build/editor/plugin/maximize/cmd.js | 2 +- build/editor/plugin/menubutton-min.js | 2 +- build/editor/plugin/menubutton.js | 2 +- build/editor/plugin/ordered-list-min.js | 2 +- build/editor/plugin/ordered-list.js | 2 +- build/editor/plugin/ordered-list/cmd-min.js | 2 +- build/editor/plugin/ordered-list/cmd.js | 2 +- build/editor/plugin/outdent-min.js | 2 +- build/editor/plugin/outdent.js | 2 +- build/editor/plugin/outdent/cmd-min.js | 2 +- build/editor/plugin/outdent/cmd.js | 2 +- build/editor/plugin/overlay-min.js | 2 +- build/editor/plugin/overlay.js | 2 +- build/editor/plugin/page-break-min.js | 2 +- build/editor/plugin/page-break.js | 2 +- build/editor/plugin/preview-min.js | 2 +- build/editor/plugin/preview.js | 2 +- build/editor/plugin/progressbar-min.js | 2 +- build/editor/plugin/progressbar.js | 2 +- build/editor/plugin/remove-format-min.js | 2 +- build/editor/plugin/remove-format.js | 2 +- build/editor/plugin/remove-format/cmd-min.js | 2 +- build/editor/plugin/remove-format/cmd.js | 2 +- build/editor/plugin/resize-min.js | 2 +- build/editor/plugin/resize.js | 2 +- build/editor/plugin/separator-min.js | 2 +- build/editor/plugin/separator.js | 2 +- build/editor/plugin/smiley-min.js | 2 +- build/editor/plugin/smiley.js | 2 +- build/editor/plugin/source-area-min.js | 2 +- build/editor/plugin/source-area.js | 2 +- build/editor/plugin/strike-through-min.js | 2 +- build/editor/plugin/strike-through.js | 2 +- build/editor/plugin/strike-through/cmd-min.js | 2 +- build/editor/plugin/strike-through/cmd.js | 2 +- build/editor/plugin/table-min.js | 2 +- build/editor/plugin/table.js | 2 +- build/editor/plugin/table/dialog-min.js | 2 +- build/editor/plugin/table/dialog.js | 2 +- build/editor/plugin/underline-min.js | 2 +- build/editor/plugin/underline.js | 2 +- build/editor/plugin/underline/cmd-min.js | 2 +- build/editor/plugin/underline/cmd.js | 2 +- build/editor/plugin/undo-min.js | 2 +- build/editor/plugin/undo.js | 2 +- build/editor/plugin/undo/btn-min.js | 2 +- build/editor/plugin/undo/btn.js | 2 +- build/editor/plugin/undo/cmd-min.js | 2 +- build/editor/plugin/undo/cmd.js | 2 +- build/editor/plugin/unordered-list-min.js | 2 +- build/editor/plugin/unordered-list.js | 2 +- build/editor/plugin/unordered-list/cmd-min.js | 2 +- build/editor/plugin/unordered-list/cmd.js | 2 +- build/editor/plugin/video-min.js | 2 +- build/editor/plugin/video.js | 2 +- build/editor/plugin/video/dialog-min.js | 2 +- build/editor/plugin/video/dialog.js | 2 +- build/editor/plugin/word-filter-min.js | 2 +- build/editor/plugin/word-filter.js | 2 +- build/editor/plugin/xiami-music-min.js | 2 +- build/editor/plugin/xiami-music.js | 2 +- build/editor/plugin/xiami-music/dialog-min.js | 2 +- build/editor/plugin/xiami-music/dialog.js | 2 +- build/editor/theme/cool/editor-min.css | 4 +- .../theme/cool/editor-pkg-sprite-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite.css | 2 +- build/editor/theme/cool/editor.css | 162 +++++++++--------- build/editor/theme/editor-common-min.css | 2 +- build/editor/theme/editor-common.css | 2 +- build/editor/theme/editor-iframe-min.css | 2 +- build/editor/theme/editor-iframe.css | 2 +- build/event-min.js | 2 +- build/event.js | 2 +- build/event/base-min.js | 2 +- build/event/base.js | 2 +- build/event/custom-min.js | 2 +- build/event/custom.js | 2 +- build/event/dom/base-min.js | 2 +- build/event/dom/base.js | 2 +- build/event/dom/focusin-min.js | 2 +- build/event/dom/focusin.js | 2 +- build/event/dom/hashchange-min.js | 2 +- build/event/dom/hashchange.js | 2 +- build/event/dom/ie-min.js | 2 +- build/event/dom/ie.js | 2 +- build/event/dom/shake-min.js | 2 +- build/event/dom/shake.js | 2 +- build/event/dom/touch-min.js | 2 +- build/event/dom/touch.js | 2 +- build/filter-menu-min.js | 2 +- build/filter-menu.js | 2 +- build/html-parser-min.js | 2 +- build/html-parser.js | 2 +- build/import-style-min.js | 2 +- build/import-style.js | 2 +- build/io-min.js | 2 +- build/io.js | 2 +- build/json-min.js | 2 +- build/json.js | 2 +- build/kison-min.js | 2 +- build/kison.js | 2 +- build/kissy-nodejs-min.js | 2 +- build/kissy-nodejs.js | 2 +- build/menu-min.js | 2 +- build/menu.js | 2 +- build/menu/assets/dpl-min.css | 2 +- build/menu/assets/dpl.css | 2 +- build/menubutton-min.js | 2 +- build/menubutton.js | 2 +- build/menubutton/assets/dpl-min.css | 2 +- build/menubutton/assets/dpl.css | 2 +- build/mvc-min.js | 2 +- build/mvc.js | 2 +- build/node-min.js | 2 +- build/node.js | 2 +- build/overlay-min.js | 2 +- build/overlay.js | 2 +- build/overlay/assets/dpl-min.css | 2 +- build/overlay/assets/dpl.css | 2 +- build/promise-min.js | 2 +- build/promise.js | 2 +- build/resizable-min.js | 2 +- build/resizable.js | 2 +- build/resizable/plugin/proxy-min.js | 2 +- build/resizable/plugin/proxy.js | 2 +- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 2 +- build/scroll-view/base.js | 2 +- build/scroll-view/drag-min.js | 2 +- build/scroll-view/drag.js | 2 +- .../scroll-view/plugin/pull-to-refresh-min.js | 2 +- build/scroll-view/plugin/pull-to-refresh.js | 2 +- build/scroll-view/plugin/scrollbar-min.js | 2 +- build/scroll-view/plugin/scrollbar.js | 2 +- build/seed-min.js | 2 +- build/seed.js | 2 +- build/separator-min.js | 2 +- build/separator.js | 2 +- build/split-button-min.js | 2 +- build/split-button.js | 2 +- build/split-button/assets/dpl-min.css | 2 +- build/split-button/assets/dpl.css | 2 +- build/stylesheet-min.js | 2 +- build/stylesheet.js | 2 +- build/swf-min.js | 2 +- build/swf.js | 2 +- build/tabs-min.js | 2 +- build/tabs.js | 2 +- build/tabs/assets/dpl-min.css | 2 +- build/tabs/assets/dpl.css | 2 +- build/toolbar-min.js | 2 +- build/toolbar.js | 2 +- build/toolbar/assets/dpl-min.css | 2 +- build/toolbar/assets/dpl.css | 2 +- build/tree-min.js | 2 +- build/tree.js | 2 +- build/tree/assets/dpl-min.css | 2 +- build/tree/assets/dpl.css | 2 +- build/xtemplate-min.js | 2 +- build/xtemplate.js | 2 +- build/xtemplate/compiler-min.js | 2 +- build/xtemplate/compiler.js | 2 +- build/xtemplate/nodejs-min.js | 2 +- build/xtemplate/nodejs.js | 2 +- build/xtemplate/runtime-min.js | 2 +- build/xtemplate/runtime.js | 2 +- src/build.xml | 56 +----- src/config.xml | 11 +- 380 files changed, 464 insertions(+), 521 deletions(-) diff --git a/build/anim-min.js b/build/anim-min.js index 2593e2bbd9..7f63f5364a 100644 --- a/build/anim-min.js +++ b/build/anim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/anim.js b/build/anim.js index 7a84bb6605..3abc890a23 100644 --- a/build/anim.js +++ b/build/anim.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/anim/base-min.js b/build/anim/base-min.js index e4a7047152..e7a9fe5a27 100644 --- a/build/anim/base-min.js +++ b/build/anim/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:10 */ diff --git a/build/anim/base.js b/build/anim/base.js index bac3fa7d9a..b0d07d621d 100644 --- a/build/anim/base.js +++ b/build/anim/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:10 */ diff --git a/build/anim/timer-min.js b/build/anim/timer-min.js index 8833b0b57a..12469bcd4e 100644 --- a/build/anim/timer-min.js +++ b/build/anim/timer-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/anim/timer.js b/build/anim/timer.js index 72de16b2b2..1c90afa40a 100644 --- a/build/anim/timer.js +++ b/build/anim/timer.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 3577db7cc5..adba5a09b1 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/anim/transition.js b/build/anim/transition.js index e374927340..ee542ae8a5 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/attribute-min.js b/build/attribute-min.js index 2e136acbc2..e01caab5bb 100644 --- a/build/attribute-min.js +++ b/build/attribute-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/attribute.js b/build/attribute.js index 4a6f0f67d1..ad78266088 100644 --- a/build/attribute.js +++ b/build/attribute.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/base-min.js b/build/base-min.js index 427b8834fe..6026a99f50 100644 --- a/build/base-min.js +++ b/build/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/base.js b/build/base.js index b266b7c7fa..658d72bcde 100644 --- a/build/base.js +++ b/build/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/button-min.js b/build/button-min.js index 7ee80a8a15..09479411aa 100644 --- a/build/button-min.js +++ b/build/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/button.js b/build/button.js index 0ed92e8bc5..f1e367f811 100644 --- a/build/button.js +++ b/build/button.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/button/assets/dpl-min.css b/build/button/assets/dpl-min.css index c1cedac983..882522fc37 100644 --- a/build/button/assets/dpl-min.css +++ b/build/button/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/button/assets/dpl.css b/build/button/assets/dpl.css index 3a8c712381..5ccafbca38 100644 --- a/build/button/assets/dpl.css +++ b/build/button/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/color-min.js b/build/color-min.js index 8dc7422b54..552ef69a68 100644 --- a/build/color-min.js +++ b/build/color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/color.js b/build/color.js index 8811f98f2a..9815721149 100644 --- a/build/color.js +++ b/build/color.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/combobox-min.js b/build/combobox-min.js index 695d75c810..843b890981 100644 --- a/build/combobox-min.js +++ b/build/combobox-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/combobox.js b/build/combobox.js index 19b04da0bf..7813f2b179 100644 --- a/build/combobox.js +++ b/build/combobox.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/combobox/assets/dpl-min.css b/build/combobox/assets/dpl-min.css index c64a7de3c7..031fded519 100644 --- a/build/combobox/assets/dpl-min.css +++ b/build/combobox/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/combobox/assets/dpl.css b/build/combobox/assets/dpl.css index 7c4bba31eb..c7c5824169 100644 --- a/build/combobox/assets/dpl.css +++ b/build/combobox/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/component/container-min.js b/build/component/container-min.js index e00ba4203d..186b24b701 100644 --- a/build/component/container-min.js +++ b/build/component/container-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/component/container.js b/build/component/container.js index b9bd9ed652..931e788830 100644 --- a/build/component/container.js +++ b/build/component/container.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/component/control-min.js b/build/component/control-min.js index 5f2e6732ee..bb524c2ff7 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/component/control.js b/build/component/control.js index fda7823e78..0ddfe8496c 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:11 */ diff --git a/build/component/extension/align-min.js b/build/component/extension/align-min.js index 044353a002..ae968b3600 100644 --- a/build/component/extension/align-min.js +++ b/build/component/extension/align-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/align.js b/build/component/extension/align.js index 4f20e94ba5..d5e7f6b0af 100644 --- a/build/component/extension/align.js +++ b/build/component/extension/align.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/content-render-min.js b/build/component/extension/content-render-min.js index fcf7971543..5d49e660a8 100644 --- a/build/component/extension/content-render-min.js +++ b/build/component/extension/content-render-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/content-render.js b/build/component/extension/content-render.js index 1aa7afbac5..8f89445ee7 100644 --- a/build/component/extension/content-render.js +++ b/build/component/extension/content-render.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/content-xtpl-min.js b/build/component/extension/content-xtpl-min.js index 269cd89408..50ccd07a59 100644 --- a/build/component/extension/content-xtpl-min.js +++ b/build/component/extension/content-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/content-xtpl.js b/build/component/extension/content-xtpl.js index 8d9ed34e66..4f2afcaf64 100644 --- a/build/component/extension/content-xtpl.js +++ b/build/component/extension/content-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js index 43f833fbd9..7dfe1d219f 100644 --- a/build/component/extension/delegate-children-min.js +++ b/build/component/extension/delegate-children-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js index 880d002684..a3782d1827 100644 --- a/build/component/extension/delegate-children.js +++ b/build/component/extension/delegate-children.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/shim-min.js b/build/component/extension/shim-min.js index d24c0d38f2..5b251197a7 100644 --- a/build/component/extension/shim-min.js +++ b/build/component/extension/shim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/extension/shim.js b/build/component/extension/shim.js index cde10947df..96968c9c41 100644 --- a/build/component/extension/shim.js +++ b/build/component/extension/shim.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/manager-min.js b/build/component/manager-min.js index e062e2659f..5ac771de4f 100644 --- a/build/component/manager-min.js +++ b/build/component/manager-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/manager.js b/build/component/manager.js index 475fc97ba5..9e14d30750 100644 --- a/build/component/manager.js +++ b/build/component/manager.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/plugin/drag-min.js b/build/component/plugin/drag-min.js index de144315d7..e97cd6df16 100644 --- a/build/component/plugin/drag-min.js +++ b/build/component/plugin/drag-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/plugin/drag.js b/build/component/plugin/drag.js index 387968014a..54be45c8f4 100644 --- a/build/component/plugin/drag.js +++ b/build/component/plugin/drag.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/plugin/resize-min.js b/build/component/plugin/resize-min.js index 9832f6489e..14a372944a 100644 --- a/build/component/plugin/resize-min.js +++ b/build/component/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/component/plugin/resize.js b/build/component/plugin/resize.js index 0dc1e17be8..8d620ea956 100644 --- a/build/component/plugin/resize.js +++ b/build/component/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/cookie-min.js b/build/cookie-min.js index 940f6e1ab6..874625e7d9 100644 --- a/build/cookie-min.js +++ b/build/cookie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/cookie.js b/build/cookie.js index 8bc79fff61..af83be4e7c 100644 --- a/build/cookie.js +++ b/build/cookie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/badges-min.css b/build/css/dpl/badges-min.css index ed1d6d422f..c6bddb28dc 100644 --- a/build/css/dpl/badges-min.css +++ b/build/css/dpl/badges-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/badges.css b/build/css/dpl/badges.css index 2465c883df..f1528b5b31 100644 --- a/build/css/dpl/badges.css +++ b/build/css/dpl/badges.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/base-min.css b/build/css/dpl/base-min.css index 762a53f29f..868fc97210 100644 --- a/build/css/dpl/base-min.css +++ b/build/css/dpl/base-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/base.css b/build/css/dpl/base.css index 4aa0b58709..c34cebcbe2 100644 --- a/build/css/dpl/base.css +++ b/build/css/dpl/base.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/forms-min.css b/build/css/dpl/forms-min.css index 53994aaabe..3d660570eb 100644 --- a/build/css/dpl/forms-min.css +++ b/build/css/dpl/forms-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/forms.css b/build/css/dpl/forms.css index a0ba2426bf..7702e4eb22 100644 --- a/build/css/dpl/forms.css +++ b/build/css/dpl/forms.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/icons-min.css b/build/css/dpl/icons-min.css index f466da59cf..e223ead485 100644 --- a/build/css/dpl/icons-min.css +++ b/build/css/dpl/icons-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/icons.css b/build/css/dpl/icons.css index 030daff8e8..4675a9dc62 100644 --- a/build/css/dpl/icons.css +++ b/build/css/dpl/icons.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/labels-min.css b/build/css/dpl/labels-min.css index d5f5296bc9..2948131c12 100644 --- a/build/css/dpl/labels-min.css +++ b/build/css/dpl/labels-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/labels.css b/build/css/dpl/labels.css index e0aba2484a..49d8274a15 100644 --- a/build/css/dpl/labels.css +++ b/build/css/dpl/labels.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/reset-context-min.css b/build/css/dpl/reset-context-min.css index c693a605bc..b8158ff36d 100644 --- a/build/css/dpl/reset-context-min.css +++ b/build/css/dpl/reset-context-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/reset-context.css b/build/css/dpl/reset-context.css index bc0ce6eb0b..4453f5d6e4 100644 --- a/build/css/dpl/reset-context.css +++ b/build/css/dpl/reset-context.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/reset-min.css b/build/css/dpl/reset-min.css index a7cb31fbd3..e28d258c5b 100644 --- a/build/css/dpl/reset-min.css +++ b/build/css/dpl/reset-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/reset.css b/build/css/dpl/reset.css index 12ff2afcdb..ebcdf26312 100644 --- a/build/css/dpl/reset.css +++ b/build/css/dpl/reset.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/tables-min.css b/build/css/dpl/tables-min.css index 114ce9ac40..3ead7fe4b4 100644 --- a/build/css/dpl/tables-min.css +++ b/build/css/dpl/tables-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/css/dpl/tables.css b/build/css/dpl/tables.css index 4c389ba279..bda8b29a4b 100644 --- a/build/css/dpl/tables.css +++ b/build/css/dpl/tables.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/date/format-min.js b/build/date/format-min.js index d8175fb934..169ada7ac1 100644 --- a/build/date/format-min.js +++ b/build/date/format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/date/format.js b/build/date/format.js index dd793073a7..a60808ad06 100644 --- a/build/date/format.js +++ b/build/date/format.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/date/gregorian-min.js b/build/date/gregorian-min.js index 40bc173b87..7e7a984bfc 100644 --- a/build/date/gregorian-min.js +++ b/build/date/gregorian-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/date/gregorian.js b/build/date/gregorian.js index 8107b19929..78f3873bff 100644 --- a/build/date/gregorian.js +++ b/build/date/gregorian.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:12 */ diff --git a/build/date/i18n/en-us-min.js b/build/date/i18n/en-us-min.js index 9249013a06..5a8f4db563 100644 --- a/build/date/i18n/en-us-min.js +++ b/build/date/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/i18n/en-us.js b/build/date/i18n/en-us.js index 8ba5ee15be..ae60cb93c5 100644 --- a/build/date/i18n/en-us.js +++ b/build/date/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/i18n/zh-cn-min.js b/build/date/i18n/zh-cn-min.js index ce495b8d55..f55af8d8e9 100644 --- a/build/date/i18n/zh-cn-min.js +++ b/build/date/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/i18n/zh-cn.js b/build/date/i18n/zh-cn.js index f20a3a5af7..306cb7ba54 100644 --- a/build/date/i18n/zh-cn.js +++ b/build/date/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker-min.js b/build/date/picker-min.js index 5749209984..655cb10c35 100644 --- a/build/date/picker-min.js +++ b/build/date/picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker.js b/build/date/picker.js index 243ad0e520..247239f03d 100644 --- a/build/date/picker.js +++ b/build/date/picker.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker/i18n/en-us-min.js b/build/date/picker/i18n/en-us-min.js index 8611769eba..19156bf99d 100644 --- a/build/date/picker/i18n/en-us-min.js +++ b/build/date/picker/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker/i18n/en-us.js b/build/date/picker/i18n/en-us.js index 485515d594..a879060cff 100644 --- a/build/date/picker/i18n/en-us.js +++ b/build/date/picker/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker/i18n/zh-cn-min.js b/build/date/picker/i18n/zh-cn-min.js index e43c817ad6..4d76baf09b 100644 --- a/build/date/picker/i18n/zh-cn-min.js +++ b/build/date/picker/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/picker/i18n/zh-cn.js b/build/date/picker/i18n/zh-cn.js index 5d34fdfef1..9b5bb06b38 100644 --- a/build/date/picker/i18n/zh-cn.js +++ b/build/date/picker/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/popup-picker-min.js b/build/date/popup-picker-min.js index b196606380..91bf5b41aa 100644 --- a/build/date/popup-picker-min.js +++ b/build/date/popup-picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/date/popup-picker.js b/build/date/popup-picker.js index ac81cff867..2cba38fc0e 100644 --- a/build/date/popup-picker.js +++ b/build/date/popup-picker.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd-min.js b/build/dd-min.js index 3fa99932c5..6f313136a0 100644 --- a/build/dd-min.js +++ b/build/dd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd.js b/build/dd.js index 817c1395a9..958a8c5ef5 100644 --- a/build/dd.js +++ b/build/dd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/constrain-min.js b/build/dd/plugin/constrain-min.js index 3c651cb59b..2800e657ea 100644 --- a/build/dd/plugin/constrain-min.js +++ b/build/dd/plugin/constrain-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/constrain.js b/build/dd/plugin/constrain.js index 8885791a13..0e4e362645 100644 --- a/build/dd/plugin/constrain.js +++ b/build/dd/plugin/constrain.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/proxy-min.js b/build/dd/plugin/proxy-min.js index b26854af9a..1b19886e21 100644 --- a/build/dd/plugin/proxy-min.js +++ b/build/dd/plugin/proxy-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/proxy.js b/build/dd/plugin/proxy.js index 734c5a9b04..be486575f4 100644 --- a/build/dd/plugin/proxy.js +++ b/build/dd/plugin/proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/scroll-min.js b/build/dd/plugin/scroll-min.js index c603ca00e2..13c27e92e3 100644 --- a/build/dd/plugin/scroll-min.js +++ b/build/dd/plugin/scroll-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dd/plugin/scroll.js b/build/dd/plugin/scroll.js index 8e62ad4229..fe23807752 100644 --- a/build/dd/plugin/scroll.js +++ b/build/dd/plugin/scroll.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 58be0d7c0b..4b568f5ad4 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dom/base.js b/build/dom/base.js index bb36cb617b..1f3d063c32 100644 --- a/build/dom/base.js +++ b/build/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:13 */ diff --git a/build/dom/class-list-min.js b/build/dom/class-list-min.js index 99550d8beb..131249cb0d 100644 --- a/build/dom/class-list-min.js +++ b/build/dom/class-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/dom/class-list.js b/build/dom/class-list.js index 1653ced4fe..2c16c0266b 100644 --- a/build/dom/class-list.js +++ b/build/dom/class-list.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/dom/ie-min.js b/build/dom/ie-min.js index ad9b58ca46..3f0b7dee5d 100644 --- a/build/dom/ie-min.js +++ b/build/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/dom/ie.js b/build/dom/ie.js index e29ba7f5c6..3e614da4c1 100644 --- a/build/dom/ie.js +++ b/build/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js index fe75743c89..d047753180 100644 --- a/build/dom/selector-min.js +++ b/build/dom/selector-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/dom/selector.js b/build/dom/selector.js index 8ddf155b6c..6fb77e3be7 100644 --- a/build/dom/selector.js +++ b/build/dom/selector.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor-min.js b/build/editor-min.js index 54dff2ec2d..a924dcb15d 100644 --- a/build/editor-min.js +++ b/build/editor-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor.js b/build/editor.js index 93e68f0a39..6a03b039f8 100644 --- a/build/editor.js +++ b/build/editor.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/plugin/back-color-min.js b/build/editor/plugin/back-color-min.js index 50018246e6..30f68899f2 100644 --- a/build/editor/plugin/back-color-min.js +++ b/build/editor/plugin/back-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/back-color.js b/build/editor/plugin/back-color.js index a67a10b808..3091486aae 100644 --- a/build/editor/plugin/back-color.js +++ b/build/editor/plugin/back-color.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/back-color/cmd-min.js b/build/editor/plugin/back-color/cmd-min.js index 8b51bef5ed..8bc3da4b24 100644 --- a/build/editor/plugin/back-color/cmd-min.js +++ b/build/editor/plugin/back-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/back-color/cmd.js b/build/editor/plugin/back-color/cmd.js index 5c8a6b68cd..cc76ac04e1 100644 --- a/build/editor/plugin/back-color/cmd.js +++ b/build/editor/plugin/back-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bold-min.js b/build/editor/plugin/bold-min.js index 1414ed0fb4..d4bea02d8b 100644 --- a/build/editor/plugin/bold-min.js +++ b/build/editor/plugin/bold-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bold.js b/build/editor/plugin/bold.js index be90b0143a..5cd458eedf 100644 --- a/build/editor/plugin/bold.js +++ b/build/editor/plugin/bold.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bold/cmd-min.js b/build/editor/plugin/bold/cmd-min.js index a18b22d133..4c754eaac8 100644 --- a/build/editor/plugin/bold/cmd-min.js +++ b/build/editor/plugin/bold/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bold/cmd.js b/build/editor/plugin/bold/cmd.js index 9bced26400..051306cfd3 100644 --- a/build/editor/plugin/bold/cmd.js +++ b/build/editor/plugin/bold/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bubble-min.js b/build/editor/plugin/bubble-min.js index cacb3bdc97..0eaf77d516 100644 --- a/build/editor/plugin/bubble-min.js +++ b/build/editor/plugin/bubble-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/bubble.js b/build/editor/plugin/bubble.js index 935511c4e6..259657845d 100644 --- a/build/editor/plugin/bubble.js +++ b/build/editor/plugin/bubble.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/button-min.js b/build/editor/plugin/button-min.js index 7ee10a3497..09de28da5b 100644 --- a/build/editor/plugin/button-min.js +++ b/build/editor/plugin/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/button.js b/build/editor/plugin/button.js index fb0738c777..c71e6e1180 100644 --- a/build/editor/plugin/button.js +++ b/build/editor/plugin/button.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/checkbox-source-area-min.js b/build/editor/plugin/checkbox-source-area-min.js index d48f6332ca..8c620b62b9 100644 --- a/build/editor/plugin/checkbox-source-area-min.js +++ b/build/editor/plugin/checkbox-source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/checkbox-source-area.js b/build/editor/plugin/checkbox-source-area.js index a170b32ba4..e4ed6627a9 100644 --- a/build/editor/plugin/checkbox-source-area.js +++ b/build/editor/plugin/checkbox-source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/code-min.js b/build/editor/plugin/code-min.js index 3ac380bf40..1efd38f16a 100644 --- a/build/editor/plugin/code-min.js +++ b/build/editor/plugin/code-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/code.js b/build/editor/plugin/code.js index 0bb49ec1ed..dd157a783b 100644 --- a/build/editor/plugin/code.js +++ b/build/editor/plugin/code.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/code/dialog-min.js b/build/editor/plugin/code/dialog-min.js index 308190d484..409c40e1c2 100644 --- a/build/editor/plugin/code/dialog-min.js +++ b/build/editor/plugin/code/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/code/dialog.js b/build/editor/plugin/code/dialog.js index bcd5ab85c7..42c0dabd00 100644 --- a/build/editor/plugin/code/dialog.js +++ b/build/editor/plugin/code/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:14 */ diff --git a/build/editor/plugin/color/btn-min.js b/build/editor/plugin/color/btn-min.js index 30fbf63603..fdf37ad682 100644 --- a/build/editor/plugin/color/btn-min.js +++ b/build/editor/plugin/color/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/color/btn.js b/build/editor/plugin/color/btn.js index 33d6479c76..555b56e2ea 100644 --- a/build/editor/plugin/color/btn.js +++ b/build/editor/plugin/color/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/color/cmd-min.js b/build/editor/plugin/color/cmd-min.js index e4437a8178..af6ca516d5 100644 --- a/build/editor/plugin/color/cmd-min.js +++ b/build/editor/plugin/color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/color/cmd.js b/build/editor/plugin/color/cmd.js index e7fafab6af..c67a137205 100644 --- a/build/editor/plugin/color/cmd.js +++ b/build/editor/plugin/color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/color/dialog-min.js b/build/editor/plugin/color/dialog-min.js index 77d2bd1349..27d21de580 100644 --- a/build/editor/plugin/color/dialog-min.js +++ b/build/editor/plugin/color/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/color/dialog.js b/build/editor/plugin/color/dialog.js index 044c5b5a13..25e5e815de 100644 --- a/build/editor/plugin/color/dialog.js +++ b/build/editor/plugin/color/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/contextmenu-min.js b/build/editor/plugin/contextmenu-min.js index 3e62e39486..9cfeca9b4c 100644 --- a/build/editor/plugin/contextmenu-min.js +++ b/build/editor/plugin/contextmenu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/contextmenu.js b/build/editor/plugin/contextmenu.js index a5f29fa2ac..1cbd2c880e 100644 --- a/build/editor/plugin/contextmenu.js +++ b/build/editor/plugin/contextmenu.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dent-cmd-min.js b/build/editor/plugin/dent-cmd-min.js index 9ae23698cf..7a5c23af1b 100644 --- a/build/editor/plugin/dent-cmd-min.js +++ b/build/editor/plugin/dent-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dent-cmd.js b/build/editor/plugin/dent-cmd.js index 1ed4b31008..92849c12f5 100644 --- a/build/editor/plugin/dent-cmd.js +++ b/build/editor/plugin/dent-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dialog-loader-min.js b/build/editor/plugin/dialog-loader-min.js index b53fac9b8c..bb3cfd1d84 100644 --- a/build/editor/plugin/dialog-loader-min.js +++ b/build/editor/plugin/dialog-loader-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dialog-loader.js b/build/editor/plugin/dialog-loader.js index e7270f9650..b5f5bcc7af 100644 --- a/build/editor/plugin/dialog-loader.js +++ b/build/editor/plugin/dialog-loader.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dialog-min.js b/build/editor/plugin/dialog-min.js index dd987a6f66..97cfddeb7f 100644 --- a/build/editor/plugin/dialog-min.js +++ b/build/editor/plugin/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/dialog.js b/build/editor/plugin/dialog.js index 903e33f5e5..4b84c4614f 100644 --- a/build/editor/plugin/dialog.js +++ b/build/editor/plugin/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/draft-min.js b/build/editor/plugin/draft-min.js index 421e0a1516..4527121555 100644 --- a/build/editor/plugin/draft-min.js +++ b/build/editor/plugin/draft-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/draft.js b/build/editor/plugin/draft.js index 037f4e8347..4d766a9a3a 100644 --- a/build/editor/plugin/draft.js +++ b/build/editor/plugin/draft.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/drag-upload-min.js b/build/editor/plugin/drag-upload-min.js index b03a2f96c5..98291a8947 100644 --- a/build/editor/plugin/drag-upload-min.js +++ b/build/editor/plugin/drag-upload-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/drag-upload.js b/build/editor/plugin/drag-upload.js index 6ee56274ac..c4a96d20cc 100644 --- a/build/editor/plugin/drag-upload.js +++ b/build/editor/plugin/drag-upload.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/element-path-min.js b/build/editor/plugin/element-path-min.js index dbadba7999..a7b84ee707 100644 --- a/build/editor/plugin/element-path-min.js +++ b/build/editor/plugin/element-path-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/element-path.js b/build/editor/plugin/element-path.js index 03bc2a0705..23c5388cf8 100644 --- a/build/editor/plugin/element-path.js +++ b/build/editor/plugin/element-path.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/fake-objects-min.js b/build/editor/plugin/fake-objects-min.js index b87ee477df..0dd941581b 100644 --- a/build/editor/plugin/fake-objects-min.js +++ b/build/editor/plugin/fake-objects-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/fake-objects.js b/build/editor/plugin/fake-objects.js index 0585bb57d3..06ca28a1b5 100644 --- a/build/editor/plugin/fake-objects.js +++ b/build/editor/plugin/fake-objects.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:15 */ diff --git a/build/editor/plugin/flash-bridge-min.js b/build/editor/plugin/flash-bridge-min.js index a26391033b..9f0a91df19 100644 --- a/build/editor/plugin/flash-bridge-min.js +++ b/build/editor/plugin/flash-bridge-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-bridge.js b/build/editor/plugin/flash-bridge.js index 8f579f9710..51952e7fb0 100644 --- a/build/editor/plugin/flash-bridge.js +++ b/build/editor/plugin/flash-bridge.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js index a973efa2ba..165fa8ee52 100644 --- a/build/editor/plugin/flash-common/base-class-min.js +++ b/build/editor/plugin/flash-common/base-class-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js index 94919c4c2c..32746f89f2 100644 --- a/build/editor/plugin/flash-common/base-class.js +++ b/build/editor/plugin/flash-common/base-class.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-common/utils-min.js b/build/editor/plugin/flash-common/utils-min.js index 132ad6d970..58693171ed 100644 --- a/build/editor/plugin/flash-common/utils-min.js +++ b/build/editor/plugin/flash-common/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-common/utils.js b/build/editor/plugin/flash-common/utils.js index 26d5801031..1990fde127 100644 --- a/build/editor/plugin/flash-common/utils.js +++ b/build/editor/plugin/flash-common/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash-min.js b/build/editor/plugin/flash-min.js index 918295fe29..b35b9d118d 100644 --- a/build/editor/plugin/flash-min.js +++ b/build/editor/plugin/flash-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash.js b/build/editor/plugin/flash.js index 68478fdf39..78481c68bd 100644 --- a/build/editor/plugin/flash.js +++ b/build/editor/plugin/flash.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/flash/dialog-min.js b/build/editor/plugin/flash/dialog-min.js index 606b80e540..9b8e077926 100644 --- a/build/editor/plugin/flash/dialog-min.js +++ b/build/editor/plugin/flash/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:37 */ diff --git a/build/editor/plugin/flash/dialog.js b/build/editor/plugin/flash/dialog.js index f6867bde91..d4d22b0ecb 100644 --- a/build/editor/plugin/flash/dialog.js +++ b/build/editor/plugin/flash/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:37 */ diff --git a/build/editor/plugin/focus-fix-min.js b/build/editor/plugin/focus-fix-min.js index 6a77372de7..372af7e721 100644 --- a/build/editor/plugin/focus-fix-min.js +++ b/build/editor/plugin/focus-fix-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/focus-fix.js b/build/editor/plugin/focus-fix.js index 32f159dd2b..e2bb5e7097 100644 --- a/build/editor/plugin/focus-fix.js +++ b/build/editor/plugin/focus-fix.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-family-min.js b/build/editor/plugin/font-family-min.js index 449b77fa8f..d8783b08be 100644 --- a/build/editor/plugin/font-family-min.js +++ b/build/editor/plugin/font-family-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-family.js b/build/editor/plugin/font-family.js index fde55a4841..57f3838a98 100644 --- a/build/editor/plugin/font-family.js +++ b/build/editor/plugin/font-family.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-family/cmd-min.js b/build/editor/plugin/font-family/cmd-min.js index 939066712b..8f2dec5061 100644 --- a/build/editor/plugin/font-family/cmd-min.js +++ b/build/editor/plugin/font-family/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-family/cmd.js b/build/editor/plugin/font-family/cmd.js index 650508ad04..7f2e7e9583 100644 --- a/build/editor/plugin/font-family/cmd.js +++ b/build/editor/plugin/font-family/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-size-min.js b/build/editor/plugin/font-size-min.js index 47a2df87ee..fe2a98ab72 100644 --- a/build/editor/plugin/font-size-min.js +++ b/build/editor/plugin/font-size-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-size.js b/build/editor/plugin/font-size.js index 3b412e39b3..6259fd5d7a 100644 --- a/build/editor/plugin/font-size.js +++ b/build/editor/plugin/font-size.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-size/cmd-min.js b/build/editor/plugin/font-size/cmd-min.js index 8ffbe02943..845eb933cb 100644 --- a/build/editor/plugin/font-size/cmd-min.js +++ b/build/editor/plugin/font-size/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font-size/cmd.js b/build/editor/plugin/font-size/cmd.js index a831175906..e48a1cb318 100644 --- a/build/editor/plugin/font-size/cmd.js +++ b/build/editor/plugin/font-size/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font/cmd-min.js b/build/editor/plugin/font/cmd-min.js index b507b1d642..c435d3a5e1 100644 --- a/build/editor/plugin/font/cmd-min.js +++ b/build/editor/plugin/font/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font/cmd.js b/build/editor/plugin/font/cmd.js index 4ab5a6209a..f599896120 100644 --- a/build/editor/plugin/font/cmd.js +++ b/build/editor/plugin/font/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:16 */ diff --git a/build/editor/plugin/font/ui-min.js b/build/editor/plugin/font/ui-min.js index 6fae8d9ae5..d01fac8724 100644 --- a/build/editor/plugin/font/ui-min.js +++ b/build/editor/plugin/font/ui-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/font/ui.js b/build/editor/plugin/font/ui.js index 86b48bcb16..4971a07ccd 100644 --- a/build/editor/plugin/font/ui.js +++ b/build/editor/plugin/font/ui.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/fore-color-min.js b/build/editor/plugin/fore-color-min.js index 7c409e8d03..2e0a0d4aba 100644 --- a/build/editor/plugin/fore-color-min.js +++ b/build/editor/plugin/fore-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/fore-color.js b/build/editor/plugin/fore-color.js index 02432e5d2d..8d62e4e0cd 100644 --- a/build/editor/plugin/fore-color.js +++ b/build/editor/plugin/fore-color.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/fore-color/cmd-min.js b/build/editor/plugin/fore-color/cmd-min.js index 7390962482..f271fd2d4d 100644 --- a/build/editor/plugin/fore-color/cmd-min.js +++ b/build/editor/plugin/fore-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/fore-color/cmd.js b/build/editor/plugin/fore-color/cmd.js index 648ecf5eb9..f51bd5170d 100644 --- a/build/editor/plugin/fore-color/cmd.js +++ b/build/editor/plugin/fore-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/heading-min.js b/build/editor/plugin/heading-min.js index 55314b73db..deb5fb229e 100644 --- a/build/editor/plugin/heading-min.js +++ b/build/editor/plugin/heading-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/heading.js b/build/editor/plugin/heading.js index e1d84a4614..237ff95b86 100644 --- a/build/editor/plugin/heading.js +++ b/build/editor/plugin/heading.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/heading/cmd-min.js b/build/editor/plugin/heading/cmd-min.js index d170774eaa..748318f499 100644 --- a/build/editor/plugin/heading/cmd-min.js +++ b/build/editor/plugin/heading/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/heading/cmd.js b/build/editor/plugin/heading/cmd.js index 1bee9980d9..f806a1e7fa 100644 --- a/build/editor/plugin/heading/cmd.js +++ b/build/editor/plugin/heading/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js index 472f4baf72..c18d7959d6 100644 --- a/build/editor/plugin/image-min.js +++ b/build/editor/plugin/image-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js index 8657f35f03..3abae45900 100644 --- a/build/editor/plugin/image.js +++ b/build/editor/plugin/image.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/image/dialog-min.js b/build/editor/plugin/image/dialog-min.js index 8ed9e6d681..39441b0135 100644 --- a/build/editor/plugin/image/dialog-min.js +++ b/build/editor/plugin/image/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/image/dialog.js b/build/editor/plugin/image/dialog.js index 5a5c9c0f43..0a88a32dda 100644 --- a/build/editor/plugin/image/dialog.js +++ b/build/editor/plugin/image/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/indent-min.js b/build/editor/plugin/indent-min.js index c3983e10aa..816f178401 100644 --- a/build/editor/plugin/indent-min.js +++ b/build/editor/plugin/indent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/indent.js b/build/editor/plugin/indent.js index c2805c7f84..131410ebf0 100644 --- a/build/editor/plugin/indent.js +++ b/build/editor/plugin/indent.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/indent/cmd-min.js b/build/editor/plugin/indent/cmd-min.js index 5948567506..a96231de35 100644 --- a/build/editor/plugin/indent/cmd-min.js +++ b/build/editor/plugin/indent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/indent/cmd.js b/build/editor/plugin/indent/cmd.js index 64225bd744..5971fd743f 100644 --- a/build/editor/plugin/indent/cmd.js +++ b/build/editor/plugin/indent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/italic-min.js b/build/editor/plugin/italic-min.js index 654dd133bf..dc7ee4360e 100644 --- a/build/editor/plugin/italic-min.js +++ b/build/editor/plugin/italic-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/italic.js b/build/editor/plugin/italic.js index e234c01ce0..d94bf77848 100644 --- a/build/editor/plugin/italic.js +++ b/build/editor/plugin/italic.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/italic/cmd-min.js b/build/editor/plugin/italic/cmd-min.js index 26393ef863..a955c3b77a 100644 --- a/build/editor/plugin/italic/cmd-min.js +++ b/build/editor/plugin/italic/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/italic/cmd.js b/build/editor/plugin/italic/cmd.js index a1690a3f3d..110d5c8e79 100644 --- a/build/editor/plugin/italic/cmd.js +++ b/build/editor/plugin/italic/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/justify-center-min.js b/build/editor/plugin/justify-center-min.js index 3d79b69127..22ede75e61 100644 --- a/build/editor/plugin/justify-center-min.js +++ b/build/editor/plugin/justify-center-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/justify-center.js b/build/editor/plugin/justify-center.js index e63ced60aa..6621283b88 100644 --- a/build/editor/plugin/justify-center.js +++ b/build/editor/plugin/justify-center.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:17 */ diff --git a/build/editor/plugin/justify-center/cmd-min.js b/build/editor/plugin/justify-center/cmd-min.js index 4023d56d13..e93d060d95 100644 --- a/build/editor/plugin/justify-center/cmd-min.js +++ b/build/editor/plugin/justify-center/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-center/cmd.js b/build/editor/plugin/justify-center/cmd.js index fda79dfd61..e7f0694009 100644 --- a/build/editor/plugin/justify-center/cmd.js +++ b/build/editor/plugin/justify-center/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-cmd-min.js b/build/editor/plugin/justify-cmd-min.js index a6e6162b8d..4f262fac5d 100644 --- a/build/editor/plugin/justify-cmd-min.js +++ b/build/editor/plugin/justify-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-cmd.js b/build/editor/plugin/justify-cmd.js index 31e989647f..7295b85cdb 100644 --- a/build/editor/plugin/justify-cmd.js +++ b/build/editor/plugin/justify-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-left-min.js b/build/editor/plugin/justify-left-min.js index abbc518853..10f906b8ea 100644 --- a/build/editor/plugin/justify-left-min.js +++ b/build/editor/plugin/justify-left-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-left.js b/build/editor/plugin/justify-left.js index f84f0384cc..2681417486 100644 --- a/build/editor/plugin/justify-left.js +++ b/build/editor/plugin/justify-left.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-left/cmd-min.js b/build/editor/plugin/justify-left/cmd-min.js index 9a3f4181fc..836234e357 100644 --- a/build/editor/plugin/justify-left/cmd-min.js +++ b/build/editor/plugin/justify-left/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-left/cmd.js b/build/editor/plugin/justify-left/cmd.js index 185f44f175..c48c69b7bd 100644 --- a/build/editor/plugin/justify-left/cmd.js +++ b/build/editor/plugin/justify-left/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-right-min.js b/build/editor/plugin/justify-right-min.js index c1d7e2c02c..a030c9f06f 100644 --- a/build/editor/plugin/justify-right-min.js +++ b/build/editor/plugin/justify-right-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-right.js b/build/editor/plugin/justify-right.js index 16a9568e2f..c2059efc85 100644 --- a/build/editor/plugin/justify-right.js +++ b/build/editor/plugin/justify-right.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-right/cmd-min.js b/build/editor/plugin/justify-right/cmd-min.js index 25f649705a..730ad9a31e 100644 --- a/build/editor/plugin/justify-right/cmd-min.js +++ b/build/editor/plugin/justify-right/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/justify-right/cmd.js b/build/editor/plugin/justify-right/cmd.js index f497d542fc..a73c014cc5 100644 --- a/build/editor/plugin/justify-right/cmd.js +++ b/build/editor/plugin/justify-right/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link-min.js b/build/editor/plugin/link-min.js index 482fdd81e1..f1694fa960 100644 --- a/build/editor/plugin/link-min.js +++ b/build/editor/plugin/link-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link.js b/build/editor/plugin/link.js index 325bf7dd63..0563c1c95d 100644 --- a/build/editor/plugin/link.js +++ b/build/editor/plugin/link.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link/dialog-min.js b/build/editor/plugin/link/dialog-min.js index 5eb74a32c0..0a0a7b6aac 100644 --- a/build/editor/plugin/link/dialog-min.js +++ b/build/editor/plugin/link/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link/dialog.js b/build/editor/plugin/link/dialog.js index ceead092ac..dac0bdaf23 100644 --- a/build/editor/plugin/link/dialog.js +++ b/build/editor/plugin/link/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link/utils-min.js b/build/editor/plugin/link/utils-min.js index 29fe2deea3..f6878ffc07 100644 --- a/build/editor/plugin/link/utils-min.js +++ b/build/editor/plugin/link/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/link/utils.js b/build/editor/plugin/link/utils.js index 4c84b37d99..e1983d9474 100644 --- a/build/editor/plugin/link/utils.js +++ b/build/editor/plugin/link/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/list-utils-min.js b/build/editor/plugin/list-utils-min.js index aa21db9614..17456acdd2 100644 --- a/build/editor/plugin/list-utils-min.js +++ b/build/editor/plugin/list-utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/list-utils.js b/build/editor/plugin/list-utils.js index 81adca807d..015222877f 100644 --- a/build/editor/plugin/list-utils.js +++ b/build/editor/plugin/list-utils.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/list-utils/btn-min.js b/build/editor/plugin/list-utils/btn-min.js index 729cdb83aa..ca9e1fb3bf 100644 --- a/build/editor/plugin/list-utils/btn-min.js +++ b/build/editor/plugin/list-utils/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/list-utils/btn.js b/build/editor/plugin/list-utils/btn.js index d2e6ebde87..4dcf53d2b0 100644 --- a/build/editor/plugin/list-utils/btn.js +++ b/build/editor/plugin/list-utils/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:18 */ diff --git a/build/editor/plugin/list-utils/cmd-min.js b/build/editor/plugin/list-utils/cmd-min.js index 604a995fca..caed2fb876 100644 --- a/build/editor/plugin/list-utils/cmd-min.js +++ b/build/editor/plugin/list-utils/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/list-utils/cmd.js b/build/editor/plugin/list-utils/cmd.js index 9973ba81ca..f3fbc9a979 100644 --- a/build/editor/plugin/list-utils/cmd.js +++ b/build/editor/plugin/list-utils/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/local-storage-min.js b/build/editor/plugin/local-storage-min.js index f9f7ca0a8f..cdfcaf5704 100644 --- a/build/editor/plugin/local-storage-min.js +++ b/build/editor/plugin/local-storage-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/local-storage.js b/build/editor/plugin/local-storage.js index c17bb270a1..234fc007da 100644 --- a/build/editor/plugin/local-storage.js +++ b/build/editor/plugin/local-storage.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/maximize-min.js b/build/editor/plugin/maximize-min.js index 71be1d5d06..96e9f8015e 100644 --- a/build/editor/plugin/maximize-min.js +++ b/build/editor/plugin/maximize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/maximize.js b/build/editor/plugin/maximize.js index 3e6a041411..3933d79284 100644 --- a/build/editor/plugin/maximize.js +++ b/build/editor/plugin/maximize.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/maximize/cmd-min.js b/build/editor/plugin/maximize/cmd-min.js index f705c4f494..20ba63f010 100644 --- a/build/editor/plugin/maximize/cmd-min.js +++ b/build/editor/plugin/maximize/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/maximize/cmd.js b/build/editor/plugin/maximize/cmd.js index f7da5d1540..833f69e0a1 100644 --- a/build/editor/plugin/maximize/cmd.js +++ b/build/editor/plugin/maximize/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/menubutton-min.js b/build/editor/plugin/menubutton-min.js index ff3ff1acb8..78d4388943 100644 --- a/build/editor/plugin/menubutton-min.js +++ b/build/editor/plugin/menubutton-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/menubutton.js b/build/editor/plugin/menubutton.js index 6303068eb7..00497fe855 100644 --- a/build/editor/plugin/menubutton.js +++ b/build/editor/plugin/menubutton.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/ordered-list-min.js b/build/editor/plugin/ordered-list-min.js index ade13db1bb..4abe05c36e 100644 --- a/build/editor/plugin/ordered-list-min.js +++ b/build/editor/plugin/ordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/ordered-list.js b/build/editor/plugin/ordered-list.js index 73abbcd518..02e7775e36 100644 --- a/build/editor/plugin/ordered-list.js +++ b/build/editor/plugin/ordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/ordered-list/cmd-min.js b/build/editor/plugin/ordered-list/cmd-min.js index d1cf5495ab..2274b47847 100644 --- a/build/editor/plugin/ordered-list/cmd-min.js +++ b/build/editor/plugin/ordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/ordered-list/cmd.js b/build/editor/plugin/ordered-list/cmd.js index 9a38734d5f..121b379649 100644 --- a/build/editor/plugin/ordered-list/cmd.js +++ b/build/editor/plugin/ordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/outdent-min.js b/build/editor/plugin/outdent-min.js index 0754a0102c..4c088f6be4 100644 --- a/build/editor/plugin/outdent-min.js +++ b/build/editor/plugin/outdent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/outdent.js b/build/editor/plugin/outdent.js index 04825d5fc4..e201c6f755 100644 --- a/build/editor/plugin/outdent.js +++ b/build/editor/plugin/outdent.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/outdent/cmd-min.js b/build/editor/plugin/outdent/cmd-min.js index e5d7f75649..dc03d65fb4 100644 --- a/build/editor/plugin/outdent/cmd-min.js +++ b/build/editor/plugin/outdent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/outdent/cmd.js b/build/editor/plugin/outdent/cmd.js index c174436dac..373e47a3c0 100644 --- a/build/editor/plugin/outdent/cmd.js +++ b/build/editor/plugin/outdent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/overlay-min.js b/build/editor/plugin/overlay-min.js index c8330bec5f..eae738913b 100644 --- a/build/editor/plugin/overlay-min.js +++ b/build/editor/plugin/overlay-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/overlay.js b/build/editor/plugin/overlay.js index a11c0d77da..14128067cb 100644 --- a/build/editor/plugin/overlay.js +++ b/build/editor/plugin/overlay.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/page-break-min.js b/build/editor/plugin/page-break-min.js index 50a508fc7e..d9844d32a6 100644 --- a/build/editor/plugin/page-break-min.js +++ b/build/editor/plugin/page-break-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/page-break.js b/build/editor/plugin/page-break.js index 1d60e92676..dc6935ffeb 100644 --- a/build/editor/plugin/page-break.js +++ b/build/editor/plugin/page-break.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/preview-min.js b/build/editor/plugin/preview-min.js index 66016546f0..d5256d58cb 100644 --- a/build/editor/plugin/preview-min.js +++ b/build/editor/plugin/preview-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/preview.js b/build/editor/plugin/preview.js index 6225f67a54..40f5f5dc7a 100644 --- a/build/editor/plugin/preview.js +++ b/build/editor/plugin/preview.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:19 */ diff --git a/build/editor/plugin/progressbar-min.js b/build/editor/plugin/progressbar-min.js index 80ec1e7f08..be843e7499 100644 --- a/build/editor/plugin/progressbar-min.js +++ b/build/editor/plugin/progressbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/progressbar.js b/build/editor/plugin/progressbar.js index c5029c0954..32bb6adbf0 100644 --- a/build/editor/plugin/progressbar.js +++ b/build/editor/plugin/progressbar.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/remove-format-min.js b/build/editor/plugin/remove-format-min.js index 924e27741d..50be13f4ab 100644 --- a/build/editor/plugin/remove-format-min.js +++ b/build/editor/plugin/remove-format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/remove-format.js b/build/editor/plugin/remove-format.js index d1816f42f9..54cc6dd8b5 100644 --- a/build/editor/plugin/remove-format.js +++ b/build/editor/plugin/remove-format.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/remove-format/cmd-min.js b/build/editor/plugin/remove-format/cmd-min.js index 8b397798b6..e6df8f5399 100644 --- a/build/editor/plugin/remove-format/cmd-min.js +++ b/build/editor/plugin/remove-format/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/remove-format/cmd.js b/build/editor/plugin/remove-format/cmd.js index 69848f47d5..65738a6cc2 100644 --- a/build/editor/plugin/remove-format/cmd.js +++ b/build/editor/plugin/remove-format/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/resize-min.js b/build/editor/plugin/resize-min.js index c78b08e00f..fad6db39d4 100644 --- a/build/editor/plugin/resize-min.js +++ b/build/editor/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/resize.js b/build/editor/plugin/resize.js index db59b72c84..5a57fdb5f6 100644 --- a/build/editor/plugin/resize.js +++ b/build/editor/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/separator-min.js b/build/editor/plugin/separator-min.js index 1ddb3fea84..1a9e225400 100644 --- a/build/editor/plugin/separator-min.js +++ b/build/editor/plugin/separator-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/separator.js b/build/editor/plugin/separator.js index dd6d003695..4f97b65504 100644 --- a/build/editor/plugin/separator.js +++ b/build/editor/plugin/separator.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/smiley-min.js b/build/editor/plugin/smiley-min.js index 34981c2f00..d4208bbde2 100644 --- a/build/editor/plugin/smiley-min.js +++ b/build/editor/plugin/smiley-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/smiley.js b/build/editor/plugin/smiley.js index 676b739faf..9f0a4b00bb 100644 --- a/build/editor/plugin/smiley.js +++ b/build/editor/plugin/smiley.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/source-area-min.js b/build/editor/plugin/source-area-min.js index 1d891d6989..23f99d1dc5 100644 --- a/build/editor/plugin/source-area-min.js +++ b/build/editor/plugin/source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/source-area.js b/build/editor/plugin/source-area.js index e1c4d39f5c..37580d31b6 100644 --- a/build/editor/plugin/source-area.js +++ b/build/editor/plugin/source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/strike-through-min.js b/build/editor/plugin/strike-through-min.js index c8bf96f536..c3f13f6839 100644 --- a/build/editor/plugin/strike-through-min.js +++ b/build/editor/plugin/strike-through-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/strike-through.js b/build/editor/plugin/strike-through.js index 7cec08c2d4..917205ff25 100644 --- a/build/editor/plugin/strike-through.js +++ b/build/editor/plugin/strike-through.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/strike-through/cmd-min.js b/build/editor/plugin/strike-through/cmd-min.js index e1c6ce2927..dbe77b8b65 100644 --- a/build/editor/plugin/strike-through/cmd-min.js +++ b/build/editor/plugin/strike-through/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/strike-through/cmd.js b/build/editor/plugin/strike-through/cmd.js index c454f32730..e7eeae7c71 100644 --- a/build/editor/plugin/strike-through/cmd.js +++ b/build/editor/plugin/strike-through/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/table-min.js b/build/editor/plugin/table-min.js index e63ba06383..a19258605e 100644 --- a/build/editor/plugin/table-min.js +++ b/build/editor/plugin/table-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/table.js b/build/editor/plugin/table.js index 9c412ceb7f..e89b50c0af 100644 --- a/build/editor/plugin/table.js +++ b/build/editor/plugin/table.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/table/dialog-min.js b/build/editor/plugin/table/dialog-min.js index a9d71d5b76..4c30a3d46c 100644 --- a/build/editor/plugin/table/dialog-min.js +++ b/build/editor/plugin/table/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/table/dialog.js b/build/editor/plugin/table/dialog.js index 5f285e7c55..9d3530d1fd 100644 --- a/build/editor/plugin/table/dialog.js +++ b/build/editor/plugin/table/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/underline-min.js b/build/editor/plugin/underline-min.js index 2548b171df..bdea78b08e 100644 --- a/build/editor/plugin/underline-min.js +++ b/build/editor/plugin/underline-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/underline.js b/build/editor/plugin/underline.js index 3c7f5782e2..1cdf0c25c0 100644 --- a/build/editor/plugin/underline.js +++ b/build/editor/plugin/underline.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:20 */ diff --git a/build/editor/plugin/underline/cmd-min.js b/build/editor/plugin/underline/cmd-min.js index 3a678c8010..37bcab12d1 100644 --- a/build/editor/plugin/underline/cmd-min.js +++ b/build/editor/plugin/underline/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/underline/cmd.js b/build/editor/plugin/underline/cmd.js index 0a3bc20406..a96f0349ac 100644 --- a/build/editor/plugin/underline/cmd.js +++ b/build/editor/plugin/underline/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo-min.js b/build/editor/plugin/undo-min.js index ef86df90b8..a954e92f2f 100644 --- a/build/editor/plugin/undo-min.js +++ b/build/editor/plugin/undo-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo.js b/build/editor/plugin/undo.js index ccd658f6ba..736a90a647 100644 --- a/build/editor/plugin/undo.js +++ b/build/editor/plugin/undo.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo/btn-min.js b/build/editor/plugin/undo/btn-min.js index 021b0007ef..7fcd4542c3 100644 --- a/build/editor/plugin/undo/btn-min.js +++ b/build/editor/plugin/undo/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo/btn.js b/build/editor/plugin/undo/btn.js index d0404e00ed..4c524806f8 100644 --- a/build/editor/plugin/undo/btn.js +++ b/build/editor/plugin/undo/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo/cmd-min.js b/build/editor/plugin/undo/cmd-min.js index 27cb2a5cf2..64bcc8a7b9 100644 --- a/build/editor/plugin/undo/cmd-min.js +++ b/build/editor/plugin/undo/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/undo/cmd.js b/build/editor/plugin/undo/cmd.js index d4e65cf959..1bfb1350a5 100644 --- a/build/editor/plugin/undo/cmd.js +++ b/build/editor/plugin/undo/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/unordered-list-min.js b/build/editor/plugin/unordered-list-min.js index 11d587dead..d46525eabb 100644 --- a/build/editor/plugin/unordered-list-min.js +++ b/build/editor/plugin/unordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/unordered-list.js b/build/editor/plugin/unordered-list.js index da4f44dced..a4144a5015 100644 --- a/build/editor/plugin/unordered-list.js +++ b/build/editor/plugin/unordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/unordered-list/cmd-min.js b/build/editor/plugin/unordered-list/cmd-min.js index f086de1be8..1a6c6b8225 100644 --- a/build/editor/plugin/unordered-list/cmd-min.js +++ b/build/editor/plugin/unordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/unordered-list/cmd.js b/build/editor/plugin/unordered-list/cmd.js index 817cbe81d0..3405840e17 100644 --- a/build/editor/plugin/unordered-list/cmd.js +++ b/build/editor/plugin/unordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/video-min.js b/build/editor/plugin/video-min.js index 8318c1fbbe..f854086cf7 100644 --- a/build/editor/plugin/video-min.js +++ b/build/editor/plugin/video-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/video.js b/build/editor/plugin/video.js index fd525e469e..c2af121f55 100644 --- a/build/editor/plugin/video.js +++ b/build/editor/plugin/video.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/video/dialog-min.js b/build/editor/plugin/video/dialog-min.js index a5d86a97b0..91c5979b24 100644 --- a/build/editor/plugin/video/dialog-min.js +++ b/build/editor/plugin/video/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/video/dialog.js b/build/editor/plugin/video/dialog.js index e07d5e04a6..84609b6deb 100644 --- a/build/editor/plugin/video/dialog.js +++ b/build/editor/plugin/video/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/word-filter-min.js b/build/editor/plugin/word-filter-min.js index a91299d5f3..7de76f9a01 100644 --- a/build/editor/plugin/word-filter-min.js +++ b/build/editor/plugin/word-filter-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/word-filter.js b/build/editor/plugin/word-filter.js index f0fdd1aafd..437bb3fa44 100644 --- a/build/editor/plugin/word-filter.js +++ b/build/editor/plugin/word-filter.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/xiami-music-min.js b/build/editor/plugin/xiami-music-min.js index 5120b4616c..25ef304f56 100644 --- a/build/editor/plugin/xiami-music-min.js +++ b/build/editor/plugin/xiami-music-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/xiami-music.js b/build/editor/plugin/xiami-music.js index c8b918db3c..335a65c638 100644 --- a/build/editor/plugin/xiami-music.js +++ b/build/editor/plugin/xiami-music.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/xiami-music/dialog-min.js b/build/editor/plugin/xiami-music/dialog-min.js index e5977bedff..ea3bd184a5 100644 --- a/build/editor/plugin/xiami-music/dialog-min.js +++ b/build/editor/plugin/xiami-music/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/plugin/xiami-music/dialog.js b/build/editor/plugin/xiami-music/dialog.js index 95c5feffaa..16bf293baf 100644 --- a/build/editor/plugin/xiami-music/dialog.js +++ b/build/editor/plugin/xiami-music/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:21 */ diff --git a/build/editor/theme/cool/editor-min.css b/build/editor/theme/cool/editor-min.css index 5d6c5d5385..88929f09c2 100644 --- a/build/editor/theme/cool/editor-min.css +++ b/build/editor/theme/cool/editor-min.css @@ -1,6 +1,6 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ -.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px} +.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px} diff --git a/build/editor/theme/cool/editor-pkg-sprite-min.css b/build/editor/theme/cool/editor-pkg-sprite-min.css index 22f6a83244..3c4499ad56 100644 --- a/build/editor/theme/cool/editor-pkg-sprite-min.css +++ b/build/editor/theme/cool/editor-pkg-sprite-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite.css b/build/editor/theme/cool/editor-pkg-sprite.css index 44996df257..95077b226e 100644 --- a/build/editor/theme/cool/editor-pkg-sprite.css +++ b/build/editor/theme/cool/editor-pkg-sprite.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/theme/cool/editor.css b/build/editor/theme/cool/editor.css index 2bf5dbf274..b169588bbb 100644 --- a/build/editor/theme/cool/editor.css +++ b/build/editor/theme/cool/editor.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ @@ -321,8 +321,8 @@ LoVe F HAte white-space: nowrap; box-shadow: 0 1px 1px #E4E4E4; background: #e8ebee repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -0px; } @@ -360,8 +360,8 @@ LoVe F HAte text-decoration: none; border-color: rgb(232, 204, 160); background: #f5e7ce repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -26px; } @@ -563,8 +563,8 @@ a.ks-editor-color-remove:hover { .ks-editor-draft-save { background: no-repeat scroll 0 1px transparent; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -52px; width: 18px; height: 15px; @@ -585,8 +585,8 @@ a.ks-editor-color-remove:hover { .ks-editor-draft-help { /*不能使用 center center ,ie 对于容器理解有误,text-indent会增加容器*/ background: no-repeat; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -69px; width: 14px; overflow: hidden; @@ -698,32 +698,32 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-sourceArea { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -81px; } .ks-editor-toolbar-preview { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -97px; } .ks-editor-toolbar-bold { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -113px; } .ks-editor-toolbar-italic { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -129px; } .ks-editor-toolbar-underline { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -145px; height: 11px; margin-top: 5px; @@ -734,8 +734,8 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-strikeThrough { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -156px; height: 11px; margin-top: 4px; @@ -743,15 +743,15 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-orderedList { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -167px; margin-right: 0; } .ks-editor-toolbar-unorderedList { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -183px; margin-right: 0; } @@ -792,38 +792,38 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-outdent { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -199px; } .ks-editor-toolbar-indent { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -215px; } .ks-editor-toolbar-justifyLeft { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -231px; } .ks-editor-toolbar-justifyCenter { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -247px; } .ks-editor-toolbar-justifyRight { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -263px; } .ks-editor-toolbar-image { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -279px; } @@ -834,8 +834,8 @@ ks-editor-toolbar-padding { .ks-editor-toolbar-backColor, .ks-editor-toolbar-foreColor { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -295px; width: 18px; height: 15px; @@ -850,8 +850,8 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-foreColor { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -310px; } @@ -887,82 +887,82 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-undo { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -324px; } .ks-editor-toolbar-redo { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -339px; height: 15px; margin: 3px 4px; } .ks-editor-toolbar-table { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -354px; } .ks-editor-toolbar-template { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -370px; } .ks-editor-toolbar-maximize { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -386px; } .ks-editor-toolbar-flash { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -402px; } .ks-editor-toolbar-link { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -418px; } .ks-editor-toolbar-music { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -434px; } .ks-editor-toolbar-xiamiMusic { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -434px; } .ks-editor-toolbar-video { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -450px; } .ks-editor-toolbar-smiley { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -466px; } .ks-editor-toolbar-removeFormat { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -482px; } .ks-editor-toolbar-pageBreak { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -498px; height: 12px; margin-top: 4px; @@ -970,14 +970,14 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-code { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -509px; } .ks-editor-toolbar-restore { - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -525px; } @@ -1089,8 +1089,8 @@ menu style for kissy editor ,include contextmenu and select menu .ks-editor-dialog-header { background: repeat-x scroll 0 0 #D6DBE2; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -541px; border-bottom: 1px solid #ACB4BE; font-size: 14px; @@ -1119,8 +1119,8 @@ menu style for kissy editor ,include contextmenu and select menu .ks-editor-dialog-close-x { display: block; background: no-repeat; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -571px; height: 13px; text-indent: -9999px; @@ -1185,8 +1185,8 @@ menu style for kissy editor ,include contextmenu and select menu **/ .ks-editor-resizer { background: no-repeat right bottom; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -584px; height: 10px; width: 10px; @@ -1238,8 +1238,8 @@ select style for kissy editor .ks-editor-big-menu-button-dropdown, .ks-editor-big-menu-button-dropdown-inner { background: no-repeat scroll center center transparent; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -594px; width: 7px; height: 3px; @@ -1284,8 +1284,8 @@ select style for kissy editor padding-left: 6px; padding-right: 6px; background: #e8ebee repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.5.0/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); background-position: left -0px; -background-image: none; height: 24px; diff --git a/build/editor/theme/editor-common-min.css b/build/editor/theme/editor-common-min.css index bf3e8d0c48..46772504be 100644 --- a/build/editor/theme/editor-common-min.css +++ b/build/editor/theme/editor-common-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/theme/editor-common.css b/build/editor/theme/editor-common.css index 050140d114..7093b276dc 100644 --- a/build/editor/theme/editor-common.css +++ b/build/editor/theme/editor-common.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/theme/editor-iframe-min.css b/build/editor/theme/editor-iframe-min.css index deb2e83ac9..1794697248 100644 --- a/build/editor/theme/editor-iframe-min.css +++ b/build/editor/theme/editor-iframe-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/editor/theme/editor-iframe.css b/build/editor/theme/editor-iframe.css index 8df8186b38..4d518db15a 100644 --- a/build/editor/theme/editor-iframe.css +++ b/build/editor/theme/editor-iframe.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event-min.js b/build/event-min.js index 26678541ba..a7e3f384b0 100644 --- a/build/event-min.js +++ b/build/event-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/event.js b/build/event.js index 420ecb389d..a75db12631 100644 --- a/build/event.js +++ b/build/event.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/event/base-min.js b/build/event/base-min.js index ae42fc185b..d6fd440f16 100644 --- a/build/event/base-min.js +++ b/build/event/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/base.js b/build/event/base.js index a5198925a3..9a468eaec2 100644 --- a/build/event/base.js +++ b/build/event/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/custom-min.js b/build/event/custom-min.js index 8130fd67eb..5016648a5d 100644 --- a/build/event/custom-min.js +++ b/build/event/custom-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/custom.js b/build/event/custom.js index 1756a85f8a..e1ff760d96 100644 --- a/build/event/custom.js +++ b/build/event/custom.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/base-min.js b/build/event/dom/base-min.js index b0ef3d8c9a..beb482ea3e 100644 --- a/build/event/dom/base-min.js +++ b/build/event/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/base.js b/build/event/dom/base.js index 0880709370..c272e55c07 100644 --- a/build/event/dom/base.js +++ b/build/event/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/focusin-min.js b/build/event/dom/focusin-min.js index cabfaf14b6..4b5ed8a537 100644 --- a/build/event/dom/focusin-min.js +++ b/build/event/dom/focusin-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/focusin.js b/build/event/dom/focusin.js index 735738de4a..223e810c22 100644 --- a/build/event/dom/focusin.js +++ b/build/event/dom/focusin.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/hashchange-min.js b/build/event/dom/hashchange-min.js index 692d058853..d588804c79 100644 --- a/build/event/dom/hashchange-min.js +++ b/build/event/dom/hashchange-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/hashchange.js b/build/event/dom/hashchange.js index dd76516673..fdacf277b6 100644 --- a/build/event/dom/hashchange.js +++ b/build/event/dom/hashchange.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/ie-min.js b/build/event/dom/ie-min.js index 48d9a419d9..8528bdbbd6 100644 --- a/build/event/dom/ie-min.js +++ b/build/event/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/ie.js b/build/event/dom/ie.js index 52ae5bdcc3..a953a3a35a 100644 --- a/build/event/dom/ie.js +++ b/build/event/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/shake-min.js b/build/event/dom/shake-min.js index b30b7771a7..39aab4b8af 100644 --- a/build/event/dom/shake-min.js +++ b/build/event/dom/shake-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/shake.js b/build/event/dom/shake.js index bab55c2099..6106be2527 100644 --- a/build/event/dom/shake.js +++ b/build/event/dom/shake.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index cc48d8d7d9..7c3b763456 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/event/dom/touch.js b/build/event/dom/touch.js index 245a3784df..9cd8530b01 100644 --- a/build/event/dom/touch.js +++ b/build/event/dom/touch.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:22 */ diff --git a/build/filter-menu-min.js b/build/filter-menu-min.js index 9216c63a14..2128e7654c 100644 --- a/build/filter-menu-min.js +++ b/build/filter-menu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/filter-menu.js b/build/filter-menu.js index 8b1ce68fb3..4828380a03 100644 --- a/build/filter-menu.js +++ b/build/filter-menu.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/html-parser-min.js b/build/html-parser-min.js index af2cfc88a9..0a609e04c4 100644 --- a/build/html-parser-min.js +++ b/build/html-parser-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/html-parser.js b/build/html-parser.js index edf11d0876..16bc1192ea 100644 --- a/build/html-parser.js +++ b/build/html-parser.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/import-style-min.js b/build/import-style-min.js index a3f4128a73..32c72a5650 100644 --- a/build/import-style-min.js +++ b/build/import-style-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/import-style.js b/build/import-style.js index 5b43118dae..35512a7da2 100644 --- a/build/import-style.js +++ b/build/import-style.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/io-min.js b/build/io-min.js index 34ea01d0c6..e368ebf64b 100644 --- a/build/io-min.js +++ b/build/io-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:45 */ diff --git a/build/io.js b/build/io.js index 32a5e51c16..c58abf3cfa 100644 --- a/build/io.js +++ b/build/io.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:45 */ diff --git a/build/json-min.js b/build/json-min.js index b40c72b1ac..ecdd8742df 100644 --- a/build/json-min.js +++ b/build/json-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/json.js b/build/json.js index b872e76f1b..e1a18336ec 100644 --- a/build/json.js +++ b/build/json.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/kison-min.js b/build/kison-min.js index 8a46e5c9df..921e1006c8 100644 --- a/build/kison-min.js +++ b/build/kison-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/kison.js b/build/kison.js index ffac6c0720..6ab55440e2 100644 --- a/build/kison.js +++ b/build/kison.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index bd48e44766..5228c5ea1f 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/kissy-nodejs.js b/build/kissy-nodejs.js index 6d9d6ae27e..f5f2d58c52 100644 --- a/build/kissy-nodejs.js +++ b/build/kissy-nodejs.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/menu-min.js b/build/menu-min.js index 18d9e31f96..0893667fa7 100644 --- a/build/menu-min.js +++ b/build/menu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menu.js b/build/menu.js index 67a03035f1..59c6cd5fe9 100644 --- a/build/menu.js +++ b/build/menu.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menu/assets/dpl-min.css b/build/menu/assets/dpl-min.css index 56ce195b68..09c1a4c11a 100644 --- a/build/menu/assets/dpl-min.css +++ b/build/menu/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menu/assets/dpl.css b/build/menu/assets/dpl.css index cecdcdd0e3..ebd600514f 100644 --- a/build/menu/assets/dpl.css +++ b/build/menu/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menubutton-min.js b/build/menubutton-min.js index 7e31b621da..78e2c02b85 100644 --- a/build/menubutton-min.js +++ b/build/menubutton-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menubutton.js b/build/menubutton.js index 4f2e8408ef..407d2aa43a 100644 --- a/build/menubutton.js +++ b/build/menubutton.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menubutton/assets/dpl-min.css b/build/menubutton/assets/dpl-min.css index 689ba6e78f..6713b4f441 100644 --- a/build/menubutton/assets/dpl-min.css +++ b/build/menubutton/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/menubutton/assets/dpl.css b/build/menubutton/assets/dpl.css index e36acb853d..1bcc3439d1 100644 --- a/build/menubutton/assets/dpl.css +++ b/build/menubutton/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:23 */ diff --git a/build/mvc-min.js b/build/mvc-min.js index 9db9e1b1f7..3368488894 100644 --- a/build/mvc-min.js +++ b/build/mvc-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/mvc.js b/build/mvc.js index 970f240dad..f9acf47e79 100644 --- a/build/mvc.js +++ b/build/mvc.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/node-min.js b/build/node-min.js index 34a6b20620..917f77495c 100644 --- a/build/node-min.js +++ b/build/node-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/node.js b/build/node.js index 03471fa03b..fb771e9a7d 100644 --- a/build/node.js +++ b/build/node.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/overlay-min.js b/build/overlay-min.js index e15972cb35..b4a91adb1e 100644 --- a/build/overlay-min.js +++ b/build/overlay-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/overlay.js b/build/overlay.js index 0e65834370..8274623801 100644 --- a/build/overlay.js +++ b/build/overlay.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/overlay/assets/dpl-min.css b/build/overlay/assets/dpl-min.css index 4d7a9d1b65..0974ca533c 100644 --- a/build/overlay/assets/dpl-min.css +++ b/build/overlay/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/overlay/assets/dpl.css b/build/overlay/assets/dpl.css index 10fb816f0a..c2990329ba 100644 --- a/build/overlay/assets/dpl.css +++ b/build/overlay/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/promise-min.js b/build/promise-min.js index 1b3efea3c8..82784f741e 100644 --- a/build/promise-min.js +++ b/build/promise-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/promise.js b/build/promise.js index f614cec435..eaa8d3bd7b 100644 --- a/build/promise.js +++ b/build/promise.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/resizable-min.js b/build/resizable-min.js index 0f073ec8e9..b9a38f40d9 100644 --- a/build/resizable-min.js +++ b/build/resizable-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/resizable.js b/build/resizable.js index 3c1299ef91..f59d386353 100644 --- a/build/resizable.js +++ b/build/resizable.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/resizable/plugin/proxy-min.js b/build/resizable/plugin/proxy-min.js index 74dc9c9d86..189791f9c6 100644 --- a/build/resizable/plugin/proxy-min.js +++ b/build/resizable/plugin/proxy-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/resizable/plugin/proxy.js b/build/resizable/plugin/proxy.js index b4b6b4fd33..11a354f030 100644 --- a/build/resizable/plugin/proxy.js +++ b/build/resizable/plugin/proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/assets/dpl-min.css b/build/scroll-view/assets/dpl-min.css index f877b58a8c..4116fb9f6d 100644 --- a/build/scroll-view/assets/dpl-min.css +++ b/build/scroll-view/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/assets/dpl.css b/build/scroll-view/assets/dpl.css index c3816004b8..ed95c01609 100644 --- a/build/scroll-view/assets/dpl.css +++ b/build/scroll-view/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/assets/nice-min.css b/build/scroll-view/assets/nice-min.css index 6171ae8bf5..e9c16a7e9c 100644 --- a/build/scroll-view/assets/nice-min.css +++ b/build/scroll-view/assets/nice-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/assets/nice.css b/build/scroll-view/assets/nice.css index 34864b2fe7..f9b47e28b6 100644 --- a/build/scroll-view/assets/nice.css +++ b/build/scroll-view/assets/nice.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index 9ad0fe291a..b52c52231e 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index 0e867f283d..89ea6f841a 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/drag-min.js b/build/scroll-view/drag-min.js index 9c16b05af7..57910d3c30 100644 --- a/build/scroll-view/drag-min.js +++ b/build/scroll-view/drag-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/drag.js b/build/scroll-view/drag.js index 7bd7614095..839ea34ab2 100644 --- a/build/scroll-view/drag.js +++ b/build/scroll-view/drag.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/plugin/pull-to-refresh-min.js b/build/scroll-view/plugin/pull-to-refresh-min.js index c75699a0ce..0627f87a9f 100644 --- a/build/scroll-view/plugin/pull-to-refresh-min.js +++ b/build/scroll-view/plugin/pull-to-refresh-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/plugin/pull-to-refresh.js b/build/scroll-view/plugin/pull-to-refresh.js index 28bd0e6372..88e1e0f902 100644 --- a/build/scroll-view/plugin/pull-to-refresh.js +++ b/build/scroll-view/plugin/pull-to-refresh.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index 4dc010f4cb..68385b48fb 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/scroll-view/plugin/scrollbar.js b/build/scroll-view/plugin/scrollbar.js index b30f19bc22..f3d7ffeeef 100644 --- a/build/scroll-view/plugin/scrollbar.js +++ b/build/scroll-view/plugin/scrollbar.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:24 */ diff --git a/build/seed-min.js b/build/seed-min.js index 54a3c74555..b7f8dc519c 100644 --- a/build/seed-min.js +++ b/build/seed-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/seed.js b/build/seed.js index c22d90d653..d05679a856 100644 --- a/build/seed.js +++ b/build/seed.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/separator-min.js b/build/separator-min.js index 7f5a3217f2..ed2296933f 100644 --- a/build/separator-min.js +++ b/build/separator-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/separator.js b/build/separator.js index 08b4074439..e84d4ebaf2 100644 --- a/build/separator.js +++ b/build/separator.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/split-button-min.js b/build/split-button-min.js index cb92731e29..16eca936d4 100644 --- a/build/split-button-min.js +++ b/build/split-button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/split-button.js b/build/split-button.js index 61089dce5e..1ede2bdf77 100644 --- a/build/split-button.js +++ b/build/split-button.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/split-button/assets/dpl-min.css b/build/split-button/assets/dpl-min.css index c5e8acc59f..4ed08bb87b 100644 --- a/build/split-button/assets/dpl-min.css +++ b/build/split-button/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/split-button/assets/dpl.css b/build/split-button/assets/dpl.css index 3dc9d08c57..d8dcdade81 100644 --- a/build/split-button/assets/dpl.css +++ b/build/split-button/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/stylesheet-min.js b/build/stylesheet-min.js index 4298d9edd8..36c36b7e13 100644 --- a/build/stylesheet-min.js +++ b/build/stylesheet-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/stylesheet.js b/build/stylesheet.js index 0b27f0a40e..f53accf1d7 100644 --- a/build/stylesheet.js +++ b/build/stylesheet.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/swf-min.js b/build/swf-min.js index 622a6c260d..1e04534c73 100644 --- a/build/swf-min.js +++ b/build/swf-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/swf.js b/build/swf.js index 3621d80e24..38db2a6201 100644 --- a/build/swf.js +++ b/build/swf.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tabs-min.js b/build/tabs-min.js index 3f06a26ff7..54cae45673 100644 --- a/build/tabs-min.js +++ b/build/tabs-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tabs.js b/build/tabs.js index 8cc3689bac..ad84813f70 100644 --- a/build/tabs.js +++ b/build/tabs.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tabs/assets/dpl-min.css b/build/tabs/assets/dpl-min.css index 1a4185473d..efeb11bd8e 100644 --- a/build/tabs/assets/dpl-min.css +++ b/build/tabs/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tabs/assets/dpl.css b/build/tabs/assets/dpl.css index e0119e0295..32a38d0877 100644 --- a/build/tabs/assets/dpl.css +++ b/build/tabs/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/toolbar-min.js b/build/toolbar-min.js index 95fdb57f22..7df3248d2e 100644 --- a/build/toolbar-min.js +++ b/build/toolbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/toolbar.js b/build/toolbar.js index ad65013a9b..7e075c5f01 100644 --- a/build/toolbar.js +++ b/build/toolbar.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/toolbar/assets/dpl-min.css b/build/toolbar/assets/dpl-min.css index 11ebbfa2c7..8339e0f3f7 100644 --- a/build/toolbar/assets/dpl-min.css +++ b/build/toolbar/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/toolbar/assets/dpl.css b/build/toolbar/assets/dpl.css index 78250132c5..f2f8f58ec3 100644 --- a/build/toolbar/assets/dpl.css +++ b/build/toolbar/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tree-min.js b/build/tree-min.js index c50ee7b044..f27acf60d8 100644 --- a/build/tree-min.js +++ b/build/tree-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tree.js b/build/tree.js index 9123437274..00ccee84dd 100644 --- a/build/tree.js +++ b/build/tree.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tree/assets/dpl-min.css b/build/tree/assets/dpl-min.css index f7fc465ecc..48a4cd64ca 100644 --- a/build/tree/assets/dpl-min.css +++ b/build/tree/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/tree/assets/dpl.css b/build/tree/assets/dpl.css index 8d42b0b603..48126bf570 100644 --- a/build/tree/assets/dpl.css +++ b/build/tree/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/xtemplate-min.js b/build/xtemplate-min.js index 88035a48ec..a6407c775e 100644 --- a/build/xtemplate-min.js +++ b/build/xtemplate-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/build/xtemplate.js b/build/xtemplate.js index 9416deb520..71e4cd13d0 100644 --- a/build/xtemplate.js +++ b/build/xtemplate.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/build/xtemplate/compiler-min.js b/build/xtemplate/compiler-min.js index cad94ef4ec..8acb0d07c9 100644 --- a/build/xtemplate/compiler-min.js +++ b/build/xtemplate/compiler-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/xtemplate/compiler.js b/build/xtemplate/compiler.js index 0d18a1c21f..aa8bd2ea18 100644 --- a/build/xtemplate/compiler.js +++ b/build/xtemplate/compiler.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:25 */ diff --git a/build/xtemplate/nodejs-min.js b/build/xtemplate/nodejs-min.js index a5a3a6b1df..c4f23c7b29 100644 --- a/build/xtemplate/nodejs-min.js +++ b/build/xtemplate/nodejs-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/build/xtemplate/nodejs.js b/build/xtemplate/nodejs.js index b398af7dfa..dc2645911b 100644 --- a/build/xtemplate/nodejs.js +++ b/build/xtemplate/nodejs.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/build/xtemplate/runtime-min.js b/build/xtemplate/runtime-min.js index c599bf0fd1..08359fc40c 100644 --- a/build/xtemplate/runtime-min.js +++ b/build/xtemplate/runtime-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/build/xtemplate/runtime.js b/build/xtemplate/runtime.js index 1a55075ac1..a5b6ba45e5 100644 --- a/build/xtemplate/runtime.js +++ b/build/xtemplate/runtime.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.50dev +Copyright 2013, KISSY v1.41 MIT Licensed build time: Dec 2 15:26 */ diff --git a/src/build.xml b/src/build.xml index 86b058f6c5..a5bea871ec 100644 --- a/src/build.xml +++ b/src/build.xml @@ -56,64 +56,12 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - git commit message : - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/config.xml b/src/config.xml index 07ef44f920..21ca622a90 100644 --- a/src/config.xml +++ b/src/config.xml @@ -3,7 +3,6 @@ @author yiminghe@gmail.com --> - @@ -21,17 +20,13 @@ - - + + - - - - - + \ No newline at end of file From baf3b316dfda788dfc82743cd046c9873026ab03 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 2 Dec 2013 17:33:29 +0800 Subject: [PATCH 02/80] update #510 --- build/anim-min.js | 2 +- build/anim.js | 2 +- build/anim/base-min.js | 2 +- build/anim/base.js | 2 +- build/anim/timer-min.js | 46 +-- build/anim/timer.js | 5 +- build/anim/transition-min.js | 2 +- build/anim/transition.js | 2 +- build/kissy-nodejs-min.js | 183 ++++----- build/kissy-nodejs.js | 34 +- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 23 +- build/scroll-view/base.js | 7 +- build/scroll-view/drag-min.js | 2 +- build/scroll-view/drag.js | 2 +- .../scroll-view/plugin/pull-to-refresh-min.js | 2 +- build/scroll-view/plugin/pull-to-refresh.js | 2 +- build/scroll-view/plugin/scrollbar-min.js | 34 +- build/scroll-view/plugin/scrollbar.js | 7 +- build/seed-min.js | 165 ++++---- build/seed.js | 34 +- src/anim/demo/transform/more.html | 251 ++++++++++++ .../timer/coverage/src/timer/transform.js | 357 +++++++++-------- .../sub-modules/timer/src/timer/transform.js | 6 +- .../ie/tests/manual/transform.html | 28 +- .../base/coverage/src/base/render.js | 247 ++++++------ .../sub-modules/base/src/base/render.js | 12 +- .../coverage/src/pull-to-refresh.js | 42 +- .../pull-to-refresh/src/pull-to-refresh.js | 1 + .../coverage/src/scrollbar/render.js | 207 +++++----- .../plugin/scrollbar/src/scrollbar/render.js | 7 +- src/seed/coverage/src/features.js | 379 ++++++++++-------- src/seed/coverage/src/kissy.js | 120 +++--- src/seed/coverage/src/lang/array.js | 204 +++++----- src/seed/coverage/src/lang/escape.js | 94 ++--- src/seed/coverage/src/lang/function.js | 60 +-- src/seed/coverage/src/lang/lang.js | 178 ++++---- src/seed/coverage/src/lang/object.js | 170 ++++---- src/seed/coverage/src/lang/set-immediate.js | 28 +- src/seed/coverage/src/lang/string.js | 38 +- src/seed/coverage/src/lang/type.js | 54 +-- src/seed/coverage/src/loader/combo-loader.js | 198 ++++----- src/seed/coverage/src/loader/configs.js | 54 +-- src/seed/coverage/src/loader/css-onload.js | 36 +- .../coverage/src/loader/data-structure.js | 100 ++--- .../coverage/src/loader/get-script-nodejs.js | 20 +- src/seed/coverage/src/loader/get-script.js | 76 ++-- src/seed/coverage/src/loader/init.js | 60 +-- src/seed/coverage/src/loader/loader.js | 40 +- src/seed/coverage/src/loader/utils.js | 192 ++++----- src/seed/coverage/src/meta/base.js | 4 +- src/seed/coverage/src/meta/modules.js | 2 +- src/seed/coverage/src/path.js | 110 ++--- src/seed/coverage/src/ua.js | 174 ++++---- src/seed/coverage/src/uri.js | 142 +++---- src/seed/coverage/src/web.js | 106 ++--- src/seed/src/features.js | 20 + src/seed/src/kissy.js | 2 +- 61 files changed, 2401 insertions(+), 1984 deletions(-) create mode 100644 src/anim/demo/transform/more.html diff --git a/build/anim-min.js b/build/anim-min.js index 7f63f5364a..ac5a60c7a0 100644 --- a/build/anim-min.js +++ b/build/anim-min.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:11 +build time: Dec 2 17:30 */ KISSY.add("anim",["anim/base","anim/timer","anim/transition?"],function(b,g){function a(a,e,d,f,c){if(a.node)c=a;else{"string"===typeof e?(e=b.unparam(""+e,";",":"),b.each(e,function(c,a){var d=b.trim(a);d&&(e[d]=b.trim(c));(!d||d!==a)&&delete e[a]})):e=b.clone(e);if(b.isPlainObject(d))c=b.clone(d);else if(c={complete:c},d&&(c.duration=d),f)c.easing=f;c.node=a;c.to=e}c=b.merge(k,c,{useTransition:b.config("anim/useTransition")});if(c.useTransition&&h)return"use transition anim",new h(c);"use js timer anim"; return new i(c)}var j=g("anim/base"),i=g("anim/timer"),h=g("anim/transition?"),f=j.Utils,k={duration:1,easing:"linear"};b.each(["pause","resume"],function(b){a[b]=function(a,d){return null===d||"string"===typeof d||!1===d?f.pauseOrResumeQueue(a,d,b):f.pauseOrResumeQueue(a,void 0,b)}});a.isRunning=f.isElRunning;a.isPaused=f.isElPaused;a.stop=f.stopEl;a.Easing=i.Easing;b.Anim=a;a.Q=j.Q;return a}); diff --git a/build/anim.js b/build/anim.js index 3abc890a23..10ff1ae640 100644 --- a/build/anim.js +++ b/build/anim.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:11 +build time: Dec 2 17:30 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/anim/base-min.js b/build/anim/base-min.js index e7a9fe5a27..ef73260ce1 100644 --- a/build/anim/base-min.js +++ b/build/anim/base-min.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:10 +build time: Dec 2 17:30 */ KISSY.add("anim/base/queue",["dom"],function(c,i){function h(a,b,c){var b=b||f,j,m=d.data(a,g);!m&&!c&&d.data(a,g,m={});m&&(j=m[b],!j&&!c&&(j=m[b]=[]));return j}var d=i("dom"),g=c.guid("ks-queue-"+c.now()+"-"),f=c.guid("ks-queue-"+c.now()+"-"),a;return a={queueCollectionKey:g,queue:function(a,c,d){a=h(a,c);a.push(d);return a},remove:function(e,b,d){var j=h(e,b,1);j&&(d=c.indexOf(d,j),-1k;k++){h=((n*b+j)*b+d)*b-a;if(o(h)k;){h=((n*b+j)*b+d)*b-a;if(o(h)(a*=2)?0.5*a*a:0.5*(1- --a*(a-2))},easeInStrong:function(a){return a*a*a*a},easeOutStrong:function(a){return 1- --a*a*a*a},easeBothStrong:function(a){return 1> -(a*=2)?0.5*a*a*a*a:0.5*(2-(a-=2)*a*a*a)},elasticIn:function(a){return 0===a||1===a?a:-(g(2,10*(a-=1))*b(2*(a-0.075)*f/0.3))},elasticOut:function(a){return 0===a||1===a?a:g(2,-10*a)*b(2*(a-0.075)*f/0.3)+1},elasticBoth:function(a){return 0===a||2===(a*=2)?a:1>a?-0.5*g(2,10*(a-=1))*b(2*(a-0.1125)*f/0.45):0.5*g(2,-10*(a-=1))*b(2*(a-0.1125)*f/0.45)+1},backIn:function(a){1===a&&(a-=0.001);return a*a*(2.70158*a-1.70158)},backOut:function(a){return(a-=1)*a*(2.70158*a+1.70158)+1},backBoth:function(a){var b, -h=(b=2.5949095)+1;return 1>(a*=2)?0.5*a*a*(h*a-b):0.5*((a-=2)*a*(h*a+b)+2)},bounceIn:function(a){return 1-e.bounceOut(1-a)},bounceOut:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375},bounceBoth:function(a){return 0.5>a?0.5*e.bounceIn(2*a):0.5*e.bounceOut(2*a-1)+0.5}},p=1.0E-6,o=Math.abs;return e}); -KISSY.add("anim/timer/manager",[],function(l){var i=l.stamp,f,g;f=function(b){return setTimeout(b,15)};g=function(b){clearTimeout(b)};return{runnings:{},timer:null,start:function(b){var d=i(b);this.runnings[d]||(this.runnings[d]=b,this.startTimer())},stop:function(b){this.notRun(b)},notRun:function(b){delete this.runnings[i(b)];l.isEmptyObject(this.runnings)&&this.stopTimer()},pause:function(b){this.notRun(b)},resume:function(b){this.start(b)},startTimer:function(){var b=this;b.timer||(b.timer=f(function m(){b.runFrames()? -b.stopTimer():b.timer=f(m)}))},stopTimer:function(){var b=this.timer;b&&(g(b),this.timer=0)},runFrames:function(){var b,d,g=this.runnings;for(b in g)g[b].frame();for(b in g){d=0;break}return void 0===d}}}); -KISSY.add("anim/timer/fx",["dom"],function(l,i){function f(b){l.mix(this,b);this.pos=0;this.unit=this.unit||""}var g=i("dom");f.prototype={isCustomFx:0,constructor:f,load:function(b){l.mix(this,b);this.pos=0;this.unit=this.unit||""},frame:function(b){if(1!==this.pos){var d=this.anim,f=this.prop,e=d.node,i=this.from,o=this.propData,a=this.to;if(void 0===b)var k=l.now(),b=o.duration,k=k-d.startTime-o.delay,b=0>=k?0:k>=b?1:o.easing(k/b);this.pos=b;i===a||0===b||(this.val=b=this.interpolate(i,a,this.pos), -o.frame?o.frame.call(this,d,this):this.isCustomFx||(void 0===b?(this.pos=1,b=a,f+" update directly ! : "+b+" : "+i+" : "+a):b+=this.unit,this.val=b,"attr"===this.type?g.attr(e,f,b,1):g.css(e,f,b)))}},interpolate:function(b,d,g){if("number"===typeof b&&"number"===typeof d)return Math.round(1E5*(b+(d-b)*g))/1E5},cur:function(){var b=this.prop,d,f,e=this.anim.node;if(this.isCustomFx)return e[b]||0;if(!(d=this.type))d=this.type=(!e.style||null==e.style[b])&&null!=g.attr(e,b,void 0,1)?"attr":"css";b="attr"=== -d?g.attr(e,b,void 0,1):g.css(e,b);return isNaN(f=parseFloat(b))?!b||"auto"===b?0:b:f}};f.Factories={};f.FxTypes={};f.getFx=function(b){var d=f,g,e;if(g=b.fxType)d=f.FxTypes[g];else if(!b.isCustomFx&&(e=f.Factories[b.prop]))d=e;return new d(b)};return f}); +KISSY.add("anim/timer/easing",[],function(){function j(a){return a}function g(a,b,n,e){var d=3*a-3*n+1,c=3*n-6*a,i=3*a,l=3*b-3*e+1,f=3*e-6*b,j=3*b;return function(a){a:{for(var b=a,e,n,k=0;8>k;k++){n=((d*b+c)*b+i)*b-a;if(m(n)k;){n=((d*b+c)*b+i)*b-a;if(m(n)(a*=2)?0.5*a*a:0.5*(1- --a*(a-2))},easeInStrong:function(a){return a*a*a*a},easeOutStrong:function(a){return 1- --a*a*a*a},easeBothStrong:function(a){return 1> +(a*=2)?0.5*a*a*a*a:0.5*(2-(a-=2)*a*a*a)},elasticIn:function(a){return 0===a||1===a?a:-(i(2,10*(a-=1))*b(2*(a-0.075)*h/0.3))},elasticOut:function(a){return 0===a||1===a?a:i(2,-10*a)*b(2*(a-0.075)*h/0.3)+1},elasticBoth:function(a){return 0===a||2===(a*=2)?a:1>a?-0.5*i(2,10*(a-=1))*b(2*(a-0.1125)*h/0.45):0.5*i(2,-10*(a-=1))*b(2*(a-0.1125)*h/0.45)+1},backIn:function(a){1===a&&(a-=0.001);return a*a*(2.70158*a-1.70158)},backOut:function(a){return(a-=1)*a*(2.70158*a+1.70158)+1},backBoth:function(a){var b, +n=(b=2.5949095)+1;return 1>(a*=2)?0.5*a*a*(n*a-b):0.5*((a-=2)*a*(n*a+b)+2)},bounceIn:function(a){return 1-f.bounceOut(1-a)},bounceOut:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375},bounceBoth:function(a){return 0.5>a?0.5*f.bounceIn(2*a):0.5*f.bounceOut(2*a-1)+0.5}},o=1.0E-6,m=Math.abs;return f}); +KISSY.add("anim/timer/manager",[],function(j){var g=j.stamp,h,i;h=function(b){return setTimeout(b,15)};i=function(b){clearTimeout(b)};return{runnings:{},timer:null,start:function(b){var c=g(b);this.runnings[c]||(this.runnings[c]=b,this.startTimer())},stop:function(b){this.notRun(b)},notRun:function(b){delete this.runnings[g(b)];j.isEmptyObject(this.runnings)&&this.stopTimer()},pause:function(b){this.notRun(b)},resume:function(b){this.start(b)},startTimer:function(){var b=this;b.timer||(b.timer=h(function l(){b.runFrames()? +b.stopTimer():b.timer=h(l)}))},stopTimer:function(){var b=this.timer;b&&(i(b),this.timer=0)},runFrames:function(){var b,c,i=this.runnings;for(b in i)i[b].frame();for(b in i){c=0;break}return void 0===c}}}); +KISSY.add("anim/timer/fx",["dom"],function(j,g){function h(b){j.mix(this,b);this.pos=0;this.unit=this.unit||""}var i=g("dom");h.prototype={isCustomFx:0,constructor:h,load:function(b){j.mix(this,b);this.pos=0;this.unit=this.unit||""},frame:function(b){if(1!==this.pos){var c=this.anim,h=this.prop,f=c.node,g=this.from,m=this.propData,a=this.to;if(void 0===b)var k=j.now(),b=m.duration,k=k-c.startTime-m.delay,b=0>=k?0:k>=b?1:m.easing(k/b);this.pos=b;g===a||0===b||(this.val=b=this.interpolate(g,a,this.pos), +m.frame?m.frame.call(this,c,this):this.isCustomFx||(void 0===b?(this.pos=1,b=a,h+" update directly ! : "+b+" : "+g+" : "+a):b+=this.unit,this.val=b,"attr"===this.type?i.attr(f,h,b,1):i.css(f,h,b)))}},interpolate:function(b,c,i){if("number"===typeof b&&"number"===typeof c)return Math.round(1E5*(b+(c-b)*i))/1E5},cur:function(){var b=this.prop,c,h,f=this.anim.node;if(this.isCustomFx)return f[b]||0;if(!(c=this.type))c=this.type=(!f.style||null==f.style[b])&&null!=i.attr(f,b,void 0,1)?"attr":"css";b="attr"=== +c?i.attr(f,b,void 0,1):i.css(f,b);return isNaN(h=parseFloat(b))?!b||"auto"===b?0:b:h}};h.Factories={};h.FxTypes={};h.getFx=function(b){var c=h,i,f;if(i=b.fxType)c=h.FxTypes[i];else if(!b.isCustomFx&&(f=h.Factories[b.prop]))c=f;return new c(b)};return h}); KISSY.add("anim/timer/short-hand",[],function(){return{background:[],border:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],borderBottom:["borderBottomWidth"],borderLeft:["borderLeftWidth"],borderTop:["borderTopWidth"],borderRight:["borderRightWidth"],font:["fontSize","fontWeight"],margin:["marginBottom","marginLeft","marginRight","marginTop"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"]}}); -KISSY.add("anim/timer/color",["./fx","./short-hand"],function(l,i){function f(b){var b=b+"",c;if(c=b.match(o))return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])];if(c=b.match(a))return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3]),parseInt(c[4])];if(c=b.match(k)){for(b=1;bc[b].length&&(c[b]+=c[b]);return[parseInt(c[1],m),parseInt(c[2],m),parseInt(c[3],m)]}if(p[b=b.toLowerCase()])return p[b];"only allow rgb or hex color string : "+b;return[255,255,255]}function g(){g.superclass.constructor.apply(this, -arguments)}var b=i("./fx"),d=i("./short-hand"),m=16,e=Math.floor,p={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]},o=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,a=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*([0-9]+)\)$/i,k=/^#?([0-9A-F]{1,2})([0-9A-F]{1,2})([0-9A-F]{1,2})$/i; -d.background.push("backgroundColor");d.borderColor=["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"];d.border.push("borderBottomColor","borderLeftColor","borderRightColor","borderTopColor");d.borderBottom.push("borderBottomColor");d.borderLeft.push("borderLeftColor");d.borderRight.push("borderRightColor");d.borderTop.push("borderTopColor");l.extend(g,b,{load:function(){g.superclass.load.apply(this,arguments);this.from&&(this.from=f(this.from));this.to&&(this.to=f(this.to))}, -interpolate:function(a,b,k){var d=g.superclass.interpolate;if(3===a.length&&3===b.length)return"rgb("+[e(d(a[0],b[0],k)),e(d(a[1],b[1],k)),e(d(a[2],b[2],k))].join(", ")+")";if(4===a.length||4===b.length)return"rgba("+[e(d(a[0],b[0],k)),e(d(a[1],b[1],k)),e(d(a[2],b[2],k)),e(d(a[3]||1,b[3]||1,k))].join(", ")+")";"unknown value : "+a}});l.each("backgroundColor,borderBottomColor,borderLeftColor,borderRightColor,borderTopColor,color,outlineColor".split(","),function(a){b.Factories[a]=g});return b.FxTypes.color= -g}); -KISSY.add("anim/timer/transform",["dom","./fx"],function(l,i){function f(d){d=d.split(/,/);return d=l.map(d,function(a){return b(a)})}function g(){return{translateX:0,translateY:0,rotate:0,skewX:0,skewY:0,scaleX:1,scaleY:1}}function b(b){return Math.round(1E5*parseFloat(b))/1E5}function d(d){for(var d=d.split(")"),a=l.trim,k=-1,h=d.length-1,c,n,j=g();++ke[b].length&&(e[b]+=e[b]);return[parseInt(e[1],l),parseInt(e[2],l),parseInt(e[3],l)]}if(o[b=b.toLowerCase()])return o[b];"only allow rgb or hex color string : "+b;return[255,255,255]}function i(){i.superclass.constructor.apply(this, +arguments)}var b=g("./fx"),c=g("./short-hand"),l=16,f=Math.floor,o={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]},m=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,a=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*([0-9]+)\)$/i,k=/^#?([0-9A-F]{1,2})([0-9A-F]{1,2})([0-9A-F]{1,2})$/i; +c.background.push("backgroundColor");c.borderColor=["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"];c.border.push("borderBottomColor","borderLeftColor","borderRightColor","borderTopColor");c.borderBottom.push("borderBottomColor");c.borderLeft.push("borderLeftColor");c.borderRight.push("borderRightColor");c.borderTop.push("borderTopColor");j.extend(i,b,{load:function(){i.superclass.load.apply(this,arguments);this.from&&(this.from=h(this.from));this.to&&(this.to=h(this.to))}, +interpolate:function(a,b,d){var k=i.superclass.interpolate;if(3===a.length&&3===b.length)return"rgb("+[f(k(a[0],b[0],d)),f(k(a[1],b[1],d)),f(k(a[2],b[2],d))].join(", ")+")";if(4===a.length||4===b.length)return"rgba("+[f(k(a[0],b[0],d)),f(k(a[1],b[1],d)),f(k(a[2],b[2],d)),f(k(a[3]||1,b[3]||1,d))].join(", ")+")";"unknown value : "+a}});j.each("backgroundColor,borderBottomColor,borderLeftColor,borderRightColor,borderTopColor,color,outlineColor".split(","),function(a){b.Factories[a]=i});return b.FxTypes.color= +i}); +KISSY.add("anim/timer/transform",["dom","./fx"],function(j,g){function h(a){a=a.split(/,/);return a=j.map(a,function(a){return b(a)})}function i(){return{translateX:0,translateY:0,rotate:0,skewX:0,skewY:0,scaleX:1,scaleY:1}}function b(a){return Math.round(1E5*parseFloat(a))/1E5}function c(a){for(var a=a.split(")"),k=j.trim,n=-1,e=a.length-1,d,c,f=i();++n= diff --git a/build/anim/transition.js b/build/anim/transition.js index ee542ae8a5..9ea2952161 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:11 +build time: Dec 2 17:30 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index 5228c5ea1f..af36c8e085 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,102 +1,103 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:25 +build time: Dec 2 17:30 */ -var KISSY=function(a){function g(a){var e={},g;for(g in j)(function(b,d){b[d]=function(b){return f.log(b,d,a)}})(e,g);return e}var f,i=0,j={debug:10,info:20,warn:30,error:40};f={__BUILD_TIME:"20131202152453",Env:{host:this},Config:{debug:"",fns:{}},version:"1.50dev",config:function(c,e){var g,b,d=this,l,h=f.Config,p=h.fns;f.isObject(c)?f.each(c,function(a,b){(l=p[b])?l.call(d,a):h[b]=a}):(g=p[c],e===a?b=g?g.call(d):h[c]:g?b=g.call(d,e):h[c]=e);return b},log:function(){return a},getLogger:function(a){return g(a)}, -error:function(){},guid:function(a){return(a||"")+i++},Logger:{}};f.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return f}(); -(function(a,g){function f(){}function i(d,k,b,h,l,e){if(!k||!d)return d;var f,u,s,n;k[c]=d;e.push(k);s=a.keys(k);n=s.length;for(f=0;f=c)throw new TypeError;}while(1)}for(;k","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,l=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in e)m[e[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(i(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(l,"\\$&")},unEscapeHtml:function(a){return a.replace(j(),function(a,b){return e[a]||String.fromCharCode(+b)})},param:function(b,d,k,e){d=d||"&";k=k||"=";e===g&&(e=!0);var l=[],r,j,i,u,s,n= -a.urlEncode;for(r in b)if(s=b[r],r=n(r),f(s))l.push(r),s!==g&&l.push(k,n(s+c)),l.push(d);else if(a.isArray(s)&&s.length){j=0;for(u=s.length;jg&&(c=e,f.apply(j||this,arguments))}},buffer:function(g,i,j){function c(){c.stop();e=a.later(g,i,0,j||this,arguments)}i=i||150;if(-1===i)return function(){g.apply(j||this,arguments)};var e=null;c.stop=function(){e&&(e.cancel(),e=0)};return c}})})(KISSY); -(function(a,g){function f(b,d,l){var h=b,g,k,j,i;if(!b)return h;if(b[e])return l[b[e]].destination;if("object"===typeof b){i=b.constructor;if(a.inArray(i,[Boolean,String,Number,Date,RegExp]))h=new i(b.valueOf());else if(g=a.isArray(b))h=d?a.filter(b,d):b.concat();else if(k=a.isPlainObject(b))h={};b[e]=i=a.guid("c");l[i]={destination:h,input:b}}if(g)for(b=0;b=c)throw new TypeError;}while(1)}for(;k","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,l=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in g)m[g[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(i(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(l,"\\$&")},unEscapeHtml:function(a){return a.replace(j(),function(a,b){return g[a]||String.fromCharCode(+b)})},param:function(b,d,k,g){d=d||"&";k=k||"=";g===f&&(g=!0);var l=[],r,j,i,s,u,o= +a.urlEncode;for(r in b)if(u=b[r],r=o(r),h(u))l.push(r),u!==f&&l.push(k,o(u+c)),l.push(d);else if(a.isArray(u)&&u.length){j=0;for(s=u.length;ji&&(c=g,f.apply(j||this,arguments))}},buffer:function(f,i,j){function c(){c.stop();g=a.later(f,i,0,j||this,arguments)}i=i||150;if(-1===i)return function(){f.apply(j||this,arguments)};var g=null;c.stop=function(){g&&(g.cancel(),g=0)};return c}})})(KISSY); +(function(a,f){function h(b,d,f){var e=b,j,k,i,m;if(!b)return e;if(b[g])return f[b[g]].destination;if("object"===typeof b){m=b.constructor;if(a.inArray(m,[Boolean,String,Number,Date,RegExp]))e=new m(b.valueOf());else if(j=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(k=a.isPlainObject(b))e={};b[g]=m=a.guid("c");f[m]={destination:e,input:b}}if(j)for(b=0;b".replace("{{version}}",e),07)},isTransitionSupported:function(){return l!==g},isTransformSupported:function(){return h!==g},isClassListSupported:function(){return o},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&q},isIELessThan:function(a){return!!(t&&t=k},!0))?c.push(l[h[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=h?e[a]=!0:f!==p?e[a]=!1:q.checkModsLoadRecursively(g.getNormalizedRequires(),b,d,c,e)?(g.status=h,e[a]=!0):e[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; -d.status>=k||(d.status=k,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=l},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, -q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,h,f=0,l,k=a.Env.mods;!f;){f=1;for(c=d.length-1;0<=c;c--)if((e=k[d[c]])&&"alias"in e){f=0;h=e.alias;"string"===typeof h&&(h=[h]);for(l=h.length-1;0<=l;l--)h[l]||h.splice(l,1);d.splice.apply(d,[c,1].concat(g(h)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,h;if(b){e=0;for(h=b.length;ec.length&&(c=e); -b=this.packageInfo=b[c]||m}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=e.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return e.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,h=this.requires;if(!h||0===h.length)return h||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=e.normalizeModNames(this.runtime,h,this.name)}};j.Module=i;var m=new f({name:"",runtime:a})})(KISSY); -(function(a){function g(a,d){var c=0;if(j.webkit)a.sheet&&("webkit css poll loaded: "+d,c=1);else if(a.sheet)try{a.sheet.cssRules&&("same domain css poll loaded: "+d,c=1)}catch(e){var g=e.name;"css poll exception: "+g+" "+e.code+" "+d;"NS_ERROR_DOM_SECURITY_ERR"===g&&("css poll exception: "+g+"loaded : "+d,c=1)}return c}function f(){for(var b in m){var d=m[b],c=d.node;g(c,b)&&(d.callback&&d.callback.call(c),delete m[b])}a.isEmptyObject(m)?("clear css poll timer",e=0):e=setTimeout(f,i)}var i=30,j= -a.UA,c=a.Loader.Utils,e=0,m={};c.pollCss=function(a,d){var c;c=m[a.href]={};c.node=a;c.callback=d;e||("start css poll timer",f())};c.isCssLoaded=g})(KISSY); -(function(a){var g=require("fs"),f=require("vm");a.getScript=function(i,j,c){var e;a.isPlainObject(j)&&(c=j.charset,e=j.error,j=j.success);if(a.startsWith(a.Path.extname(i).toLowerCase(),".css"))"node js can not load css: "+i,"warn",j&&j();else{var m=(new a.Uri(i)).getPath();try{var b=g.readFileSync(m,c);f.runInThisContext("(function(KISSY,requireNode){"+b+"})",i)(a,require);j&&j()}catch(d){"in file: "+i,"error",d.stack,"error",e&&e(d)}}}})(KISSY); -(function(a,g){function f(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");e?b=e.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var i=a.Loader,j=i.Utils,c=a.Env.host.location,e,m,b=a.Config.fns;if(!a.UA.nodejs&&c&&(m=c.href))e=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,j=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=f(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;j[c]?j[c].reset(b):j[c]=new i.Package(b)}),g):!1===b?(e.packages={},g):j};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var e=j.createModuleInfo(c,d,b);e.status===i.Status.INIT&&a.mix(e,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=f(a);b.base=a.toString();b.baseUri=a;return g}})(KISSY); -(function(a,g){function f(b,c,f,h,l){var i=c&&c.length,j=[],k=[];a.each(c,function(c){var s,m={timeout:l,success:function(){k.push(c);s&&r&&("standard browser get mod name after load : "+s.name,d.registerModule(b,s.name,r.factory,r.config),r=g);--i||f(k,j)},error:function(){j.push(c);--i||f(k,j)},charset:h};c.combine||(s=c.mods[0],"css"===s.getType()?s=g:e&&(t=s.name,v=a.now(),m.attrs={"data-mod-name":s.name}));a.Config.loadModsFn(c,m)})}function i(b,d){a.mix(this,{runtime:b,waitingModules:d})}function j(a, -b){if(!a&&"function"===typeof b){var c=d.getRequiresFromFn(b);c.length&&(a=a||{},a.requires=c)}else a&&a.requires&&!a.cjs&&(a.cjs=0);return a}function c(a,b){for(var a=a.split(/\//),b=b.split(/\//),d=Math.min(a.length,b.length),c=0;ca.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,l=d.getHash,h=b.LOADING,p=b.LOADED,k=b.READY_TO_ATTACH,o=b.ERROR,q=a.now();i.groupTag=q;var r,t,v;i.add=function(b,c,f,h,l){if(3===l&&a.isArray(c))var i=c,c=f,f= -{requires:i,cjs:1};if("function"===typeof b||1===l)if(f=c,c=b,f=j(f,c),e){for(var b=a.Env.host.document.getElementsByTagName("script"),k,l=b.length-1;0<=l;l--)if(i=b[l],"interactive"===i.readyState){k=i;break}k?k=k.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+t,k=t);d.registerModule(h,k,c,f);t=null;v=0}else r={factory:c,config:f};else e?(t=null,v=0):r=g,f=j(f,c),d.registerModule(h,b,c,f)};a.augment(i,{use:function(b){var c= -a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){f(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=o;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){f(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| -(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=o);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var e,f,g,l,i=this.waitingModules,j=this.runtime,c=c||{},b=b||{};for(e=0;e=k||(l!==p&&!i.contains(f)&&(l!==h&&(g.status=h,c[f]=1),g.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(f)),this.calculate(g.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= -{},g,h=this.runtime,l=0,i=b.length,k,j,m,t,p,v,r,o,G;le||v+j.join(d).length+t>b)j.pop(),k.pop(),H(),j=[],k=[],B--}else o.push({combine:0,fullpath:C,mods:[A]})}j.length&&H()}}return g}});m.ComboLoader=i})(KISSY); -(function(a,g){function f(b){a.mix(this,{fn:b,waitMods:{}})}var i=a.Loader,j=a.Env,c=i.Utils,e=a.setImmediate,m=i.ComboLoader;f.prototype={constructor:f,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};i.WaitingModules=f;a.mix(a,{add:function(b,c,e){m.add(b,c,e,a,arguments.length)},use:function(b,d){function l(){++q;var f=[],m=a.now(), -s;s=c.checkModsLoadRecursively(h,a,g,f);q+" check duration "+(a.now()-m);s?(c.attachModsRecursively(h,a),d&&(o?r():e(r))):f.length?i&&(o?i.apply(a,f):e(function(){i.apply(a,f)})):(q+" reload "+b,t.fn=l,j.use(h))}var h,j,i,o,q=0,r,t=new f(l);a.isPlainObject(d)&&(o=d.sync,i=d.error,d=d.success);r=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);h=c.unalias(a,b);j=new m(a,t);o?t.notifyAll():e(function(){t.notifyAll()});return a},require:function(b, -d){if(b){var e=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(e,a);return c.getModules(a,e)[1]}}});j.mods={}})(KISSY); -(function(a){function g(f){var g=f.src||"";if(!g.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},i=f.comboPrefix||e,k=f.comboSep||m,o,q=g.indexOf(i);-1===q?o=g.replace(b,"$1"):(o=g.substring(0,q),"/"!==o.charAt(o.length-1)&&(o+="/"),i=g.substring(q+i.length).split(k),a.each(i,function(a){if(a.match(d))return o+=a.replace(b,"$1"),!1}));"tag"in f||(i=g.lastIndexOf("?"),-1!==i&&(g=g.substring(i+1),f.tag=j.getHash(c+g)));f.base=f.base||o;return f}function f(){var a= -i.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=g(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var i=a.Env.host&&a.Env.host.document,j=a.Loader.Utils,c="20131202152453",e="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:e,comboSep:m,charset:"utf-8",lang:"zh-cn",tag:c});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+ -"/"}):i&&i.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},f()))})(KISSY);KISSY.add("i18n",{alias:function(a,g){return g+"/i18n/"+a.Config.lang}}); -(function(a,g){function f(){if(!b){c&&!j.nodejs&&q(i,k,f);b=1;for(var e=0;e".replace("{{version}}",e),07)},isTransitionSupported:function(){return l!== +f},isTransformSupported:function(){return e!==f},isTransform3dSupported:function(){return q},isClassListSupported:function(){return p},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&r},isIELessThan:function(a){return!!(v&&v=k},!0))?c.push(l[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=e?f[a]=!0:g!==q?f[a]=!1:p.checkModsLoadRecursively(h.getNormalizedRequires(),b,d,c,f)?(h.status=e,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; +d.status>=k||(d.status=k,d.cjs||p.attachModsRecursively(d.getNormalizedRequires(),b),p.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:p.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=l},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return p.unalias(a, +p.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,g,h=0,l,k=a.Env.mods;!h;){h=1;for(c=d.length-1;0<=c;c--)if((e=k[d[c]])&&"alias"in e){h=0;g=e.alias;"string"===typeof g&&(g=[g]);for(l=g.length-1;0<=l;l--)g[l]||g.splice(l,1);d.splice.apply(d,[c,1].concat(f(g)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,g;if(b){e=0;for(g=b.length;ec.length&&(c=e); +b=this.packageInfo=b[c]||m}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=g.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return g.createModuleInfo(b, +a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=g.normalizeModNames(this.runtime,e,this.name)}};j.Module=i;var m=new h({name:"",runtime:a})})(KISSY); +(function(a){function f(a,d){var c=0;if(j.webkit)a.sheet&&("webkit css poll loaded: "+d,c=1);else if(a.sheet)try{a.sheet.cssRules&&("same domain css poll loaded: "+d,c=1)}catch(e){var f=e.name;"css poll exception: "+f+" "+e.code+" "+d;"NS_ERROR_DOM_SECURITY_ERR"===f&&("css poll exception: "+f+"loaded : "+d,c=1)}return c}function h(){for(var b in m){var d=m[b],c=d.node;f(c,b)&&(d.callback&&d.callback.call(c),delete m[b])}a.isEmptyObject(m)?("clear css poll timer",g=0):g=setTimeout(h,i)}var i=30,j= +a.UA,c=a.Loader.Utils,g=0,m={};c.pollCss=function(a,d){var c;c=m[a.href]={};c.node=a;c.callback=d;g||("start css poll timer",h())};c.isCssLoaded=f})(KISSY); +(function(a){var f=require("fs"),h=require("vm");a.getScript=function(i,j,c){var g;a.isPlainObject(j)&&(c=j.charset,g=j.error,j=j.success);if(a.startsWith(a.Path.extname(i).toLowerCase(),".css"))"node js can not load css: "+i,"warn",j&&j();else{var m=(new a.Uri(i)).getPath();try{var b=f.readFileSync(m,c);h.runInThisContext("(function(KISSY,requireNode){"+b+"})",i)(a,require);j&&j()}catch(d){"in file: "+i,"error",d.stack,"error",g&&g(d)}}}})(KISSY); +(function(a,f){function h(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");g?b=g.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var i=a.Loader,j=i.Utils,c=a.Env.host.location,g,m,b=a.Config.fns;if(!a.UA.nodejs&&c&&(m=c.href))g=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,g=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=h(b.base||b.path);b.name=c;b.base=e.toString(); +b.baseUri=e;b.runtime=a;delete b.path;g[c]?g[c].reset(b):g[c]=new i.Package(b)}),f):!1===b?(e.packages={},f):g};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=j.createModuleInfo(c,d,b);f.status===i.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=h(a);b.base=a.toString();b.baseUri=a;return f}})(KISSY); +(function(a,f){function h(b,c,e,h,i){var k=c&&c.length,j=[],l=[];a.each(c,function(c){var m,u={timeout:i,success:function(){l.push(c);m&&r&&("standard browser get mod name after load : "+m.name,d.registerModule(b,m.name,r.factory,r.config),r=f);--k||e(l,j)},error:function(){j.push(c);--k||e(l,j)},charset:h};c.combine||(m=c.mods[0],"css"===m.getType()?m=f:g&&(t=m.name,v=a.now(),u.attrs={"data-mod-name":m.name}));a.Config.loadModsFn(c,u)})}function i(b,d){a.mix(this,{runtime:b,waitingModules:d})}function j(a, +b){if(!a&&"function"===typeof b){var c=d.getRequiresFromFn(b);c.length&&(a=a||{},a.requires=c)}else a&&a.requires&&!a.cjs&&(a.cjs=0);return a}function c(a,b){for(var a=a.split(/\//),b=b.split(/\//),d=Math.min(a.length,b.length),c=0;ca.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,l=d.getHash,e=b.LOADING,q=b.LOADED,k=b.READY_TO_ATTACH,n=b.ERROR,p=a.now();i.groupTag=p;var r,t,v;i.add=function(b,c,e,h,i){if(3===i&&a.isArray(c))var k=c,c=e,e= +{requires:k,cjs:1};if("function"===typeof b||1===i)if(e=c,c=b,e=j(e,c),g){for(var b=a.Env.host.document.getElementsByTagName("script"),l,i=b.length-1;0<=i;i--)if(k=b[i],"interactive"===k.readyState){l=k;break}l?l=l.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+t,l=t);d.registerModule(h,l,c,e);t=null;v=0}else r={factory:c,config:e};else g?(t=null,v=0):r=f,e=j(e,c),d.registerModule(h,b,c,e)};a.augment(i,{use:function(b){var c= +a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){h(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){h(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| +(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,h,i,l=this.waitingModules,j=this.runtime,c=c||{},b=b||{};for(f=0;f=k||(i!==q&&!l.contains(g)&&(i!==e&&(h.status=e,c[g]=1),h.wait(function(a){l.remove(a.name);l.notifyAll()}),l.add(g)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= +{},g,h=this.runtime,i=0,l=b.length,k,j,m,t,v,q,n,r,G;ie||q+k.join(d).length+t>b)k.pop(),j.pop(),H(),k=[],j=[],B--}else p.push({combine:0,fullpath:C,mods:[A]})}k.length&&H()}}return g}});m.ComboLoader=i})(KISSY); +(function(a,f){function h(b){a.mix(this,{fn:b,waitMods:{}})}var i=a.Loader,j=a.Env,c=i.Utils,g=a.setImmediate,m=i.ComboLoader;h.prototype={constructor:h,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};i.WaitingModules=h;a.mix(a,{add:function(b,c,f){m.add(b,c,f,a,arguments.length)},use:function(b,d){function i(){++p;var h=[],m=a.now(), +u;u=c.checkModsLoadRecursively(e,a,f,h);p+" check duration "+(a.now()-m);u?(c.attachModsRecursively(e,a),d&&(n?r():g(r))):h.length?k&&(n?k.apply(a,h):g(function(){k.apply(a,h)})):(p+" reload "+b,t.fn=i,j.use(e))}var e,j,k,n,p=0,r,t=new h(i);a.isPlainObject(d)&&(n=d.sync,k=d.error,d=d.success);r=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);j=new m(a,t);n?t.notifyAll():g(function(){t.notifyAll()});return a},require:function(b, +d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});j.mods={}})(KISSY); +(function(a){function f(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},h=f.comboPrefix||g,i=f.comboSep||m,n,p=e.indexOf(h);-1===p?n=e.replace(b,"$1"):(n=e.substring(0,p),"/"!==n.charAt(n.length-1)&&(n+="/"),h=e.substring(p+h.length).split(i),a.each(h,function(a){if(a.match(d))return n+=a.replace(b,"$1"),!1}));"tag"in f||(h=e.lastIndexOf("?"),-1!==h&&(e=e.substring(h+1),f.tag=j.getHash(c+e)));f.base=f.base||n;return f}function h(){var a= +i.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var i=a.Env.host&&a.Env.host.document,j=a.Loader.Utils,c="20131202173007",g="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:g,comboSep:m,charset:"utf-8",lang:"zh-cn",tag:c});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+ +"/"}):i&&i.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},h()))})(KISSY);KISSY.add("i18n",{alias:function(a,f){return f+"/i18n/"+a.Config.lang}}); +(function(a,f){function h(){if(!b){c&&!j.nodejs&&p(i,k,h);b=1;for(var e=0;eg.ieMode&&(i=null);if(i)a.add("json",function(){return a.JSON=i}),a.parseJson=function(a){return i.parse(a)};else{var j=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,e=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&j.test(b.replace(e,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var f=a.UA,h=a.Env.host,i=(f.nodejs&&"object"===typeof global?global:h).JSON;9>f.ieMode&&(i=null);if(i)a.add("json",function(){return a.JSON=i}),a.parseJson=function(a){return i.parse(a)};else{var j=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,g=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&j.test(b.replace(g,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/kissy-nodejs.js b/build/kissy-nodejs.js index f5f2d58c52..baf0f0c317 100644 --- a/build/kissy-nodejs.js +++ b/build/kissy-nodejs.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:25 +build time: Dec 2 17:30 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20131202152453' will replace with current timestamp when compressing. + * NOTICE: '20131202173007' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20131202152453', + __BUILD_TIME: '20131202173007', /** * KISSY Environment. @@ -118,10 +118,10 @@ var KISSY = (function (undefined) { /** * The version of the library. - * NOTICE: '1.50dev' will replace with current version when compressing. + * NOTICE: '1.41' will replace with current version when compressing. * @type {String} */ - version: '1.50dev', + version: '1.41', /** * set KISSY configuration @@ -247,7 +247,7 @@ var KISSY = (function (undefined) { } } /*global console*/ - if (console !== undefined && console.log && matched) { + if (typeof console !== 'undefined' && console.log && matched) { console[cat && console[cat] ? cat : 'log'](msg); return msg; } @@ -3357,6 +3357,7 @@ var KISSY = (function (undefined) { transformProperty, transitionPrefix, transformPrefix, + isTransform3dSupported, documentElement = doc.documentElement, documentElementStyle, isClassListSupportedState = true, @@ -3392,6 +3393,17 @@ var KISSY = (function (undefined) { var navigator = (win.navigator || {}); isMsPointerSupported = 'msPointerEnabled' in navigator; isPointerSupported = 'pointerEnabled' in navigator; + + if (transformPrefix) { + // https://gist.github.com/lorenzopolidori/3794226 + // ie9 does not support 3d transform + var el = document.createElement('p'); + documentElement.insertBefore(el, documentElement.firstChild); + el.style[transformPrefix] = 'translate3d(1px,1px,1px)'; + var has3d = window.getComputedStyle(el).getPropertyValue(transformPrefix); + documentElement.removeChild(el); + isTransform3dSupported = (has3d !== undefined && has3d.length > 0 && has3d !== 'none'); + } } /** @@ -3467,6 +3479,14 @@ var KISSY = (function (undefined) { return transformPrefix !== undefined; }, + /** + * whether support css transform 3d + * @returns {boolean} + */ + 'isTransform3dSupported': function () { + return isTransform3dSupported; + }, + /** * whether support class list api * @returns {boolean} @@ -5388,7 +5408,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20131202152453'; + var TIMESTAMP = '20131202173007'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/build/scroll-view/assets/dpl-min.css b/build/scroll-view/assets/dpl-min.css index 4116fb9f6d..51d1ff2d0c 100644 --- a/build/scroll-view/assets/dpl-min.css +++ b/build/scroll-view/assets/dpl-min.css @@ -1,6 +1,6 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ .ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none;-ms-user-select:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-y{right:0;height:100%}.ks-scrollbar-y-track,.ks-scrollbar-y-drag,.ks-scrollbar-y{width:6px}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{display:none}.ks-scrollbar-y-track{position:absolute;right:3px;top:0;bottom:0}.ks-ie6 .ks-scrollbar-y-track{height:expression(this.parentNode.clientHeight)}.ks-scrollbar-y-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-y-drag,.ks-ie7 .ks-scrollbar-y-drag,.ks-ie8 .ks-scrollbar-y-drag{filter:alpha(opacity=50)}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0}.ks-ie6 .ks-scrollbar-x-track{width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity=50)}.ks-scroll-view-pull-to-refresh{position:absolute;width:100%;top:-51px}.ks-scroll-view-pull-to-refresh-content{background:#fff;height:40px;line-height:40px;padding:5px 10px;border-bottom:1px solid #ccc;font-weight:bold;font-size:14px;color:#888}.ks-scroll-view-pull-icon{display:block;float:left;width:40px;height:40px;background:url(http://img01.taobaocdn.com/tps/i1/T1u0mQXDtaXXXjasMR-80-160.png) 0 0 no-repeat;-webkit-background-size:40px 80px;background-size:40px 80px;-webkit-transition-property:-webkit-transform;-webkit-transition-duration:250ms}.ks-scroll-view-pulling .ks-scroll-view-pull-icon{-webkit-transform:rotate(0deg) translateZ(0)}.ks-scroll-view-releasing .ks-scroll-view-pull-icon{-webkit-transform:rotate(-180deg) translateZ(0)}.ks-scroll-view-loading .ks-scroll-view-pull-icon{background-position:0 100%;-webkit-transform:rotate(0deg) translateZ(0);-webkit-transition-duration:0ms;-webkit-animation-name:loading;-webkit-animation-duration:2s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes loading{from{-webkit-transform:rotate(0deg) translateZ(0)}to{-webkit-transform:rotate(360deg) translateZ(0)}} diff --git a/build/scroll-view/assets/dpl.css b/build/scroll-view/assets/dpl.css index ed95c01609..b6eb0c1bd7 100644 --- a/build/scroll-view/assets/dpl.css +++ b/build/scroll-view/assets/dpl.css @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ .ks-scroll-view { overflow: hidden !important; diff --git a/build/scroll-view/assets/nice-min.css b/build/scroll-view/assets/nice-min.css index e9c16a7e9c..1db061635f 100644 --- a/build/scroll-view/assets/nice-min.css +++ b/build/scroll-view/assets/nice-min.css @@ -1,6 +1,6 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ .ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none;-ms-user-select:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-y-track,.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down,.ks-scrollbar-y-drag,.ks-scrollbar-y,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{width:15px}.ks-scrollbar-y{top:0;right:0;bottom:0;_height:expression(this.parentNode.clientHeight);background-image:url(http://img02.taobaocdn.com/tps/i2/T1okQlXnJkXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-y-track{position:absolute;top:14px;bottom:14px;_height:expression(this.parentNode.clientHeight-28)}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{text-indent:-1000px;height:14px;font-size:0;position:absolute;overflow:visible}.ks-scrollbar-y-arrow-down a{margin-top:-10px;_margin-top:0}.ks-scrollbar-y-arrow-up a,.ks-scrollbar-y-arrow-down a{display:block;height:24px;background-repeat:no-repeat}.ks-scrollbar-y-arrow-up a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-125px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img04.taobaocdn.com/tps/i4/T1_FdaXE8cXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-arrow-up{top:0}.ks-scrollbar-y-arrow-down{bottom:0}.ks-scrollbar-y-arrow-down a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-75px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1tCdXXtRdXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-drag,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{position:absolute}.ks-scrollbar-y-drag-top{top:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img02.taobaocdn.com/tps/i2/T1A0JaXAJbXXcbkuzX-15-10.png');_ background-image:none;background-position:-50px 0}.ks-scrollbar-y-drag-bottom{position:absolute;bottom:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1Sk4XXB4cXXcbkuzX-15-10.png');_ background-image:none;background-position:0 0}.ks-scrollbar-y-drag-center{top:10px;bottom:10px;overflow:hidden;_height:expression(this.parentNode.clientHeight-20);background-image:url(http://img04.taobaocdn.com/tps/i4/T1DNBXXy0dXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0;_width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity = 50)} diff --git a/build/scroll-view/assets/nice.css b/build/scroll-view/assets/nice.css index f9b47e28b6..3f426acf57 100644 --- a/build/scroll-view/assets/nice.css +++ b/build/scroll-view/assets/nice.css @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ .ks-scroll-view { overflow: hidden !important; diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index b52c52231e..ab99e85d27 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,15 +1,16 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ -KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(k,i){var p=i("component/container"),q=i("component/extension/content-render"),o=k.Features,l,n={syncUI:function(){var a=this.control,f=a.el,e=a.contentEl,h=a.$contentEl,b=e.offsetHeight,e=e.offsetWidth,c=f.clientHeight,d=f.clientWidth;a.scrollHeight=b;a.scrollWidth=e;a.clientHeight=c;a.clientWidth=d;f=a.allowScroll={};b>c&&(f.top=1);e>d&&(f.left=1);a.minScroll={left:0,top:0};var r,g;a.maxScroll= -{left:r=e-d,top:g=b-c};delete a.scrollStep;c=a.get("snap");b=a.get("scrollLeft");e=a.get("scrollTop");if(c){var m=h.offset(),h=a.pages="string"===typeof c?h.all(c):h.children(),c=a.get("pageIndex"),j=a.pagesOffset=[];h.each(function(b,c){var d=b.offset(),a=d.left-m.left,d=d.top-m.top;a<=r&&d<=g&&(j[c]={left:a,top:d,index:c})});if(c){a.scrollToPage(c);return}}a.scrollToWithBounds({left:b,top:e})},_onSetScrollLeft:function(a){this.control.contentEl.style.left=-a+"px"},_onSetScrollTop:function(a){this.control.contentEl.style.top= --a+"px"}};o.isTransformSupported()&&(l=o.getTransformProperty(),n._onSetScrollLeft=function(a){var f=this.control;f.contentEl.style[l]="translate3d("+-a+"px,"+-f.get("scrollTop")+"px,0)"},n._onSetScrollTop=function(a){var f=this.control;f.contentEl.style[l]="translate3d("+-f.get("scrollLeft")+"px,"+-a+"px,0)"});return p.getDefaultRender().extend([q],n,{name:"ScrollViewRender"})}); -KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(k,i){function p(){var b=this.el,c=b.scrollTop,d=b.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));d&&this.set("scrollLeft",d+this.get("scrollLeft"));b.scrollTop=b.scrollLeft=0}function q(b,c){b.scrollView.set(c.prop,c.val)}var o=i("node"),l=i("anim"),n=i("component/container"),a=i("./base/render"),f=k.all,e=k.Features.isTouchEventSupported(),h=o.KeyCode;return n.extend({initializer:function(){this.scrollAnims= -[]},bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",p,this)},handleKeyDownInternal:function(b){var c=f(b.target),d=c.nodeName();if(!("input"===d||"textarea"===d||"select"===d||c.hasAttr("contenteditable"))){var b=b.keyCode,c=this.getScrollStep(),a,d=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,m=this.clientHeight,j=this.get("scrollTop");b===h.DOWN?(this.scrollToWithBounds({top:j+g}),a=!0):b===h.UP?(this.scrollToWithBounds({top:j-g}),a=!0):b===h.PAGE_DOWN? -(this.scrollToWithBounds({top:j+m}),a=!0):b===h.PAGE_UP&&(this.scrollToWithBounds({top:j-m}),a=!0)}d&&(c=c.left,d=this.get("scrollLeft"),b===h.RIGHT?(this.scrollToWithBounds({left:d+c}),a=!0):b===h.LEFT&&(this.scrollToWithBounds({left:d-c}),a=!0));return a}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var b=f(this.get("el")[0].ownerDocument),c=this.clientHeight,d=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/b.height(),20),left:Math.max(0.7*d*d/b.width(),20)}}, -handleMouseWheel:function(b){if(!this.get("disabled")){var c,d,a=this.getScrollStep(),g,f=this.maxScroll,h=this.minScroll;if((g=b.deltaY)&&this.allowScroll.top){var e=this.get("scrollTop");c=f.top;d=h.top;e<=d&&0=c&&0>g||(this.scrollToWithBounds({top:e-b.deltaY*a.top}),b.preventDefault())}if((g=b.deltaX)&&this.allowScroll.left)e=this.get("scrollLeft"),c=f.left,d=h.left,e<=d&&0=c&&0>g||(this.scrollToWithBounds({left:e-b.deltaX*a.left}),b.preventDefault())}},isAxisEnabled:function(b){return this.allowScroll["x"=== -b?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&&(k.each(this.scrollAnims,function(b){b.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(b){this.scrollToPage(b)},_getPageIndexFromXY:function(b,c,d){var a=this.pagesOffset.concat([]),g=c?"left":"top";a.sort(function(b,c){return b[g]-c[g]});if(0=b)return d.index}else for(c=a.length-1;0<=c;c--)if(d=a[c],d[g]<= -b)return d.index},scrollToPage:function(b,c){var d;if((d=this.pagesOffset)&&d[b])this.set("pageIndex",b),this.scrollTo(d[b],c)},scrollToWithBounds:function(b,c){var d=this.maxScroll,a=this.minScroll;b.left&&(b.left=Math.min(Math.max(b.left,a.left),d.left));b.top&&(b.top=Math.min(Math.max(b.top,a.top),d.top));this.scrollTo(b,c)},scrollTo:function(b,c){var a=b.left,e=b.top;if(c){var g={},f={};void 0!==a&&(f.scrollLeft=a,g.scrollLeft=this.get("scrollLeft"));void 0!==e&&(f.scrollTop=e,g.scrollTop=this.get("scrollTop")); -c.frame=q;c.node=g;c.to=f;this.scrollAnims.push(a=new l(c));a.scrollView=this;a.run()}else void 0!==a&&this.set("scrollLeft",a),void 0!==e&&this.set("scrollTop",e)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!e},allowTextSelection:{value:!0},handleMouseEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:a}},xclass:"scroll-view"})}); +KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,k){var q=k("component/container"),r=k("component/extension/content-render"),o=j.Features.isTransform3dSupported()?"translate3d({translateX}px,{translateY}px,0)":"translate({translateX}px,{translateY}px)",p=j.Features,l,n={syncUI:function(){var d=this.control,e=d.el,f=d.contentEl,a=d.$contentEl,c=f.offsetHeight,f=f.offsetWidth,b=e.clientHeight,h=e.clientWidth;d.scrollHeight=c;d.scrollWidth=f; +d.clientHeight=b;d.clientWidth=h;e=d.allowScroll={};c>b&&(e.top=1);f>h&&(e.left=1);d.minScroll={left:0,top:0};var g,m;d.maxScroll={left:g=f-h,top:m=c-b};delete d.scrollStep;b=d.get("snap");c=d.get("scrollLeft");f=d.get("scrollTop");if(b){var s=a.offset(),a=d.pages="string"===typeof b?a.all(b):a.children(),b=d.get("pageIndex"),i=d.pagesOffset=[];a.each(function(a,b){var c=a.offset(),d=c.left-s.left,c=c.top-s.top;d<=g&&c<=m&&(i[b]={left:d,top:c,index:b})});if(b){d.scrollToPage(b);return}}d.scrollToWithBounds({left:c, +top:f})},_onSetScrollLeft:function(d){this.control.contentEl.style.left=-d+"px"},_onSetScrollTop:function(d){this.control.contentEl.style.top=-d+"px"}};p.isTransformSupported()&&(l=p.getTransformProperty(),n._onSetScrollLeft=function(d){var e=this.control;e.contentEl.style[l]=j.substitute(o,{translateX:-d,translateY:-e.get("scrollTop")})},n._onSetScrollTop=function(d){var e=this.control;e.contentEl.style[l]=j.substitute(o,{translateX:-e.get("scrollLeft"),translateY:-d})});return q.getDefaultRender().extend([r], +n,{name:"ScrollViewRender"})}); +KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,k){function q(){var a=this.el,c=a.scrollTop,b=a.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));b&&this.set("scrollLeft",b+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function r(a,c){a.scrollView.set(c.prop,c.val)}var o=k("node"),p=k("anim"),l=k("component/container"),n=k("./base/render"),d=j.all,e=j.Features.isTouchEventSupported(),f=o.KeyCode;return l.extend({initializer:function(){this.scrollAnims=[]}, +bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",q,this)},handleKeyDownInternal:function(a){var c=d(a.target),b=c.nodeName();if(!("input"===b||"textarea"===b||"select"===b||c.hasAttr("contenteditable"))){var a=a.keyCode,c=this.getScrollStep(),h,b=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,m=this.clientHeight,e=this.get("scrollTop");a===f.DOWN?(this.scrollToWithBounds({top:e+g}),h=!0):a===f.UP?(this.scrollToWithBounds({top:e-g}),h=!0):a===f.PAGE_DOWN? +(this.scrollToWithBounds({top:e+m}),h=!0):a===f.PAGE_UP&&(this.scrollToWithBounds({top:e-m}),h=!0)}b&&(c=c.left,b=this.get("scrollLeft"),a===f.RIGHT?(this.scrollToWithBounds({left:b+c}),h=!0):a===f.LEFT&&(this.scrollToWithBounds({left:b-c}),h=!0));return h}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var a=d(this.get("el")[0].ownerDocument),c=this.clientHeight,b=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/a.height(),20),left:Math.max(0.7*b*b/a.width(),20)}}, +handleMouseWheel:function(a){if(!this.get("disabled")){var c,b,d=this.getScrollStep(),g,e=this.maxScroll,f=this.minScroll;if((g=a.deltaY)&&this.allowScroll.top){var i=this.get("scrollTop");c=e.top;b=f.top;i<=b&&0=c&&0>g||(this.scrollToWithBounds({top:i-a.deltaY*d.top}),a.preventDefault())}if((g=a.deltaX)&&this.allowScroll.left)i=this.get("scrollLeft"),c=e.left,b=f.left,i<=b&&0=c&&0>g||(this.scrollToWithBounds({left:i-a.deltaX*d.left}),a.preventDefault())}},isAxisEnabled:function(a){return this.allowScroll["x"=== +a?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&&(j.each(this.scrollAnims,function(a){a.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(a){this.scrollToPage(a)},_getPageIndexFromXY:function(a,c,b){var d=this.pagesOffset.concat([]),e=c?"left":"top";d.sort(function(a,b){return a[e]-b[e]});if(0=a)return b.index}else for(c=d.length-1;0<=c;c--)if(b=d[c],b[e]<= +a)return b.index},scrollToPage:function(a,c){var b;if((b=this.pagesOffset)&&b[a])this.set("pageIndex",a),this.scrollTo(b[a],c)},scrollToWithBounds:function(a,c){var b=this.maxScroll,d=this.minScroll;a.left&&(a.left=Math.min(Math.max(a.left,d.left),b.left));a.top&&(a.top=Math.min(Math.max(a.top,d.top),b.top));this.scrollTo(a,c)},scrollTo:function(a,c){var b=a.left,d=a.top;if(c){var e={},f={};void 0!==b&&(f.scrollLeft=b,e.scrollLeft=this.get("scrollLeft"));void 0!==d&&(f.scrollTop=d,e.scrollTop=this.get("scrollTop")); +c.frame=r;c.node=e;c.to=f;this.scrollAnims.push(b=new p(c));b.scrollView=this;b.run()}else void 0!==b&&this.set("scrollLeft",b),void 0!==d&&this.set("scrollTop",d)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!e},allowTextSelection:{value:!0},handleMouseEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:n}},xclass:"scroll-view"})}); diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index 89ea6f841a..62665eb072 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ /* Combined processedModules by KISSY Module Compiler: @@ -13,6 +13,7 @@ build time: Dec 2 15:24 KISSY.add("scroll-view/base/render", ["component/container", "component/extension/content-render"], function(S, require) { var Container = require("component/container"); var ContentRenderExtension = require("component/extension/content-render"); + var translateTpl = S.Features.isTransform3dSupported() ? "translate3d({translateX}px,{translateY}px,0)" : "translate({translateX}px,{translateY}px)"; var Features = S.Features, supportCss3 = Features.isTransformSupported(), transformProperty; var methods = {syncUI:function() { var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; @@ -58,11 +59,11 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio transformProperty = Features.getTransformProperty(); methods._onSetScrollLeft = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = "translate3d(" + -v + "px," + -control.get("scrollTop") + "px,0)" + control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:-v, translateY:-control.get("scrollTop")}) }; methods._onSetScrollTop = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = "translate3d(" + -control.get("scrollLeft") + "px," + -v + "px,0)" + control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:-control.get("scrollLeft"), translateY:-v}) } } return Container.getDefaultRender().extend([ContentRenderExtension], methods, {name:"ScrollViewRender"}) diff --git a/build/scroll-view/drag-min.js b/build/scroll-view/drag-min.js index 57910d3c30..a9d407c1b2 100644 --- a/build/scroll-view/drag-min.js +++ b/build/scroll-view/drag-min.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ KISSY.add("scroll-view/drag",["./base","node","anim"],function(l,w){function y(b,c,a){var c=c.timeStamp,d=b.get("scroll"+l.ucfirst(a));b.startScroll[a]=d;b.swipe[a].startTime=c;b.swipe[a].scroll=d}function z(b,c,a,d){if(!A(b,a)){var f={pageX:c.touches[0].pageX,pageY:c.touches[0].pageY},e="left"===a?"pageX":"pageY",j=b.lastPageXY,g,k=b.startScroll[a]-(f[e]-d[e]),d=c.timeStamp,n=b.minScroll,p=b.maxScroll,h=b.lastDirection,i=b.swipe,m;j[e]&&(g=f[e]===j[e],m=0p[a]&&(f=k-p[a],f*=B,k=p[a]+f);f=d-i[a].startTime;if(!g&&void 0!==h[a]&&h[a]!==m||f>I)i[a].startTime=d,i[a].scroll=k;b.set("scroll"+l.ucfirst(a),k);h[a]=m;j[e]=c[e]}}function A(b,c){return!b.allowScroll[c]&&b.get("left"===c?"lockX":"lockY")?1:0}function C(b,c,a,d){if(A(b,a))d();else{var f="scroll"+l.ucfirst(a),e=b.get(f),j=b.minScroll,g=b.maxScroll,k=c.timeStamp,c=b.swipe,n;eg[a]&&(n=g[a]);void 0!==n?(e={},e[a]=n,b.scrollTo(e,{duration:b.get("bounceDuration"), diff --git a/build/scroll-view/drag.js b/build/scroll-view/drag.js index 839ea34ab2..5f1c0c10d2 100644 --- a/build/scroll-view/drag.js +++ b/build/scroll-view/drag.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/scroll-view/plugin/pull-to-refresh-min.js b/build/scroll-view/plugin/pull-to-refresh-min.js index 0627f87a9f..ead7e60158 100644 --- a/build/scroll-view/plugin/pull-to-refresh-min.js +++ b/build/scroll-view/plugin/pull-to-refresh-min.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ KISSY.add("scroll-view/plugin/pull-to-refresh",["base"],function(d,e){var f=e("base"),g=d.substitute,h=d.Features.getTransformProperty();return f.extend({pluginId:this.getName(),_onSetState:function(a){if(this.scrollView){var a=a.newVal,b=this.scrollView.get("prefixCls"),c=this.$el;c.attr("class",b+"scroll-view-pull-to-refresh "+b+"scroll-view-"+a);this.labelEl.html(this.get(a+"Html"));this.elHeight=c.height()}},_onScrollMove:function(){var a=this.scrollView.get("scrollTop");-a>this.elHeight?this.set("state", "releasing"):0>a&&this.set("state","pulling")},_onDragEnd:function(){var a=this,b=a.scrollView;if(-b.get("scrollTop")>a.elHeight){b.minScroll.top=-a.elHeight;var c=a.get("loadFn");a.set("state","loading");var d=function(){b.scrollTo({top:-a.elHeight});b.scrollTo({top:b.minScroll.top},{duration:b.get("snapDuration"),easing:b.get("snapEasing")});a.set("state","pulling")};c?c.call(a,d):d.call(a)}},_onSetScrollTop:function(a){a=a.newVal;0>a&&(this.el.style[h]="translate3d(0,"+-a+"px,0)")},pluginRenderUI:function(a){this.scrollView= diff --git a/build/scroll-view/plugin/pull-to-refresh.js b/build/scroll-view/plugin/pull-to-refresh.js index 88e1e0f902..f45749e49b 100644 --- a/build/scroll-view/plugin/pull-to-refresh.js +++ b/build/scroll-view/plugin/pull-to-refresh.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index 68385b48fb..25b09bdbb7 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,22 +1,22 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:24 +build time: Dec 2 17:30 */ -KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl",[],function(){return function(d,c,g){var c=this.config.utils,f=c.getExpression,e=c.getPropertyOrRunCommand,c='
\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); -KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(d,c){var g=c("component/control"),f=c("./scrollbar-xtpl"),e=d.Features.isTransformSupported(),b={beforeCreateDom:function(a,b){a.elCls.push(a.prefixCls+"scrollbar-"+a.axis);d.mix(b,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var a=this.control;a.$dragEl=a.get("dragEl");a.$trackEl= -a.get("trackEl");a.$downBtn=a.get("downBtn");a.$upBtn=a.get("upBtn");a.dragEl=a.$dragEl[0];a.trackEl=a.$trackEl[0];a.downBtn=a.$downBtn[0];a.upBtn=a.$upBtn[0]},syncUI:function(){var a=this.control,b=a.get("scrollView"),c=a.trackEl,d=a.scrollWHProperty,f=a.whProperty,e=a.clientWHProperty,g=a.dragWHProperty;a.scrollView=b;b.allowScroll[a.scrollType]?(a.scrollLength=b[d],c=a.trackElSize="width"===f?c.offsetWidth:c.offsetHeight,b=b[e]/a.scrollLength,b*=c,a.set(g,b),a.barSize=b,this.syncOnScrollChange(), -a.set("visible",!0)):a.set("visible",!1)},syncOnScrollChange:function(){var a=this.control,b=a.scrollType,c=a.scrollView,d=a.dragLTProperty,f=a.dragWHProperty,e=a.trackElSize,g=a.barSize,h=a.scrollLength,j=c.get(a.scrollProperty),k=c.minScroll[b],b=c.maxScroll[b];j>b?(e*=b/h,a.set(f,g-(j-b)),a.set(d,e+g-a.get(f))):j\n up\n\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); +KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(e,d){var g=d("component/control"),f=d("./scrollbar-xtpl"),h=e.Features.isTransform3dSupported(),c=e.Features.isTransformSupported(),i={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);e.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control; +b.$dragEl=b.get("dragEl");b.$trackEl=b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,d=b.scrollWHProperty,e=b.whProperty,f=b.clientWHProperty,h=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[d],c=b.trackElSize="width"===e?c.offsetWidth:c.offsetHeight,a=a[f]/b.scrollLength,a*=c,b.set(h,a), +b.barSize=a,this.syncOnScrollChange(),b.set("visible",!0)):b.set("visible",!1)},syncOnScrollChange:function(){var b=this.control,a=b.scrollType,c=b.scrollView,d=b.dragLTProperty,e=b.dragWHProperty,f=b.trackElSize,h=b.barSize,i=b.scrollLength,g=c.get(b.scrollProperty),j=c.minScroll[a],a=c.maxScroll[a];g>a?(f*=a/i,b.set(e,h-(g-a)),b.set(d,f+h-b.get(e))):g=c)throw new TypeError;}while(1)}for(;k=c)throw new TypeError;}while(1)}for(;j","<":"<","`":"`","/":"/",""":'"',"'":"'"},i={},b,d,m=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in h)i[h[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(j(),function(a){return i[a]})},escapeRegExp:function(a){return a.replace(m,"\\$&")},unEscapeHtml:function(a){return a.replace(l(),function(a,b){return h[a]||String.fromCharCode(+b)})},param:function(b,d,k,m){d=d||"&";k=k||"=";m===g&&(m=!0);var h=[],s,l,i,t,u,p= -a.urlEncode;for(s in b)if(u=b[s],s=p(s),f(u))h.push(s),u!==g&&h.push(k,p(u+c)),h.push(d);else if(a.isArray(u)&&u.length){l=0;for(t=u.length;lg&&(c=h,f.apply(l||this,arguments))}},buffer:function(f,g,l){function c(){c.stop();h=a.later(f,g,0,l||this,arguments)}g=g||150;if(-1===g)return function(){f.apply(l||this,arguments)};var h=null;c.stop=function(){h&&(h.cancel(),h=0)};return c}})})(KISSY); -(function(a,g){function f(b,d,g){var e=b,l,k,o,i;if(!b)return e;if(b[h])return g[b[h]].destination;if("object"===typeof b){i=b.constructor;if(a.inArray(i,[Boolean,String,Number,Date,RegExp]))e=new i(b.valueOf());else if(l=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(k=a.isPlainObject(b))e={};b[h]=i=a.guid("c");g[i]={destination:e,input:b}}if(l)for(b=0;b","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,l=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in h)m[h[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(i(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(l,"\\$&")},unEscapeHtml:function(a){return a.replace(k(),function(a,b){return h[a]||String.fromCharCode(+b)})},param:function(b,d,j,l){d=d||"&";j=j||"=";l===g&&(l=!0);var h=[],s,k,i,t,u,p= +a.urlEncode;for(s in b)if(u=b[s],s=p(s),f(u))h.push(s),u!==g&&h.push(j,p(u+c)),h.push(d);else if(a.isArray(u)&&u.length){k=0;for(t=u.length;kg&&(c=h,f.apply(k||this,arguments))}},buffer:function(f,g,k){function c(){c.stop();h=a.later(f,g,0,k||this,arguments)}g=g||150;if(-1===g)return function(){f.apply(k||this,arguments)};var h=null;c.stop=function(){h&&(h.cancel(),h=0)};return c}})})(KISSY); +(function(a,g){function f(b,d,g){var e=b,k,j,n,m;if(!b)return e;if(b[h])return g[b[h]].destination;if("object"===typeof b){m=b.constructor;if(a.inArray(m,[Boolean,String,Number,Date,RegExp]))e=new m(b.valueOf());else if(k=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(j=a.isPlainObject(b))e={};b[h]=m=a.guid("c");g[m]={destination:e,input:b}}if(k)for(b=0;b".replace("{{version}}",e),0".replace("{{version}}",e),07)},isTransitionSupported:function(){return m!==g},isTransformSupported:function(){return e!==g},isClassListSupported:function(){return o},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&q},isIELessThan:function(a){return!!(n&&n=k},!0))?c.push(m[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=e?f[a]=!0:g!==r?f[a]=!1:q.checkModsLoadRecursively(h.getNormalizedRequires(),b,d,c,f)?(h.status=e,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; -d.status>=k||(d.status=k,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=m},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, -q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,f,h=0,m,k=a.Env.mods;!h;){h=1;for(c=d.length-1;0<=c;c--)if((e=k[d[c]])&&"alias"in e){h=0;f=e.alias;"string"===typeof f&&(f=[f]);for(m=f.length-1;0<=m;m--)f[m]||f.splice(m,1);d.splice.apply(d,[c,1].concat(g(f)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,f;if(b){e=0;for(f=b.length;e7)},isTransitionSupported:function(){return l!== +g},isTransformSupported:function(){return e!==g},isTransform3dSupported:function(){return r},isClassListSupported:function(){return q},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&s},isIELessThan:function(a){return!!(v&&v=j},!0))?c.push(h[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=e?f[a]=!0:g!==r?f[a]=!1:q.checkModsLoadRecursively(l.getNormalizedRequires(),b,d,c,f)?(l.status=e,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; +d.status>=j||(d.status=j,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=l},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, +q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,f,l=0,j,h=a.Env.mods;!l;){l=1;for(c=d.length-1;0<=c;c--)if((e=h[d[c]])&&"alias"in e){l=0;f=e.alias;"string"===typeof f&&(f=[f]);for(j=f.length-1;0<=j;j--)f[j]||f.splice(j,1);d.splice.apply(d,[c,1].concat(g(f)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,f;if(b){e=0;for(f=b.length;ec.length&&(c=e); -b=this.packageInfo=b[c]||i}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=h.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return h.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=h.normalizeModNames(this.runtime,e,this.name)}};l.Module=j;var i=new f({name:"",runtime:a})})(KISSY); -(function(a){function g(a,d){var c=0;if(l.webkit)a.sheet&&("webkit css poll loaded: "+d,c=1);else if(a.sheet)try{a.sheet.cssRules&&("same domain css poll loaded: "+d,c=1)}catch(e){var f=e.name;"css poll exception: "+f+" "+e.code+" "+d;"NS_ERROR_DOM_SECURITY_ERR"===f&&("css poll exception: "+f+"loaded : "+d,c=1)}return c}function f(){for(var b in i){var d=i[b],c=d.node;g(c,b)&&(d.callback&&d.callback.call(c),delete i[b])}a.isEmptyObject(i)?("clear css poll timer",h=0):h=setTimeout(f,j)}var j=30,l= -a.UA,c=a.Loader.Utils,h=0,i={};c.pollCss=function(a,d){var c;c=i[a.href]={};c.node=a;c.callback=d;h||("start css poll timer",f())};c.isCssLoaded=g})(KISSY); -(function(a){var g=a.Env.host.document,f=a.Loader.Utils,j=a.Path,l={},c,h=a.UA;a.getScript=function(i,b,d){function m(){var a=n.readyState;if(!a||"loaded"===a||"complete"===a)n.onreadystatechange=n.onload=null,v(0)}var e=b,r=0,k,o,q,s;a.startsWith(j.extname(i).toLowerCase(),".css")&&(r=1);a.isPlainObject(e)&&(b=e.success,k=e.error,o=e.timeout,d=e.charset,q=e.attrs);e=l[i]=l[i]||[];e.push([b,k]);if(1h.webkit;r&&d&&b&&(b=!1);b?(n.onload=m,n.onerror=function(){n.onerror=null;v(1)}):r?f.pollCss(n,function(){v(0)}):n.onreadystatechange=m;o&&(s=a.later(function(){v(1)},1E3*o));c||(c=f.docHead());r?c.appendChild(n):c.insertBefore(n,c.firstChild);return n}})(KISSY); -(function(a,g){function f(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");h?b=h.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var j=a.Loader,l=j.Utils,c=a.Env.host.location,h,i,b=a.Config.fns;if(!a.UA.nodejs&&c&&(i=c.href))h=new a.Uri(i);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,h=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=f(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;h[c]?h[c].reset(b):h[c]=new j.Package(b)}),g):!1===b?(e.packages={},g):h};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=l.createModuleInfo(c,d,b);f.status===j.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=f(a);b.base=a.toString();b.baseUri=a;return g}})(KISSY); -(function(a,g){function f(b,c,e,f,k){var m=c&&c.length,i=[],l=[];a.each(c,function(c){var j,u={timeout:k,success:function(){l.push(c);j&&s&&("standard browser get mod name after load : "+j.name,d.registerModule(b,j.name,s.factory,s.config),s=g);--m||e(l,i)},error:function(){i.push(c);--m||e(l,i)},charset:f};c.combine||(j=c.mods[0],"css"===j.getType()?j=g:h&&(n=j.name,v=a.now(),u.attrs={"data-mod-name":j.name}));a.Config.loadModsFn(c,u)})}function j(b,d){a.mix(this,{runtime:b,waitingModules:d})}function l(a, -b){if(!a&&"function"===typeof b){var c=d.getRequiresFromFn(b);c.length&&(a=a||{},a.requires=c)}else a&&a.requires&&!a.cjs&&(a.cjs=0);return a}function c(a,b){for(var a=a.split(/\//),b=b.split(/\//),d=Math.min(a.length,b.length),c=0;ca.UA.ieMode,i=a.Loader,b=i.Status,d=i.Utils,m=d.getHash,e=b.LOADING,r=b.LOADED,k=b.READY_TO_ATTACH,o=b.ERROR,q=a.now();j.groupTag=q;var s,n,v;j.add=function(b,c,e,f,k){if(3===k&&a.isArray(c))var m=c,c=e,e= -{requires:m,cjs:1};if("function"===typeof b||1===k)if(e=c,c=b,e=l(e,c),h){for(var b=a.Env.host.document.getElementsByTagName("script"),i,k=b.length-1;0<=k;k--)if(m=b[k],"interactive"===m.readyState){i=m;break}i?i=i.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+n,i=n);d.registerModule(f,i,c,e);n=null;v=0}else s={factory:c,config:e};else h?(n=null,v=0):s=g,e=l(e,c),d.registerModule(f,b,c,e)};a.augment(j,{use:function(b){var c= -a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){f(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=o;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){f(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| -(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=o);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,h,m,i=this.waitingModules,l=this.runtime,c=c||{},b=b||{};for(f=0;f=k||(m!==r&&!i.contains(g)&&(m!==e&&(h.status=e,c[g]=1),h.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(g)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= -{},g,h=this.runtime,m=0,k=b.length,i,l,j,n,o,r,v,s,G;me||v+k.join(d).length+n>b)k.pop(),l.pop(),H(),k=[],l=[],B--}else q.push({combine:0,fullpath:C,mods:[A]})}k.length&&H()}}return g}});i.ComboLoader=j})(KISSY); -(function(a,g){function f(b){a.mix(this,{fn:b,waitMods:{}})}var j=a.Loader,l=a.Env,c=j.Utils,h=a.setImmediate,i=j.ComboLoader;f.prototype={constructor:f,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};j.WaitingModules=f;a.mix(a,{add:function(b,c,f){i.add(b,c,f,a,arguments.length)},use:function(b,d){function m(){++q;var f=[],i=a.now(), -u;u=c.checkModsLoadRecursively(e,a,g,f);q+" check duration "+(a.now()-i);u?(c.attachModsRecursively(e,a),d&&(j?s():h(s))):f.length?k&&(j?k.apply(a,f):h(function(){k.apply(a,f)})):(q+" reload "+b,n.fn=m,l.use(e))}var e,l,k,j,q=0,s,n=new f(m);a.isPlainObject(d)&&(j=d.sync,k=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);l=new i(a,n);j?n.notifyAll():h(function(){n.notifyAll()});return a},require:function(b, -d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});l.mods={}})(KISSY); -(function(a){function g(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},g=f.comboPrefix||h,k=f.comboSep||i,j,q=e.indexOf(g);-1===q?j=e.replace(b,"$1"):(j=e.substring(0,q),"/"!==j.charAt(j.length-1)&&(j+="/"),g=e.substring(q+g.length).split(k),a.each(g,function(a){if(a.match(d))return j+=a.replace(b,"$1"),!1}));"tag"in f||(g=e.lastIndexOf("?"),-1!==g&&(e=e.substring(g+1),f.tag=l.getHash(c+e)));f.base=f.base||j;return f}function f(){var a= -j.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=g(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var j=a.Env.host&&a.Env.host.document,l=a.Loader.Utils,c="20131202152453",h="??",i=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:h,comboSep:i,charset:"utf-8",lang:"zh-cn",tag:c});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+ -"/"}):j&&j.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},f()))})(KISSY);KISSY.add("i18n",{alias:function(a,g){return g+"/i18n/"+a.Config.lang}}); -(function(a,g){function f(){if(!b){c&&!l.nodejs&&q(j,k,f);b=1;for(var e=0;eh.webkit;r&&d&&b&&(b=!1);b?(o.onload=l,o.onerror=function(){o.onerror=null;v(1)}):r?f.pollCss(o,function(){v(0)}):o.onreadystatechange=l;n&&(s=a.later(function(){v(1)},1E3*n));c||(c=f.docHead());r?c.appendChild(o):c.insertBefore(o,c.firstChild);return o}})(KISSY); +(function(a,g){function f(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");h?b=h.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var i=a.Loader,k=i.Utils,c=a.Env.host.location,h,m,b=a.Config.fns;if(!a.UA.nodejs&&c&&(m=c.href))h=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,h=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=f(b.base||b.path);b.name=c;b.base=e.toString(); +b.baseUri=e;b.runtime=a;delete b.path;h[c]?h[c].reset(b):h[c]=new i.Package(b)}),g):!1===b?(e.packages={},g):h};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=k.createModuleInfo(c,d,b);f.status===i.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=f(a);b.base=a.toString();b.baseUri=a;return g}})(KISSY); +(function(a,g){function f(b,c,e,f,l){var j=c&&c.length,i=[],k=[];a.each(c,function(c){var m,u={timeout:l,success:function(){k.push(c);m&&s&&("standard browser get mod name after load : "+m.name,d.registerModule(b,m.name,s.factory,s.config),s=g);--j||e(k,i)},error:function(){i.push(c);--j||e(k,i)},charset:f};c.combine||(m=c.mods[0],"css"===m.getType()?m=g:h&&(o=m.name,v=a.now(),u.attrs={"data-mod-name":m.name}));a.Config.loadModsFn(c,u)})}function i(b,d){a.mix(this,{runtime:b,waitingModules:d})}function k(a, +b){if(!a&&"function"===typeof b){var c=d.getRequiresFromFn(b);c.length&&(a=a||{},a.requires=c)}else a&&a.requires&&!a.cjs&&(a.cjs=0);return a}function c(a,b){for(var a=a.split(/\//),b=b.split(/\//),d=Math.min(a.length,b.length),c=0;ca.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,l=d.getHash,e=b.LOADING,r=b.LOADED,j=b.READY_TO_ATTACH,n=b.ERROR,q=a.now();i.groupTag=q;var s,o,v;i.add=function(b,c,e,f,l){if(3===l&&a.isArray(c))var j=c,c=e,e= +{requires:j,cjs:1};if("function"===typeof b||1===l)if(e=c,c=b,e=k(e,c),h){for(var b=a.Env.host.document.getElementsByTagName("script"),i,l=b.length-1;0<=l;l--)if(j=b[l],"interactive"===j.readyState){i=j;break}i?i=i.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+o,i=o);d.registerModule(f,i,c,e);o=null;v=0}else s={factory:c,config:e};else h?(o=null,v=0):s=g,e=k(e,c),d.registerModule(f,b,c,e)};a.augment(i,{use:function(b){var c= +a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){f(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){f(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| +(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,h,l,i=this.waitingModules,k=this.runtime,c=c||{},b=b||{};for(f=0;f=j||(l!==r&&!i.contains(g)&&(l!==e&&(h.status=e,c[g]=1),h.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(g)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= +{},g,h=this.runtime,l=0,j=b.length,i,k,m,o,n,v,r,s,G;le||v+i.join(d).length+o>b)i.pop(),k.pop(),H(),i=[],k=[],B--}else q.push({combine:0,fullpath:C,mods:[A]})}i.length&&H()}}return g}});m.ComboLoader=i})(KISSY); +(function(a,g){function f(b){a.mix(this,{fn:b,waitMods:{}})}var i=a.Loader,k=a.Env,c=i.Utils,h=a.setImmediate,m=i.ComboLoader;f.prototype={constructor:f,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};i.WaitingModules=f;a.mix(a,{add:function(b,c,f){m.add(b,c,f,a,arguments.length)},use:function(b,d){function l(){++q;var f=[],m=a.now(), +u;u=c.checkModsLoadRecursively(e,a,g,f);q+" check duration "+(a.now()-m);u?(c.attachModsRecursively(e,a),d&&(k?s():h(s))):f.length?j&&(k?j.apply(a,f):h(function(){j.apply(a,f)})):(q+" reload "+b,o.fn=l,i.use(e))}var e,i,j,k,q=0,s,o=new f(l);a.isPlainObject(d)&&(k=d.sync,j=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);i=new m(a,o);k?o.notifyAll():h(function(){o.notifyAll()});return a},require:function(b, +d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});k.mods={}})(KISSY); +(function(a){function g(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},g=f.comboPrefix||h,i=f.comboSep||m,n,q=e.indexOf(g);-1===q?n=e.replace(b,"$1"):(n=e.substring(0,q),"/"!==n.charAt(n.length-1)&&(n+="/"),g=e.substring(q+g.length).split(i),a.each(g,function(a){if(a.match(d))return n+=a.replace(b,"$1"),!1}));"tag"in f||(g=e.lastIndexOf("?"),-1!==g&&(e=e.substring(g+1),f.tag=k.getHash(c+e)));f.base=f.base||n;return f}function f(){var a= +i.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=g(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var i=a.Env.host&&a.Env.host.document,k=a.Loader.Utils,c="20131202173007",h="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:h,comboSep:m,charset:"utf-8",lang:"zh-cn",tag:c});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+ +"/"}):i&&i.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},f()))})(KISSY);KISSY.add("i18n",{alias:function(a,g){return g+"/i18n/"+a.Config.lang}}); +(function(a,g){function f(){if(!b){c&&!k.nodejs&&q(i,j,f);b=1;for(var e=0;eg.ieMode&&(j=null);if(j)a.add("json",function(){return a.JSON=j}),a.parseJson=function(a){return j.parse(a)};else{var l=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,h=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,i=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&l.test(b.replace(h,"@").replace(i,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var g=a.UA,f=a.Env.host,i=(g.nodejs&&"object"===typeof global?global:f).JSON;9>g.ieMode&&(i=null);if(i)a.add("json",function(){return a.JSON=i}),a.parseJson=function(a){return i.parse(a)};else{var k=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,h=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&k.test(b.replace(h,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/seed.js b/build/seed.js index d05679a856..b264d775dc 100644 --- a/build/seed.js +++ b/build/seed.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 2 15:25 +build time: Dec 2 17:30 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20131202152453' will replace with current timestamp when compressing. + * NOTICE: '20131202173007' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20131202152453', + __BUILD_TIME: '20131202173007', /** * KISSY Environment. @@ -118,10 +118,10 @@ var KISSY = (function (undefined) { /** * The version of the library. - * NOTICE: '1.50dev' will replace with current version when compressing. + * NOTICE: '1.41' will replace with current version when compressing. * @type {String} */ - version: '1.50dev', + version: '1.41', /** * set KISSY configuration @@ -247,7 +247,7 @@ var KISSY = (function (undefined) { } } /*global console*/ - if (console !== undefined && console.log && matched) { + if (typeof console !== 'undefined' && console.log && matched) { console[cat && console[cat] ? cat : 'log'](msg); return msg; } @@ -3357,6 +3357,7 @@ var KISSY = (function (undefined) { transformProperty, transitionPrefix, transformPrefix, + isTransform3dSupported, documentElement = doc.documentElement, documentElementStyle, isClassListSupportedState = true, @@ -3392,6 +3393,17 @@ var KISSY = (function (undefined) { var navigator = (win.navigator || {}); isMsPointerSupported = 'msPointerEnabled' in navigator; isPointerSupported = 'pointerEnabled' in navigator; + + if (transformPrefix) { + // https://gist.github.com/lorenzopolidori/3794226 + // ie9 does not support 3d transform + var el = document.createElement('p'); + documentElement.insertBefore(el, documentElement.firstChild); + el.style[transformPrefix] = 'translate3d(1px,1px,1px)'; + var has3d = window.getComputedStyle(el).getPropertyValue(transformPrefix); + documentElement.removeChild(el); + isTransform3dSupported = (has3d !== undefined && has3d.length > 0 && has3d !== 'none'); + } } /** @@ -3467,6 +3479,14 @@ var KISSY = (function (undefined) { return transformPrefix !== undefined; }, + /** + * whether support css transform 3d + * @returns {boolean} + */ + 'isTransform3dSupported': function () { + return isTransform3dSupported; + }, + /** * whether support class list api * @returns {boolean} @@ -5520,7 +5540,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20131202152453'; + var TIMESTAMP = '20131202173007'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/src/anim/demo/transform/more.html b/src/anim/demo/transform/more.html new file mode 100644 index 0000000000..ed371af785 --- /dev/null +++ b/src/anim/demo/transform/more.html @@ -0,0 +1,251 @@ + + + + + + + + + + +
+
+
+

双十二盛典揭幕礼!

+ +

+ 12月12日0点 + 淘宝首页 +

+ +

+ 一次可获百万元 +

+ + + 请提前安装 + 淘宝手机客户端 + + +
+
+
+
+ + + diff --git a/src/anim/sub-modules/timer/coverage/src/timer/transform.js b/src/anim/sub-modules/timer/coverage/src/timer/transform.js index 04709f5044..ee8c938ec1 100644 --- a/src/anim/sub-modules/timer/coverage/src/timer/transform.js +++ b/src/anim/sub-modules/timer/coverage/src/timer/transform.js @@ -232,75 +232,74 @@ if (! _$jscoverage['/timer/transform.js']) { _$jscoverage['/timer/transform.js'].lineData[6] = 0; _$jscoverage['/timer/transform.js'].lineData[7] = 0; _$jscoverage['/timer/transform.js'].lineData[8] = 0; - _$jscoverage['/timer/transform.js'].lineData[10] = 0; - _$jscoverage['/timer/transform.js'].lineData[11] = 0; + _$jscoverage['/timer/transform.js'].lineData[9] = 0; _$jscoverage['/timer/transform.js'].lineData[12] = 0; _$jscoverage['/timer/transform.js'].lineData[13] = 0; + _$jscoverage['/timer/transform.js'].lineData[14] = 0; _$jscoverage['/timer/transform.js'].lineData[15] = 0; - _$jscoverage['/timer/transform.js'].lineData[18] = 0; - _$jscoverage['/timer/transform.js'].lineData[19] = 0; + _$jscoverage['/timer/transform.js'].lineData[17] = 0; _$jscoverage['/timer/transform.js'].lineData[20] = 0; - _$jscoverage['/timer/transform.js'].lineData[27] = 0; + _$jscoverage['/timer/transform.js'].lineData[21] = 0; + _$jscoverage['/timer/transform.js'].lineData[22] = 0; _$jscoverage['/timer/transform.js'].lineData[29] = 0; - _$jscoverage['/timer/transform.js'].lineData[30] = 0; _$jscoverage['/timer/transform.js'].lineData[31] = 0; + _$jscoverage['/timer/transform.js'].lineData[32] = 0; _$jscoverage['/timer/transform.js'].lineData[33] = 0; - _$jscoverage['/timer/transform.js'].lineData[34] = 0; _$jscoverage['/timer/transform.js'].lineData[35] = 0; + _$jscoverage['/timer/transform.js'].lineData[36] = 0; _$jscoverage['/timer/transform.js'].lineData[37] = 0; - _$jscoverage['/timer/transform.js'].lineData[38] = 0; _$jscoverage['/timer/transform.js'].lineData[39] = 0; _$jscoverage['/timer/transform.js'].lineData[40] = 0; + _$jscoverage['/timer/transform.js'].lineData[41] = 0; _$jscoverage['/timer/transform.js'].lineData[42] = 0; - _$jscoverage['/timer/transform.js'].lineData[43] = 0; _$jscoverage['/timer/transform.js'].lineData[44] = 0; _$jscoverage['/timer/transform.js'].lineData[45] = 0; _$jscoverage['/timer/transform.js'].lineData[46] = 0; - _$jscoverage['/timer/transform.js'].lineData[51] = 0; - _$jscoverage['/timer/transform.js'].lineData[56] = 0; - _$jscoverage['/timer/transform.js'].lineData[67] = 0; - _$jscoverage['/timer/transform.js'].lineData[68] = 0; - _$jscoverage['/timer/transform.js'].lineData[79] = 0; - _$jscoverage['/timer/transform.js'].lineData[80] = 0; - _$jscoverage['/timer/transform.js'].lineData[83] = 0; - _$jscoverage['/timer/transform.js'].lineData[84] = 0; + _$jscoverage['/timer/transform.js'].lineData[47] = 0; + _$jscoverage['/timer/transform.js'].lineData[48] = 0; + _$jscoverage['/timer/transform.js'].lineData[53] = 0; + _$jscoverage['/timer/transform.js'].lineData[58] = 0; + _$jscoverage['/timer/transform.js'].lineData[69] = 0; + _$jscoverage['/timer/transform.js'].lineData[70] = 0; + _$jscoverage['/timer/transform.js'].lineData[81] = 0; + _$jscoverage['/timer/transform.js'].lineData[82] = 0; _$jscoverage['/timer/transform.js'].lineData[85] = 0; - _$jscoverage['/timer/transform.js'].lineData[92] = 0; - _$jscoverage['/timer/transform.js'].lineData[93] = 0; + _$jscoverage['/timer/transform.js'].lineData[86] = 0; + _$jscoverage['/timer/transform.js'].lineData[87] = 0; _$jscoverage['/timer/transform.js'].lineData[94] = 0; _$jscoverage['/timer/transform.js'].lineData[95] = 0; _$jscoverage['/timer/transform.js'].lineData[96] = 0; - _$jscoverage['/timer/transform.js'].lineData[101] = 0; - _$jscoverage['/timer/transform.js'].lineData[102] = 0; - _$jscoverage['/timer/transform.js'].lineData[107] = 0; - _$jscoverage['/timer/transform.js'].lineData[108] = 0; + _$jscoverage['/timer/transform.js'].lineData[97] = 0; + _$jscoverage['/timer/transform.js'].lineData[98] = 0; + _$jscoverage['/timer/transform.js'].lineData[103] = 0; + _$jscoverage['/timer/transform.js'].lineData[104] = 0; _$jscoverage['/timer/transform.js'].lineData[109] = 0; + _$jscoverage['/timer/transform.js'].lineData[110] = 0; _$jscoverage['/timer/transform.js'].lineData[111] = 0; - _$jscoverage['/timer/transform.js'].lineData[112] = 0; - _$jscoverage['/timer/transform.js'].lineData[116] = 0; - _$jscoverage['/timer/transform.js'].lineData[117] = 0; + _$jscoverage['/timer/transform.js'].lineData[113] = 0; + _$jscoverage['/timer/transform.js'].lineData[114] = 0; _$jscoverage['/timer/transform.js'].lineData[118] = 0; _$jscoverage['/timer/transform.js'].lineData[119] = 0; - _$jscoverage['/timer/transform.js'].lineData[122] = 0; - _$jscoverage['/timer/transform.js'].lineData[123] = 0; + _$jscoverage['/timer/transform.js'].lineData[120] = 0; + _$jscoverage['/timer/transform.js'].lineData[121] = 0; _$jscoverage['/timer/transform.js'].lineData[124] = 0; _$jscoverage['/timer/transform.js'].lineData[125] = 0; - _$jscoverage['/timer/transform.js'].lineData[128] = 0; - _$jscoverage['/timer/transform.js'].lineData[132] = 0; - _$jscoverage['/timer/transform.js'].lineData[135] = 0; - _$jscoverage['/timer/transform.js'].lineData[136] = 0; - _$jscoverage['/timer/transform.js'].lineData[139] = 0; + _$jscoverage['/timer/transform.js'].lineData[126] = 0; + _$jscoverage['/timer/transform.js'].lineData[127] = 0; + _$jscoverage['/timer/transform.js'].lineData[130] = 0; + _$jscoverage['/timer/transform.js'].lineData[134] = 0; + _$jscoverage['/timer/transform.js'].lineData[137] = 0; + _$jscoverage['/timer/transform.js'].lineData[138] = 0; _$jscoverage['/timer/transform.js'].lineData[141] = 0; - _$jscoverage['/timer/transform.js'].lineData[142] = 0; + _$jscoverage['/timer/transform.js'].lineData[143] = 0; _$jscoverage['/timer/transform.js'].lineData[144] = 0; - _$jscoverage['/timer/transform.js'].lineData[145] = 0; _$jscoverage['/timer/transform.js'].lineData[146] = 0; + _$jscoverage['/timer/transform.js'].lineData[147] = 0; _$jscoverage['/timer/transform.js'].lineData[148] = 0; _$jscoverage['/timer/transform.js'].lineData[150] = 0; - _$jscoverage['/timer/transform.js'].lineData[151] = 0; + _$jscoverage['/timer/transform.js'].lineData[152] = 0; _$jscoverage['/timer/transform.js'].lineData[153] = 0; - _$jscoverage['/timer/transform.js'].lineData[158] = 0; - _$jscoverage['/timer/transform.js'].lineData[159] = 0; + _$jscoverage['/timer/transform.js'].lineData[155] = 0; _$jscoverage['/timer/transform.js'].lineData[160] = 0; _$jscoverage['/timer/transform.js'].lineData[161] = 0; _$jscoverage['/timer/transform.js'].lineData[162] = 0; @@ -309,8 +308,10 @@ if (! _$jscoverage['/timer/transform.js']) { _$jscoverage['/timer/transform.js'].lineData[165] = 0; _$jscoverage['/timer/transform.js'].lineData[166] = 0; _$jscoverage['/timer/transform.js'].lineData[167] = 0; - _$jscoverage['/timer/transform.js'].lineData[175] = 0; + _$jscoverage['/timer/transform.js'].lineData[168] = 0; + _$jscoverage['/timer/transform.js'].lineData[169] = 0; _$jscoverage['/timer/transform.js'].lineData[177] = 0; + _$jscoverage['/timer/transform.js'].lineData[179] = 0; } if (! _$jscoverage['/timer/transform.js'].functionData) { _$jscoverage['/timer/transform.js'].functionData = []; @@ -327,65 +328,65 @@ if (! _$jscoverage['/timer/transform.js'].functionData) { } if (! _$jscoverage['/timer/transform.js'].branchData) { _$jscoverage['/timer/transform.js'].branchData = {}; - _$jscoverage['/timer/transform.js'].branchData['27'] = []; - _$jscoverage['/timer/transform.js'].branchData['27'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['42'] = []; - _$jscoverage['/timer/transform.js'].branchData['42'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['92'] = []; - _$jscoverage['/timer/transform.js'].branchData['92'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['108'] = []; - _$jscoverage['/timer/transform.js'].branchData['108'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['118'] = []; - _$jscoverage['/timer/transform.js'].branchData['118'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['124'] = []; - _$jscoverage['/timer/transform.js'].branchData['124'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['144'] = []; - _$jscoverage['/timer/transform.js'].branchData['144'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['145'] = []; - _$jscoverage['/timer/transform.js'].branchData['145'][1] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['145'][2] = new BranchData(); - _$jscoverage['/timer/transform.js'].branchData['150'] = []; - _$jscoverage['/timer/transform.js'].branchData['150'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['29'] = []; + _$jscoverage['/timer/transform.js'].branchData['29'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['44'] = []; + _$jscoverage['/timer/transform.js'].branchData['44'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['94'] = []; + _$jscoverage['/timer/transform.js'].branchData['94'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['110'] = []; + _$jscoverage['/timer/transform.js'].branchData['110'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['120'] = []; + _$jscoverage['/timer/transform.js'].branchData['120'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['126'] = []; + _$jscoverage['/timer/transform.js'].branchData['126'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['146'] = []; + _$jscoverage['/timer/transform.js'].branchData['146'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['147'] = []; + _$jscoverage['/timer/transform.js'].branchData['147'][1] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['147'][2] = new BranchData(); + _$jscoverage['/timer/transform.js'].branchData['152'] = []; + _$jscoverage['/timer/transform.js'].branchData['152'][1] = new BranchData(); } -_$jscoverage['/timer/transform.js'].branchData['150'][1].init(439, 7, 'self.to'); -function visit84_150_1(result) { - _$jscoverage['/timer/transform.js'].branchData['150'][1].ranCondition(result); +_$jscoverage['/timer/transform.js'].branchData['152'][1].init(439, 7, 'self.to'); +function visit84_152_1(result) { + _$jscoverage['/timer/transform.js'].branchData['152'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['145'][2].init(259, 20, 'self.from !== \'none\''); -function visit83_145_2(result) { - _$jscoverage['/timer/transform.js'].branchData['145'][2].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['147'][2].init(259, 20, 'self.from !== \'none\''); +function visit83_147_2(result) { + _$jscoverage['/timer/transform.js'].branchData['147'][2].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['145'][1].init(246, 33, 'self.from && self.from !== \'none\''); -function visit82_145_1(result) { - _$jscoverage['/timer/transform.js'].branchData['145'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['147'][1].init(246, 33, 'self.from && self.from !== \'none\''); +function visit82_147_1(result) { + _$jscoverage['/timer/transform.js'].branchData['147'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['144'][1].init(177, 51, 'Dom.style(self.anim.node, \'transform\') || self.from'); -function visit81_144_1(result) { - _$jscoverage['/timer/transform.js'].branchData['144'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['146'][1].init(177, 51, 'Dom.style(self.anim.node, \'transform\') || self.from'); +function visit81_146_1(result) { + _$jscoverage['/timer/transform.js'].branchData['146'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['124'][1].init(146, 16, 'val[1] || val[0]'); -function visit80_124_1(result) { - _$jscoverage['/timer/transform.js'].branchData['124'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['126'][1].init(146, 16, 'val[1] || val[0]'); +function visit80_126_1(result) { + _$jscoverage['/timer/transform.js'].branchData['126'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['118'][1].init(160, 11, 'val[1] || 0'); -function visit79_118_1(result) { - _$jscoverage['/timer/transform.js'].branchData['118'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['120'][1].init(160, 11, 'val[1] || 0'); +function visit79_120_1(result) { + _$jscoverage['/timer/transform.js'].branchData['120'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['108'][1].init(79, 23, '!S.endsWith(val, \'deg\')'); -function visit78_108_1(result) { - _$jscoverage['/timer/transform.js'].branchData['108'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['110'][1].init(79, 23, '!S.endsWith(val, \'deg\')'); +function visit78_110_1(result) { + _$jscoverage['/timer/transform.js'].branchData['110'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['92'][1].init(286, 7, '++i < l'); -function visit77_92_1(result) { - _$jscoverage['/timer/transform.js'].branchData['92'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['94'][1].init(286, 7, '++i < l'); +function visit77_94_1(result) { + _$jscoverage['/timer/transform.js'].branchData['94'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['42'][1].init(423, 13, 'A * D < B * C'); -function visit76_42_1(result) { - _$jscoverage['/timer/transform.js'].branchData['42'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['44'][1].init(423, 13, 'A * D < B * C'); +function visit76_44_1(result) { + _$jscoverage['/timer/transform.js'].branchData['44'][1].ranCondition(result); return result; -}_$jscoverage['/timer/transform.js'].branchData['27'][1].init(243, 13, 'A * D - B * C'); -function visit75_27_1(result) { - _$jscoverage['/timer/transform.js'].branchData['27'][1].ranCondition(result); +}_$jscoverage['/timer/transform.js'].branchData['29'][1].init(243, 13, 'A * D - B * C'); +function visit75_29_1(result) { + _$jscoverage['/timer/transform.js'].branchData['29'][1].ranCondition(result); return result; }_$jscoverage['/timer/transform.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -394,65 +395,67 @@ KISSY.add(function(S, require) { var Dom = require('dom'); _$jscoverage['/timer/transform.js'].lineData[8]++; var Fx = require('./fx'); - _$jscoverage['/timer/transform.js'].lineData[10]++; + _$jscoverage['/timer/transform.js'].lineData[9]++; + var translateTpl = S.Features.isTransform3dSupported() ? 'translate3d({translateX}px,{translateY}px,0)' : 'translate({translateX}px,{translateY}px)'; + _$jscoverage['/timer/transform.js'].lineData[12]++; function toMatrixArray(matrix) { _$jscoverage['/timer/transform.js'].functionData[1]++; - _$jscoverage['/timer/transform.js'].lineData[11]++; + _$jscoverage['/timer/transform.js'].lineData[13]++; matrix = matrix.split(/,/); - _$jscoverage['/timer/transform.js'].lineData[12]++; + _$jscoverage['/timer/transform.js'].lineData[14]++; matrix = S.map(matrix, function(v) { _$jscoverage['/timer/transform.js'].functionData[2]++; - _$jscoverage['/timer/transform.js'].lineData[13]++; + _$jscoverage['/timer/transform.js'].lineData[15]++; return myParse(v); }); - _$jscoverage['/timer/transform.js'].lineData[15]++; + _$jscoverage['/timer/transform.js'].lineData[17]++; return matrix; } - _$jscoverage['/timer/transform.js'].lineData[18]++; + _$jscoverage['/timer/transform.js'].lineData[20]++; function decomposeMatrix(matrix) { _$jscoverage['/timer/transform.js'].functionData[3]++; - _$jscoverage['/timer/transform.js'].lineData[19]++; + _$jscoverage['/timer/transform.js'].lineData[21]++; matrix = toMatrixArray(matrix); - _$jscoverage['/timer/transform.js'].lineData[20]++; + _$jscoverage['/timer/transform.js'].lineData[22]++; var scaleX, scaleY, skew, A = matrix[0], B = matrix[1], C = matrix[2], D = matrix[3]; - _$jscoverage['/timer/transform.js'].lineData[27]++; - if (visit75_27_1(A * D - B * C)) { - _$jscoverage['/timer/transform.js'].lineData[29]++; + _$jscoverage['/timer/transform.js'].lineData[29]++; + if (visit75_29_1(A * D - B * C)) { + _$jscoverage['/timer/transform.js'].lineData[31]++; scaleX = Math.sqrt(A * A + B * B); - _$jscoverage['/timer/transform.js'].lineData[30]++; + _$jscoverage['/timer/transform.js'].lineData[32]++; A /= scaleX; - _$jscoverage['/timer/transform.js'].lineData[31]++; - B /= scaleX; _$jscoverage['/timer/transform.js'].lineData[33]++; + B /= scaleX; + _$jscoverage['/timer/transform.js'].lineData[35]++; skew = A * C + B * D; - _$jscoverage['/timer/transform.js'].lineData[34]++; + _$jscoverage['/timer/transform.js'].lineData[36]++; C -= A * skew; - _$jscoverage['/timer/transform.js'].lineData[35]++; - D -= B * skew; _$jscoverage['/timer/transform.js'].lineData[37]++; + D -= B * skew; + _$jscoverage['/timer/transform.js'].lineData[39]++; scaleY = Math.sqrt(C * C + D * D); - _$jscoverage['/timer/transform.js'].lineData[38]++; + _$jscoverage['/timer/transform.js'].lineData[40]++; C /= scaleY; - _$jscoverage['/timer/transform.js'].lineData[39]++; + _$jscoverage['/timer/transform.js'].lineData[41]++; D /= scaleY; - _$jscoverage['/timer/transform.js'].lineData[40]++; - skew /= scaleY; _$jscoverage['/timer/transform.js'].lineData[42]++; - if (visit76_42_1(A * D < B * C)) { - _$jscoverage['/timer/transform.js'].lineData[43]++; + skew /= scaleY; + _$jscoverage['/timer/transform.js'].lineData[44]++; + if (visit76_44_1(A * D < B * C)) { + _$jscoverage['/timer/transform.js'].lineData[45]++; A = -A; - _$jscoverage['/timer/transform.js'].lineData[44]++; + _$jscoverage['/timer/transform.js'].lineData[46]++; B = -B; - _$jscoverage['/timer/transform.js'].lineData[45]++; + _$jscoverage['/timer/transform.js'].lineData[47]++; skew = -skew; - _$jscoverage['/timer/transform.js'].lineData[46]++; + _$jscoverage['/timer/transform.js'].lineData[48]++; scaleX = -scaleX; } } else { - _$jscoverage['/timer/transform.js'].lineData[51]++; + _$jscoverage['/timer/transform.js'].lineData[53]++; scaleX = scaleY = skew = 0; } - _$jscoverage['/timer/transform.js'].lineData[56]++; + _$jscoverage['/timer/transform.js'].lineData[58]++; return { 'translateX': myParse(matrix[4]), 'translateY': myParse(matrix[5]), @@ -462,10 +465,10 @@ KISSY.add(function(S, require) { 'scaleX': myParse(scaleX), 'scaleY': myParse(scaleY)}; } - _$jscoverage['/timer/transform.js'].lineData[67]++; + _$jscoverage['/timer/transform.js'].lineData[69]++; function defaultDecompose() { _$jscoverage['/timer/transform.js'].functionData[4]++; - _$jscoverage['/timer/transform.js'].lineData[68]++; + _$jscoverage['/timer/transform.js'].lineData[70]++; return { 'translateX': 0, 'translateY': 0, @@ -475,136 +478,136 @@ KISSY.add(function(S, require) { 'scaleX': 1, 'scaleY': 1}; } - _$jscoverage['/timer/transform.js'].lineData[79]++; + _$jscoverage['/timer/transform.js'].lineData[81]++; function myParse(v) { _$jscoverage['/timer/transform.js'].functionData[5]++; - _$jscoverage['/timer/transform.js'].lineData[80]++; + _$jscoverage['/timer/transform.js'].lineData[82]++; return Math.round(parseFloat(v) * 1e5) / 1e5; } - _$jscoverage['/timer/transform.js'].lineData[83]++; + _$jscoverage['/timer/transform.js'].lineData[85]++; function getTransformInfo(transform) { _$jscoverage['/timer/transform.js'].functionData[6]++; - _$jscoverage['/timer/transform.js'].lineData[84]++; + _$jscoverage['/timer/transform.js'].lineData[86]++; transform = transform.split(')'); - _$jscoverage['/timer/transform.js'].lineData[85]++; + _$jscoverage['/timer/transform.js'].lineData[87]++; var trim = S.trim, i = -1, l = transform.length - 1, split, prop, val, ret = defaultDecompose(); - _$jscoverage['/timer/transform.js'].lineData[92]++; - while (visit77_92_1(++i < l)) { - _$jscoverage['/timer/transform.js'].lineData[93]++; + _$jscoverage['/timer/transform.js'].lineData[94]++; + while (visit77_94_1(++i < l)) { + _$jscoverage['/timer/transform.js'].lineData[95]++; split = transform[i].split('('); - _$jscoverage['/timer/transform.js'].lineData[94]++; + _$jscoverage['/timer/transform.js'].lineData[96]++; prop = trim(split[0]); - _$jscoverage['/timer/transform.js'].lineData[95]++; + _$jscoverage['/timer/transform.js'].lineData[97]++; val = split[1]; - _$jscoverage['/timer/transform.js'].lineData[96]++; + _$jscoverage['/timer/transform.js'].lineData[98]++; switch (prop) { case 'translateX': case 'translateY': case 'scaleX': case 'scaleY': - _$jscoverage['/timer/transform.js'].lineData[101]++; + _$jscoverage['/timer/transform.js'].lineData[103]++; ret[prop] = myParse(val); - _$jscoverage['/timer/transform.js'].lineData[102]++; + _$jscoverage['/timer/transform.js'].lineData[104]++; break; case 'rotate': case 'skewX': case 'skewY': - _$jscoverage['/timer/transform.js'].lineData[107]++; + _$jscoverage['/timer/transform.js'].lineData[109]++; var v = myParse(val); - _$jscoverage['/timer/transform.js'].lineData[108]++; - if (visit78_108_1(!S.endsWith(val, 'deg'))) { - _$jscoverage['/timer/transform.js'].lineData[109]++; + _$jscoverage['/timer/transform.js'].lineData[110]++; + if (visit78_110_1(!S.endsWith(val, 'deg'))) { + _$jscoverage['/timer/transform.js'].lineData[111]++; v = v * 180 / Math.PI; } - _$jscoverage['/timer/transform.js'].lineData[111]++; + _$jscoverage['/timer/transform.js'].lineData[113]++; ret[prop] = v; - _$jscoverage['/timer/transform.js'].lineData[112]++; + _$jscoverage['/timer/transform.js'].lineData[114]++; break; case 'translate': case 'translate3d': - _$jscoverage['/timer/transform.js'].lineData[116]++; - val = val.split(','); - _$jscoverage['/timer/transform.js'].lineData[117]++; - ret.translateX = myParse(val[0]); _$jscoverage['/timer/transform.js'].lineData[118]++; - ret.translateY = myParse(visit79_118_1(val[1] || 0)); + val = val.split(','); _$jscoverage['/timer/transform.js'].lineData[119]++; + ret.translateX = myParse(val[0]); + _$jscoverage['/timer/transform.js'].lineData[120]++; + ret.translateY = myParse(visit79_120_1(val[1] || 0)); + _$jscoverage['/timer/transform.js'].lineData[121]++; break; case 'scale': - _$jscoverage['/timer/transform.js'].lineData[122]++; - val = val.split(','); - _$jscoverage['/timer/transform.js'].lineData[123]++; - ret.scaleX = myParse(val[0]); _$jscoverage['/timer/transform.js'].lineData[124]++; - ret.scaleY = myParse(visit80_124_1(val[1] || val[0])); + val = val.split(','); _$jscoverage['/timer/transform.js'].lineData[125]++; + ret.scaleX = myParse(val[0]); + _$jscoverage['/timer/transform.js'].lineData[126]++; + ret.scaleY = myParse(visit80_126_1(val[1] || val[0])); + _$jscoverage['/timer/transform.js'].lineData[127]++; break; case 'matrix': - _$jscoverage['/timer/transform.js'].lineData[128]++; + _$jscoverage['/timer/transform.js'].lineData[130]++; return decomposeMatrix(val); } } - _$jscoverage['/timer/transform.js'].lineData[132]++; + _$jscoverage['/timer/transform.js'].lineData[134]++; return ret; } - _$jscoverage['/timer/transform.js'].lineData[135]++; + _$jscoverage['/timer/transform.js'].lineData[137]++; function TransformFx() { _$jscoverage['/timer/transform.js'].functionData[7]++; - _$jscoverage['/timer/transform.js'].lineData[136]++; + _$jscoverage['/timer/transform.js'].lineData[138]++; TransformFx.superclass.constructor.apply(this, arguments); } - _$jscoverage['/timer/transform.js'].lineData[139]++; + _$jscoverage['/timer/transform.js'].lineData[141]++; S.extend(TransformFx, Fx, { load: function() { _$jscoverage['/timer/transform.js'].functionData[8]++; - _$jscoverage['/timer/transform.js'].lineData[141]++; + _$jscoverage['/timer/transform.js'].lineData[143]++; var self = this; - _$jscoverage['/timer/transform.js'].lineData[142]++; - TransformFx.superclass.load.apply(self, arguments); _$jscoverage['/timer/transform.js'].lineData[144]++; - self.from = visit81_144_1(Dom.style(self.anim.node, 'transform') || self.from); - _$jscoverage['/timer/transform.js'].lineData[145]++; - if (visit82_145_1(self.from && visit83_145_2(self.from !== 'none'))) { - _$jscoverage['/timer/transform.js'].lineData[146]++; + TransformFx.superclass.load.apply(self, arguments); + _$jscoverage['/timer/transform.js'].lineData[146]++; + self.from = visit81_146_1(Dom.style(self.anim.node, 'transform') || self.from); + _$jscoverage['/timer/transform.js'].lineData[147]++; + if (visit82_147_1(self.from && visit83_147_2(self.from !== 'none'))) { + _$jscoverage['/timer/transform.js'].lineData[148]++; self.from = getTransformInfo(self.from); } else { - _$jscoverage['/timer/transform.js'].lineData[148]++; + _$jscoverage['/timer/transform.js'].lineData[150]++; self.from = defaultDecompose(); } - _$jscoverage['/timer/transform.js'].lineData[150]++; - if (visit84_150_1(self.to)) { - _$jscoverage['/timer/transform.js'].lineData[151]++; + _$jscoverage['/timer/transform.js'].lineData[152]++; + if (visit84_152_1(self.to)) { + _$jscoverage['/timer/transform.js'].lineData[153]++; self.to = getTransformInfo(self.to); } else { - _$jscoverage['/timer/transform.js'].lineData[153]++; + _$jscoverage['/timer/transform.js'].lineData[155]++; self.to = defaultDecompose(); } }, interpolate: function(from, to, pos) { _$jscoverage['/timer/transform.js'].functionData[9]++; - _$jscoverage['/timer/transform.js'].lineData[158]++; + _$jscoverage['/timer/transform.js'].lineData[160]++; var interpolate = TransformFx.superclass.interpolate; - _$jscoverage['/timer/transform.js'].lineData[159]++; + _$jscoverage['/timer/transform.js'].lineData[161]++; var ret = {}; - _$jscoverage['/timer/transform.js'].lineData[160]++; + _$jscoverage['/timer/transform.js'].lineData[162]++; ret.translateX = interpolate(from.translateX, to.translateX, pos); - _$jscoverage['/timer/transform.js'].lineData[161]++; + _$jscoverage['/timer/transform.js'].lineData[163]++; ret.translateY = interpolate(from.translateY, to.translateY, pos); - _$jscoverage['/timer/transform.js'].lineData[162]++; + _$jscoverage['/timer/transform.js'].lineData[164]++; ret.rotate = interpolate(from.rotate, to.rotate, pos); - _$jscoverage['/timer/transform.js'].lineData[163]++; + _$jscoverage['/timer/transform.js'].lineData[165]++; ret.skewX = interpolate(from.skewX, to.skewX, pos); - _$jscoverage['/timer/transform.js'].lineData[164]++; + _$jscoverage['/timer/transform.js'].lineData[166]++; ret.skewY = interpolate(from.skewY, to.skewY, pos); - _$jscoverage['/timer/transform.js'].lineData[165]++; + _$jscoverage['/timer/transform.js'].lineData[167]++; ret.scaleX = interpolate(from.scaleX, to.scaleX, pos); - _$jscoverage['/timer/transform.js'].lineData[166]++; + _$jscoverage['/timer/transform.js'].lineData[168]++; ret.scaleY = interpolate(from.scaleY, to.scaleY, pos); - _$jscoverage['/timer/transform.js'].lineData[167]++; - return S.substitute('translate3d({translateX}px,{translateY}px,0) ' + 'rotate({rotate}deg) ' + 'skewX({skewX}deg) ' + 'skewY({skewY}deg) ' + 'scale({scaleX},{scaleY})', ret); + _$jscoverage['/timer/transform.js'].lineData[169]++; + return S.substitute(translateTpl + ' ' + 'rotate({rotate}deg) ' + 'skewX({skewX}deg) ' + 'skewY({skewY}deg) ' + 'scale({scaleX},{scaleY})', ret); }}); - _$jscoverage['/timer/transform.js'].lineData[175]++; - Fx.Factories.transform = TransformFx; _$jscoverage['/timer/transform.js'].lineData[177]++; + Fx.Factories.transform = TransformFx; + _$jscoverage['/timer/transform.js'].lineData[179]++; return TransformFx; }); diff --git a/src/anim/sub-modules/timer/src/timer/transform.js b/src/anim/sub-modules/timer/src/timer/transform.js index e734bc43d0..3bc8bafdc8 100644 --- a/src/anim/sub-modules/timer/src/timer/transform.js +++ b/src/anim/sub-modules/timer/src/timer/transform.js @@ -3,9 +3,11 @@ * animation for transform property * @author yiminghe@gmail.com */ -KISSY.add(function (S,require) { +KISSY.add(function (S, require) { var Dom = require('dom'); var Fx = require('./fx'); + var translateTpl = S.Features.isTransform3dSupported() ? + 'translate3d({translateX}px,{translateY}px,0)' : 'translate({translateX}px,{translateY}px)'; function toMatrixArray(matrix) { matrix = matrix.split(/,/); @@ -164,7 +166,7 @@ KISSY.add(function (S,require) { ret.skewY = interpolate(from.skewY, to.skewY, pos); ret.scaleX = interpolate(from.scaleX, to.scaleX, pos); ret.scaleY = interpolate(from.scaleY, to.scaleY, pos); - return S.substitute('translate3d({translateX}px,{translateY}px,0) ' + + return S.substitute(translateTpl + ' ' + 'rotate({rotate}deg) ' + 'skewX({skewX}deg) ' + 'skewY({skewY}deg) ' + diff --git a/src/dom/sub-modules/ie/tests/manual/transform.html b/src/dom/sub-modules/ie/tests/manual/transform.html index f8598a5648..b0a87eefc4 100644 --- a/src/dom/sub-modules/ie/tests/manual/transform.html +++ b/src/dom/sub-modules/ie/tests/manual/transform.html @@ -13,35 +13,47 @@ border: 1px solid red; } - #shapeT,#shapeT2 { + #shapeT, #shapeT2 { border: 1px solid green; } - #t2,#shapeT2 { + #t2, #shapeT2 { left: 500px; top: 400px; } + + #t3, #shapeT3 { + left: 900px; + top: 200px; + }
-
-
+
+
-
-
+
+ +
+
+ ') : ''}); } _$jscoverage['/editor.js'].lineData[1109]++; @@ -2448,7 +2448,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/editor.js'].lineData[1135]++; iframeDom.src = iframeDom.src; _$jscoverage['/editor.js'].lineData[1138]++; - if (visit1243_1138_1(IS_IE < 7)) { + if (visit1242_1138_1(IS_IE < 7)) { _$jscoverage['/editor.js'].lineData[1139]++; setTimeout(run, 10); _$jscoverage['/editor.js'].lineData[1140]++; @@ -2480,9 +2480,9 @@ KISSY.add(function(S, require, exports, module) { function createIframe(self, afterData) { _$jscoverage['/editor.js'].functionData[71]++; _$jscoverage['/editor.js'].lineData[1160]++; - var iframeSrc = visit1244_1160_1($(window).getEmptyIframeSrc() || ''); + var iframeSrc = visit1243_1160_1($(window).getEmptyIframeSrc() || ''); _$jscoverage['/editor.js'].lineData[1161]++; - if (visit1245_1161_1(iframeSrc)) { + if (visit1244_1161_1(iframeSrc)) { _$jscoverage['/editor.js'].lineData[1162]++; iframeSrc = ' src="' + iframeSrc + '" '; } @@ -2491,7 +2491,7 @@ KISSY.add(function(S, require, exports, module) { iframeSrc: iframeSrc, prefixCls: self.get('prefixCls')})), textarea = self.get('textarea'); _$jscoverage['/editor.js'].lineData[1169]++; - if (visit1246_1169_1(textarea.hasAttr('tabindex'))) { + if (visit1245_1169_1(textarea.hasAttr('tabindex'))) { _$jscoverage['/editor.js'].lineData[1170]++; iframe.attr('tabindex', UA.webkit ? -1 : textarea.attr('tabindex')); } @@ -2502,7 +2502,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/editor.js'].lineData[1174]++; self.__docReady = 0; _$jscoverage['/editor.js'].lineData[1176]++; - if (visit1247_1176_1(UA.gecko && !iframe.__loaded)) { + if (visit1246_1176_1(UA.gecko && !iframe.__loaded)) { _$jscoverage['/editor.js'].lineData[1177]++; iframe.on('load', function() { _$jscoverage['/editor.js'].functionData[72]++; @@ -2518,7 +2518,7 @@ KISSY.add(function(S, require, exports, module) { function clearIframeDocContent(self) { _$jscoverage['/editor.js'].functionData[73]++; _$jscoverage['/editor.js'].lineData[1187]++; - if (visit1248_1187_1(!self.get('iframe'))) { + if (visit1247_1187_1(!self.get('iframe'))) { _$jscoverage['/editor.js'].lineData[1188]++; return; } diff --git a/src/editor/coverage/src/editor/selectionFix.js b/src/editor/coverage/src/editor/selectionFix.js index 782b509333..b13b5c1499 100644 --- a/src/editor/coverage/src/editor/selectionFix.js +++ b/src/editor/coverage/src/editor/selectionFix.js @@ -233,165 +233,164 @@ if (! _$jscoverage['/editor/selectionFix.js']) { _$jscoverage['/editor/selectionFix.js'].lineData[11] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[12] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[13] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[14] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[16] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[15] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[26] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[27] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[28] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[34] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[35] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[36] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[37] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[38] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[39] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[42] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[45] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[41] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[44] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[48] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[49] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[50] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[52] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[53] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[54] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[55] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[56] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[57] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[58] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[61] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[62] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[63] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[66] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[68] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[70] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[65] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[67] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[69] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[71] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[72] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[73] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[76] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[79] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[82] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[75] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[78] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[81] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[87] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[88] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[89] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[90] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[91] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[92] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[94] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[95] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[96] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[99] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[98] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[100] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[101] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[102] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[103] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[104] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[105] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[106] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[107] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[108] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[115] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[116] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[124] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[113] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[114] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[122] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[127] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[128] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[129] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[130] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[131] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[132] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[143] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[152] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[157] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[160] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[161] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[181] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[182] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[185] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[186] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[141] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[150] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[155] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[158] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[159] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[179] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[180] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[183] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[184] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[189] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[191] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[193] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[196] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[197] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[203] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[207] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[210] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[211] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[214] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[217] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[218] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[223] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[224] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[194] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[195] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[201] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[205] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[208] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[209] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[212] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[215] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[216] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[221] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[222] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[246] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[248] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[250] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[252] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[253] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[254] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[255] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[256] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[258] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[260] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[262] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[263] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[276] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[281] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[261] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[274] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[279] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[280] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[282] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[284] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[286] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[291] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[292] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[289] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[290] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[295] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[297] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[299] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[302] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[306] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[300] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[304] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[305] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[307] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[308] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[309] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[310] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[311] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[312] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[317] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[315] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[319] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[321] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[323] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[326] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[338] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[341] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[345] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[346] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[349] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[352] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[353] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[324] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[336] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[339] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[343] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[344] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[347] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[350] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[351] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[355] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[356] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[357] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[358] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[359] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[362] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[363] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[360] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[361] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[367] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[369] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[371] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[377] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[379] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[380] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[381] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[382] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[383] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[384] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[385] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[389] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[395] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[387] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[393] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[394] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[396] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[398] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[407] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[411] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[412] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[405] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[409] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[410] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[414] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[415] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[416] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[417] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[418] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[420] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[421] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[419] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[425] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[426] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[427] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[428] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[429] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[431] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[430] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[432] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[434] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[433] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[435] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[437] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[440] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[438] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[444] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[446] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[448] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[455] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[453] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[458] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[460] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[462] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[463] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[464] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[465] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[466] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[467] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[471] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[473] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[475] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[476] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[477] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[478] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[479] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[481] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[483] = 0; + _$jscoverage['/editor/selectionFix.js'].lineData[482] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[484] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[485] = 0; - _$jscoverage['/editor/selectionFix.js'].lineData[486] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[487] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[488] = 0; _$jscoverage['/editor/selectionFix.js'].lineData[489] = 0; @@ -433,408 +432,403 @@ if (! _$jscoverage['/editor/selectionFix.js'].functionData) { _$jscoverage['/editor/selectionFix.js'].functionData[29] = 0; _$jscoverage['/editor/selectionFix.js'].functionData[30] = 0; _$jscoverage['/editor/selectionFix.js'].functionData[31] = 0; + _$jscoverage['/editor/selectionFix.js'].functionData[32] = 0; } if (! _$jscoverage['/editor/selectionFix.js'].branchData) { _$jscoverage['/editor/selectionFix.js'].branchData = {}; - _$jscoverage['/editor/selectionFix.js'].branchData['53'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['53'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['53'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['53'][3] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['66'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['66'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['70'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['70'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['72'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['72'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['52'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['52'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['52'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['52'][3] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['65'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['65'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['69'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['69'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['71'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['71'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['89'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['89'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['90'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['90'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['91'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['91'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['95'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['95'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['102'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['102'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['125'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['125'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['131'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['131'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['185'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['185'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['191'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['191'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['196'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['196'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['217'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['217'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['94'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['94'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['101'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['101'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['123'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['123'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['129'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['129'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['183'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['183'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['189'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['189'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['194'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['194'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['215'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['215'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['260'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['260'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['262'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['262'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['264'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['264'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['265'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['265'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['276'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['276'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['276'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['276'][3] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['281'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['281'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['263'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['263'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['274'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['274'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['274'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['274'][3] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['279'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['279'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['290'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['290'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['290'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['290'][3] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['290'][4] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['291'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['291'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['292'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['292'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['292'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['292'][3] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['292'][4] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['293'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['293'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['294'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['294'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['295'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['295'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['299'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['299'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['353'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['353'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['353'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['359'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['359'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['363'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['363'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['375'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['375'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['379'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['379'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['383'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['383'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['389'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['389'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['297'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['297'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['351'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['351'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['351'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['357'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['357'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['361'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['361'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['373'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['373'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['377'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['377'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['381'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['381'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['387'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['387'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['393'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['393'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['394'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['394'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['395'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['395'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['396'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['396'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['397'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['397'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['398'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['398'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['400'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['400'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['400'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['400'][3] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['400'][4] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['402'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['402'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['402'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['402'][3] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['402'][4] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['404'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['404'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['404'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['411'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['411'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['411'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['416'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['416'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['417'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['417'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['421'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['421'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['409'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['409'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['409'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['414'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['414'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['415'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['415'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['419'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['419'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['423'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['423'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['425'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['425'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['427'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['427'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['429'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['429'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['430'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['430'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['430'][2] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['435'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['435'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['436'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['436'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['436'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['428'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['428'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['428'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['433'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['433'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['434'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['434'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['434'][2] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['462'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['462'][1] = new BranchData(); _$jscoverage['/editor/selectionFix.js'].branchData['464'] = []; _$jscoverage['/editor/selectionFix.js'].branchData['464'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['466'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['466'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['477'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['477'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['483'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['483'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['486'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['486'][1] = new BranchData(); - _$jscoverage['/editor/selectionFix.js'].branchData['487'] = []; - _$jscoverage['/editor/selectionFix.js'].branchData['487'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['475'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['475'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['481'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['481'][1] = new BranchData(); + _$jscoverage['/editor/selectionFix.js'].branchData['488'] = []; + _$jscoverage['/editor/selectionFix.js'].branchData['488'][1] = new BranchData(); } -_$jscoverage['/editor/selectionFix.js'].branchData['487'][1].init(179, 6, '!range'); -function visit821_487_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['487'][1].ranCondition(result); +_$jscoverage['/editor/selectionFix.js'].branchData['488'][1].init(33, 11, 'savedRanges'); +function visit820_488_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['488'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['486'][1].init(108, 37, 'selection && selection.getRanges()[0]'); -function visit820_486_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['486'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['481'][1].init(163, 5, 'UA.ie'); +function visit819_481_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['481'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['483'][1].init(149, 16, 'UA.ieMode === 11'); -function visit819_483_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['483'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['475'][1].init(84, 18, 'document.selection'); +function visit818_475_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['475'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['477'][1].init(84, 18, 'document.selection'); -function visit818_477_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['477'][1].ranCondition(result); - return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['466'][1].init(98, 6, '!UA.ie'); -function visit817_466_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['466'][1].ranCondition(result); - return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['464'][1].init(4141, 41, 'lastPath.blockLimit.nodeName() !== \'body\''); -function visit816_464_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['464'][1].init(98, 6, '!UA.ie'); +function visit817_464_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['464'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['436'][2].init(149, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit815_436_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['436'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['462'][1].init(4141, 41, 'lastPath.blockLimit.nodeName() !== \'body\''); +function visit816_462_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['462'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['436'][1].init(42, 81, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit814_436_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['436'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['434'][2].init(149, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); +function visit815_434_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['434'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['435'][1].init(104, 124, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit813_435_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['435'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['434'][1].init(42, 81, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); +function visit814_434_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['434'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['430'][2].init(141, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit812_430_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['430'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['433'][1].init(104, 124, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); +function visit813_433_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['433'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['430'][1].init(38, 83, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit811_430_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['430'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['428'][2].init(141, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); +function visit812_428_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['428'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['429'][1].init(100, 122, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit810_429_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['429'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['428'][1].init(38, 83, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); +function visit811_428_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['428'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['427'][1].init(80, 28, 'isBlankParagraph(fixedBlock)'); -function visit809_427_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['427'][1].init(100, 122, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); +function visit810_427_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['427'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['425'][1].init(216, 35, 'fixedBlock[0] !== body[0].lastChild'); -function visit808_425_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['425'][1].init(80, 28, 'isBlankParagraph(fixedBlock)'); +function visit809_425_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['425'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['421'][1].init(210, 252, 'fixedBlock && fixedBlock[0] !== body[0].lastChild'); -function visit807_421_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['421'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['423'][1].init(216, 35, 'fixedBlock[0] !== body[0].lastChild'); +function visit808_423_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['423'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['417'][1].init(21, 42, 'range.startContainer.nodeName() === \'html\''); -function visit806_417_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['417'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['419'][1].init(210, 252, 'fixedBlock && fixedBlock[0] !== body[0].lastChild'); +function visit807_419_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['419'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['416'][1].init(1869, 32, 'blockLimit.nodeName() === \'body\''); -function visit805_416_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['416'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['415'][1].init(21, 42, 'range.startContainer.nodeName() === \'html\''); +function visit806_415_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['415'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['411'][2].init(1749, 30, '!range.collapsed || path.block'); -function visit804_411_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['411'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['414'][1].init(1869, 32, 'blockLimit.nodeName() === \'body\''); +function visit805_414_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['414'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['411'][1].init(1739, 40, '!range || !range.collapsed || path.block'); -function visit803_411_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['411'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['409'][2].init(1749, 30, '!range.collapsed || path.block'); +function visit804_409_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['409'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['404'][2].init(461, 30, 'pathBlock.nodeName() !== \'pre\''); -function visit802_404_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['404'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['409'][1].init(1739, 40, '!range || !range.collapsed || path.block'); +function visit803_409_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['409'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['404'][1].init(130, 121, 'pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit801_404_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['404'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['402'][2].init(461, 30, 'pathBlock.nodeName() !== \'pre\''); +function visit802_402_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['402'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['402'][4].init(344, 26, 'lastNode[0].nodeType === 1'); -function visit800_402_4(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['402'][4].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['402'][1].init(130, 121, 'pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); +function visit801_402_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['402'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['402'][3].init(344, 59, 'lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); -function visit799_402_3(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['402'][3].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['400'][4].init(344, 26, 'lastNode[0].nodeType === 1'); +function visit800_400_4(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['400'][4].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['402'][2].init(332, 71, 'lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); -function visit798_402_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['402'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['400'][3].init(344, 59, 'lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); +function visit799_400_3(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['400'][3].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['402'][1].init(98, 252, '!(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit797_402_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['402'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['400'][2].init(332, 71, 'lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); +function visit798_400_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['400'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['400'][1].init(70, 351, 'pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit796_400_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['400'][1].init(98, 252, '!(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); +function visit797_400_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['400'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['398'][1].init(156, 422, 'pathBlock && pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit795_398_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['398'][1].init(70, 351, 'pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); +function visit796_398_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['398'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['397'][1].init(77, 39, 'pathBlock && pathBlock.last(isNotEmpty)'); -function visit794_397_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['397'][1].ranCondition(result); - return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['396'][1].init(33, 29, 'path.block || path.blockLimit'); -function visit793_396_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['396'][1].init(156, 422, 'pathBlock && pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); +function visit795_396_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['396'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['395'][1].init(1049, 8, 'UA.gecko'); -function visit792_395_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['395'][1].init(77, 39, 'pathBlock && pathBlock.last(isNotEmpty)'); +function visit794_395_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['395'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['389'][1].init(779, 18, 'blockLimit || body'); -function visit791_389_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['389'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['394'][1].init(33, 29, 'path.block || path.blockLimit'); +function visit793_394_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['394'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['383'][1].init(198, 5, 'range'); -function visit790_383_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['383'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['393'][1].init(1049, 8, 'UA.gecko'); +function visit792_393_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['393'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['379'][1].init(419, 8, '!body[0]'); -function visit789_379_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['379'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['387'][1].init(779, 18, 'blockLimit || body'); +function visit791_387_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['387'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['375'][1].init(189, 37, 'selection && selection.getRanges()[0]'); -function visit788_375_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['375'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['381'][1].init(198, 5, 'range'); +function visit790_381_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['381'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['363'][1].init(20, 44, 'isNotWhitespace(node) && isNotBookmark(node)'); -function visit787_363_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['363'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['377'][1].init(419, 8, '!body[0]'); +function visit789_377_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['377'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['359'][1].init(60, 64, 'element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]'); -function visit786_359_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['359'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['373'][1].init(189, 37, 'selection && selection.getRanges()[0]'); +function visit788_373_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['373'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['353'][2].init(45, 19, 'node.nodeType !== 8'); -function visit785_353_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['353'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['361'][1].init(20, 44, 'isNotWhitespace(node) && isNotBookmark(node)'); +function visit787_361_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['361'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['353'][1].init(20, 44, 'isNotWhitespace(node) && node.nodeType !== 8'); -function visit784_353_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['353'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['357'][1].init(60, 64, 'element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]'); +function visit786_357_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['357'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['299'][1].init(1837, 33, 'nativeSel && sel.getRanges()[0]'); -function visit783_299_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['299'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['351'][2].init(45, 19, 'node.nodeType !== 8'); +function visit785_351_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['351'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['295'][1].init(64, 108, '(parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit782_295_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['295'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['351'][1].init(20, 44, 'isNotWhitespace(node) && node.nodeType !== 8'); +function visit784_351_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['351'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['294'][1].init(62, 173, '(parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit781_294_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['294'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['297'][1].init(1837, 33, 'nativeSel && sel.getRanges()[0]'); +function visit783_297_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['297'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['293'][1].init(53, 236, '(parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit780_293_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['293'][1].init(64, 108, '(parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit782_293_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['293'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['292'][4].init(1468, 28, 'nativeSel.type !== \'Control\''); -function visit779_292_4(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['292'][4].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['292'][1].init(62, 173, '(parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit781_292_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['292'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['292'][3].init(1468, 290, 'nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit778_292_3(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['292'][3].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['291'][1].init(53, 236, '(parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit780_291_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['291'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['292'][2].init(1450, 308, 'nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit777_292_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['292'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['290'][4].init(1468, 28, 'nativeSel.type !== \'Control\''); +function visit779_290_4(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['290'][4].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['292'][1].init(1437, 321, 'nativeSel && nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit776_292_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['292'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['290'][3].init(1468, 290, 'nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit778_290_3(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['290'][3].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['281'][1].init(276, 39, '!doc.queryCommandEnabled(\'InsertImage\')'); -function visit775_281_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['281'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['290'][2].init(1450, 308, 'nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit777_290_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['290'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['276'][3].init(714, 27, 'type === KES.SELECTION_NONE'); -function visit774_276_3(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['276'][3].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['290'][1].init(1437, 321, 'nativeSel && nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); +function visit776_290_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['290'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['276'][2].init(701, 40, 'nativeSel && type === KES.SELECTION_NONE'); -function visit773_276_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['276'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['279'][1].init(276, 39, '!doc.queryCommandEnabled(\'InsertImage\')'); +function visit775_279_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['279'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['276'][1].init(691, 50, 'testIt && nativeSel && type === KES.SELECTION_NONE'); -function visit772_276_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['276'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['274'][3].init(714, 27, 'type === KES.SELECTION_NONE'); +function visit774_274_3(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['274'][3].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['265'][1].init(113, 20, 'sel && doc.selection'); -function visit771_265_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['265'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['274'][2].init(701, 40, 'nativeSel && type === KES.SELECTION_NONE'); +function visit773_274_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['274'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['264'][1].init(59, 20, 'sel && sel.getType()'); -function visit770_264_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['264'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['274'][1].init(691, 50, 'testIt && nativeSel && type === KES.SELECTION_NONE'); +function visit772_274_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['274'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['262'][1].init(56, 11, 'saveEnabled'); -function visit769_262_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['263'][1].init(113, 20, 'sel && doc.selection'); +function visit771_263_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['263'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/selectionFix.js'].branchData['262'][1].init(59, 20, 'sel && sel.getType()'); +function visit770_262_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['262'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['217'][1].init(178, 17, 'evt.relatedTarget'); -function visit768_217_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['217'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['260'][1].init(56, 11, 'saveEnabled'); +function visit769_260_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['260'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['196'][1].init(119, 14, 'restoreEnabled'); -function visit767_196_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['196'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['215'][1].init(178, 17, 'evt.relatedTarget'); +function visit768_215_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['215'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['191'][1].init(364, 10, 'savedRange'); -function visit766_191_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['191'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['194'][1].init(119, 14, 'restoreEnabled'); +function visit767_194_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['194'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['185'][1].init(200, 23, 't.nodeName() !== \'body\''); -function visit765_185_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['185'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['189'][1].init(364, 10, 'savedRange'); +function visit766_189_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['189'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['131'][1].init(67, 23, 't.nodeName() === \'html\''); -function visit764_131_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['131'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['183'][1].init(200, 23, 't.nodeName() !== \'body\''); +function visit765_183_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['183'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['125'][1].init(30, 15, 'S.UA.ieMode < 8'); -function visit763_125_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['125'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['129'][1].init(67, 23, 't.nodeName() === \'html\''); +function visit764_129_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['129'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['102'][1].init(506, 8, 'startRng'); -function visit762_102_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['102'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['123'][1].init(30, 15, 'S.UA.ieMode < 8'); +function visit763_123_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['95'][1].init(228, 37, 'html.scrollHeight > html.clientHeight'); -function visit761_95_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['95'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['101'][1].init(506, 8, 'startRng'); +function visit762_101_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['101'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['91'][1].init(21, 7, 'started'); -function visit760_91_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['91'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['94'][1].init(228, 37, 'html.scrollHeight > html.clientHeight'); +function visit761_94_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['94'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['90'][1].init(61, 17, 'e.target === html'); -function visit759_90_1(result) { +}_$jscoverage['/editor/selectionFix.js'].branchData['90'][1].init(21, 7, 'started'); +function visit760_90_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['90'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['72'][1].init(119, 55, 'pointRng.compareEndPoints(\'StartToStart\', startRng) > 0'); -function visit758_72_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['72'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['89'][1].init(61, 17, 'e.target === html'); +function visit759_89_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['89'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/selectionFix.js'].branchData['71'][1].init(119, 55, 'pointRng.compareEndPoints(\'StartToStart\', startRng) > 0'); +function visit758_71_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['71'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['70'][1].init(133, 8, 'pointRng'); -function visit757_70_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['70'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['69'][1].init(133, 8, 'pointRng'); +function visit757_69_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['69'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['66'][1].init(94, 8, 'e.button'); -function visit756_66_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['66'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['65'][1].init(94, 8, 'e.button'); +function visit756_65_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['65'][1].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['53'][3].init(165, 45, 'rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit755_53_3(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['53'][3].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['52'][3].init(165, 45, 'rng.compareEndPoints(\'StartToEnd\', rng) === 0'); +function visit755_52_3(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['52'][3].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['53'][2].init(152, 58, '!rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit754_53_2(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['53'][2].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['52'][2].init(152, 58, '!rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); +function visit754_52_2(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['52'][2].ranCondition(result); return result; -}_$jscoverage['/editor/selectionFix.js'].branchData['53'][1].init(140, 70, 'startRng && !rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit753_53_1(result) { - _$jscoverage['/editor/selectionFix.js'].branchData['53'][1].ranCondition(result); +}_$jscoverage['/editor/selectionFix.js'].branchData['52'][1].init(140, 70, 'startRng && !rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); +function visit753_52_1(result) { + _$jscoverage['/editor/selectionFix.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].lineData[10]++; KISSY.add(function(S, require) { @@ -844,436 +838,436 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[12]++; require('./selection'); _$jscoverage['/editor/selectionFix.js'].lineData[13]++; - var KERange = require('./range'); - _$jscoverage['/editor/selectionFix.js'].lineData[14]++; var Node = require('node'); - _$jscoverage['/editor/selectionFix.js'].lineData[16]++; + _$jscoverage['/editor/selectionFix.js'].lineData[15]++; var TRUE = true, FALSE = false, NULL = null, UA = S.UA, Dom = S.DOM, KES = Editor.SelectionType; - _$jscoverage['/editor/selectionFix.js'].lineData[27]++; + _$jscoverage['/editor/selectionFix.js'].lineData[26]++; function fixCursorForIE(editor) { _$jscoverage['/editor/selectionFix.js'].functionData[1]++; - _$jscoverage['/editor/selectionFix.js'].lineData[28]++; + _$jscoverage['/editor/selectionFix.js'].lineData[27]++; var started, win = editor.get('window')[0], $doc = editor.get('document'), doc = $doc[0], startRng; - _$jscoverage['/editor/selectionFix.js'].lineData[35]++; + _$jscoverage['/editor/selectionFix.js'].lineData[34]++; function rngFromPoint(x, y) { _$jscoverage['/editor/selectionFix.js'].functionData[2]++; - _$jscoverage['/editor/selectionFix.js'].lineData[36]++; + _$jscoverage['/editor/selectionFix.js'].lineData[35]++; var rng = doc.body.createTextRange(); - _$jscoverage['/editor/selectionFix.js'].lineData[38]++; + _$jscoverage['/editor/selectionFix.js'].lineData[37]++; try { - _$jscoverage['/editor/selectionFix.js'].lineData[39]++; + _$jscoverage['/editor/selectionFix.js'].lineData[38]++; rng.moveToPoint(x, y); } catch (ex) { - _$jscoverage['/editor/selectionFix.js'].lineData[42]++; + _$jscoverage['/editor/selectionFix.js'].lineData[41]++; rng = NULL; } - _$jscoverage['/editor/selectionFix.js'].lineData[45]++; + _$jscoverage['/editor/selectionFix.js'].lineData[44]++; return rng; } - _$jscoverage['/editor/selectionFix.js'].lineData[49]++; + _$jscoverage['/editor/selectionFix.js'].lineData[48]++; function endSelection() { _$jscoverage['/editor/selectionFix.js'].functionData[3]++; - _$jscoverage['/editor/selectionFix.js'].lineData[50]++; + _$jscoverage['/editor/selectionFix.js'].lineData[49]++; var rng = doc.selection.createRange(); - _$jscoverage['/editor/selectionFix.js'].lineData[53]++; - if (visit753_53_1(startRng && visit754_53_2(!rng.item && visit755_53_3(rng.compareEndPoints('StartToEnd', rng) === 0)))) { - _$jscoverage['/editor/selectionFix.js'].lineData[54]++; + _$jscoverage['/editor/selectionFix.js'].lineData[52]++; + if (visit753_52_1(startRng && visit754_52_2(!rng.item && visit755_52_3(rng.compareEndPoints('StartToEnd', rng) === 0)))) { + _$jscoverage['/editor/selectionFix.js'].lineData[53]++; startRng.select(); } - _$jscoverage['/editor/selectionFix.js'].lineData[56]++; + _$jscoverage['/editor/selectionFix.js'].lineData[55]++; $doc.detach('mouseup', endSelection); - _$jscoverage['/editor/selectionFix.js'].lineData[57]++; + _$jscoverage['/editor/selectionFix.js'].lineData[56]++; $doc.detach('mousemove', selectionChange); - _$jscoverage['/editor/selectionFix.js'].lineData[58]++; + _$jscoverage['/editor/selectionFix.js'].lineData[57]++; startRng = started = 0; } - _$jscoverage['/editor/selectionFix.js'].lineData[62]++; + _$jscoverage['/editor/selectionFix.js'].lineData[61]++; function selectionChange(e) { _$jscoverage['/editor/selectionFix.js'].functionData[4]++; - _$jscoverage['/editor/selectionFix.js'].lineData[63]++; + _$jscoverage['/editor/selectionFix.js'].lineData[62]++; var pointRng; - _$jscoverage['/editor/selectionFix.js'].lineData[66]++; - if (visit756_66_1(e.button)) { - _$jscoverage['/editor/selectionFix.js'].lineData[68]++; + _$jscoverage['/editor/selectionFix.js'].lineData[65]++; + if (visit756_65_1(e.button)) { + _$jscoverage['/editor/selectionFix.js'].lineData[67]++; pointRng = rngFromPoint(e.pageX, e.pageY); - _$jscoverage['/editor/selectionFix.js'].lineData[70]++; - if (visit757_70_1(pointRng)) { - _$jscoverage['/editor/selectionFix.js'].lineData[72]++; - if (visit758_72_1(pointRng.compareEndPoints('StartToStart', startRng) > 0)) { - _$jscoverage['/editor/selectionFix.js'].lineData[73]++; + _$jscoverage['/editor/selectionFix.js'].lineData[69]++; + if (visit757_69_1(pointRng)) { + _$jscoverage['/editor/selectionFix.js'].lineData[71]++; + if (visit758_71_1(pointRng.compareEndPoints('StartToStart', startRng) > 0)) { + _$jscoverage['/editor/selectionFix.js'].lineData[72]++; pointRng.setEndPoint('StartToStart', startRng); } else { - _$jscoverage['/editor/selectionFix.js'].lineData[76]++; + _$jscoverage['/editor/selectionFix.js'].lineData[75]++; pointRng.setEndPoint('EndToEnd', startRng); } - _$jscoverage['/editor/selectionFix.js'].lineData[79]++; + _$jscoverage['/editor/selectionFix.js'].lineData[78]++; pointRng.select(); } } else { - _$jscoverage['/editor/selectionFix.js'].lineData[82]++; + _$jscoverage['/editor/selectionFix.js'].lineData[81]++; endSelection(); } } - _$jscoverage['/editor/selectionFix.js'].lineData[88]++; + _$jscoverage['/editor/selectionFix.js'].lineData[87]++; $doc.on('mousedown contextmenu', function(e) { _$jscoverage['/editor/selectionFix.js'].functionData[5]++; - _$jscoverage['/editor/selectionFix.js'].lineData[89]++; + _$jscoverage['/editor/selectionFix.js'].lineData[88]++; var html = doc.documentElement; - _$jscoverage['/editor/selectionFix.js'].lineData[90]++; - if (visit759_90_1(e.target === html)) { - _$jscoverage['/editor/selectionFix.js'].lineData[91]++; - if (visit760_91_1(started)) { - _$jscoverage['/editor/selectionFix.js'].lineData[92]++; + _$jscoverage['/editor/selectionFix.js'].lineData[89]++; + if (visit759_89_1(e.target === html)) { + _$jscoverage['/editor/selectionFix.js'].lineData[90]++; + if (visit760_90_1(started)) { + _$jscoverage['/editor/selectionFix.js'].lineData[91]++; endSelection(); } - _$jscoverage['/editor/selectionFix.js'].lineData[95]++; - if (visit761_95_1(html.scrollHeight > html.clientHeight)) { - _$jscoverage['/editor/selectionFix.js'].lineData[96]++; + _$jscoverage['/editor/selectionFix.js'].lineData[94]++; + if (visit761_94_1(html.scrollHeight > html.clientHeight)) { + _$jscoverage['/editor/selectionFix.js'].lineData[95]++; return; } - _$jscoverage['/editor/selectionFix.js'].lineData[99]++; + _$jscoverage['/editor/selectionFix.js'].lineData[98]++; started = 1; - _$jscoverage['/editor/selectionFix.js'].lineData[101]++; + _$jscoverage['/editor/selectionFix.js'].lineData[100]++; startRng = rngFromPoint(e.pageX, e.pageY); - _$jscoverage['/editor/selectionFix.js'].lineData[102]++; - if (visit762_102_1(startRng)) { - _$jscoverage['/editor/selectionFix.js'].lineData[104]++; + _$jscoverage['/editor/selectionFix.js'].lineData[101]++; + if (visit762_101_1(startRng)) { + _$jscoverage['/editor/selectionFix.js'].lineData[103]++; $doc.on('mouseup', endSelection); - _$jscoverage['/editor/selectionFix.js'].lineData[105]++; + _$jscoverage['/editor/selectionFix.js'].lineData[104]++; $doc.on('mousemove', selectionChange); - _$jscoverage['/editor/selectionFix.js'].lineData[107]++; + _$jscoverage['/editor/selectionFix.js'].lineData[106]++; win.focus(); - _$jscoverage['/editor/selectionFix.js'].lineData[108]++; + _$jscoverage['/editor/selectionFix.js'].lineData[107]++; startRng.select(); } } }); } - _$jscoverage['/editor/selectionFix.js'].lineData[115]++; + _$jscoverage['/editor/selectionFix.js'].lineData[113]++; function fixSelectionForIEWhenDocReady(editor) { _$jscoverage['/editor/selectionFix.js'].functionData[6]++; - _$jscoverage['/editor/selectionFix.js'].lineData[116]++; + _$jscoverage['/editor/selectionFix.js'].lineData[114]++; var doc = editor.get('document')[0], body = new Node(doc.body), html = new Node(doc.documentElement); - _$jscoverage['/editor/selectionFix.js'].lineData[124]++; - if (visit763_125_1(S.UA.ieMode < 8)) { - _$jscoverage['/editor/selectionFix.js'].lineData[129]++; + _$jscoverage['/editor/selectionFix.js'].lineData[122]++; + if (visit763_123_1(S.UA.ieMode < 8)) { + _$jscoverage['/editor/selectionFix.js'].lineData[127]++; html.on('click', function(evt) { _$jscoverage['/editor/selectionFix.js'].functionData[7]++; - _$jscoverage['/editor/selectionFix.js'].lineData[130]++; + _$jscoverage['/editor/selectionFix.js'].lineData[128]++; var t = new Node(evt.target); - _$jscoverage['/editor/selectionFix.js'].lineData[131]++; - if (visit764_131_1(t.nodeName() === 'html')) { - _$jscoverage['/editor/selectionFix.js'].lineData[132]++; + _$jscoverage['/editor/selectionFix.js'].lineData[129]++; + if (visit764_129_1(t.nodeName() === 'html')) { + _$jscoverage['/editor/selectionFix.js'].lineData[130]++; editor.getSelection().getNative().createRange().select(); } }); } - _$jscoverage['/editor/selectionFix.js'].lineData[143]++; + _$jscoverage['/editor/selectionFix.js'].lineData[141]++; var savedRange, saveEnabled, restoreEnabled = TRUE; - _$jscoverage['/editor/selectionFix.js'].lineData[152]++; + _$jscoverage['/editor/selectionFix.js'].lineData[150]++; html.on('mousedown', function() { _$jscoverage['/editor/selectionFix.js'].functionData[8]++; - _$jscoverage['/editor/selectionFix.js'].lineData[157]++; + _$jscoverage['/editor/selectionFix.js'].lineData[155]++; restoreEnabled = FALSE; }); - _$jscoverage['/editor/selectionFix.js'].lineData[160]++; + _$jscoverage['/editor/selectionFix.js'].lineData[158]++; html.on('mouseup', function() { _$jscoverage['/editor/selectionFix.js'].functionData[9]++; - _$jscoverage['/editor/selectionFix.js'].lineData[161]++; + _$jscoverage['/editor/selectionFix.js'].lineData[159]++; restoreEnabled = TRUE; }); - _$jscoverage['/editor/selectionFix.js'].lineData[181]++; + _$jscoverage['/editor/selectionFix.js'].lineData[179]++; body.on('focusin', function(evt) { _$jscoverage['/editor/selectionFix.js'].functionData[10]++; - _$jscoverage['/editor/selectionFix.js'].lineData[182]++; + _$jscoverage['/editor/selectionFix.js'].lineData[180]++; var t = new Node(evt.target); - _$jscoverage['/editor/selectionFix.js'].lineData[185]++; - if (visit765_185_1(t.nodeName() !== 'body')) { - _$jscoverage['/editor/selectionFix.js'].lineData[186]++; + _$jscoverage['/editor/selectionFix.js'].lineData[183]++; + if (visit765_183_1(t.nodeName() !== 'body')) { + _$jscoverage['/editor/selectionFix.js'].lineData[184]++; return; } - _$jscoverage['/editor/selectionFix.js'].lineData[191]++; - if (visit766_191_1(savedRange)) { - _$jscoverage['/editor/selectionFix.js'].lineData[193]++; + _$jscoverage['/editor/selectionFix.js'].lineData[189]++; + if (visit766_189_1(savedRange)) { + _$jscoverage['/editor/selectionFix.js'].lineData[191]++; try { - _$jscoverage['/editor/selectionFix.js'].lineData[196]++; - if (visit767_196_1(restoreEnabled)) { - _$jscoverage['/editor/selectionFix.js'].lineData[197]++; + _$jscoverage['/editor/selectionFix.js'].lineData[194]++; + if (visit767_194_1(restoreEnabled)) { + _$jscoverage['/editor/selectionFix.js'].lineData[195]++; savedRange.select(); } } catch (e) { } - _$jscoverage['/editor/selectionFix.js'].lineData[203]++; + _$jscoverage['/editor/selectionFix.js'].lineData[201]++; savedRange = NULL; } }); - _$jscoverage['/editor/selectionFix.js'].lineData[207]++; + _$jscoverage['/editor/selectionFix.js'].lineData[205]++; body.on('focus', function() { _$jscoverage['/editor/selectionFix.js'].functionData[11]++; - _$jscoverage['/editor/selectionFix.js'].lineData[210]++; + _$jscoverage['/editor/selectionFix.js'].lineData[208]++; saveEnabled = TRUE; - _$jscoverage['/editor/selectionFix.js'].lineData[211]++; + _$jscoverage['/editor/selectionFix.js'].lineData[209]++; saveSelection(); }); - _$jscoverage['/editor/selectionFix.js'].lineData[214]++; + _$jscoverage['/editor/selectionFix.js'].lineData[212]++; body.on('beforedeactivate', function(evt) { _$jscoverage['/editor/selectionFix.js'].functionData[12]++; - _$jscoverage['/editor/selectionFix.js'].lineData[217]++; - if (visit768_217_1(evt.relatedTarget)) { - _$jscoverage['/editor/selectionFix.js'].lineData[218]++; + _$jscoverage['/editor/selectionFix.js'].lineData[215]++; + if (visit768_215_1(evt.relatedTarget)) { + _$jscoverage['/editor/selectionFix.js'].lineData[216]++; return; } - _$jscoverage['/editor/selectionFix.js'].lineData[223]++; + _$jscoverage['/editor/selectionFix.js'].lineData[221]++; saveEnabled = FALSE; - _$jscoverage['/editor/selectionFix.js'].lineData[224]++; + _$jscoverage['/editor/selectionFix.js'].lineData[222]++; restoreEnabled = TRUE; }); - _$jscoverage['/editor/selectionFix.js'].lineData[248]++; + _$jscoverage['/editor/selectionFix.js'].lineData[246]++; body.on('mousedown', function() { _$jscoverage['/editor/selectionFix.js'].functionData[13]++; - _$jscoverage['/editor/selectionFix.js'].lineData[250]++; + _$jscoverage['/editor/selectionFix.js'].lineData[248]++; saveEnabled = FALSE; }); - _$jscoverage['/editor/selectionFix.js'].lineData[252]++; + _$jscoverage['/editor/selectionFix.js'].lineData[250]++; body.on('mouseup', function() { _$jscoverage['/editor/selectionFix.js'].functionData[14]++; - _$jscoverage['/editor/selectionFix.js'].lineData[254]++; + _$jscoverage['/editor/selectionFix.js'].lineData[252]++; saveEnabled = TRUE; - _$jscoverage['/editor/selectionFix.js'].lineData[255]++; + _$jscoverage['/editor/selectionFix.js'].lineData[253]++; setTimeout(function() { _$jscoverage['/editor/selectionFix.js'].functionData[15]++; - _$jscoverage['/editor/selectionFix.js'].lineData[256]++; + _$jscoverage['/editor/selectionFix.js'].lineData[254]++; saveSelection(TRUE); }, 0); }); - _$jscoverage['/editor/selectionFix.js'].lineData[260]++; + _$jscoverage['/editor/selectionFix.js'].lineData[258]++; function saveSelection(testIt) { _$jscoverage['/editor/selectionFix.js'].functionData[16]++; - _$jscoverage['/editor/selectionFix.js'].lineData[262]++; - if (visit769_262_1(saveEnabled)) { - _$jscoverage['/editor/selectionFix.js'].lineData[263]++; - var sel = editor.getSelection(), type = visit770_264_1(sel && sel.getType()), nativeSel = visit771_265_1(sel && doc.selection); - _$jscoverage['/editor/selectionFix.js'].lineData[276]++; - if (visit772_276_1(testIt && visit773_276_2(nativeSel && visit774_276_3(type === KES.SELECTION_NONE)))) { - _$jscoverage['/editor/selectionFix.js'].lineData[281]++; - if (visit775_281_1(!doc.queryCommandEnabled('InsertImage'))) { - _$jscoverage['/editor/selectionFix.js'].lineData[282]++; + _$jscoverage['/editor/selectionFix.js'].lineData[260]++; + if (visit769_260_1(saveEnabled)) { + _$jscoverage['/editor/selectionFix.js'].lineData[261]++; + var sel = editor.getSelection(), type = visit770_262_1(sel && sel.getType()), nativeSel = visit771_263_1(sel && doc.selection); + _$jscoverage['/editor/selectionFix.js'].lineData[274]++; + if (visit772_274_1(testIt && visit773_274_2(nativeSel && visit774_274_3(type === KES.SELECTION_NONE)))) { + _$jscoverage['/editor/selectionFix.js'].lineData[279]++; + if (visit775_279_1(!doc.queryCommandEnabled('InsertImage'))) { + _$jscoverage['/editor/selectionFix.js'].lineData[280]++; setTimeout(function() { _$jscoverage['/editor/selectionFix.js'].functionData[17]++; - _$jscoverage['/editor/selectionFix.js'].lineData[284]++; + _$jscoverage['/editor/selectionFix.js'].lineData[282]++; saveSelection(TRUE); }, 50); - _$jscoverage['/editor/selectionFix.js'].lineData[286]++; + _$jscoverage['/editor/selectionFix.js'].lineData[284]++; return; } } - _$jscoverage['/editor/selectionFix.js'].lineData[291]++; + _$jscoverage['/editor/selectionFix.js'].lineData[289]++; var parentTag; - _$jscoverage['/editor/selectionFix.js'].lineData[292]++; - if (visit776_292_1(nativeSel && visit777_292_2(nativeSel.type && visit778_292_3(visit779_292_4(nativeSel.type !== 'Control') && visit780_293_1((parentTag = nativeSel.createRange()) && visit781_294_1((parentTag = parentTag.parentElement()) && visit782_295_1((parentTag = parentTag.nodeName) && parentTag.toLowerCase() in { + _$jscoverage['/editor/selectionFix.js'].lineData[290]++; + if (visit776_290_1(nativeSel && visit777_290_2(nativeSel.type && visit778_290_3(visit779_290_4(nativeSel.type !== 'Control') && visit780_291_1((parentTag = nativeSel.createRange()) && visit781_292_1((parentTag = parentTag.parentElement()) && visit782_293_1((parentTag = parentTag.nodeName) && parentTag.toLowerCase() in { input: 1, textarea: 1}))))))) { - _$jscoverage['/editor/selectionFix.js'].lineData[297]++; + _$jscoverage['/editor/selectionFix.js'].lineData[295]++; return; } - _$jscoverage['/editor/selectionFix.js'].lineData[299]++; - savedRange = visit783_299_1(nativeSel && sel.getRanges()[0]); - _$jscoverage['/editor/selectionFix.js'].lineData[302]++; + _$jscoverage['/editor/selectionFix.js'].lineData[297]++; + savedRange = visit783_297_1(nativeSel && sel.getRanges()[0]); + _$jscoverage['/editor/selectionFix.js'].lineData[300]++; editor.checkSelectionChange(); } } - _$jscoverage['/editor/selectionFix.js'].lineData[306]++; + _$jscoverage['/editor/selectionFix.js'].lineData[304]++; body.on('keydown', function() { _$jscoverage['/editor/selectionFix.js'].functionData[18]++; - _$jscoverage['/editor/selectionFix.js'].lineData[307]++; + _$jscoverage['/editor/selectionFix.js'].lineData[305]++; saveEnabled = FALSE; }); - _$jscoverage['/editor/selectionFix.js'].lineData[309]++; + _$jscoverage['/editor/selectionFix.js'].lineData[307]++; body.on('keyup', function() { _$jscoverage['/editor/selectionFix.js'].functionData[19]++; - _$jscoverage['/editor/selectionFix.js'].lineData[310]++; + _$jscoverage['/editor/selectionFix.js'].lineData[308]++; saveEnabled = TRUE; - _$jscoverage['/editor/selectionFix.js'].lineData[311]++; + _$jscoverage['/editor/selectionFix.js'].lineData[309]++; setTimeout(function() { _$jscoverage['/editor/selectionFix.js'].functionData[20]++; - _$jscoverage['/editor/selectionFix.js'].lineData[312]++; + _$jscoverage['/editor/selectionFix.js'].lineData[310]++; saveSelection(); }, 0); }); } - _$jscoverage['/editor/selectionFix.js'].lineData[317]++; + _$jscoverage['/editor/selectionFix.js'].lineData[315]++; function fireSelectionChangeForStandard(editor) { _$jscoverage['/editor/selectionFix.js'].functionData[21]++; - _$jscoverage['/editor/selectionFix.js'].lineData[321]++; + _$jscoverage['/editor/selectionFix.js'].lineData[319]++; function monitor() { _$jscoverage['/editor/selectionFix.js'].functionData[22]++; - _$jscoverage['/editor/selectionFix.js'].lineData[323]++; + _$jscoverage['/editor/selectionFix.js'].lineData[321]++; editor.checkSelectionChange(); } - _$jscoverage['/editor/selectionFix.js'].lineData[326]++; + _$jscoverage['/editor/selectionFix.js'].lineData[324]++; editor.get('document').on('mouseup keyup ' + 'selectionchange', monitor); } - _$jscoverage['/editor/selectionFix.js'].lineData[338]++; + _$jscoverage['/editor/selectionFix.js'].lineData[336]++; function monitorSelectionChange(editor) { _$jscoverage['/editor/selectionFix.js'].functionData[23]++; - _$jscoverage['/editor/selectionFix.js'].lineData[341]++; + _$jscoverage['/editor/selectionFix.js'].lineData[339]++; var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:]*>| |\u00A0| |())?\s*(:?<\/\1>)?(?=\s*$|<\/body>)/gi; - _$jscoverage['/editor/selectionFix.js'].lineData[345]++; + _$jscoverage['/editor/selectionFix.js'].lineData[343]++; function isBlankParagraph(block) { _$jscoverage['/editor/selectionFix.js'].functionData[24]++; - _$jscoverage['/editor/selectionFix.js'].lineData[346]++; + _$jscoverage['/editor/selectionFix.js'].lineData[344]++; return block.outerHtml().match(emptyParagraphRegexp); } - _$jscoverage['/editor/selectionFix.js'].lineData[349]++; + _$jscoverage['/editor/selectionFix.js'].lineData[347]++; var isNotWhitespace = Editor.Walker.whitespaces(TRUE), isNotBookmark = Editor.Walker.bookmark(FALSE, TRUE); - _$jscoverage['/editor/selectionFix.js'].lineData[352]++; + _$jscoverage['/editor/selectionFix.js'].lineData[350]++; var nextValidEl = function(node) { _$jscoverage['/editor/selectionFix.js'].functionData[25]++; - _$jscoverage['/editor/selectionFix.js'].lineData[353]++; - return visit784_353_1(isNotWhitespace(node) && visit785_353_2(node.nodeType !== 8)); + _$jscoverage['/editor/selectionFix.js'].lineData[351]++; + return visit784_351_1(isNotWhitespace(node) && visit785_351_2(node.nodeType !== 8)); }; - _$jscoverage['/editor/selectionFix.js'].lineData[357]++; + _$jscoverage['/editor/selectionFix.js'].lineData[355]++; function cannotCursorPlaced(element) { _$jscoverage['/editor/selectionFix.js'].functionData[26]++; - _$jscoverage['/editor/selectionFix.js'].lineData[358]++; + _$jscoverage['/editor/selectionFix.js'].lineData[356]++; var dtd = Editor.XHTML_DTD; - _$jscoverage['/editor/selectionFix.js'].lineData[359]++; - return visit786_359_1(element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]); + _$jscoverage['/editor/selectionFix.js'].lineData[357]++; + return visit786_357_1(element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]); } - _$jscoverage['/editor/selectionFix.js'].lineData[362]++; + _$jscoverage['/editor/selectionFix.js'].lineData[360]++; function isNotEmpty(node) { _$jscoverage['/editor/selectionFix.js'].functionData[27]++; - _$jscoverage['/editor/selectionFix.js'].lineData[363]++; - return visit787_363_1(isNotWhitespace(node) && isNotBookmark(node)); + _$jscoverage['/editor/selectionFix.js'].lineData[361]++; + return visit787_361_1(isNotWhitespace(node) && isNotBookmark(node)); } - _$jscoverage['/editor/selectionFix.js'].lineData[369]++; + _$jscoverage['/editor/selectionFix.js'].lineData[367]++; editor.on('selectionChange', function(ev) { _$jscoverage['/editor/selectionFix.js'].functionData[28]++; - _$jscoverage['/editor/selectionFix.js'].lineData[371]++; - var path = ev.path, editorDoc = editor.get('document')[0], body = new Node(editorDoc.body), selection = ev.selection, range = visit788_375_1(selection && selection.getRanges()[0]), blockLimit = path.blockLimit; - _$jscoverage['/editor/selectionFix.js'].lineData[379]++; - if (visit789_379_1(!body[0])) { - _$jscoverage['/editor/selectionFix.js'].lineData[381]++; + _$jscoverage['/editor/selectionFix.js'].lineData[369]++; + var path = ev.path, editorDoc = editor.get('document')[0], body = new Node(editorDoc.body), selection = ev.selection, range = visit788_373_1(selection && selection.getRanges()[0]), blockLimit = path.blockLimit; + _$jscoverage['/editor/selectionFix.js'].lineData[377]++; + if (visit789_377_1(!body[0])) { + _$jscoverage['/editor/selectionFix.js'].lineData[379]++; editorDoc.documentElement.appendChild(editorDoc.createElement('body')); - _$jscoverage['/editor/selectionFix.js'].lineData[382]++; + _$jscoverage['/editor/selectionFix.js'].lineData[380]++; body = new Node(editorDoc.body); - _$jscoverage['/editor/selectionFix.js'].lineData[383]++; - if (visit790_383_1(range)) { - _$jscoverage['/editor/selectionFix.js'].lineData[384]++; + _$jscoverage['/editor/selectionFix.js'].lineData[381]++; + if (visit790_381_1(range)) { + _$jscoverage['/editor/selectionFix.js'].lineData[382]++; range.setStart(body, 0); - _$jscoverage['/editor/selectionFix.js'].lineData[385]++; + _$jscoverage['/editor/selectionFix.js'].lineData[383]++; range.collapse(1); } } - _$jscoverage['/editor/selectionFix.js'].lineData[389]++; - blockLimit = visit791_389_1(blockLimit || body); - _$jscoverage['/editor/selectionFix.js'].lineData[395]++; - if (visit792_395_1(UA.gecko)) { + _$jscoverage['/editor/selectionFix.js'].lineData[387]++; + blockLimit = visit791_387_1(blockLimit || body); + _$jscoverage['/editor/selectionFix.js'].lineData[393]++; + if (visit792_393_1(UA.gecko)) { + _$jscoverage['/editor/selectionFix.js'].lineData[394]++; + var pathBlock = visit793_394_1(path.block || path.blockLimit), lastNode = visit794_395_1(pathBlock && pathBlock.last(isNotEmpty)); _$jscoverage['/editor/selectionFix.js'].lineData[396]++; - var pathBlock = visit793_396_1(path.block || path.blockLimit), lastNode = visit794_397_1(pathBlock && pathBlock.last(isNotEmpty)); - _$jscoverage['/editor/selectionFix.js'].lineData[398]++; - if (visit795_398_1(pathBlock && visit796_400_1(pathBlock._4eIsBlockBoundary() && visit797_402_1(!(visit798_402_2(lastNode && visit799_402_3(visit800_402_4(lastNode[0].nodeType === 1) && lastNode._4eIsBlockBoundary()))) && visit801_404_1(visit802_404_2(pathBlock.nodeName() !== 'pre') && !pathBlock._4eGetBogus()))))) { - _$jscoverage['/editor/selectionFix.js'].lineData[407]++; + if (visit795_396_1(pathBlock && visit796_398_1(pathBlock._4eIsBlockBoundary() && visit797_400_1(!(visit798_400_2(lastNode && visit799_400_3(visit800_400_4(lastNode[0].nodeType === 1) && lastNode._4eIsBlockBoundary()))) && visit801_402_1(visit802_402_2(pathBlock.nodeName() !== 'pre') && !pathBlock._4eGetBogus()))))) { + _$jscoverage['/editor/selectionFix.js'].lineData[405]++; pathBlock._4eAppendBogus(); } } - _$jscoverage['/editor/selectionFix.js'].lineData[411]++; - if (visit803_411_1(!range || visit804_411_2(!range.collapsed || path.block))) { - _$jscoverage['/editor/selectionFix.js'].lineData[412]++; + _$jscoverage['/editor/selectionFix.js'].lineData[409]++; + if (visit803_409_1(!range || visit804_409_2(!range.collapsed || path.block))) { + _$jscoverage['/editor/selectionFix.js'].lineData[410]++; return; } - _$jscoverage['/editor/selectionFix.js'].lineData[416]++; - if (visit805_416_1(blockLimit.nodeName() === 'body')) { - _$jscoverage['/editor/selectionFix.js'].lineData[417]++; - if (visit806_417_1(range.startContainer.nodeName() === 'html')) { - _$jscoverage['/editor/selectionFix.js'].lineData[418]++; + _$jscoverage['/editor/selectionFix.js'].lineData[414]++; + if (visit805_414_1(blockLimit.nodeName() === 'body')) { + _$jscoverage['/editor/selectionFix.js'].lineData[415]++; + if (visit806_415_1(range.startContainer.nodeName() === 'html')) { + _$jscoverage['/editor/selectionFix.js'].lineData[416]++; range.setStart(body, 0); } - _$jscoverage['/editor/selectionFix.js'].lineData[420]++; + _$jscoverage['/editor/selectionFix.js'].lineData[418]++; var fixedBlock = range.fixBlock(TRUE, 'p'); - _$jscoverage['/editor/selectionFix.js'].lineData[421]++; - if (visit807_421_1(fixedBlock && visit808_425_1(fixedBlock[0] !== body[0].lastChild))) { - _$jscoverage['/editor/selectionFix.js'].lineData[427]++; - if (visit809_427_1(isBlankParagraph(fixedBlock))) { - _$jscoverage['/editor/selectionFix.js'].lineData[428]++; + _$jscoverage['/editor/selectionFix.js'].lineData[419]++; + if (visit807_419_1(fixedBlock && visit808_423_1(fixedBlock[0] !== body[0].lastChild))) { + _$jscoverage['/editor/selectionFix.js'].lineData[425]++; + if (visit809_425_1(isBlankParagraph(fixedBlock))) { + _$jscoverage['/editor/selectionFix.js'].lineData[426]++; var element = fixedBlock.next(nextValidEl, 1); - _$jscoverage['/editor/selectionFix.js'].lineData[429]++; - if (visit810_429_1(element && visit811_430_1(visit812_430_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { - _$jscoverage['/editor/selectionFix.js'].lineData[431]++; + _$jscoverage['/editor/selectionFix.js'].lineData[427]++; + if (visit810_427_1(element && visit811_428_1(visit812_428_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { + _$jscoverage['/editor/selectionFix.js'].lineData[429]++; range.moveToElementEditablePosition(element); - _$jscoverage['/editor/selectionFix.js'].lineData[432]++; + _$jscoverage['/editor/selectionFix.js'].lineData[430]++; fixedBlock._4eRemove(); } else { - _$jscoverage['/editor/selectionFix.js'].lineData[434]++; + _$jscoverage['/editor/selectionFix.js'].lineData[432]++; element = fixedBlock.prev(nextValidEl, 1); - _$jscoverage['/editor/selectionFix.js'].lineData[435]++; - if (visit813_435_1(element && visit814_436_1(visit815_436_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { - _$jscoverage['/editor/selectionFix.js'].lineData[437]++; + _$jscoverage['/editor/selectionFix.js'].lineData[433]++; + if (visit813_433_1(element && visit814_434_1(visit815_434_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { + _$jscoverage['/editor/selectionFix.js'].lineData[435]++; range.moveToElementEditablePosition(element, isBlankParagraph(element) ? FALSE : TRUE); - _$jscoverage['/editor/selectionFix.js'].lineData[440]++; + _$jscoverage['/editor/selectionFix.js'].lineData[438]++; fixedBlock._4eRemove(); } } } } - _$jscoverage['/editor/selectionFix.js'].lineData[446]++; + _$jscoverage['/editor/selectionFix.js'].lineData[444]++; range.select(); - _$jscoverage['/editor/selectionFix.js'].lineData[448]++; + _$jscoverage['/editor/selectionFix.js'].lineData[446]++; editor.notifySelectionChange(); } - _$jscoverage['/editor/selectionFix.js'].lineData[455]++; + _$jscoverage['/editor/selectionFix.js'].lineData[453]++; var doc = editor.get('document')[0], lastRange = new Editor.Range(doc), lastPath, editBlock; - _$jscoverage['/editor/selectionFix.js'].lineData[460]++; + _$jscoverage['/editor/selectionFix.js'].lineData[458]++; lastRange.moveToElementEditablePosition(body, TRUE); - _$jscoverage['/editor/selectionFix.js'].lineData[462]++; + _$jscoverage['/editor/selectionFix.js'].lineData[460]++; lastPath = new Editor.ElementPath(lastRange.startContainer); - _$jscoverage['/editor/selectionFix.js'].lineData[464]++; - if (visit816_464_1(lastPath.blockLimit.nodeName() !== 'body')) { - _$jscoverage['/editor/selectionFix.js'].lineData[465]++; + _$jscoverage['/editor/selectionFix.js'].lineData[462]++; + if (visit816_462_1(lastPath.blockLimit.nodeName() !== 'body')) { + _$jscoverage['/editor/selectionFix.js'].lineData[463]++; editBlock = new Node(doc.createElement('p')).appendTo(body); - _$jscoverage['/editor/selectionFix.js'].lineData[466]++; - if (visit817_466_1(!UA.ie)) { - _$jscoverage['/editor/selectionFix.js'].lineData[467]++; + _$jscoverage['/editor/selectionFix.js'].lineData[464]++; + if (visit817_464_1(!UA.ie)) { + _$jscoverage['/editor/selectionFix.js'].lineData[465]++; editBlock._4eAppendBogus(); } } }); } - _$jscoverage['/editor/selectionFix.js'].lineData[473]++; + _$jscoverage['/editor/selectionFix.js'].lineData[471]++; return { init: function(editor) { _$jscoverage['/editor/selectionFix.js'].functionData[29]++; - _$jscoverage['/editor/selectionFix.js'].lineData[475]++; + _$jscoverage['/editor/selectionFix.js'].lineData[473]++; editor.docReady(function() { _$jscoverage['/editor/selectionFix.js'].functionData[30]++; - _$jscoverage['/editor/selectionFix.js'].lineData[477]++; - if (visit818_477_1(document.selection)) { - _$jscoverage['/editor/selectionFix.js'].lineData[478]++; + _$jscoverage['/editor/selectionFix.js'].lineData[475]++; + if (visit818_475_1(document.selection)) { + _$jscoverage['/editor/selectionFix.js'].lineData[476]++; fixCursorForIE(editor); - _$jscoverage['/editor/selectionFix.js'].lineData[479]++; + _$jscoverage['/editor/selectionFix.js'].lineData[477]++; fixSelectionForIEWhenDocReady(editor); } else { - _$jscoverage['/editor/selectionFix.js'].lineData[481]++; + _$jscoverage['/editor/selectionFix.js'].lineData[479]++; fireSelectionChangeForStandard(editor); - _$jscoverage['/editor/selectionFix.js'].lineData[483]++; - if (visit819_483_1(UA.ieMode === 11)) { + _$jscoverage['/editor/selectionFix.js'].lineData[481]++; + if (visit819_481_1(UA.ie)) { + _$jscoverage['/editor/selectionFix.js'].lineData[482]++; + var savedRanges, doc = editor.get('document'); _$jscoverage['/editor/selectionFix.js'].lineData[484]++; - editor.get('document').on('focusin', function(e) { + doc.on('focusout', function() { _$jscoverage['/editor/selectionFix.js'].functionData[31]++; _$jscoverage['/editor/selectionFix.js'].lineData[485]++; - var selection = editor.getSelection(); - _$jscoverage['/editor/selectionFix.js'].lineData[486]++; - var range = visit820_486_1(selection && selection.getRanges()[0]); - _$jscoverage['/editor/selectionFix.js'].lineData[487]++; - if (visit821_487_1(!range)) { - _$jscoverage['/editor/selectionFix.js'].lineData[488]++; - range = new KERange(this); + savedRanges = editor.getSelection().getRanges(); +}); + _$jscoverage['/editor/selectionFix.js'].lineData[487]++; + doc.on('focusin', function() { + _$jscoverage['/editor/selectionFix.js'].functionData[32]++; + _$jscoverage['/editor/selectionFix.js'].lineData[488]++; + if (visit820_488_1(savedRanges)) { _$jscoverage['/editor/selectionFix.js'].lineData[489]++; - range.setStart(Node.all(e.target), 0); + var selection = editor.getSelection(); _$jscoverage['/editor/selectionFix.js'].lineData[490]++; - range.collapse(1); + selection.selectRanges(savedRanges); _$jscoverage['/editor/selectionFix.js'].lineData[491]++; - range.select(); + savedRanges = null; } }); } diff --git a/src/editor/coverage/src/editor/styles.js b/src/editor/coverage/src/editor/styles.js index c916c8b539..2d59ec92e3 100644 --- a/src/editor/coverage/src/editor/styles.js +++ b/src/editor/coverage/src/editor/styles.js @@ -1167,939 +1167,939 @@ if (! _$jscoverage['/editor/styles.js'].branchData) { _$jscoverage['/editor/styles.js'].branchData['1377'][4] = new BranchData(); } _$jscoverage['/editor/styles.js'].branchData['1377'][4].init(261, 48, 'lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1055_1377_4(result) { +function visit1054_1377_4(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][3].init(233, 24, 'firstChild !== lastChild'); -function visit1054_1377_3(result) { +function visit1053_1377_3(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][2].init(233, 76, 'firstChild !== lastChild && lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1053_1377_2(result) { +function visit1052_1377_2(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][1].init(220, 89, 'lastChild && firstChild !== lastChild && lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1052_1377_1(result) { +function visit1051_1377_1(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1373'][1].init(75, 49, 'firstChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1051_1373_1(result) { +function visit1050_1373_1(result) { _$jscoverage['/editor/styles.js'].branchData['1373'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1371'][1].init(309, 10, 'firstChild'); -function visit1050_1371_1(result) { +function visit1049_1371_1(result) { _$jscoverage['/editor/styles.js'].branchData['1371'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1363'][1].init(115, 27, '!element._4eHasAttributes()'); -function visit1049_1363_1(result) { +function visit1048_1363_1(result) { _$jscoverage['/editor/styles.js'].branchData['1363'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][3].init(116, 31, 'actualStyleValue === styleValue'); -function visit1048_1349_3(result) { +function visit1047_1349_3(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][2].init(82, 30, 'typeof styleValue === \'string\''); -function visit1047_1349_2(result) { +function visit1046_1349_2(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][1].init(82, 65, 'typeof styleValue === \'string\' && actualStyleValue === styleValue'); -function visit1046_1349_1(result) { +function visit1045_1349_1(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1348'][2].init(181, 51, 'styleValue.test && styleValue.test(actualAttrValue)'); -function visit1045_1348_2(result) { +function visit1044_1348_2(result) { _$jscoverage['/editor/styles.js'].branchData['1348'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1348'][1].init(102, 150, '(styleValue.test && styleValue.test(actualAttrValue)) || (typeof styleValue === \'string\' && actualStyleValue === styleValue)'); -function visit1044_1348_1(result) { +function visit1043_1348_1(result) { _$jscoverage['/editor/styles.js'].branchData['1348'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1346'][2].init(76, 19, 'styleValue === NULL'); -function visit1043_1346_2(result) { +function visit1042_1346_2(result) { _$jscoverage['/editor/styles.js'].branchData['1346'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1346'][1].init(76, 253, 'styleValue === NULL || (styleValue.test && styleValue.test(actualAttrValue)) || (typeof styleValue === \'string\' && actualStyleValue === styleValue)'); -function visit1042_1346_1(result) { +function visit1041_1346_1(result) { _$jscoverage['/editor/styles.js'].branchData['1346'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1341'][1].init(25, 17, 'i < styles.length'); -function visit1041_1341_1(result) { +function visit1040_1341_1(result) { _$jscoverage['/editor/styles.js'].branchData['1341'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1340'][1].init(1145, 6, 'styles'); -function visit1040_1340_1(result) { +function visit1039_1340_1(result) { _$jscoverage['/editor/styles.js'].branchData['1340'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1338'][1].init(1101, 29, 'overrides && overrides.styles'); -function visit1039_1338_1(result) { +function visit1038_1338_1(result) { _$jscoverage['/editor/styles.js'].branchData['1338'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][3].init(110, 28, 'actualAttrValue === attValue'); -function visit1038_1331_3(result) { +function visit1037_1331_3(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][2].init(78, 28, 'typeof attValue === \'string\''); -function visit1037_1331_2(result) { +function visit1036_1331_2(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][1].init(78, 60, 'typeof attValue === \'string\' && actualAttrValue === attValue'); -function visit1036_1331_1(result) { +function visit1035_1331_1(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1330'][2].init(522, 47, 'attValue.test && attValue.test(actualAttrValue)'); -function visit1035_1330_2(result) { +function visit1034_1330_2(result) { _$jscoverage['/editor/styles.js'].branchData['1330'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1330'][1].init(46, 141, '(attValue.test && attValue.test(actualAttrValue)) || (typeof attValue === \'string\' && actualAttrValue === attValue)'); -function visit1034_1330_1(result) { +function visit1033_1330_1(result) { _$jscoverage['/editor/styles.js'].branchData['1330'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1329'][2].init(473, 17, 'attValue === NULL'); -function visit1033_1329_2(result) { +function visit1032_1329_2(result) { _$jscoverage['/editor/styles.js'].branchData['1329'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1329'][1].init(473, 188, 'attValue === NULL || (attValue.test && attValue.test(actualAttrValue)) || (typeof attValue === \'string\' && actualAttrValue === attValue)'); -function visit1032_1329_1(result) { +function visit1031_1329_1(result) { _$jscoverage['/editor/styles.js'].branchData['1329'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1317'][1].init(25, 21, 'i < attributes.length'); -function visit1031_1317_1(result) { +function visit1030_1317_1(result) { _$jscoverage['/editor/styles.js'].branchData['1317'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1316'][1].init(106, 10, 'attributes'); -function visit1030_1316_1(result) { +function visit1029_1316_1(result) { _$jscoverage['/editor/styles.js'].branchData['1316'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1314'][1].init(48, 33, 'overrides && overrides.attributes'); -function visit1029_1314_1(result) { +function visit1028_1314_1(result) { _$jscoverage['/editor/styles.js'].branchData['1314'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1297'][1].init(114, 6, 'i >= 0'); -function visit1028_1297_1(result) { +function visit1027_1297_1(result) { _$jscoverage['/editor/styles.js'].branchData['1297'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1295'][1].init(18, 33, 'overrideElement !== style.element'); -function visit1027_1295_1(result) { +function visit1026_1295_1(result) { _$jscoverage['/editor/styles.js'].branchData['1295'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1287'][1].init(253, 8, '--i >= 0'); -function visit1026_1287_1(result) { +function visit1025_1287_1(result) { _$jscoverage['/editor/styles.js'].branchData['1287'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1262'][1].init(297, 41, 'removeEmpty || !!element.style(styleName)'); -function visit1025_1262_1(result) { +function visit1024_1262_1(result) { _$jscoverage['/editor/styles.js'].branchData['1262'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1258'][1].init(47, 84, 'element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)'); -function visit1024_1258_1(result) { +function visit1023_1258_1(result) { _$jscoverage['/editor/styles.js'].branchData['1258'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1257'][1].init(94, 132, 'style._.definition.fullMatch && element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)'); -function visit1023_1257_1(result) { +function visit1022_1257_1(result) { _$jscoverage['/editor/styles.js'].branchData['1257'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1249'][1].init(299, 41, 'removeEmpty || !!element.hasAttr(attName)'); -function visit1022_1249_1(result) { +function visit1021_1249_1(result) { _$jscoverage['/editor/styles.js'].branchData['1249'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][4].init(138, 91, 'element.attr(attName) !== normalizeProperty(attName, attributes[attName])'); -function visit1021_1245_4(result) { +function visit1020_1245_4(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][3].init(81, 19, 'attName === \'class\''); -function visit1020_1245_3(result) { +function visit1019_1245_3(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][2].init(81, 51, 'attName === \'class\' || style._.definition.fullMatch'); -function visit1019_1245_2(result) { +function visit1018_1245_2(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][1].init(81, 148, '(attName === \'class\' || style._.definition.fullMatch) && element.attr(attName) !== normalizeProperty(attName, attributes[attName])'); -function visit1018_1245_1(result) { +function visit1017_1245_1(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1238'][1].init(447, 70, 'S.isEmptyObject(attributes) && S.isEmptyObject(styles)'); -function visit1017_1238_1(result) { +function visit1016_1238_1(result) { _$jscoverage['/editor/styles.js'].branchData['1238'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1236'][2].init(70, 20, 'overrides[\'*\'] || {}'); -function visit1016_1236_2(result) { +function visit1015_1236_2(result) { _$jscoverage['/editor/styles.js'].branchData['1236'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1236'][1].init(36, 54, 'overrides[element.nodeName()] || overrides[\'*\'] || {}'); -function visit1015_1236_1(result) { +function visit1014_1236_1(result) { _$jscoverage['/editor/styles.js'].branchData['1236'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1234'][2].init(74, 20, 'overrides[\'*\'] || {}'); -function visit1014_1234_2(result) { +function visit1013_1234_2(result) { _$jscoverage['/editor/styles.js'].branchData['1234'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1234'][1].init(40, 54, 'overrides[element.nodeName()] || overrides[\'*\'] || {}'); -function visit1013_1234_1(result) { +function visit1012_1234_1(result) { _$jscoverage['/editor/styles.js'].branchData['1234'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1215'][1].init(43, 23, 'overrideEl.styles || []'); -function visit1012_1215_1(result) { +function visit1011_1215_1(result) { _$jscoverage['/editor/styles.js'].branchData['1215'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1210'][1].init(1710, 6, 'styles'); -function visit1011_1210_1(result) { +function visit1010_1210_1(result) { _$jscoverage['/editor/styles.js'].branchData['1210'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1200'][1].init(47, 27, 'overrideEl.attributes || []'); -function visit1010_1200_1(result) { +function visit1009_1200_1(result) { _$jscoverage['/editor/styles.js'].branchData['1200'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1195'][1].init(990, 5, 'attrs'); -function visit1009_1195_1(result) { +function visit1008_1195_1(result) { _$jscoverage['/editor/styles.js'].branchData['1195'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1192'][1].init(886, 81, 'overrides[elementName] || (overrides[elementName] = {})'); -function visit1008_1192_1(result) { +function visit1007_1192_1(result) { _$jscoverage['/editor/styles.js'].branchData['1192'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1177'][1].init(229, 28, 'typeof override === \'string\''); -function visit1007_1177_1(result) { +function visit1006_1177_1(result) { _$jscoverage['/editor/styles.js'].branchData['1177'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1170'][1].init(338, 21, 'i < definition.length'); -function visit1006_1170_1(result) { +function visit1005_1170_1(result) { _$jscoverage['/editor/styles.js'].branchData['1170'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1165'][1].init(170, 22, '!S.isArray(definition)'); -function visit1005_1165_1(result) { +function visit1004_1165_1(result) { _$jscoverage['/editor/styles.js'].branchData['1165'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1162'][1].init(203, 10, 'definition'); -function visit1004_1162_1(result) { +function visit1003_1162_1(result) { _$jscoverage['/editor/styles.js'].branchData['1162'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1155'][1].init(13, 17, 'style._.overrides'); -function visit1003_1155_1(result) { +function visit1002_1155_1(result) { _$jscoverage['/editor/styles.js'].branchData['1155'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1133'][1].init(17, 14, '!attribs.style'); -function visit1002_1133_1(result) { +function visit1001_1133_1(result) { _$jscoverage['/editor/styles.js'].branchData['1133'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1132'][1].init(627, 9, 'styleText'); -function visit1001_1132_1(result) { +function visit1000_1132_1(result) { _$jscoverage['/editor/styles.js'].branchData['1132'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1121'][1].init(327, 12, 'styleAttribs'); -function visit1000_1121_1(result) { +function visit999_1121_1(result) { _$jscoverage['/editor/styles.js'].branchData['1121'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1112'][1].init(115, 7, 'attribs'); -function visit999_1112_1(result) { +function visit998_1112_1(result) { _$jscoverage['/editor/styles.js'].branchData['1112'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1091'][1].init(320, 24, 'temp.style.cssText || \'\''); -function visit998_1091_1(result) { +function visit997_1091_1(result) { _$jscoverage['/editor/styles.js'].branchData['1091'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1085'][1].init(41, 25, 'nativeNormalize !== FALSE'); -function visit997_1085_1(result) { +function visit996_1085_1(result) { _$jscoverage['/editor/styles.js'].branchData['1085'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][3].init(31, 28, 'target[name] === \'inherit\''); -function visit996_1075_3(result) { +function visit995_1075_3(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][2].init(94, 28, 'source[name] === \'inherit\''); -function visit995_1075_2(result) { +function visit994_1075_2(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][1].init(56, 60, 'source[name] === \'inherit\' || target[name] === \'inherit\''); -function visit994_1075_1(result) { +function visit993_1075_1(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1074'][2].init(35, 33, 'target[name] === source[name]'); -function visit993_1074_2(result) { +function visit992_1074_2(result) { _$jscoverage['/editor/styles.js'].branchData['1074'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1074'][1].init(35, 117, 'target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\''); -function visit992_1074_1(result) { +function visit991_1074_1(result) { _$jscoverage['/editor/styles.js'].branchData['1074'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1073'][2].init(122, 155, 'name in target && (target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\')'); -function visit991_1073_2(result) { +function visit990_1073_2(result) { _$jscoverage['/editor/styles.js'].branchData['1073'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1073'][1].init(119, 160, '!(name in target && (target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\'))'); -function visit990_1073_1(result) { +function visit989_1073_1(result) { _$jscoverage['/editor/styles.js'].branchData['1073'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1066'][1].init(110, 19, 'target === \'string\''); -function visit989_1066_1(result) { +function visit988_1066_1(result) { _$jscoverage['/editor/styles.js'].branchData['1066'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1063'][1].init(13, 26, 'typeof source === \'string\''); -function visit988_1063_1(result) { +function visit987_1063_1(result) { _$jscoverage['/editor/styles.js'].branchData['1063'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1038'][2].init(896, 50, 'nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit987_1038_2(result) { +function visit986_1038_2(result) { _$jscoverage['/editor/styles.js'].branchData['1038'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1038'][1].init(896, 106, 'nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && nextNode.contains(startNode)'); -function visit986_1038_1(result) { +function visit985_1038_1(result) { _$jscoverage['/editor/styles.js'].branchData['1038'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1028'][1].init(56, 53, 'overrides[currentNode.nodeName()] || overrides[\'*\']'); -function visit985_1028_1(result) { +function visit984_1028_1(result) { _$jscoverage['/editor/styles.js'].branchData['1028'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1022'][1].init(97, 39, 'currentNode.nodeName() === this.element'); -function visit984_1022_1(result) { +function visit983_1022_1(result) { _$jscoverage['/editor/styles.js'].branchData['1022'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1019'][2].init(305, 53, 'currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit983_1019_2(result) { +function visit982_1019_2(result) { _$jscoverage['/editor/styles.js'].branchData['1019'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1019'][1].init(37, 116, 'currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && this.checkElementRemovable(currentNode)'); -function visit982_1019_1(result) { +function visit981_1019_1(result) { _$jscoverage['/editor/styles.js'].branchData['1019'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1018'][1].init(265, 154, 'currentNode[0] && currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && this.checkElementRemovable(currentNode)'); -function visit981_1018_1(result) { +function visit980_1018_1(result) { _$jscoverage['/editor/styles.js'].branchData['1018'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1012'][1].init(1929, 29, 'currentNode[0] !== endNode[0]'); -function visit980_1012_1(result) { +function visit979_1012_1(result) { _$jscoverage['/editor/styles.js'].branchData['1012'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1003'][1].init(1235, 10, 'breakStart'); -function visit979_1003_1(result) { +function visit978_1003_1(result) { _$jscoverage['/editor/styles.js'].branchData['1003'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1000'][1].init(1131, 8, 'breakEnd'); -function visit978_1000_1(result) { +function visit977_1000_1(result) { _$jscoverage['/editor/styles.js'].branchData['1000'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['995'][1].init(244, 33, 'me.checkElementRemovable(element)'); -function visit977_995_1(result) { +function visit976_995_1(result) { _$jscoverage['/editor/styles.js'].branchData['995'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['991'][1].init(52, 30, 'element === endPath.blockLimit'); -function visit976_991_1(result) { +function visit975_991_1(result) { _$jscoverage['/editor/styles.js'].branchData['991'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['990'][2].init(79, 25, 'element === endPath.block'); -function visit975_990_2(result) { +function visit974_990_2(result) { _$jscoverage['/editor/styles.js'].branchData['990'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['990'][1].init(79, 83, 'element === endPath.block || element === endPath.blockLimit'); -function visit974_990_1(result) { +function visit973_990_1(result) { _$jscoverage['/editor/styles.js'].branchData['990'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['987'][1].init(710, 27, 'i < endPath.elements.length'); -function visit973_987_1(result) { +function visit972_987_1(result) { _$jscoverage['/editor/styles.js'].branchData['987'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['983'][1].init(250, 33, 'me.checkElementRemovable(element)'); -function visit972_983_1(result) { +function visit971_983_1(result) { _$jscoverage['/editor/styles.js'].branchData['983'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['979'][1].init(54, 32, 'element === startPath.blockLimit'); -function visit971_979_1(result) { +function visit970_979_1(result) { _$jscoverage['/editor/styles.js'].branchData['979'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['978'][2].init(81, 27, 'element === startPath.block'); -function visit970_978_2(result) { +function visit969_978_2(result) { _$jscoverage['/editor/styles.js'].branchData['978'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['978'][1].init(81, 87, 'element === startPath.block || element === startPath.blockLimit'); -function visit969_978_1(result) { +function visit968_978_1(result) { _$jscoverage['/editor/styles.js'].branchData['978'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['975'][1].init(272, 29, 'i < startPath.elements.length'); -function visit968_975_1(result) { +function visit967_975_1(result) { _$jscoverage['/editor/styles.js'].branchData['975'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['953'][1].init(1330, 9, 'UA.webkit'); -function visit967_953_1(result) { +function visit966_953_1(result) { _$jscoverage['/editor/styles.js'].branchData['953'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['949'][1].init(63, 16, 'tmp === \'\\u200b\''); -function visit966_949_1(result) { +function visit965_949_1(result) { _$jscoverage['/editor/styles.js'].branchData['949'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['947'][1].init(1079, 80, '!tmp || tmp === \'\\u200b\''); -function visit965_947_1(result) { +function visit964_947_1(result) { _$jscoverage['/editor/styles.js'].branchData['947'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['942'][1].init(14, 33, 'boundaryElement.match === \'start\''); -function visit964_942_1(result) { +function visit963_942_1(result) { _$jscoverage['/editor/styles.js'].branchData['942'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['930'][1].init(266, 16, 'newElement.match'); -function visit963_930_1(result) { +function visit962_930_1(result) { _$jscoverage['/editor/styles.js'].branchData['930'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['926'][1].init(87, 34, 'newElement.equals(boundaryElement)'); -function visit962_926_1(result) { +function visit961_926_1(result) { _$jscoverage['/editor/styles.js'].branchData['926'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['922'][1].init(2574, 15, 'boundaryElement'); -function visit961_922_1(result) { +function visit960_922_1(result) { _$jscoverage['/editor/styles.js'].branchData['922'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['910'][1].init(56, 51, '_overrides[element.nodeName()] || _overrides[\'*\']'); -function visit960_910_1(result) { +function visit959_910_1(result) { _$jscoverage['/editor/styles.js'].branchData['910'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['907'][1].init(644, 35, 'element.nodeName() !== this.element'); -function visit959_907_1(result) { +function visit958_907_1(result) { _$jscoverage['/editor/styles.js'].branchData['907'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['893'][1].init(248, 30, 'startOfElement || endOfElement'); -function visit958_893_1(result) { +function visit957_893_1(result) { _$jscoverage['/editor/styles.js'].branchData['893'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['891'][1].init(107, 93, '!endOfElement && range.checkBoundaryOfElement(element, KER.START)'); -function visit957_891_1(result) { +function visit956_891_1(result) { _$jscoverage['/editor/styles.js'].branchData['891'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['889'][1].init(540, 35, 'this.checkElementRemovable(element)'); -function visit956_889_1(result) { +function visit955_889_1(result) { _$jscoverage['/editor/styles.js'].branchData['889'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][3].init(439, 32, 'element === startPath.blockLimit'); -function visit955_886_3(result) { +function visit954_886_3(result) { _$jscoverage['/editor/styles.js'].branchData['886'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][2].init(408, 27, 'element === startPath.block'); -function visit954_886_2(result) { +function visit953_886_2(result) { _$jscoverage['/editor/styles.js'].branchData['886'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][1].init(408, 63, 'element === startPath.block || element === startPath.blockLimit'); -function visit953_886_1(result) { +function visit952_886_1(result) { _$jscoverage['/editor/styles.js'].branchData['886'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['878'][2].init(220, 29, 'i < startPath.elements.length'); -function visit952_878_2(result) { +function visit951_878_2(result) { _$jscoverage['/editor/styles.js'].branchData['878'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['878'][1].init(220, 68, 'i < startPath.elements.length && (element = startPath.elements[i])'); -function visit951_878_1(result) { +function visit950_878_1(result) { _$jscoverage['/editor/styles.js'].branchData['878'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['871'][1].init(304, 15, 'range.collapsed'); -function visit950_871_1(result) { +function visit949_871_1(result) { _$jscoverage['/editor/styles.js'].branchData['871'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['825'][1].init(1163, 6, '!UA.ie'); -function visit949_825_1(result) { +function visit948_825_1(result) { _$jscoverage['/editor/styles.js'].branchData['825'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['804'][1].init(2646, 9, 'styleNode'); -function visit948_804_1(result) { +function visit947_804_1(result) { _$jscoverage['/editor/styles.js'].branchData['804'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['795'][1].init(1505, 29, '!styleNode._4eHasAttributes()'); -function visit947_795_1(result) { +function visit946_795_1(result) { _$jscoverage['/editor/styles.js'].branchData['795'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['786'][1].init(220, 36, 'styleNode.style(styleName) === value'); -function visit946_786_1(result) { +function visit945_786_1(result) { _$jscoverage['/editor/styles.js'].branchData['786'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['782'][1].init(34, 77, 'removeList.blockedStyles[styleName] || !(value = parent.style(styleName))'); -function visit945_782_1(result) { +function visit944_782_1(result) { _$jscoverage['/editor/styles.js'].branchData['782'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['768'][1].init(216, 33, 'styleNode.attr(attName) === value'); -function visit944_768_1(result) { +function visit943_768_1(result) { _$jscoverage['/editor/styles.js'].branchData['768'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['764'][1].init(34, 73, 'removeList.blockedAttrs[attName] || !(value = parent.attr(styleName))'); -function visit943_764_1(result) { +function visit942_764_1(result) { _$jscoverage['/editor/styles.js'].branchData['764'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['761'][1].init(25, 33, 'parent.nodeName() === elementName'); -function visit942_761_1(result) { +function visit941_761_1(result) { _$jscoverage['/editor/styles.js'].branchData['761'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][3].init(804, 25, 'styleNode[0] && parent[0]'); -function visit941_760_3(result) { +function visit940_760_3(result) { _$jscoverage['/editor/styles.js'].branchData['760'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][2].init(794, 35, 'parent && styleNode[0] && parent[0]'); -function visit940_760_2(result) { +function visit939_760_2(result) { _$jscoverage['/editor/styles.js'].branchData['760'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][1].init(781, 48, 'styleNode && parent && styleNode[0] && parent[0]'); -function visit939_760_1(result) { +function visit938_760_1(result) { _$jscoverage['/editor/styles.js'].branchData['760'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['739'][2].init(6216, 35, 'styleRange && !styleRange.collapsed'); -function visit938_739_2(result) { +function visit937_739_2(result) { _$jscoverage['/editor/styles.js'].branchData['739'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['739'][1].init(6202, 49, 'applyStyle && styleRange && !styleRange.collapsed'); -function visit937_739_1(result) { +function visit936_739_1(result) { _$jscoverage['/editor/styles.js'].branchData['739'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['718'][1].init(401, 43, '!def.childRule || def.childRule(parentNode)'); -function visit936_718_1(result) { +function visit935_718_1(result) { _$jscoverage['/editor/styles.js'].branchData['718'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['713'][2].init(1128, 396, '(parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit935_713_2(result) { +function visit934_713_2(result) { _$jscoverage['/editor/styles.js'].branchData['713'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['713'][1].init(150, 447, '(parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit934_713_1(result) { +function visit933_713_1(result) { _$jscoverage['/editor/styles.js'].branchData['713'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['711'][2].init(976, 107, '(parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]'); -function visit933_711_2(result) { +function visit932_711_2(result) { _$jscoverage['/editor/styles.js'].branchData['711'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['711'][1].init(90, 598, '((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]) && (parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit932_711_1(result) { +function visit931_711_1(result) { _$jscoverage['/editor/styles.js'].branchData['711'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['710'][1].init(40, 689, '(applyStyle = !includedNode.next(notBookmark, 1)) && ((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]) && (parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit931_710_1(result) { +function visit930_710_1(result) { _$jscoverage['/editor/styles.js'].branchData['710'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['695'][2].init(68, 38, 'nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit930_695_2(result) { +function visit929_695_2(result) { _$jscoverage['/editor/styles.js'].branchData['695'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['695'][1].init(68, 75, 'nodeType === Dom.NodeType.ELEMENT_NODE && !currentNode[0].childNodes.length'); -function visit929_695_1(result) { +function visit928_695_1(result) { _$jscoverage['/editor/styles.js'].branchData['695'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['694'][2].init(1192, 35, 'nodeType === Dom.NodeType.TEXT_NODE'); -function visit928_694_2(result) { +function visit927_694_2(result) { _$jscoverage['/editor/styles.js'].branchData['694'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['694'][1].init(1192, 146, 'nodeType === Dom.NodeType.TEXT_NODE || (nodeType === Dom.NodeType.ELEMENT_NODE && !currentNode[0].childNodes.length)'); -function visit927_694_1(result) { +function visit926_694_1(result) { _$jscoverage['/editor/styles.js'].branchData['694'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][3].init(92, 408, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit926_680_3(result) { +function visit925_680_3(result) { _$jscoverage['/editor/styles.js'].branchData['680'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][2].init(57, 443, '!DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit925_680_2(result) { +function visit924_680_2(result) { _$jscoverage['/editor/styles.js'].branchData['680'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][1].init(44, 456, '!nodeName || !DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit924_680_1(result) { +function visit923_680_1(result) { _$jscoverage['/editor/styles.js'].branchData['680'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['679'][1].init(337, 535, '!styleRange && (!nodeName || !DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))'); -function visit923_679_1(result) { +function visit922_679_1(result) { _$jscoverage['/editor/styles.js'].branchData['679'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['674'][1].init(133, 48, '!def.parentRule || def.parentRule(currentParent)'); -function visit922_674_1(result) { +function visit921_674_1(result) { _$jscoverage['/editor/styles.js'].branchData['674'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][4].init(-1, 65, 'DTD[currentParent.nodeName()] || DTD.span'); -function visit921_672_4(result) { +function visit920_672_4(result) { _$jscoverage['/editor/styles.js'].branchData['672'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['673'][1].init(-1, 126, '(DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement'); -function visit920_673_1(result) { +function visit919_673_1(result) { _$jscoverage['/editor/styles.js'].branchData['673'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][3].init(1286, 184, '((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit919_672_3(result) { +function visit918_672_3(result) { _$jscoverage['/editor/styles.js'].branchData['672'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][2].init(1262, 208, 'currentParent[0] && ((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit918_672_2(result) { +function visit917_672_2(result) { _$jscoverage['/editor/styles.js'].branchData['672'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][1].init(1245, 225, 'currentParent && currentParent[0] && ((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit917_672_1(result) { +function visit916_672_1(result) { _$jscoverage['/editor/styles.js'].branchData['672'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['663'][1].init(46, 40, 'currentParent.nodeName() === elementName'); -function visit916_663_1(result) { +function visit915_663_1(result) { _$jscoverage['/editor/styles.js'].branchData['663'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['662'][2].init(650, 19, 'elementName === \'a\''); -function visit915_662_2(result) { +function visit914_662_2(result) { _$jscoverage['/editor/styles.js'].branchData['662'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['662'][1].init(40, 87, 'elementName === \'a\' && currentParent.nodeName() === elementName'); -function visit914_662_1(result) { +function visit913_662_1(result) { _$jscoverage['/editor/styles.js'].branchData['662'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['661'][1].init(607, 128, 'currentParent && elementName === \'a\' && currentParent.nodeName() === elementName'); -function visit913_661_1(result) { +function visit912_661_1(result) { _$jscoverage['/editor/styles.js'].branchData['661'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['648'][1].init(377, 44, '!def.childRule || def.childRule(currentNode)'); -function visit912_648_1(result) { +function visit911_648_1(result) { _$jscoverage['/editor/styles.js'].branchData['648'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['642'][2].init(81, 348, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit911_642_2(result) { +function visit910_642_2(result) { _$jscoverage['/editor/styles.js'].branchData['642'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['642'][1].init(44, 424, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode))'); -function visit910_642_1(result) { +function visit909_642_1(result) { _$jscoverage['/editor/styles.js'].branchData['642'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['641'][1].init(-1, 469, 'dtd[nodeName] && (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode))'); -function visit909_641_1(result) { +function visit908_641_1(result) { _$jscoverage['/editor/styles.js'].branchData['641'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['640'][1].init(475, 526, '!nodeName || (dtd[nodeName] && (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode)))'); -function visit908_640_1(result) { +function visit907_640_1(result) { _$jscoverage['/editor/styles.js'].branchData['640'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['634'][1].init(205, 44, 'nodeName && currentNode.attr(\'_ke_bookmark\')'); -function visit907_634_1(result) { +function visit906_634_1(result) { _$jscoverage['/editor/styles.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['631'][1].init(70, 38, 'nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit906_631_1(result) { +function visit905_631_1(result) { _$jscoverage['/editor/styles.js'].branchData['631'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['625'][1].init(54, 33, 'Dom.equals(currentNode, lastNode)'); -function visit905_625_1(result) { +function visit904_625_1(result) { _$jscoverage['/editor/styles.js'].branchData['625'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['622'][1].init(1384, 29, 'currentNode && currentNode[0]'); -function visit904_622_1(result) { +function visit903_622_1(result) { _$jscoverage['/editor/styles.js'].branchData['622'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['602'][1].init(758, 4, '!dtd'); -function visit903_602_1(result) { +function visit902_602_1(result) { _$jscoverage['/editor/styles.js'].branchData['602'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['588'][1].init(78, 15, 'range.collapsed'); -function visit902_588_1(result) { +function visit901_588_1(result) { _$jscoverage['/editor/styles.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['561'][1].init(149, 7, '!offset'); -function visit901_561_1(result) { +function visit900_561_1(result) { _$jscoverage['/editor/styles.js'].branchData['561'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['558'][1].init(21, 18, 'match.length === 1'); -function visit900_558_1(result) { +function visit899_558_1(result) { _$jscoverage['/editor/styles.js'].branchData['558'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['547'][1].init(99, 19, 'i < preHTMLs.length'); -function visit899_547_1(result) { +function visit898_547_1(result) { _$jscoverage['/editor/styles.js'].branchData['547'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['533'][1].init(807, 5, 'UA.ie'); -function visit898_533_1(result) { +function visit897_533_1(result) { _$jscoverage['/editor/styles.js'].branchData['533'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['518'][1].init(96, 34, 'previousBlock.nodeName() === \'pre\''); -function visit897_518_1(result) { +function visit896_518_1(result) { _$jscoverage['/editor/styles.js'].branchData['518'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['517'][2].init(45, 131, '(previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && previousBlock.nodeName() === \'pre\''); -function visit896_517_2(result) { +function visit895_517_2(result) { _$jscoverage['/editor/styles.js'].branchData['517'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['517'][1].init(40, 138, '!((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && previousBlock.nodeName() === \'pre\')'); -function visit895_517_1(result) { +function visit894_517_1(result) { _$jscoverage['/editor/styles.js'].branchData['517'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['508'][1].init(621, 13, 'newBlockIsPre'); -function visit894_508_1(result) { +function visit893_508_1(result) { _$jscoverage['/editor/styles.js'].branchData['508'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['499'][1].init(318, 9, 'isFromPre'); -function visit893_499_1(result) { +function visit892_499_1(result) { _$jscoverage['/editor/styles.js'].branchData['499'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['496'][1].init(232, 7, 'isToPre'); -function visit892_496_1(result) { +function visit891_496_1(result) { _$jscoverage['/editor/styles.js'].branchData['496'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['494'][1].init(179, 28, '!newBlockIsPre && blockIsPre'); -function visit891_494_1(result) { +function visit890_494_1(result) { _$jscoverage['/editor/styles.js'].branchData['494'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['493'][1].init(125, 28, 'newBlockIsPre && !blockIsPre'); -function visit890_493_1(result) { +function visit889_493_1(result) { _$jscoverage['/editor/styles.js'].branchData['493'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['492'][1].init(75, 26, 'block.nodeName === (\'pre\')'); -function visit889_492_1(result) { +function visit888_492_1(result) { _$jscoverage['/editor/styles.js'].branchData['492'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['491'][1].init(29, 29, 'newBlock.nodeName === (\'pre\')'); -function visit888_491_1(result) { +function visit887_491_1(result) { _$jscoverage['/editor/styles.js'].branchData['491'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['452'][1].init(944, 5, 'UA.ie'); -function visit887_452_1(result) { +function visit886_452_1(result) { _$jscoverage['/editor/styles.js'].branchData['452'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['423'][1].init(104, 2, 'm2'); -function visit886_423_1(result) { +function visit885_423_1(result) { _$jscoverage['/editor/styles.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['420'][1].init(21, 2, 'm1'); -function visit885_420_1(result) { +function visit884_420_1(result) { _$jscoverage['/editor/styles.js'].branchData['420'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['386'][1].init(364, 6, 'styles'); -function visit884_386_1(result) { +function visit883_386_1(result) { _$jscoverage['/editor/styles.js'].branchData['386'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['378'][1].init(183, 10, 'attributes'); -function visit883_378_1(result) { +function visit882_378_1(result) { _$jscoverage['/editor/styles.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['365'][1].init(436, 7, 'element'); -function visit882_365_1(result) { +function visit881_365_1(result) { _$jscoverage['/editor/styles.js'].branchData['365'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['357'][1].init(180, 19, 'elementName === \'*\''); -function visit881_357_1(result) { +function visit880_357_1(result) { _$jscoverage['/editor/styles.js'].branchData['357'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['340'][1].init(1087, 17, 'stylesText.length'); -function visit880_340_1(result) { +function visit879_340_1(result) { _$jscoverage['/editor/styles.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['329'][1].init(245, 22, 'styleVal === \'inherit\''); -function visit879_329_1(result) { +function visit878_329_1(result) { _$jscoverage['/editor/styles.js'].branchData['329'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['319'][1].init(397, 17, 'stylesText.length'); -function visit878_319_1(result) { +function visit877_319_1(result) { _$jscoverage['/editor/styles.js'].branchData['319'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['316'][2].init(276, 62, 'styleDefinition.attributes && styleDefinition.attributes.style'); -function visit877_316_2(result) { +function visit876_316_2(result) { _$jscoverage['/editor/styles.js'].branchData['316'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['316'][1].init(276, 70, '(styleDefinition.attributes && styleDefinition.attributes.style) || \'\''); -function visit876_316_1(result) { +function visit875_316_1(result) { _$jscoverage['/editor/styles.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['309'][1].init(117, 9, 'stylesDef'); -function visit875_309_1(result) { +function visit874_309_1(result) { _$jscoverage['/editor/styles.js'].branchData['309'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['296'][1].init(501, 41, 'this.checkElementRemovable(element, TRUE)'); -function visit874_296_1(result) { +function visit873_296_1(result) { _$jscoverage['/editor/styles.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['292'][2].init(328, 31, 'this.type === KEST.STYLE_OBJECT'); -function visit873_292_2(result) { +function visit872_292_2(result) { _$jscoverage['/editor/styles.js'].branchData['292'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['292'][1].init(328, 76, 'this.type === KEST.STYLE_OBJECT && !(element.nodeName() in objectElements)'); -function visit872_292_1(result) { +function visit871_292_1(result) { _$jscoverage['/editor/styles.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][3].init(116, 113, 'Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit)'); -function visit871_287_3(result) { +function visit870_287_3(result) { _$jscoverage['/editor/styles.js'].branchData['287'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][2].init(79, 31, 'this.type === KEST.STYLE_INLINE'); -function visit870_287_2(result) { +function visit869_287_2(result) { _$jscoverage['/editor/styles.js'].branchData['287'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][1].init(79, 152, 'this.type === KEST.STYLE_INLINE && (Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))'); -function visit869_287_1(result) { +function visit868_287_1(result) { _$jscoverage['/editor/styles.js'].branchData['287'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['284'][1].init(128, 19, 'i < elements.length'); -function visit868_284_1(result) { +function visit867_284_1(result) { _$jscoverage['/editor/styles.js'].branchData['284'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['277'][1].init(77, 43, 'elementPath.block || elementPath.blockLimit'); -function visit867_277_1(result) { +function visit866_277_1(result) { _$jscoverage['/editor/styles.js'].branchData['277'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['260'][1].init(102, 52, 'styleValue.test && styleValue.test(actualStyleValue)'); -function visit866_260_1(result) { +function visit865_260_1(result) { _$jscoverage['/editor/styles.js'].branchData['260'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][6].init(151, 31, 'actualStyleValue === styleValue'); -function visit865_259_6(result) { +function visit864_259_6(result) { _$jscoverage['/editor/styles.js'].branchData['259'][6].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][5].init(117, 30, 'typeof styleValue === \'string\''); -function visit864_259_5(result) { +function visit863_259_5(result) { _$jscoverage['/editor/styles.js'].branchData['259'][5].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][4].init(117, 65, 'typeof styleValue === \'string\' && actualStyleValue === styleValue'); -function visit863_259_4(result) { +function visit862_259_4(result) { _$jscoverage['/editor/styles.js'].branchData['259'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][3].init(117, 155, '(typeof styleValue === \'string\' && actualStyleValue === styleValue) || styleValue.test && styleValue.test(actualStyleValue)'); -function visit862_259_3(result) { +function visit861_259_3(result) { _$jscoverage['/editor/styles.js'].branchData['259'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][2].init(92, 19, 'styleValue === NULL'); -function visit861_259_2(result) { +function visit860_259_2(result) { _$jscoverage['/editor/styles.js'].branchData['259'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][1].init(92, 180, 'styleValue === NULL || (typeof styleValue === \'string\' && actualStyleValue === styleValue) || styleValue.test && styleValue.test(actualStyleValue)'); -function visit860_259_1(result) { +function visit859_259_1(result) { _$jscoverage['/editor/styles.js'].branchData['259'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['257'][1].init(154, 16, 'actualStyleValue'); -function visit859_257_1(result) { +function visit858_257_1(result) { _$jscoverage['/editor/styles.js'].branchData['257'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['254'][1].init(33, 17, 'i < styles.length'); -function visit858_254_1(result) { +function visit857_254_1(result) { _$jscoverage['/editor/styles.js'].branchData['254'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['253'][1].init(1368, 6, 'styles'); -function visit857_253_1(result) { +function visit856_253_1(result) { _$jscoverage['/editor/styles.js'].branchData['253'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['247'][1].init(97, 47, 'attValue.test && attValue.test(actualAttrValue)'); -function visit856_247_1(result) { +function visit855_247_1(result) { _$jscoverage['/editor/styles.js'].branchData['247'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][4].init(621, 28, 'actualAttrValue === attValue'); -function visit855_246_4(result) { +function visit854_246_4(result) { _$jscoverage['/editor/styles.js'].branchData['246'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][3].init(589, 28, 'typeof attValue === \'string\''); -function visit854_246_3(result) { +function visit853_246_3(result) { _$jscoverage['/editor/styles.js'].branchData['246'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][2].init(589, 60, 'typeof attValue === \'string\' && actualAttrValue === attValue'); -function visit853_246_2(result) { +function visit852_246_2(result) { _$jscoverage['/editor/styles.js'].branchData['246'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][1].init(54, 145, '(typeof attValue === \'string\' && actualAttrValue === attValue) || attValue.test && attValue.test(actualAttrValue)'); -function visit852_246_1(result) { +function visit851_246_1(result) { _$jscoverage['/editor/styles.js'].branchData['246'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['245'][2].init(532, 17, 'attValue === NULL'); -function visit851_245_2(result) { +function visit850_245_2(result) { _$jscoverage['/editor/styles.js'].branchData['245'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['245'][1].init(532, 200, 'attValue === NULL || (typeof attValue === \'string\' && actualAttrValue === attValue) || attValue.test && attValue.test(actualAttrValue)'); -function visit850_245_1(result) { +function visit849_245_1(result) { _$jscoverage['/editor/styles.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['237'][1].init(147, 15, 'actualAttrValue'); -function visit849_237_1(result) { +function visit848_237_1(result) { _$jscoverage['/editor/styles.js'].branchData['237'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['234'][1].init(33, 18, 'i < attribs.length'); -function visit848_234_1(result) { +function visit847_234_1(result) { _$jscoverage['/editor/styles.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['233'][1].init(237, 7, 'attribs'); -function visit847_233_1(result) { +function visit846_233_1(result) { _$jscoverage['/editor/styles.js'].branchData['233'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['230'][1].init(96, 66, '!(attribs = override.attributes) && !(styles = override.styles)'); -function visit846_230_1(result) { +function visit845_230_1(result) { _$jscoverage['/editor/styles.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['228'][1].init(1773, 8, 'override'); -function visit845_228_1(result) { +function visit844_228_1(result) { _$jscoverage['/editor/styles.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['226'][1].init(81, 49, 'overrides[element.nodeName()] || overrides[\'*\']'); -function visit844_226_1(result) { +function visit843_226_1(result) { _$jscoverage['/editor/styles.js'].branchData['226'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['214'][1].init(797, 9, 'fullMatch'); -function visit843_214_1(result) { +function visit842_214_1(result) { _$jscoverage['/editor/styles.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['209'][1].init(623, 9, 'fullMatch'); -function visit842_209_1(result) { +function visit841_209_1(result) { _$jscoverage['/editor/styles.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['205'][1].init(33, 10, '!fullMatch'); -function visit841_205_1(result) { +function visit840_205_1(result) { _$jscoverage['/editor/styles.js'].branchData['205'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['204'][1].init(184, 34, 'attribs[attName] === elementAttr'); -function visit840_204_1(result) { +function visit839_204_1(result) { _$jscoverage['/editor/styles.js'].branchData['204'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['201'][2].init(219, 19, 'attName === \'style\''); -function visit839_201_2(result) { +function visit838_201_2(result) { _$jscoverage['/editor/styles.js'].branchData['201'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['201'][1].init(219, 219, 'attName === \'style\' ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : attribs[attName] === elementAttr'); -function visit838_201_1(result) { +function visit837_201_1(result) { _$jscoverage['/editor/styles.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['200'][1].init(162, 27, 'element.attr(attName) || \'\''); -function visit837_200_1(result) { +function visit836_200_1(result) { _$jscoverage['/editor/styles.js'].branchData['200'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['196'][1].init(30, 21, 'attName === \'_length\''); -function visit836_196_1(result) { +function visit835_196_1(result) { _$jscoverage['/editor/styles.js'].branchData['196'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['193'][1].init(262, 15, 'attribs._length'); -function visit835_193_1(result) { +function visit834_193_1(result) { _$jscoverage['/editor/styles.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['187'][1].init(85, 41, '!fullMatch && !element._4eHasAttributes()'); -function visit834_187_1(result) { +function visit833_187_1(result) { _$jscoverage['/editor/styles.js'].branchData['187'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['185'][1].init(255, 35, 'element.nodeName() === this.element'); -function visit833_185_1(result) { +function visit832_185_1(result) { _$jscoverage['/editor/styles.js'].branchData['185'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['177'][1].init(17, 8, '!element'); -function visit832_177_1(result) { +function visit831_177_1(result) { _$jscoverage['/editor/styles.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['169'][1].init(38, 31, 'self.type === KEST.STYLE_INLINE'); -function visit831_169_1(result) { +function visit830_169_1(result) { _$jscoverage['/editor/styles.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['159'][1].init(90, 31, 'self.type === KEST.STYLE_OBJECT'); -function visit830_159_1(result) { +function visit829_159_1(result) { _$jscoverage['/editor/styles.js'].branchData['159'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['157'][1].init(92, 30, 'self.type === KEST.STYLE_BLOCK'); -function visit829_157_1(result) { +function visit828_157_1(result) { _$jscoverage['/editor/styles.js'].branchData['157'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['155'][1].init(35, 31, 'this.type === KEST.STYLE_INLINE'); -function visit828_155_1(result) { +function visit827_155_1(result) { _$jscoverage['/editor/styles.js'].branchData['155'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['134'][1].init(447, 17, 'i < ranges.length'); -function visit827_134_1(result) { +function visit826_134_1(result) { _$jscoverage['/editor/styles.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['113'][2].init(300, 19, 'element === \'#text\''); -function visit826_113_2(result) { +function visit825_113_2(result) { _$jscoverage['/editor/styles.js'].branchData['113'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['113'][1].init(300, 47, 'element === \'#text\' || blockElements[element]'); -function visit825_113_1(result) { +function visit824_113_1(result) { _$jscoverage['/editor/styles.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['111'][1].init(217, 30, 'styleDefinition.element || \'*\''); -function visit824_111_1(result) { +function visit823_111_1(result) { _$jscoverage['/editor/styles.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['106'][1].init(13, 15, 'variablesValues'); -function visit823_106_1(result) { +function visit822_106_1(result) { _$jscoverage['/editor/styles.js'].branchData['106'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['88'][1].init(17, 34, 'typeof (list[item]) === \'string\''); -function visit822_88_1(result) { +function visit821_88_1(result) { _$jscoverage['/editor/styles.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].lineData[10]++; @@ -2159,7 +2159,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[87]++; for (var item in list) { _$jscoverage['/editor/styles.js'].lineData[88]++; - if (visit822_88_1(typeof (list[item]) === 'string')) { + if (visit821_88_1(typeof (list[item]) === 'string')) { _$jscoverage['/editor/styles.js'].lineData[90]++; list[item] = list[item].replace(varRegex, function(match, varName) { _$jscoverage['/editor/styles.js'].functionData[3]++; @@ -2176,16 +2176,16 @@ KISSY.add(function(S, require) { function KEStyle(styleDefinition, variablesValues) { _$jscoverage['/editor/styles.js'].functionData[4]++; _$jscoverage['/editor/styles.js'].lineData[106]++; - if (visit823_106_1(variablesValues)) { + if (visit822_106_1(variablesValues)) { _$jscoverage['/editor/styles.js'].lineData[107]++; styleDefinition = S.clone(styleDefinition); _$jscoverage['/editor/styles.js'].lineData[108]++; replaceVariables(styleDefinition, variablesValues); } _$jscoverage['/editor/styles.js'].lineData[111]++; - var element = this.element = this.element = (visit824_111_1(styleDefinition.element || '*')).toLowerCase(); + var element = this.element = this.element = (visit823_111_1(styleDefinition.element || '*')).toLowerCase(); _$jscoverage['/editor/styles.js'].lineData[113]++; - this.type = this.type = (visit825_113_1(visit826_113_2(element === '#text') || blockElements[element])) ? KEST.STYLE_BLOCK : objectElements[element] ? KEST.STYLE_OBJECT : KEST.STYLE_INLINE; + this.type = this.type = (visit824_113_1(visit825_113_2(element === '#text') || blockElements[element])) ? KEST.STYLE_BLOCK : objectElements[element] ? KEST.STYLE_OBJECT : KEST.STYLE_INLINE; _$jscoverage['/editor/styles.js'].lineData[118]++; this._ = { 'definition': styleDefinition}; @@ -2202,7 +2202,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[133]++; var ranges = selection.getRanges(); _$jscoverage['/editor/styles.js'].lineData[134]++; - for (var i = 0; visit827_134_1(i < ranges.length); i++) { + for (var i = 0; visit826_134_1(i < ranges.length); i++) { _$jscoverage['/editor/styles.js'].lineData[136]++; func.call(self, ranges[i]); } @@ -2227,19 +2227,19 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[153]++; var self = this; _$jscoverage['/editor/styles.js'].lineData[154]++; - return (self.applyToRange = visit828_155_1(this.type === KEST.STYLE_INLINE) ? applyInlineStyle : visit829_157_1(self.type === KEST.STYLE_BLOCK) ? applyBlockStyle : visit830_159_1(self.type === KEST.STYLE_OBJECT) ? NULL : NULL).call(self, range); + return (self.applyToRange = visit827_155_1(this.type === KEST.STYLE_INLINE) ? applyInlineStyle : visit828_157_1(self.type === KEST.STYLE_BLOCK) ? applyBlockStyle : visit829_159_1(self.type === KEST.STYLE_OBJECT) ? NULL : NULL).call(self, range); }, removeFromRange: function(range) { _$jscoverage['/editor/styles.js'].functionData[9]++; _$jscoverage['/editor/styles.js'].lineData[167]++; var self = this; _$jscoverage['/editor/styles.js'].lineData[168]++; - return (self.removeFromRange = visit831_169_1(self.type === KEST.STYLE_INLINE) ? removeInlineStyle : NULL).call(self, range); + return (self.removeFromRange = visit830_169_1(self.type === KEST.STYLE_INLINE) ? removeInlineStyle : NULL).call(self, range); }, checkElementRemovable: function(element, fullMatch) { _$jscoverage['/editor/styles.js'].functionData[10]++; _$jscoverage['/editor/styles.js'].lineData[177]++; - if (visit832_177_1(!element)) { + if (visit831_177_1(!element)) { _$jscoverage['/editor/styles.js'].lineData[178]++; return FALSE; } @@ -2248,42 +2248,42 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[181]++; var def = this._.definition, attribs, styles; _$jscoverage['/editor/styles.js'].lineData[185]++; - if (visit833_185_1(element.nodeName() === this.element)) { + if (visit832_185_1(element.nodeName() === this.element)) { _$jscoverage['/editor/styles.js'].lineData[187]++; - if (visit834_187_1(!fullMatch && !element._4eHasAttributes())) { + if (visit833_187_1(!fullMatch && !element._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[188]++; return TRUE; } _$jscoverage['/editor/styles.js'].lineData[191]++; attribs = getAttributesForComparison(def); _$jscoverage['/editor/styles.js'].lineData[193]++; - if (visit835_193_1(attribs._length)) { + if (visit834_193_1(attribs._length)) { _$jscoverage['/editor/styles.js'].lineData[194]++; for (attName in attribs) { _$jscoverage['/editor/styles.js'].lineData[196]++; - if (visit836_196_1(attName === '_length')) { + if (visit835_196_1(attName === '_length')) { _$jscoverage['/editor/styles.js'].lineData[197]++; continue; } _$jscoverage['/editor/styles.js'].lineData[200]++; - var elementAttr = visit837_200_1(element.attr(attName) || ''); + var elementAttr = visit836_200_1(element.attr(attName) || ''); _$jscoverage['/editor/styles.js'].lineData[201]++; - if (visit838_201_1(visit839_201_2(attName === 'style') ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : visit840_204_1(attribs[attName] === elementAttr))) { + if (visit837_201_1(visit838_201_2(attName === 'style') ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : visit839_204_1(attribs[attName] === elementAttr))) { _$jscoverage['/editor/styles.js'].lineData[205]++; - if (visit841_205_1(!fullMatch)) { + if (visit840_205_1(!fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[206]++; return TRUE; } } else { _$jscoverage['/editor/styles.js'].lineData[209]++; - if (visit842_209_1(fullMatch)) { + if (visit841_209_1(fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[210]++; return FALSE; } } } _$jscoverage['/editor/styles.js'].lineData[214]++; - if (visit843_214_1(fullMatch)) { + if (visit842_214_1(fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[215]++; return TRUE; } @@ -2293,28 +2293,28 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[224]++; - var overrides = getOverrides(this), i, override = visit844_226_1(overrides[element.nodeName()] || overrides['*']); + var overrides = getOverrides(this), i, override = visit843_226_1(overrides[element.nodeName()] || overrides['*']); _$jscoverage['/editor/styles.js'].lineData[228]++; - if (visit845_228_1(override)) { + if (visit844_228_1(override)) { _$jscoverage['/editor/styles.js'].lineData[230]++; - if (visit846_230_1(!(attribs = override.attributes) && !(styles = override.styles))) { + if (visit845_230_1(!(attribs = override.attributes) && !(styles = override.styles))) { _$jscoverage['/editor/styles.js'].lineData[231]++; return TRUE; } _$jscoverage['/editor/styles.js'].lineData[233]++; - if (visit847_233_1(attribs)) { + if (visit846_233_1(attribs)) { _$jscoverage['/editor/styles.js'].lineData[234]++; - for (i = 0; visit848_234_1(i < attribs.length); i++) { + for (i = 0; visit847_234_1(i < attribs.length); i++) { _$jscoverage['/editor/styles.js'].lineData[235]++; attName = attribs[i][0]; _$jscoverage['/editor/styles.js'].lineData[236]++; var actualAttrValue = element.attr(attName); _$jscoverage['/editor/styles.js'].lineData[237]++; - if (visit849_237_1(actualAttrValue)) { + if (visit848_237_1(actualAttrValue)) { _$jscoverage['/editor/styles.js'].lineData[238]++; var attValue = attribs[i][1]; _$jscoverage['/editor/styles.js'].lineData[245]++; - if (visit850_245_1(visit851_245_2(attValue === NULL) || visit852_246_1((visit853_246_2(visit854_246_3(typeof attValue === 'string') && visit855_246_4(actualAttrValue === attValue))) || visit856_247_1(attValue.test && attValue.test(actualAttrValue))))) { + if (visit849_245_1(visit850_245_2(attValue === NULL) || visit851_246_1((visit852_246_2(visit853_246_3(typeof attValue === 'string') && visit854_246_4(actualAttrValue === attValue))) || visit855_247_1(attValue.test && attValue.test(actualAttrValue))))) { _$jscoverage['/editor/styles.js'].lineData[248]++; return TRUE; } @@ -2322,19 +2322,19 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[253]++; - if (visit857_253_1(styles)) { + if (visit856_253_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[254]++; - for (i = 0; visit858_254_1(i < styles.length); i++) { + for (i = 0; visit857_254_1(i < styles.length); i++) { _$jscoverage['/editor/styles.js'].lineData[255]++; var styleName = styles[i][0]; _$jscoverage['/editor/styles.js'].lineData[256]++; var actualStyleValue = element.css(styleName); _$jscoverage['/editor/styles.js'].lineData[257]++; - if (visit859_257_1(actualStyleValue)) { + if (visit858_257_1(actualStyleValue)) { _$jscoverage['/editor/styles.js'].lineData[258]++; var styleValue = styles[i][1]; _$jscoverage['/editor/styles.js'].lineData[259]++; - if (visit860_259_1(visit861_259_2(styleValue === NULL) || visit862_259_3((visit863_259_4(visit864_259_5(typeof styleValue === 'string') && visit865_259_6(actualStyleValue === styleValue))) || visit866_260_1(styleValue.test && styleValue.test(actualStyleValue))))) { + if (visit859_259_1(visit860_259_2(styleValue === NULL) || visit861_259_3((visit862_259_4(visit863_259_5(typeof styleValue === 'string') && visit864_259_6(actualStyleValue === styleValue))) || visit865_260_1(styleValue.test && styleValue.test(actualStyleValue))))) { _$jscoverage['/editor/styles.js'].lineData[261]++; return TRUE; } @@ -2351,27 +2351,27 @@ KISSY.add(function(S, require) { switch (this.type) { case KEST.STYLE_BLOCK: _$jscoverage['/editor/styles.js'].lineData[277]++; - return this.checkElementRemovable(visit867_277_1(elementPath.block || elementPath.blockLimit), TRUE); + return this.checkElementRemovable(visit866_277_1(elementPath.block || elementPath.blockLimit), TRUE); case KEST.STYLE_OBJECT: case KEST.STYLE_INLINE: _$jscoverage['/editor/styles.js'].lineData[282]++; var elements = elementPath.elements; _$jscoverage['/editor/styles.js'].lineData[284]++; - for (var i = 0, element; visit868_284_1(i < elements.length); i++) { + for (var i = 0, element; visit867_284_1(i < elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[285]++; element = elements[i]; _$jscoverage['/editor/styles.js'].lineData[287]++; - if (visit869_287_1(visit870_287_2(this.type === KEST.STYLE_INLINE) && (visit871_287_3(Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))))) { + if (visit868_287_1(visit869_287_2(this.type === KEST.STYLE_INLINE) && (visit870_287_3(Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))))) { _$jscoverage['/editor/styles.js'].lineData[289]++; continue; } _$jscoverage['/editor/styles.js'].lineData[292]++; - if (visit872_292_1(visit873_292_2(this.type === KEST.STYLE_OBJECT) && !(element.nodeName() in objectElements))) { + if (visit871_292_1(visit872_292_2(this.type === KEST.STYLE_OBJECT) && !(element.nodeName() in objectElements))) { _$jscoverage['/editor/styles.js'].lineData[293]++; continue; } _$jscoverage['/editor/styles.js'].lineData[296]++; - if (visit874_296_1(this.checkElementRemovable(element, TRUE))) { + if (visit873_296_1(this.checkElementRemovable(element, TRUE))) { _$jscoverage['/editor/styles.js'].lineData[297]++; return TRUE; } @@ -2386,16 +2386,16 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[308]++; var stylesDef = styleDefinition._ST; _$jscoverage['/editor/styles.js'].lineData[309]++; - if (visit875_309_1(stylesDef)) { + if (visit874_309_1(stylesDef)) { _$jscoverage['/editor/styles.js'].lineData[310]++; return stylesDef; } _$jscoverage['/editor/styles.js'].lineData[313]++; stylesDef = styleDefinition.styles; _$jscoverage['/editor/styles.js'].lineData[316]++; - var stylesText = visit876_316_1((visit877_316_2(styleDefinition.attributes && styleDefinition.attributes.style)) || ''), specialStylesText = ''; + var stylesText = visit875_316_1((visit876_316_2(styleDefinition.attributes && styleDefinition.attributes.style)) || ''), specialStylesText = ''; _$jscoverage['/editor/styles.js'].lineData[319]++; - if (visit878_319_1(stylesText.length)) { + if (visit877_319_1(stylesText.length)) { _$jscoverage['/editor/styles.js'].lineData[320]++; stylesText = stylesText.replace(semicolonFixRegex, ';'); } @@ -2404,7 +2404,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[325]++; var styleVal = stylesDef[style], text = (style + ':' + styleVal).replace(semicolonFixRegex, ';'); _$jscoverage['/editor/styles.js'].lineData[329]++; - if (visit879_329_1(styleVal === 'inherit')) { + if (visit878_329_1(styleVal === 'inherit')) { _$jscoverage['/editor/styles.js'].lineData[330]++; specialStylesText += text; } else { @@ -2413,7 +2413,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[340]++; - if (visit880_340_1(stylesText.length)) { + if (visit879_340_1(stylesText.length)) { _$jscoverage['/editor/styles.js'].lineData[341]++; stylesText = normalizeCssText(stylesText); } @@ -2430,14 +2430,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[352]++; var el, elementName = style.element; _$jscoverage['/editor/styles.js'].lineData[357]++; - if (visit881_357_1(elementName === '*')) { + if (visit880_357_1(elementName === '*')) { _$jscoverage['/editor/styles.js'].lineData[358]++; elementName = 'span'; } _$jscoverage['/editor/styles.js'].lineData[362]++; el = new Node(targetDocument.createElement(elementName)); _$jscoverage['/editor/styles.js'].lineData[365]++; - if (visit882_365_1(element)) { + if (visit881_365_1(element)) { _$jscoverage['/editor/styles.js'].lineData[366]++; element._4eCopyAttributes(el); } @@ -2450,7 +2450,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[373]++; var def = style._.definition, attributes = def.attributes, styles = KEStyle.getStyleText(def); _$jscoverage['/editor/styles.js'].lineData[378]++; - if (visit883_378_1(attributes)) { + if (visit882_378_1(attributes)) { _$jscoverage['/editor/styles.js'].lineData[379]++; for (var att in attributes) { _$jscoverage['/editor/styles.js'].lineData[380]++; @@ -2458,7 +2458,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[386]++; - if (visit884_386_1(styles)) { + if (visit883_386_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[387]++; el[0].style.cssText = styles; } @@ -2495,12 +2495,12 @@ KISSY.add(function(S, require) { str = str.replace(/(^]+_ke_bookmark.*?\/span>)|(]+_ke_bookmark.*?\/span>$)/gi, function(str, m1, m2) { _$jscoverage['/editor/styles.js'].functionData[17]++; _$jscoverage['/editor/styles.js'].lineData[420]++; - if (visit885_420_1(m1)) { + if (visit884_420_1(m1)) { _$jscoverage['/editor/styles.js'].lineData[421]++; headBookmark = m1; } _$jscoverage['/editor/styles.js'].lineData[423]++; - if (visit886_423_1(m2)) { + if (visit885_423_1(m2)) { _$jscoverage['/editor/styles.js'].lineData[424]++; tailBookmark = m2; } @@ -2524,7 +2524,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[449]++; preHTML = preHTML.replace(/]*>/gi, '\n'); _$jscoverage['/editor/styles.js'].lineData[452]++; - if (visit887_452_1(UA.ie)) { + if (visit886_452_1(UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[453]++; var temp = block[0].ownerDocument.createElement('div'); _$jscoverage['/editor/styles.js'].lineData[454]++; @@ -2566,14 +2566,14 @@ KISSY.add(function(S, require) { function replaceBlock(block, newBlock) { _$jscoverage['/editor/styles.js'].functionData[22]++; _$jscoverage['/editor/styles.js'].lineData[491]++; - var newBlockIsPre = visit888_491_1(newBlock.nodeName === ('pre')), blockIsPre = visit889_492_1(block.nodeName === ('pre')), isToPre = visit890_493_1(newBlockIsPre && !blockIsPre), isFromPre = visit891_494_1(!newBlockIsPre && blockIsPre); + var newBlockIsPre = visit887_491_1(newBlock.nodeName === ('pre')), blockIsPre = visit888_492_1(block.nodeName === ('pre')), isToPre = visit889_493_1(newBlockIsPre && !blockIsPre), isFromPre = visit890_494_1(!newBlockIsPre && blockIsPre); _$jscoverage['/editor/styles.js'].lineData[496]++; - if (visit892_496_1(isToPre)) { + if (visit891_496_1(isToPre)) { _$jscoverage['/editor/styles.js'].lineData[497]++; newBlock = toPre(block, newBlock); } else { _$jscoverage['/editor/styles.js'].lineData[499]++; - if (visit893_499_1(isFromPre)) { + if (visit892_499_1(isFromPre)) { _$jscoverage['/editor/styles.js'].lineData[501]++; newBlock = fromPres(splitIntoPres(block), newBlock); } else { @@ -2584,7 +2584,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[507]++; block[0].parentNode.replaceChild(newBlock[0], block[0]); _$jscoverage['/editor/styles.js'].lineData[508]++; - if (visit894_508_1(newBlockIsPre)) { + if (visit893_508_1(newBlockIsPre)) { _$jscoverage['/editor/styles.js'].lineData[510]++; mergePre(newBlock); } @@ -2595,14 +2595,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[516]++; var previousBlock; _$jscoverage['/editor/styles.js'].lineData[517]++; - if (visit895_517_1(!(visit896_517_2((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && visit897_518_1(previousBlock.nodeName() === 'pre'))))) { + if (visit894_517_1(!(visit895_517_2((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && visit896_518_1(previousBlock.nodeName() === 'pre'))))) { _$jscoverage['/editor/styles.js'].lineData[519]++; return; } _$jscoverage['/editor/styles.js'].lineData[529]++; var mergedHTML = replace(previousBlock.html(), /\n$/, '') + '\n\n' + replace(preBlock.html(), /^\n/, ''); _$jscoverage['/editor/styles.js'].lineData[533]++; - if (visit898_533_1(UA.ie)) { + if (visit897_533_1(UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[534]++; preBlock.outerHtml('
' + mergedHTML + '
'); } else { @@ -2618,7 +2618,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[546]++; var docFrag = newBlock[0].ownerDocument.createDocumentFragment(); _$jscoverage['/editor/styles.js'].lineData[547]++; - for (var i = 0; visit899_547_1(i < preHTMLs.length); i++) { + for (var i = 0; visit898_547_1(i < preHTMLs.length); i++) { _$jscoverage['/editor/styles.js'].lineData[548]++; var blockHTML = preHTMLs[i]; _$jscoverage['/editor/styles.js'].lineData[552]++; @@ -2631,12 +2631,12 @@ KISSY.add(function(S, require) { blockHTML = replace(blockHTML, /^[ \t]+|[ \t]+$/g, function(match, offset) { _$jscoverage['/editor/styles.js'].functionData[25]++; _$jscoverage['/editor/styles.js'].lineData[558]++; - if (visit900_558_1(match.length === 1)) { + if (visit899_558_1(match.length === 1)) { _$jscoverage['/editor/styles.js'].lineData[559]++; return ' '; } else { _$jscoverage['/editor/styles.js'].lineData[561]++; - if (visit901_561_1(!offset)) { + if (visit900_561_1(!offset)) { _$jscoverage['/editor/styles.js'].lineData[562]++; return new Array(match.length).join(' ') + ' '; } else { @@ -2669,7 +2669,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[585]++; var self = this, document = range.document; _$jscoverage['/editor/styles.js'].lineData[588]++; - if (visit902_588_1(range.collapsed)) { + if (visit901_588_1(range.collapsed)) { _$jscoverage['/editor/styles.js'].lineData[590]++; var collapsedElement = getElement(this, document, undefined); _$jscoverage['/editor/styles.js'].lineData[592]++; @@ -2682,7 +2682,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[597]++; var elementName = this.element, def = this._.definition, isUnknownElement, dtd = DTD[elementName]; _$jscoverage['/editor/styles.js'].lineData[602]++; - if (visit903_602_1(!dtd)) { + if (visit902_602_1(!dtd)) { _$jscoverage['/editor/styles.js'].lineData[603]++; isUnknownElement = TRUE; _$jscoverage['/editor/styles.js'].lineData[604]++; @@ -2697,31 +2697,31 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[616]++; var boundaryNodes = range.createBookmark(), firstNode = boundaryNodes.startNode, lastNode = boundaryNodes.endNode, currentNode = firstNode, styleRange; _$jscoverage['/editor/styles.js'].lineData[622]++; - while (visit904_622_1(currentNode && currentNode[0])) { + while (visit903_622_1(currentNode && currentNode[0])) { _$jscoverage['/editor/styles.js'].lineData[623]++; var applyStyle = FALSE; _$jscoverage['/editor/styles.js'].lineData[625]++; - if (visit905_625_1(Dom.equals(currentNode, lastNode))) { + if (visit904_625_1(Dom.equals(currentNode, lastNode))) { _$jscoverage['/editor/styles.js'].lineData[626]++; currentNode = NULL; _$jscoverage['/editor/styles.js'].lineData[627]++; applyStyle = TRUE; } else { _$jscoverage['/editor/styles.js'].lineData[630]++; - var nodeType = currentNode[0].nodeType, nodeName = visit906_631_1(nodeType === Dom.NodeType.ELEMENT_NODE) ? currentNode.nodeName() : NULL; + var nodeType = currentNode[0].nodeType, nodeName = visit905_631_1(nodeType === Dom.NodeType.ELEMENT_NODE) ? currentNode.nodeName() : NULL; _$jscoverage['/editor/styles.js'].lineData[634]++; - if (visit907_634_1(nodeName && currentNode.attr('_ke_bookmark'))) { + if (visit906_634_1(nodeName && currentNode.attr('_ke_bookmark'))) { _$jscoverage['/editor/styles.js'].lineData[635]++; currentNode = currentNode._4eNextSourceNode(TRUE); _$jscoverage['/editor/styles.js'].lineData[636]++; continue; } _$jscoverage['/editor/styles.js'].lineData[640]++; - if (visit908_640_1(!nodeName || (visit909_641_1(dtd[nodeName] && visit910_642_1(visit911_642_2((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit912_648_1(!def.childRule || def.childRule(currentNode)))))))) { + if (visit907_640_1(!nodeName || (visit908_641_1(dtd[nodeName] && visit909_642_1(visit910_642_2((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit911_648_1(!def.childRule || def.childRule(currentNode)))))))) { _$jscoverage['/editor/styles.js'].lineData[650]++; var currentParent = currentNode.parent(); _$jscoverage['/editor/styles.js'].lineData[661]++; - if (visit913_661_1(currentParent && visit914_662_1(visit915_662_2(elementName === 'a') && visit916_663_1(currentParent.nodeName() === elementName)))) { + if (visit912_661_1(currentParent && visit913_662_1(visit914_662_2(elementName === 'a') && visit915_663_1(currentParent.nodeName() === elementName)))) { _$jscoverage['/editor/styles.js'].lineData[664]++; var tmpANode = getElement(self, document, undefined); _$jscoverage['/editor/styles.js'].lineData[665]++; @@ -2732,20 +2732,20 @@ KISSY.add(function(S, require) { tmpANode._4eMergeSiblings(); } else { _$jscoverage['/editor/styles.js'].lineData[672]++; - if (visit917_672_1(currentParent && visit918_672_2(currentParent[0] && visit919_672_3((visit920_673_1((visit921_672_4(DTD[currentParent.nodeName()] || DTD.span))[elementName] || isUnknownElement)) && (visit922_674_1(!def.parentRule || def.parentRule(currentParent))))))) { + if (visit916_672_1(currentParent && visit917_672_2(currentParent[0] && visit918_672_3((visit919_673_1((visit920_672_4(DTD[currentParent.nodeName()] || DTD.span))[elementName] || isUnknownElement)) && (visit921_674_1(!def.parentRule || def.parentRule(currentParent))))))) { _$jscoverage['/editor/styles.js'].lineData[679]++; - if (visit923_679_1(!styleRange && (visit924_680_1(!nodeName || visit925_680_2(!DTD.$removeEmpty[nodeName] || visit926_680_3((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))))))) { + if (visit922_679_1(!styleRange && (visit923_680_1(!nodeName || visit924_680_2(!DTD.$removeEmpty[nodeName] || visit925_680_3((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))))))) { _$jscoverage['/editor/styles.js'].lineData[688]++; styleRange = new KERange(document); _$jscoverage['/editor/styles.js'].lineData[689]++; styleRange.setStartBefore(currentNode); } _$jscoverage['/editor/styles.js'].lineData[694]++; - if (visit927_694_1(visit928_694_2(nodeType === Dom.NodeType.TEXT_NODE) || (visit929_695_1(visit930_695_2(nodeType === Dom.NodeType.ELEMENT_NODE) && !currentNode[0].childNodes.length)))) { + if (visit926_694_1(visit927_694_2(nodeType === Dom.NodeType.TEXT_NODE) || (visit928_695_1(visit929_695_2(nodeType === Dom.NodeType.ELEMENT_NODE) && !currentNode[0].childNodes.length)))) { _$jscoverage['/editor/styles.js'].lineData[696]++; var includedNode = currentNode, parentNode = null; _$jscoverage['/editor/styles.js'].lineData[709]++; - while (visit931_710_1((applyStyle = !includedNode.next(notBookmark, 1)) && visit932_711_1((visit933_711_2((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()])) && visit934_713_1(visit935_713_2((parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit936_718_1(!def.childRule || def.childRule(parentNode))))))) { + while (visit930_710_1((applyStyle = !includedNode.next(notBookmark, 1)) && visit931_711_1((visit932_711_2((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()])) && visit933_713_1(visit934_713_2((parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit935_718_1(!def.childRule || def.childRule(parentNode))))))) { _$jscoverage['/editor/styles.js'].lineData[719]++; includedNode = parentNode; } @@ -2765,7 +2765,7 @@ KISSY.add(function(S, require) { currentNode = currentNode._4eNextSourceNode(); } _$jscoverage['/editor/styles.js'].lineData[739]++; - if (visit937_739_1(applyStyle && visit938_739_2(styleRange && !styleRange.collapsed))) { + if (visit936_739_1(applyStyle && visit937_739_2(styleRange && !styleRange.collapsed))) { _$jscoverage['/editor/styles.js'].lineData[741]++; var styleNode = getElement(self, document, undefined), parent = styleRange.getCommonAncestor(); _$jscoverage['/editor/styles.js'].lineData[747]++; @@ -2777,18 +2777,18 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[756]++; var attName, styleName = null, value; _$jscoverage['/editor/styles.js'].lineData[760]++; - while (visit939_760_1(styleNode && visit940_760_2(parent && visit941_760_3(styleNode[0] && parent[0])))) { + while (visit938_760_1(styleNode && visit939_760_2(parent && visit940_760_3(styleNode[0] && parent[0])))) { _$jscoverage['/editor/styles.js'].lineData[761]++; - if (visit942_761_1(parent.nodeName() === elementName)) { + if (visit941_761_1(parent.nodeName() === elementName)) { _$jscoverage['/editor/styles.js'].lineData[762]++; for (attName in def.attributes) { _$jscoverage['/editor/styles.js'].lineData[764]++; - if (visit943_764_1(removeList.blockedAttrs[attName] || !(value = parent.attr(styleName)))) { + if (visit942_764_1(removeList.blockedAttrs[attName] || !(value = parent.attr(styleName)))) { _$jscoverage['/editor/styles.js'].lineData[765]++; continue; } _$jscoverage['/editor/styles.js'].lineData[768]++; - if (visit944_768_1(styleNode.attr(attName) === value)) { + if (visit943_768_1(styleNode.attr(attName) === value)) { _$jscoverage['/editor/styles.js'].lineData[770]++; styleNode.removeAttr(attName); } else { @@ -2799,12 +2799,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[780]++; for (styleName in def.styles) { _$jscoverage['/editor/styles.js'].lineData[782]++; - if (visit945_782_1(removeList.blockedStyles[styleName] || !(value = parent.style(styleName)))) { + if (visit944_782_1(removeList.blockedStyles[styleName] || !(value = parent.style(styleName)))) { _$jscoverage['/editor/styles.js'].lineData[783]++; continue; } _$jscoverage['/editor/styles.js'].lineData[786]++; - if (visit946_786_1(styleNode.style(styleName) === value)) { + if (visit945_786_1(styleNode.style(styleName) === value)) { _$jscoverage['/editor/styles.js'].lineData[788]++; styleNode.style(styleName, ''); } else { @@ -2813,7 +2813,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[795]++; - if (visit947_795_1(!styleNode._4eHasAttributes())) { + if (visit946_795_1(!styleNode._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[796]++; styleNode = NULL; _$jscoverage['/editor/styles.js'].lineData[797]++; @@ -2824,7 +2824,7 @@ KISSY.add(function(S, require) { parent = parent.parent(); } _$jscoverage['/editor/styles.js'].lineData[804]++; - if (visit948_804_1(styleNode)) { + if (visit947_804_1(styleNode)) { _$jscoverage['/editor/styles.js'].lineData[806]++; styleNode[0].appendChild(styleRange.extractContents()); _$jscoverage['/editor/styles.js'].lineData[810]++; @@ -2834,7 +2834,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[817]++; styleNode._4eMergeSiblings(); _$jscoverage['/editor/styles.js'].lineData[825]++; - if (visit949_825_1(!UA.ie)) { + if (visit948_825_1(!UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[826]++; styleNode[0].normalize(); } @@ -2871,22 +2871,22 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[868]++; var bookmark = range.createBookmark(), startNode = bookmark.startNode; _$jscoverage['/editor/styles.js'].lineData[871]++; - if (visit950_871_1(range.collapsed)) { + if (visit949_871_1(range.collapsed)) { _$jscoverage['/editor/styles.js'].lineData[873]++; var startPath = new ElementPath(startNode.parent()), boundaryElement; _$jscoverage['/editor/styles.js'].lineData[878]++; - for (var i = 0, element; visit951_878_1(visit952_878_2(i < startPath.elements.length) && (element = startPath.elements[i])); i++) { + for (var i = 0, element; visit950_878_1(visit951_878_2(i < startPath.elements.length) && (element = startPath.elements[i])); i++) { _$jscoverage['/editor/styles.js'].lineData[886]++; - if (visit953_886_1(visit954_886_2(element === startPath.block) || visit955_886_3(element === startPath.blockLimit))) { + if (visit952_886_1(visit953_886_2(element === startPath.block) || visit954_886_3(element === startPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[887]++; break; } _$jscoverage['/editor/styles.js'].lineData[889]++; - if (visit956_889_1(this.checkElementRemovable(element))) { + if (visit955_889_1(this.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[890]++; - var endOfElement = range.checkBoundaryOfElement(element, KER.END), startOfElement = visit957_891_1(!endOfElement && range.checkBoundaryOfElement(element, KER.START)); + var endOfElement = range.checkBoundaryOfElement(element, KER.END), startOfElement = visit956_891_1(!endOfElement && range.checkBoundaryOfElement(element, KER.START)); _$jscoverage['/editor/styles.js'].lineData[893]++; - if (visit958_893_1(startOfElement || endOfElement)) { + if (visit957_893_1(startOfElement || endOfElement)) { _$jscoverage['/editor/styles.js'].lineData[894]++; boundaryElement = element; _$jscoverage['/editor/styles.js'].lineData[895]++; @@ -2895,11 +2895,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[903]++; element._4eMergeSiblings(); _$jscoverage['/editor/styles.js'].lineData[907]++; - if (visit959_907_1(element.nodeName() !== this.element)) { + if (visit958_907_1(element.nodeName() !== this.element)) { _$jscoverage['/editor/styles.js'].lineData[908]++; var _overrides = getOverrides(this); _$jscoverage['/editor/styles.js'].lineData[909]++; - removeOverrides(element, visit960_910_1(_overrides[element.nodeName()] || _overrides['*'])); + removeOverrides(element, visit959_910_1(_overrides[element.nodeName()] || _overrides['*'])); } else { _$jscoverage['/editor/styles.js'].lineData[912]++; removeFromElement(this, element); @@ -2908,7 +2908,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[922]++; - if (visit961_922_1(boundaryElement)) { + if (visit960_922_1(boundaryElement)) { _$jscoverage['/editor/styles.js'].lineData[923]++; var clonedElement = startNode; _$jscoverage['/editor/styles.js'].lineData[924]++; @@ -2916,12 +2916,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[925]++; var newElement = startPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[926]++; - if (visit962_926_1(newElement.equals(boundaryElement))) { + if (visit961_926_1(newElement.equals(boundaryElement))) { _$jscoverage['/editor/styles.js'].lineData[927]++; break; } else { _$jscoverage['/editor/styles.js'].lineData[930]++; - if (visit963_930_1(newElement.match)) { + if (visit962_930_1(newElement.match)) { _$jscoverage['/editor/styles.js'].lineData[931]++; continue; } else { @@ -2935,16 +2935,16 @@ KISSY.add(function(S, require) { clonedElement = newElement; } _$jscoverage['/editor/styles.js'].lineData[943]++; - clonedElement[visit964_942_1(boundaryElement.match === 'start') ? 'insertBefore' : 'insertAfter'](boundaryElement); + clonedElement[visit963_942_1(boundaryElement.match === 'start') ? 'insertBefore' : 'insertAfter'](boundaryElement); _$jscoverage['/editor/styles.js'].lineData[946]++; var tmp = boundaryElement.html(); _$jscoverage['/editor/styles.js'].lineData[947]++; - if (visit965_947_1(!tmp || visit966_949_1(tmp === '\u200b'))) { + if (visit964_947_1(!tmp || visit965_949_1(tmp === '\u200b'))) { _$jscoverage['/editor/styles.js'].lineData[950]++; boundaryElement.remove(); } else { _$jscoverage['/editor/styles.js'].lineData[953]++; - if (visit967_953_1(UA.webkit)) { + if (visit966_953_1(UA.webkit)) { _$jscoverage['/editor/styles.js'].lineData[954]++; $(range.document.createTextNode('\u200b')).insertBefore(clonedElement); } @@ -2959,42 +2959,42 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[970]++; var startPath = new ElementPath(startNode.parent()), endPath = new ElementPath(endNode.parent()), breakStart = NULL, element, breakEnd = NULL; _$jscoverage['/editor/styles.js'].lineData[975]++; - for (var i = 0; visit968_975_1(i < startPath.elements.length); i++) { + for (var i = 0; visit967_975_1(i < startPath.elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[976]++; element = startPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[978]++; - if (visit969_978_1(visit970_978_2(element === startPath.block) || visit971_979_1(element === startPath.blockLimit))) { + if (visit968_978_1(visit969_978_2(element === startPath.block) || visit970_979_1(element === startPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[980]++; break; } _$jscoverage['/editor/styles.js'].lineData[983]++; - if (visit972_983_1(me.checkElementRemovable(element))) { + if (visit971_983_1(me.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[984]++; breakStart = element; } } _$jscoverage['/editor/styles.js'].lineData[987]++; - for (i = 0; visit973_987_1(i < endPath.elements.length); i++) { + for (i = 0; visit972_987_1(i < endPath.elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[988]++; element = endPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[990]++; - if (visit974_990_1(visit975_990_2(element === endPath.block) || visit976_991_1(element === endPath.blockLimit))) { + if (visit973_990_1(visit974_990_2(element === endPath.block) || visit975_991_1(element === endPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[992]++; break; } _$jscoverage['/editor/styles.js'].lineData[995]++; - if (visit977_995_1(me.checkElementRemovable(element))) { + if (visit976_995_1(me.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[996]++; breakEnd = element; } } _$jscoverage['/editor/styles.js'].lineData[1000]++; - if (visit978_1000_1(breakEnd)) { + if (visit977_1000_1(breakEnd)) { _$jscoverage['/editor/styles.js'].lineData[1001]++; endNode._4eBreakParent(breakEnd); } _$jscoverage['/editor/styles.js'].lineData[1003]++; - if (visit979_1003_1(breakStart)) { + if (visit978_1003_1(breakStart)) { _$jscoverage['/editor/styles.js'].lineData[1004]++; startNode._4eBreakParent(breakStart); } @@ -3004,23 +3004,23 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1011]++; var currentNode = new Node(startNode[0].nextSibling); _$jscoverage['/editor/styles.js'].lineData[1012]++; - while (visit980_1012_1(currentNode[0] !== endNode[0])) { + while (visit979_1012_1(currentNode[0] !== endNode[0])) { _$jscoverage['/editor/styles.js'].lineData[1017]++; var nextNode = currentNode._4eNextSourceNode(); _$jscoverage['/editor/styles.js'].lineData[1018]++; - if (visit981_1018_1(currentNode[0] && visit982_1019_1(visit983_1019_2(currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && this.checkElementRemovable(currentNode)))) { + if (visit980_1018_1(currentNode[0] && visit981_1019_1(visit982_1019_2(currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && this.checkElementRemovable(currentNode)))) { _$jscoverage['/editor/styles.js'].lineData[1022]++; - if (visit984_1022_1(currentNode.nodeName() === this.element)) { + if (visit983_1022_1(currentNode.nodeName() === this.element)) { _$jscoverage['/editor/styles.js'].lineData[1023]++; removeFromElement(this, currentNode); } else { _$jscoverage['/editor/styles.js'].lineData[1026]++; var overrides = getOverrides(this); _$jscoverage['/editor/styles.js'].lineData[1027]++; - removeOverrides(currentNode, visit985_1028_1(overrides[currentNode.nodeName()] || overrides['*'])); + removeOverrides(currentNode, visit984_1028_1(overrides[currentNode.nodeName()] || overrides['*'])); } _$jscoverage['/editor/styles.js'].lineData[1038]++; - if (visit986_1038_1(visit987_1038_2(nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && nextNode.contains(startNode))) { + if (visit985_1038_1(visit986_1038_2(nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && nextNode.contains(startNode))) { _$jscoverage['/editor/styles.js'].lineData[1040]++; breakNodes(); _$jscoverage['/editor/styles.js'].lineData[1041]++; @@ -3054,19 +3054,19 @@ KISSY.add(function(S, require) { function compareCssText(source, target) { _$jscoverage['/editor/styles.js'].functionData[32]++; _$jscoverage['/editor/styles.js'].lineData[1063]++; - if (visit988_1063_1(typeof source === 'string')) { + if (visit987_1063_1(typeof source === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1064]++; source = parseStyleText(source); } _$jscoverage['/editor/styles.js'].lineData[1066]++; - if (visit989_1066_1(target === 'string')) { + if (visit988_1066_1(target === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1067]++; target = parseStyleText(target); } _$jscoverage['/editor/styles.js'].lineData[1069]++; for (var name in source) { _$jscoverage['/editor/styles.js'].lineData[1073]++; - if (visit990_1073_1(!(visit991_1073_2(name in target && (visit992_1074_1(visit993_1074_2(target[name] === source[name]) || visit994_1075_1(visit995_1075_2(source[name] === 'inherit') || visit996_1075_3(target[name] === 'inherit')))))))) { + if (visit989_1073_1(!(visit990_1073_2(name in target && (visit991_1074_1(visit992_1074_2(target[name] === source[name]) || visit993_1075_1(visit994_1075_2(source[name] === 'inherit') || visit995_1075_3(target[name] === 'inherit')))))))) { _$jscoverage['/editor/styles.js'].lineData[1076]++; return FALSE; } @@ -3080,13 +3080,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1084]++; var styleText = ''; _$jscoverage['/editor/styles.js'].lineData[1085]++; - if (visit997_1085_1(nativeNormalize !== FALSE)) { + if (visit996_1085_1(nativeNormalize !== FALSE)) { _$jscoverage['/editor/styles.js'].lineData[1088]++; var temp = document.createElement('span'); _$jscoverage['/editor/styles.js'].lineData[1089]++; temp.style.cssText = unParsedCssText; _$jscoverage['/editor/styles.js'].lineData[1091]++; - styleText = visit998_1091_1(temp.style.cssText || ''); + styleText = visit997_1091_1(temp.style.cssText || ''); } else { _$jscoverage['/editor/styles.js'].lineData[1094]++; styleText = unParsedCssText; @@ -3100,7 +3100,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1111]++; var attribs = styleDefinition._AC; _$jscoverage['/editor/styles.js'].lineData[1112]++; - if (visit999_1112_1(attribs)) { + if (visit998_1112_1(attribs)) { _$jscoverage['/editor/styles.js'].lineData[1113]++; return attribs; } @@ -3109,7 +3109,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1117]++; var length = 0, styleAttribs = styleDefinition.attributes; _$jscoverage['/editor/styles.js'].lineData[1121]++; - if (visit1000_1121_1(styleAttribs)) { + if (visit999_1121_1(styleAttribs)) { _$jscoverage['/editor/styles.js'].lineData[1122]++; for (var styleAtt in styleAttribs) { _$jscoverage['/editor/styles.js'].lineData[1124]++; @@ -3121,9 +3121,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1131]++; var styleText = KEStyle.getStyleText(styleDefinition); _$jscoverage['/editor/styles.js'].lineData[1132]++; - if (visit1001_1132_1(styleText)) { + if (visit1000_1132_1(styleText)) { _$jscoverage['/editor/styles.js'].lineData[1133]++; - if (visit1002_1133_1(!attribs.style)) { + if (visit1001_1133_1(!attribs.style)) { _$jscoverage['/editor/styles.js'].lineData[1134]++; length++; } @@ -3141,21 +3141,21 @@ KISSY.add(function(S, require) { function getOverrides(style) { _$jscoverage['/editor/styles.js'].functionData[35]++; _$jscoverage['/editor/styles.js'].lineData[1155]++; - if (visit1003_1155_1(style._.overrides)) { + if (visit1002_1155_1(style._.overrides)) { _$jscoverage['/editor/styles.js'].lineData[1156]++; return style._.overrides; } _$jscoverage['/editor/styles.js'].lineData[1159]++; var overrides = (style._.overrides = {}), definition = style._.definition.overrides; _$jscoverage['/editor/styles.js'].lineData[1162]++; - if (visit1004_1162_1(definition)) { + if (visit1003_1162_1(definition)) { _$jscoverage['/editor/styles.js'].lineData[1165]++; - if (visit1005_1165_1(!S.isArray(definition))) { + if (visit1004_1165_1(!S.isArray(definition))) { _$jscoverage['/editor/styles.js'].lineData[1166]++; definition = [definition]; } _$jscoverage['/editor/styles.js'].lineData[1170]++; - for (var i = 0; visit1006_1170_1(i < definition.length); i++) { + for (var i = 0; visit1005_1170_1(i < definition.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1171]++; var override = definition[i]; _$jscoverage['/editor/styles.js'].lineData[1172]++; @@ -3165,7 +3165,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1174]++; var attrs, styles; _$jscoverage['/editor/styles.js'].lineData[1177]++; - if (visit1007_1177_1(typeof override === 'string')) { + if (visit1006_1177_1(typeof override === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1178]++; elementName = override.toLowerCase(); } else { @@ -3177,11 +3177,11 @@ KISSY.add(function(S, require) { styles = override.styles; } _$jscoverage['/editor/styles.js'].lineData[1192]++; - overrideEl = visit1008_1192_1(overrides[elementName] || (overrides[elementName] = {})); + overrideEl = visit1007_1192_1(overrides[elementName] || (overrides[elementName] = {})); _$jscoverage['/editor/styles.js'].lineData[1195]++; - if (visit1009_1195_1(attrs)) { + if (visit1008_1195_1(attrs)) { _$jscoverage['/editor/styles.js'].lineData[1199]++; - var overrideAttrs = (overrideEl.attributes = visit1010_1200_1(overrideEl.attributes || [])); + var overrideAttrs = (overrideEl.attributes = visit1009_1200_1(overrideEl.attributes || [])); _$jscoverage['/editor/styles.js'].lineData[1201]++; for (var attName in attrs) { _$jscoverage['/editor/styles.js'].lineData[1205]++; @@ -3189,9 +3189,9 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[1210]++; - if (visit1011_1210_1(styles)) { + if (visit1010_1210_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[1214]++; - var overrideStyles = (overrideEl.styles = visit1012_1215_1(overrideEl.styles || [])); + var overrideStyles = (overrideEl.styles = visit1011_1215_1(overrideEl.styles || [])); _$jscoverage['/editor/styles.js'].lineData[1216]++; for (var styleName in styles) { _$jscoverage['/editor/styles.js'].lineData[1220]++; @@ -3207,28 +3207,28 @@ KISSY.add(function(S, require) { function removeFromElement(style, element) { _$jscoverage['/editor/styles.js'].functionData[36]++; _$jscoverage['/editor/styles.js'].lineData[1231]++; - var def = style._.definition, overrides = getOverrides(style), attributes = S.merge(def.attributes, (visit1013_1234_1(overrides[element.nodeName()] || visit1014_1234_2(overrides['*'] || {}))).attributes), styles = S.merge(def.styles, (visit1015_1236_1(overrides[element.nodeName()] || visit1016_1236_2(overrides['*'] || {}))).styles), removeEmpty = visit1017_1238_1(S.isEmptyObject(attributes) && S.isEmptyObject(styles)); + var def = style._.definition, overrides = getOverrides(style), attributes = S.merge(def.attributes, (visit1012_1234_1(overrides[element.nodeName()] || visit1013_1234_2(overrides['*'] || {}))).attributes), styles = S.merge(def.styles, (visit1014_1236_1(overrides[element.nodeName()] || visit1015_1236_2(overrides['*'] || {}))).styles), removeEmpty = visit1016_1238_1(S.isEmptyObject(attributes) && S.isEmptyObject(styles)); _$jscoverage['/editor/styles.js'].lineData[1242]++; for (var attName in attributes) { _$jscoverage['/editor/styles.js'].lineData[1245]++; - if (visit1018_1245_1((visit1019_1245_2(visit1020_1245_3(attName === 'class') || style._.definition.fullMatch)) && visit1021_1245_4(element.attr(attName) !== normalizeProperty(attName, attributes[attName])))) { + if (visit1017_1245_1((visit1018_1245_2(visit1019_1245_3(attName === 'class') || style._.definition.fullMatch)) && visit1020_1245_4(element.attr(attName) !== normalizeProperty(attName, attributes[attName])))) { _$jscoverage['/editor/styles.js'].lineData[1247]++; continue; } _$jscoverage['/editor/styles.js'].lineData[1249]++; - removeEmpty = visit1022_1249_1(removeEmpty || !!element.hasAttr(attName)); + removeEmpty = visit1021_1249_1(removeEmpty || !!element.hasAttr(attName)); _$jscoverage['/editor/styles.js'].lineData[1250]++; element.removeAttr(attName); } _$jscoverage['/editor/styles.js'].lineData[1254]++; for (var styleName in styles) { _$jscoverage['/editor/styles.js'].lineData[1257]++; - if (visit1023_1257_1(style._.definition.fullMatch && visit1024_1258_1(element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)))) { + if (visit1022_1257_1(style._.definition.fullMatch && visit1023_1258_1(element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)))) { _$jscoverage['/editor/styles.js'].lineData[1259]++; continue; } _$jscoverage['/editor/styles.js'].lineData[1262]++; - removeEmpty = visit1025_1262_1(removeEmpty || !!element.style(styleName)); + removeEmpty = visit1024_1262_1(removeEmpty || !!element.style(styleName)); _$jscoverage['/editor/styles.js'].lineData[1264]++; element.style(styleName, ''); } @@ -3251,18 +3251,18 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1281]++; var overrides = getOverrides(style), innerElements = element.all(style.element); _$jscoverage['/editor/styles.js'].lineData[1287]++; - for (var i = innerElements.length; visit1026_1287_1(--i >= 0); ) { + for (var i = innerElements.length; visit1025_1287_1(--i >= 0); ) { _$jscoverage['/editor/styles.js'].lineData[1288]++; removeFromElement(style, new Node(innerElements[i])); } _$jscoverage['/editor/styles.js'].lineData[1293]++; for (var overrideElement in overrides) { _$jscoverage['/editor/styles.js'].lineData[1295]++; - if (visit1027_1295_1(overrideElement !== style.element)) { + if (visit1026_1295_1(overrideElement !== style.element)) { _$jscoverage['/editor/styles.js'].lineData[1296]++; innerElements = element.all(overrideElement); _$jscoverage['/editor/styles.js'].lineData[1297]++; - for (i = innerElements.length - 1; visit1028_1297_1(i >= 0); i--) { + for (i = innerElements.length - 1; visit1027_1297_1(i >= 0); i--) { _$jscoverage['/editor/styles.js'].lineData[1298]++; var innerElement = new Node(innerElements[i]); _$jscoverage['/editor/styles.js'].lineData[1299]++; @@ -3275,11 +3275,11 @@ KISSY.add(function(S, require) { function removeOverrides(element, overrides) { _$jscoverage['/editor/styles.js'].functionData[39]++; _$jscoverage['/editor/styles.js'].lineData[1313]++; - var i, actualAttrValue, attributes = visit1029_1314_1(overrides && overrides.attributes); + var i, actualAttrValue, attributes = visit1028_1314_1(overrides && overrides.attributes); _$jscoverage['/editor/styles.js'].lineData[1316]++; - if (visit1030_1316_1(attributes)) { + if (visit1029_1316_1(attributes)) { _$jscoverage['/editor/styles.js'].lineData[1317]++; - for (i = 0; visit1031_1317_1(i < attributes.length); i++) { + for (i = 0; visit1030_1317_1(i < attributes.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1318]++; var attName = attributes[i][0]; _$jscoverage['/editor/styles.js'].lineData[1320]++; @@ -3287,7 +3287,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1321]++; var attValue = attributes[i][1]; _$jscoverage['/editor/styles.js'].lineData[1329]++; - if (visit1032_1329_1(visit1033_1329_2(attValue === NULL) || visit1034_1330_1((visit1035_1330_2(attValue.test && attValue.test(actualAttrValue))) || (visit1036_1331_1(visit1037_1331_2(typeof attValue === 'string') && visit1038_1331_3(actualAttrValue === attValue)))))) { + if (visit1031_1329_1(visit1032_1329_2(attValue === NULL) || visit1033_1330_1((visit1034_1330_2(attValue.test && attValue.test(actualAttrValue))) || (visit1035_1331_1(visit1036_1331_2(typeof attValue === 'string') && visit1037_1331_3(actualAttrValue === attValue)))))) { _$jscoverage['/editor/styles.js'].lineData[1332]++; element[0].removeAttribute(attName); } @@ -3295,11 +3295,11 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[1338]++; - var styles = visit1039_1338_1(overrides && overrides.styles); + var styles = visit1038_1338_1(overrides && overrides.styles); _$jscoverage['/editor/styles.js'].lineData[1340]++; - if (visit1040_1340_1(styles)) { + if (visit1039_1340_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[1341]++; - for (i = 0; visit1041_1341_1(i < styles.length); i++) { + for (i = 0; visit1040_1341_1(i < styles.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1342]++; var styleName = styles[i][0], actualStyleValue; _$jscoverage['/editor/styles.js'].lineData[1344]++; @@ -3307,7 +3307,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1345]++; var styleValue = styles[i][1]; _$jscoverage['/editor/styles.js'].lineData[1346]++; - if (visit1042_1346_1(visit1043_1346_2(styleValue === NULL) || visit1044_1348_1((visit1045_1348_2(styleValue.test && styleValue.test(actualAttrValue))) || (visit1046_1349_1(visit1047_1349_2(typeof styleValue === 'string') && visit1048_1349_3(actualStyleValue === styleValue)))))) { + if (visit1041_1346_1(visit1042_1346_2(styleValue === NULL) || visit1043_1348_1((visit1044_1348_2(styleValue.test && styleValue.test(actualAttrValue))) || (visit1045_1349_1(visit1046_1349_2(typeof styleValue === 'string') && visit1047_1349_3(actualStyleValue === styleValue)))))) { _$jscoverage['/editor/styles.js'].lineData[1350]++; element.css(styleName, ''); } @@ -3321,20 +3321,20 @@ KISSY.add(function(S, require) { function removeNoAttribsElement(element) { _$jscoverage['/editor/styles.js'].functionData[40]++; _$jscoverage['/editor/styles.js'].lineData[1363]++; - if (visit1049_1363_1(!element._4eHasAttributes())) { + if (visit1048_1363_1(!element._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[1366]++; var firstChild = element[0].firstChild, lastChild = element[0].lastChild; _$jscoverage['/editor/styles.js'].lineData[1369]++; element._4eRemove(TRUE); _$jscoverage['/editor/styles.js'].lineData[1371]++; - if (visit1050_1371_1(firstChild)) { + if (visit1049_1371_1(firstChild)) { _$jscoverage['/editor/styles.js'].lineData[1373]++; - if (visit1051_1373_1(firstChild.nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit1050_1373_1(firstChild.nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/styles.js'].lineData[1374]++; Dom._4eMergeSiblings(firstChild); } _$jscoverage['/editor/styles.js'].lineData[1377]++; - if (visit1052_1377_1(lastChild && visit1053_1377_2(visit1054_1377_3(firstChild !== lastChild) && visit1055_1377_4(lastChild.nodeType === Dom.NodeType.ELEMENT_NODE)))) { + if (visit1051_1377_1(lastChild && visit1052_1377_2(visit1053_1377_3(firstChild !== lastChild) && visit1054_1377_4(lastChild.nodeType === Dom.NodeType.ELEMENT_NODE)))) { _$jscoverage['/editor/styles.js'].lineData[1378]++; Dom._4eMergeSiblings(lastChild); } diff --git a/src/editor/coverage/src/editor/utils.js b/src/editor/coverage/src/editor/utils.js index 184470393a..c4600a1c45 100644 --- a/src/editor/coverage/src/editor/utils.js +++ b/src/editor/coverage/src/editor/utils.js @@ -421,107 +421,107 @@ if (! _$jscoverage['/editor/utils.js'].branchData) { _$jscoverage['/editor/utils.js'].branchData['228'][1] = new BranchData(); } _$jscoverage['/editor/utils.js'].branchData['228'][1].init(143, 8, 'r.remove'); -function visit1081_228_1(result) { +function visit1080_228_1(result) { _$jscoverage['/editor/utils.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['225'][1].init(29, 9, 'r.destroy'); -function visit1080_225_1(result) { +function visit1079_225_1(result) { _$jscoverage['/editor/utils.js'].branchData['225'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['222'][1].init(61, 23, 'typeof r === \'function\''); -function visit1079_222_1(result) { +function visit1078_222_1(result) { _$jscoverage['/editor/utils.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['220'][1].init(77, 14, 'i < res.length'); -function visit1078_220_1(result) { +function visit1077_220_1(result) { _$jscoverage['/editor/utils.js'].branchData['220'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['219'][1].init(27, 16, 'this.__res || []'); -function visit1077_219_1(result) { +function visit1076_219_1(result) { _$jscoverage['/editor/utils.js'].branchData['219'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['213'][1].init(30, 16, 'this.__res || []'); -function visit1076_213_1(result) { +function visit1075_213_1(result) { _$jscoverage['/editor/utils.js'].branchData['213'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['201'][2].init(63, 25, 'ret[0] && ret[0].nodeType'); -function visit1075_201_2(result) { +function visit1074_201_2(result) { _$jscoverage['/editor/utils.js'].branchData['201'][2].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['201'][1].init(41, 48, 'ret.__IS_NODELIST || (ret[0] && ret[0].nodeType)'); -function visit1074_201_1(result) { +function visit1073_201_1(result) { _$jscoverage['/editor/utils.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['200'][1].init(37, 14, 'S.isArray(ret)'); -function visit1073_200_1(result) { +function visit1072_200_1(result) { _$jscoverage['/editor/utils.js'].branchData['200'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['197'][2].init(231, 31, 'ret.nodeType || S.isWindow(ret)'); -function visit1072_197_2(result) { +function visit1071_197_2(result) { _$jscoverage['/editor/utils.js'].branchData['197'][2].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['197'][1].init(223, 40, 'ret && (ret.nodeType || S.isWindow(ret))'); -function visit1071_197_1(result) { +function visit1070_197_1(result) { _$jscoverage['/editor/utils.js'].branchData['197'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['180'][1].init(21, 5, 'UA.ie'); -function visit1070_180_1(result) { +function visit1069_180_1(result) { _$jscoverage['/editor/utils.js'].branchData['180'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['167'][1].init(65, 23, 'typeof v === \'function\''); -function visit1069_167_1(result) { +function visit1068_167_1(result) { _$jscoverage['/editor/utils.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['151'][1].init(85, 25, 'S.trim(inp.val()) === tip'); -function visit1068_151_1(result) { +function visit1067_151_1(result) { _$jscoverage['/editor/utils.js'].branchData['151'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['144'][1].init(25, 18, '!S.trim(inp.val())'); -function visit1067_144_1(result) { +function visit1066_144_1(result) { _$jscoverage['/editor/utils.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['140'][1].init(67, 6, '!UA.ie'); -function visit1066_140_1(result) { +function visit1065_140_1(result) { _$jscoverage['/editor/utils.js'].branchData['140'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['126'][1].init(25, 35, 'inp.hasClass(\'ks-editor-input-tip\')'); -function visit1065_126_1(result) { +function visit1064_126_1(result) { _$jscoverage['/editor/utils.js'].branchData['126'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['125'][1].init(21, 17, 'val === undefined'); -function visit1064_125_1(result) { +function visit1063_125_1(result) { _$jscoverage['/editor/utils.js'].branchData['125'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['119'][1].init(231, 6, '!UA.ie'); -function visit1063_119_1(result) { +function visit1062_119_1(result) { _$jscoverage['/editor/utils.js'].branchData['119'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['116'][1].init(80, 20, 'placeholder && UA.ie'); -function visit1062_116_1(result) { +function visit1061_116_1(result) { _$jscoverage['/editor/utils.js'].branchData['116'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['100'][1].init(259, 37, 'verify && !new RegExp(verify).test(v)'); -function visit1061_100_1(result) { +function visit1060_100_1(result) { _$jscoverage['/editor/utils.js'].branchData['100'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['95'][1].init(33, 17, 'i < inputs.length'); -function visit1060_95_1(result) { +function visit1059_95_1(result) { _$jscoverage['/editor/utils.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['64'][1].init(93, 10, 'i < length'); -function visit1059_64_1(result) { +function visit1058_64_1(result) { _$jscoverage['/editor/utils.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['27'][1].init(25, 23, 'url.indexOf(\'?\') !== -1'); -function visit1058_27_1(result) { +function visit1057_27_1(result) { _$jscoverage['/editor/utils.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['26'][1].init(180, 24, 'url.indexOf(\'?t\') === -1'); -function visit1057_26_1(result) { +function visit1056_26_1(result) { _$jscoverage['/editor/utils.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['23'][1].init(60, 13, '!Config.debug'); -function visit1056_23_1(result) { +function visit1055_23_1(result) { _$jscoverage['/editor/utils.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].lineData[6]++; @@ -538,14 +538,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[22]++; var Config = S.Config; _$jscoverage['/editor/utils.js'].lineData[23]++; - if (visit1056_23_1(!Config.debug)) { + if (visit1055_23_1(!Config.debug)) { _$jscoverage['/editor/utils.js'].lineData[24]++; url = url.replace(/\.(js|css)/i, '-min.$1'); } _$jscoverage['/editor/utils.js'].lineData[26]++; - if (visit1057_26_1(url.indexOf('?t') === -1)) { + if (visit1056_26_1(url.indexOf('?t') === -1)) { _$jscoverage['/editor/utils.js'].lineData[27]++; - if (visit1058_27_1(url.indexOf('?') !== -1)) { + if (visit1057_27_1(url.indexOf('?') !== -1)) { _$jscoverage['/editor/utils.js'].lineData[28]++; url += '&'; } else { @@ -597,7 +597,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[63]++; var returnValue; _$jscoverage['/editor/utils.js'].lineData[64]++; - for (var i = 0, length = arguments.length; visit1059_64_1(i < length); i++) { + for (var i = 0, length = arguments.length; visit1058_64_1(i < length); i++) { _$jscoverage['/editor/utils.js'].lineData[65]++; var lambda = arguments[i]; _$jscoverage['/editor/utils.js'].lineData[66]++; @@ -638,11 +638,11 @@ KISSY.add(function(S, require) { verifyInputs: function(inputs) { _$jscoverage['/editor/utils.js'].functionData[10]++; _$jscoverage['/editor/utils.js'].lineData[95]++; - for (var i = 0; visit1060_95_1(i < inputs.length); i++) { + for (var i = 0; visit1059_95_1(i < inputs.length); i++) { _$jscoverage['/editor/utils.js'].lineData[96]++; var input = new Node(inputs[i]), v = S.trim(Utils.valInput(input)), verify = input.attr('data-verify'), warning = input.attr('data-warning'); _$jscoverage['/editor/utils.js'].lineData[100]++; - if (visit1061_100_1(verify && !new RegExp(verify).test(v))) { + if (visit1060_100_1(verify && !new RegExp(verify).test(v))) { _$jscoverage['/editor/utils.js'].lineData[102]++; alert(warning); _$jscoverage['/editor/utils.js'].lineData[103]++; @@ -664,14 +664,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[115]++; var placeholder = inp.attr('placeholder'); _$jscoverage['/editor/utils.js'].lineData[116]++; - if (visit1062_116_1(placeholder && UA.ie)) { + if (visit1061_116_1(placeholder && UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[117]++; inp.addClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[118]++; inp.val(placeholder); } else { _$jscoverage['/editor/utils.js'].lineData[119]++; - if (visit1063_119_1(!UA.ie)) { + if (visit1062_119_1(!UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[120]++; inp.val(''); } @@ -680,9 +680,9 @@ KISSY.add(function(S, require) { valInput: function(inp, val) { _$jscoverage['/editor/utils.js'].functionData[13]++; _$jscoverage['/editor/utils.js'].lineData[125]++; - if (visit1064_125_1(val === undefined)) { + if (visit1063_125_1(val === undefined)) { _$jscoverage['/editor/utils.js'].lineData[126]++; - if (visit1065_126_1(inp.hasClass('ks-editor-input-tip'))) { + if (visit1064_126_1(inp.hasClass('ks-editor-input-tip'))) { _$jscoverage['/editor/utils.js'].lineData[127]++; return ''; } else { @@ -703,7 +703,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[139]++; inp.attr('placeholder', tip); _$jscoverage['/editor/utils.js'].lineData[140]++; - if (visit1066_140_1(!UA.ie)) { + if (visit1065_140_1(!UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[141]++; return; } @@ -711,7 +711,7 @@ KISSY.add(function(S, require) { inp.on('blur', function() { _$jscoverage['/editor/utils.js'].functionData[15]++; _$jscoverage['/editor/utils.js'].lineData[144]++; - if (visit1067_144_1(!S.trim(inp.val()))) { + if (visit1066_144_1(!S.trim(inp.val()))) { _$jscoverage['/editor/utils.js'].lineData[145]++; inp.addClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[146]++; @@ -724,7 +724,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[150]++; inp.removeClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[151]++; - if (visit1068_151_1(S.trim(inp.val()) === tip)) { + if (visit1067_151_1(S.trim(inp.val()) === tip)) { _$jscoverage['/editor/utils.js'].lineData[152]++; inp.val(''); } @@ -739,7 +739,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[166]++; var v = params[p]; _$jscoverage['/editor/utils.js'].lineData[167]++; - if (visit1069_167_1(typeof v === 'function')) { + if (visit1068_167_1(typeof v === 'function')) { _$jscoverage['/editor/utils.js'].lineData[168]++; params[p] = v(); } @@ -750,7 +750,7 @@ KISSY.add(function(S, require) { preventFocus: function(el) { _$jscoverage['/editor/utils.js'].functionData[18]++; _$jscoverage['/editor/utils.js'].lineData[180]++; - if (visit1070_180_1(UA.ie)) { + if (visit1069_180_1(UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[182]++; el.unselectable(); } else { @@ -777,14 +777,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[196]++; var ret = editorDom[dm].apply(NULL, args); _$jscoverage['/editor/utils.js'].lineData[197]++; - if (visit1071_197_1(ret && (visit1072_197_2(ret.nodeType || S.isWindow(ret))))) { + if (visit1070_197_1(ret && (visit1071_197_2(ret.nodeType || S.isWindow(ret))))) { _$jscoverage['/editor/utils.js'].lineData[198]++; return new Node(ret); } else { _$jscoverage['/editor/utils.js'].lineData[200]++; - if (visit1073_200_1(S.isArray(ret))) { + if (visit1072_200_1(S.isArray(ret))) { _$jscoverage['/editor/utils.js'].lineData[201]++; - if (visit1074_201_1(ret.__IS_NODELIST || (visit1075_201_2(ret[0] && ret[0].nodeType)))) { + if (visit1073_201_1(ret.__IS_NODELIST || (visit1074_201_2(ret[0] && ret[0].nodeType)))) { _$jscoverage['/editor/utils.js'].lineData[202]++; return new Node(ret); } @@ -799,7 +799,7 @@ KISSY.add(function(S, require) { addRes: function() { _$jscoverage['/editor/utils.js'].functionData[22]++; _$jscoverage['/editor/utils.js'].lineData[213]++; - this.__res = visit1076_213_1(this.__res || []); + this.__res = visit1075_213_1(this.__res || []); _$jscoverage['/editor/utils.js'].lineData[214]++; var res = this.__res; _$jscoverage['/editor/utils.js'].lineData[215]++; @@ -808,23 +808,23 @@ KISSY.add(function(S, require) { destroyRes: function() { _$jscoverage['/editor/utils.js'].functionData[23]++; _$jscoverage['/editor/utils.js'].lineData[219]++; - var res = visit1077_219_1(this.__res || []); + var res = visit1076_219_1(this.__res || []); _$jscoverage['/editor/utils.js'].lineData[220]++; - for (var i = 0; visit1078_220_1(i < res.length); i++) { + for (var i = 0; visit1077_220_1(i < res.length); i++) { _$jscoverage['/editor/utils.js'].lineData[221]++; var r = res[i]; _$jscoverage['/editor/utils.js'].lineData[222]++; - if (visit1079_222_1(typeof r === 'function')) { + if (visit1078_222_1(typeof r === 'function')) { _$jscoverage['/editor/utils.js'].lineData[223]++; r(); } else { _$jscoverage['/editor/utils.js'].lineData[225]++; - if (visit1080_225_1(r.destroy)) { + if (visit1079_225_1(r.destroy)) { _$jscoverage['/editor/utils.js'].lineData[226]++; r.destroy(); } else { _$jscoverage['/editor/utils.js'].lineData[228]++; - if (visit1081_228_1(r.remove)) { + if (visit1080_228_1(r.remove)) { _$jscoverage['/editor/utils.js'].lineData[229]++; r.remove(); } diff --git a/src/editor/coverage/src/editor/walker.js b/src/editor/coverage/src/editor/walker.js index 75a881320d..6c8ea00701 100644 --- a/src/editor/coverage/src/editor/walker.js +++ b/src/editor/coverage/src/editor/walker.js @@ -471,235 +471,235 @@ if (! _$jscoverage['/editor/walker.js'].branchData) { _$jscoverage['/editor/walker.js'].branchData['364'][4] = new BranchData(); } _$jscoverage['/editor/walker.js'].branchData['364'][4].init(239, 22, 'tail[0].nodeType === 3'); -function visit1139_364_4(result) { +function visit1138_364_4(result) { _$jscoverage['/editor/walker.js'].branchData['364'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][3].init(239, 57, 'tail[0].nodeType === 3 && tailNbspRegex.test(tail.text())'); -function visit1138_364_3(result) { +function visit1137_364_3(result) { _$jscoverage['/editor/walker.js'].branchData['364'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][2].init(212, 24, 'tail.nodeName() === \'br\''); -function visit1137_364_2(result) { +function visit1136_364_2(result) { _$jscoverage['/editor/walker.js'].branchData['364'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][1].init(193, 105, 'tail && (!UA.ie ? tail.nodeName() === \'br\' : tail[0].nodeType === 3 && tailNbspRegex.test(tail.text()))'); -function visit1136_364_1(result) { +function visit1135_364_1(result) { _$jscoverage['/editor/walker.js'].branchData['364'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['362'][1].init(70, 23, 'tail && toSkip(tail[0])'); -function visit1135_362_1(result) { +function visit1134_362_1(result) { _$jscoverage['/editor/walker.js'].branchData['362'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['354'][1].init(42, 46, 'name in dtd.$inline && !(name in dtd.$empty)'); -function visit1134_354_1(result) { +function visit1133_354_1(result) { _$jscoverage['/editor/walker.js'].branchData['354'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['353'][2].init(141, 19, 'node.nodeType === 1'); -function visit1133_353_2(result) { +function visit1132_353_2(result) { _$jscoverage['/editor/walker.js'].branchData['353'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['353'][1].init(38, 89, 'node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1132_353_1(result) { +function visit1131_353_1(result) { _$jscoverage['/editor/walker.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['352'][1].init(35, 128, 'isWhitespaces(node) || node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1131_352_1(result) { +function visit1130_352_1(result) { _$jscoverage['/editor/walker.js'].branchData['352'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['351'][1].init(63, 164, 'isBookmark(node) || isWhitespaces(node) || node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1130_351_1(result) { +function visit1129_351_1(result) { _$jscoverage['/editor/walker.js'].branchData['351'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['340'][2].init(59, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1129_340_2(result) { +function visit1128_340_2(result) { _$jscoverage['/editor/walker.js'].branchData['340'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['340'][1].init(39, 65, 'node.nodeType === Dom.NodeType.ELEMENT_NODE && !node.offsetHeight'); -function visit1128_340_1(result) { +function visit1127_340_1(result) { _$jscoverage['/editor/walker.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['339'][1].init(373, 105, 'whitespace(node) || node.nodeType === Dom.NodeType.ELEMENT_NODE && !node.offsetHeight'); -function visit1127_339_1(result) { +function visit1126_339_1(result) { _$jscoverage['/editor/walker.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['323'][2].init(36, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit1126_323_2(result) { +function visit1125_323_2(result) { _$jscoverage['/editor/walker.js'].branchData['323'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['323'][1].init(36, 67, 'node.nodeType === Dom.NodeType.TEXT_NODE && !S.trim(node.nodeValue)'); -function visit1125_323_1(result) { +function visit1124_323_1(result) { _$jscoverage['/editor/walker.js'].branchData['323'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['310'][1].init(355, 34, 'isBookmark || isBookmarkNode(node)'); -function visit1124_310_1(result) { +function visit1123_310_1(result) { _$jscoverage['/editor/walker.js'].branchData['310'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['307'][1].init(65, 72, '(parent = node.parentNode) && isBookmarkNode(parent)'); -function visit1123_307_1(result) { +function visit1122_307_1(result) { _$jscoverage['/editor/walker.js'].branchData['307'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['306'][2].init(120, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit1122_306_2(result) { +function visit1121_306_2(result) { _$jscoverage['/editor/walker.js'].branchData['306'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['306'][1].init(120, 138, 'node.nodeType === Dom.NodeType.TEXT_NODE && (parent = node.parentNode) && isBookmarkNode(parent)'); -function visit1121_306_1(result) { +function visit1120_306_1(result) { _$jscoverage['/editor/walker.js'].branchData['306'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['299'][2].init(25, 29, 'Dom.nodeName(node) === \'span\''); -function visit1120_299_2(result) { +function visit1119_299_2(result) { _$jscoverage['/editor/walker.js'].branchData['299'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['299'][1].init(25, 83, 'Dom.nodeName(node) === \'span\' && Dom.attr(node, \'_ke_bookmark\')'); -function visit1119_299_1(result) { +function visit1118_299_1(result) { _$jscoverage['/editor/walker.js'].branchData['299'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['283'][2].init(26, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1118_283_2(result) { +function visit1117_283_2(result) { _$jscoverage['/editor/walker.js'].branchData['283'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['283'][1].init(26, 112, 'node.nodeType === Dom.NodeType.ELEMENT_NODE && Dom._4eIsBlockBoundary(node, customNodeNames)'); -function visit1117_283_1(result) { +function visit1116_283_1(result) { _$jscoverage['/editor/walker.js'].branchData['283'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['241'][1].init(76, 40, 'iterate.call(this, TRUE, TRUE) !== FALSE'); -function visit1116_241_1(result) { +function visit1115_241_1(result) { _$jscoverage['/editor/walker.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['230'][1].init(20, 41, 'iterate.call(this, FALSE, TRUE) !== FALSE'); -function visit1115_230_1(result) { +function visit1114_230_1(result) { _$jscoverage['/editor/walker.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['142'][1].init(226, 38, 'breakOnFalseRetFalse && self.evaluator'); -function visit1114_142_1(result) { +function visit1113_142_1(result) { _$jscoverage['/editor/walker.js'].branchData['142'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['139'][1].init(21, 21, '!breakOnFalseRetFalse'); -function visit1113_139_1(result) { +function visit1112_139_1(result) { _$jscoverage['/editor/walker.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['138'][2].init(69, 33, 'self.evaluator(node[0]) !== FALSE'); -function visit1112_138_2(result) { +function visit1111_138_2(result) { _$jscoverage['/editor/walker.js'].branchData['138'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['138'][1].init(50, 52, '!self.evaluator || self.evaluator(node[0]) !== FALSE'); -function visit1111_138_1(result) { +function visit1110_138_1(result) { _$jscoverage['/editor/walker.js'].branchData['138'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['136'][1].init(4054, 19, 'node && !self._.end'); -function visit1110_136_1(result) { +function visit1109_136_1(result) { _$jscoverage['/editor/walker.js'].branchData['136'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['130'][1].init(30, 43, 'guard(range.startContainer, TRUE) === FALSE'); -function visit1109_130_1(result) { +function visit1108_130_1(result) { _$jscoverage['/editor/walker.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['126'][1].init(25, 24, 'guard(node[0]) === FALSE'); -function visit1108_126_1(result) { +function visit1107_126_1(result) { _$jscoverage['/editor/walker.js'].branchData['126'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['125'][1].init(139, 11, 'node.length'); -function visit1107_125_1(result) { +function visit1106_125_1(result) { _$jscoverage['/editor/walker.js'].branchData['125'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['117'][1].init(30, 27, 'guard(node, TRUE) === FALSE'); -function visit1106_117_1(result) { +function visit1105_117_1(result) { _$jscoverage['/editor/walker.js'].branchData['117'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['113'][1].init(103, 24, 'guard(node[0]) === FALSE'); -function visit1105_113_1(result) { +function visit1104_113_1(result) { _$jscoverage['/editor/walker.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['111'][1].init(64, 19, 'range.endOffset > 0'); -function visit1104_111_1(result) { +function visit1103_111_1(result) { _$jscoverage['/editor/walker.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['109'][1].init(68, 3, 'rtl'); -function visit1103_109_1(result) { +function visit1102_109_1(result) { _$jscoverage['/editor/walker.js'].branchData['109'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['104'][1].init(2849, 12, 'self.current'); -function visit1102_104_1(result) { +function visit1101_104_1(result) { _$jscoverage['/editor/walker.js'].branchData['104'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['94'][1].init(21, 36, 'stopGuard(node, movingOut) === FALSE'); -function visit1101_94_1(result) { +function visit1100_94_1(result) { _$jscoverage['/editor/walker.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['92'][1].init(2530, 9, 'userGuard'); -function visit1100_92_1(result) { +function visit1099_92_1(result) { _$jscoverage['/editor/walker.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['83'][1].init(288, 19, 'node !== blockerRTL'); -function visit1099_83_1(result) { +function visit1098_83_1(result) { _$jscoverage['/editor/walker.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][4].init(102, 29, 'Dom.nodeName(node) === \'body\''); -function visit1098_78_4(result) { +function visit1097_78_4(result) { _$jscoverage['/editor/walker.js'].branchData['78'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][3].init(81, 17, 'limitRTL === node'); -function visit1097_78_3(result) { +function visit1096_78_3(result) { _$jscoverage['/editor/walker.js'].branchData['78'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][2].init(81, 50, 'limitRTL === node || Dom.nodeName(node) === \'body\''); -function visit1096_78_2(result) { +function visit1095_78_2(result) { _$jscoverage['/editor/walker.js'].branchData['78'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][1].init(67, 65, 'movingOut && (limitRTL === node || Dom.nodeName(node) === \'body\')'); -function visit1095_78_1(result) { +function visit1094_78_1(result) { _$jscoverage['/editor/walker.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][3].init(70, 21, 'range.startOffset > 0'); -function visit1094_73_3(result) { +function visit1093_73_3(result) { _$jscoverage['/editor/walker.js'].branchData['73'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][2].init(70, 89, '(range.startOffset > 0) && limitRTL.childNodes[range.startOffset - 1]'); -function visit1093_73_2(result) { +function visit1092_73_2(result) { _$jscoverage['/editor/walker.js'].branchData['73'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][1].init(70, 97, '(range.startOffset > 0) && limitRTL.childNodes[range.startOffset - 1] || null'); -function visit1092_73_1(result) { +function visit1091_73_1(result) { _$jscoverage['/editor/walker.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['70'][1].init(1607, 23, 'rtl && !self._.guardRTL'); -function visit1091_70_1(result) { +function visit1090_70_1(result) { _$jscoverage['/editor/walker.js'].branchData['70'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['64'][1].init(288, 19, 'node !== blockerLTR'); -function visit1090_64_1(result) { +function visit1089_64_1(result) { _$jscoverage['/editor/walker.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][4].init(102, 29, 'Dom.nodeName(node) === \'body\''); -function visit1089_59_4(result) { +function visit1088_59_4(result) { _$jscoverage['/editor/walker.js'].branchData['59'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][3].init(81, 17, 'limitLTR === node'); -function visit1088_59_3(result) { +function visit1087_59_3(result) { _$jscoverage['/editor/walker.js'].branchData['59'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][2].init(81, 50, 'limitLTR === node || Dom.nodeName(node) === \'body\''); -function visit1087_59_2(result) { +function visit1086_59_2(result) { _$jscoverage['/editor/walker.js'].branchData['59'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][1].init(67, 65, 'movingOut && (limitLTR === node || Dom.nodeName(node) === \'body\')'); -function visit1086_59_1(result) { +function visit1085_59_1(result) { _$jscoverage['/editor/walker.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['52'][1].init(883, 24, '!rtl && !self._.guardLTR'); -function visit1085_52_1(result) { +function visit1084_52_1(result) { _$jscoverage['/editor/walker.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['45'][1].init(259, 15, 'range.collapsed'); -function visit1084_45_1(result) { +function visit1083_45_1(result) { _$jscoverage['/editor/walker.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['37'][1].init(439, 13, '!self._.start'); -function visit1083_37_1(result) { +function visit1082_37_1(result) { _$jscoverage['/editor/walker.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['25'][1].init(89, 10, 'self._.end'); -function visit1082_25_1(result) { +function visit1081_25_1(result) { _$jscoverage['/editor/walker.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].lineData[11]++; @@ -715,20 +715,20 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[23]++; var self = this; _$jscoverage['/editor/walker.js'].lineData[25]++; - if (visit1082_25_1(self._.end)) { + if (visit1081_25_1(self._.end)) { _$jscoverage['/editor/walker.js'].lineData[26]++; return NULL; } _$jscoverage['/editor/walker.js'].lineData[28]++; var node, range = self.range, guard, userGuard = self.guard, type = self.type, getSourceNodeFn = (rtl ? '_4ePreviousSourceNode' : '_4eNextSourceNode'); _$jscoverage['/editor/walker.js'].lineData[37]++; - if (visit1083_37_1(!self._.start)) { + if (visit1082_37_1(!self._.start)) { _$jscoverage['/editor/walker.js'].lineData[38]++; self._.start = 1; _$jscoverage['/editor/walker.js'].lineData[42]++; range.trim(); _$jscoverage['/editor/walker.js'].lineData[45]++; - if (visit1084_45_1(range.collapsed)) { + if (visit1083_45_1(range.collapsed)) { _$jscoverage['/editor/walker.js'].lineData[46]++; self.end(); _$jscoverage['/editor/walker.js'].lineData[47]++; @@ -736,46 +736,46 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/walker.js'].lineData[52]++; - if (visit1085_52_1(!rtl && !self._.guardLTR)) { + if (visit1084_52_1(!rtl && !self._.guardLTR)) { _$jscoverage['/editor/walker.js'].lineData[54]++; var limitLTR = range.endContainer[0], blockerLTR = limitLTR.childNodes[range.endOffset]; _$jscoverage['/editor/walker.js'].lineData[57]++; this._.guardLTR = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[2]++; _$jscoverage['/editor/walker.js'].lineData[59]++; - if (visit1086_59_1(movingOut && (visit1087_59_2(visit1088_59_3(limitLTR === node) || visit1089_59_4(Dom.nodeName(node) === 'body'))))) { + if (visit1085_59_1(movingOut && (visit1086_59_2(visit1087_59_3(limitLTR === node) || visit1088_59_4(Dom.nodeName(node) === 'body'))))) { _$jscoverage['/editor/walker.js'].lineData[60]++; return false; } _$jscoverage['/editor/walker.js'].lineData[64]++; - return visit1090_64_1(node !== blockerLTR); + return visit1089_64_1(node !== blockerLTR); }; } _$jscoverage['/editor/walker.js'].lineData[70]++; - if (visit1091_70_1(rtl && !self._.guardRTL)) { + if (visit1090_70_1(rtl && !self._.guardRTL)) { _$jscoverage['/editor/walker.js'].lineData[72]++; - var limitRTL = range.startContainer[0], blockerRTL = visit1092_73_1(visit1093_73_2((visit1094_73_3(range.startOffset > 0)) && limitRTL.childNodes[range.startOffset - 1]) || null); + var limitRTL = range.startContainer[0], blockerRTL = visit1091_73_1(visit1092_73_2((visit1093_73_3(range.startOffset > 0)) && limitRTL.childNodes[range.startOffset - 1]) || null); _$jscoverage['/editor/walker.js'].lineData[76]++; self._.guardRTL = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[3]++; _$jscoverage['/editor/walker.js'].lineData[78]++; - if (visit1095_78_1(movingOut && (visit1096_78_2(visit1097_78_3(limitRTL === node) || visit1098_78_4(Dom.nodeName(node) === 'body'))))) { + if (visit1094_78_1(movingOut && (visit1095_78_2(visit1096_78_3(limitRTL === node) || visit1097_78_4(Dom.nodeName(node) === 'body'))))) { _$jscoverage['/editor/walker.js'].lineData[79]++; return false; } _$jscoverage['/editor/walker.js'].lineData[83]++; - return visit1099_83_1(node !== blockerRTL); + return visit1098_83_1(node !== blockerRTL); }; } _$jscoverage['/editor/walker.js'].lineData[88]++; var stopGuard = rtl ? self._.guardRTL : self._.guardLTR; _$jscoverage['/editor/walker.js'].lineData[92]++; - if (visit1100_92_1(userGuard)) { + if (visit1099_92_1(userGuard)) { _$jscoverage['/editor/walker.js'].lineData[93]++; guard = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[4]++; _$jscoverage['/editor/walker.js'].lineData[94]++; - if (visit1101_94_1(stopGuard(node, movingOut) === FALSE)) { + if (visit1100_94_1(stopGuard(node, movingOut) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[95]++; return FALSE; } @@ -787,26 +787,26 @@ KISSY.add(function(S, require) { guard = stopGuard; } _$jscoverage['/editor/walker.js'].lineData[104]++; - if (visit1102_104_1(self.current)) { + if (visit1101_104_1(self.current)) { _$jscoverage['/editor/walker.js'].lineData[105]++; node = this.current[getSourceNodeFn](FALSE, type, guard); } else { _$jscoverage['/editor/walker.js'].lineData[109]++; - if (visit1103_109_1(rtl)) { + if (visit1102_109_1(rtl)) { _$jscoverage['/editor/walker.js'].lineData[110]++; node = range.endContainer; _$jscoverage['/editor/walker.js'].lineData[111]++; - if (visit1104_111_1(range.endOffset > 0)) { + if (visit1103_111_1(range.endOffset > 0)) { _$jscoverage['/editor/walker.js'].lineData[112]++; node = new Node(node[0].childNodes[range.endOffset - 1]); _$jscoverage['/editor/walker.js'].lineData[113]++; - if (visit1105_113_1(guard(node[0]) === FALSE)) { + if (visit1104_113_1(guard(node[0]) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[114]++; node = NULL; } } else { _$jscoverage['/editor/walker.js'].lineData[117]++; - node = (visit1106_117_1(guard(node, TRUE) === FALSE)) ? NULL : node._4ePreviousSourceNode(TRUE, type, guard, undefined); + node = (visit1105_117_1(guard(node, TRUE) === FALSE)) ? NULL : node._4ePreviousSourceNode(TRUE, type, guard, undefined); } } else { _$jscoverage['/editor/walker.js'].lineData[122]++; @@ -814,32 +814,32 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[123]++; node = new Node(node[0].childNodes[range.startOffset]); _$jscoverage['/editor/walker.js'].lineData[125]++; - if (visit1107_125_1(node.length)) { + if (visit1106_125_1(node.length)) { _$jscoverage['/editor/walker.js'].lineData[126]++; - if (visit1108_126_1(guard(node[0]) === FALSE)) { + if (visit1107_126_1(guard(node[0]) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[127]++; node = NULL; } } else { _$jscoverage['/editor/walker.js'].lineData[130]++; - node = (visit1109_130_1(guard(range.startContainer, TRUE) === FALSE)) ? NULL : range.startContainer._4eNextSourceNode(TRUE, type, guard, undefined); + node = (visit1108_130_1(guard(range.startContainer, TRUE) === FALSE)) ? NULL : range.startContainer._4eNextSourceNode(TRUE, type, guard, undefined); } } } _$jscoverage['/editor/walker.js'].lineData[136]++; - while (visit1110_136_1(node && !self._.end)) { + while (visit1109_136_1(node && !self._.end)) { _$jscoverage['/editor/walker.js'].lineData[137]++; self.current = node; _$jscoverage['/editor/walker.js'].lineData[138]++; - if (visit1111_138_1(!self.evaluator || visit1112_138_2(self.evaluator(node[0]) !== FALSE))) { + if (visit1110_138_1(!self.evaluator || visit1111_138_2(self.evaluator(node[0]) !== FALSE))) { _$jscoverage['/editor/walker.js'].lineData[139]++; - if (visit1113_139_1(!breakOnFalseRetFalse)) { + if (visit1112_139_1(!breakOnFalseRetFalse)) { _$jscoverage['/editor/walker.js'].lineData[140]++; return node; } } else { _$jscoverage['/editor/walker.js'].lineData[142]++; - if (visit1114_142_1(breakOnFalseRetFalse && self.evaluator)) { + if (visit1113_142_1(breakOnFalseRetFalse && self.evaluator)) { _$jscoverage['/editor/walker.js'].lineData[143]++; return FALSE; } @@ -899,12 +899,12 @@ KISSY.add(function(S, require) { checkForward: function() { _$jscoverage['/editor/walker.js'].functionData[10]++; _$jscoverage['/editor/walker.js'].lineData[230]++; - return visit1115_230_1(iterate.call(this, FALSE, TRUE) !== FALSE); + return visit1114_230_1(iterate.call(this, FALSE, TRUE) !== FALSE); }, checkBackward: function() { _$jscoverage['/editor/walker.js'].functionData[11]++; _$jscoverage['/editor/walker.js'].lineData[241]++; - return visit1116_241_1(iterate.call(this, TRUE, TRUE) !== FALSE); + return visit1115_241_1(iterate.call(this, TRUE, TRUE) !== FALSE); }, lastForward: function() { _$jscoverage['/editor/walker.js'].functionData[12]++; @@ -932,7 +932,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[16]++; _$jscoverage['/editor/walker.js'].lineData[283]++; - return !(visit1117_283_1(visit1118_283_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && Dom._4eIsBlockBoundary(node, customNodeNames))); + return !(visit1116_283_1(visit1117_283_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && Dom._4eIsBlockBoundary(node, customNodeNames))); }; }, bookmark: function(contentOnly, isReject) { @@ -941,7 +941,7 @@ KISSY.add(function(S, require) { function isBookmarkNode(node) { _$jscoverage['/editor/walker.js'].functionData[18]++; _$jscoverage['/editor/walker.js'].lineData[299]++; - return visit1119_299_1(visit1120_299_2(Dom.nodeName(node) === 'span') && Dom.attr(node, '_ke_bookmark')); + return visit1118_299_1(visit1119_299_2(Dom.nodeName(node) === 'span') && Dom.attr(node, '_ke_bookmark')); } _$jscoverage['/editor/walker.js'].lineData[303]++; return function(node) { @@ -949,9 +949,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[304]++; var isBookmark, parent; _$jscoverage['/editor/walker.js'].lineData[306]++; - isBookmark = (visit1121_306_1(visit1122_306_2(node.nodeType === Dom.NodeType.TEXT_NODE) && visit1123_307_1((parent = node.parentNode) && isBookmarkNode(parent)))); + isBookmark = (visit1120_306_1(visit1121_306_2(node.nodeType === Dom.NodeType.TEXT_NODE) && visit1122_307_1((parent = node.parentNode) && isBookmarkNode(parent)))); _$jscoverage['/editor/walker.js'].lineData[310]++; - isBookmark = contentOnly ? isBookmark : visit1124_310_1(isBookmark || isBookmarkNode(node)); + isBookmark = contentOnly ? isBookmark : visit1123_310_1(isBookmark || isBookmarkNode(node)); _$jscoverage['/editor/walker.js'].lineData[313]++; return !!(isReject ^ isBookmark); }; @@ -962,7 +962,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[21]++; _$jscoverage['/editor/walker.js'].lineData[323]++; - var isWhitespace = visit1125_323_1(visit1126_323_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)); + var isWhitespace = visit1124_323_1(visit1125_323_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)); _$jscoverage['/editor/walker.js'].lineData[324]++; return !!(isReject ^ isWhitespace); }; @@ -975,7 +975,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[23]++; _$jscoverage['/editor/walker.js'].lineData[339]++; - var isInvisible = visit1127_339_1(whitespace(node) || visit1128_340_1(visit1129_340_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && !node.offsetHeight)); + var isInvisible = visit1126_339_1(whitespace(node) || visit1127_340_1(visit1128_340_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && !node.offsetHeight)); _$jscoverage['/editor/walker.js'].lineData[341]++; return !!(isReject ^ isInvisible); }; @@ -986,7 +986,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[350]++; var name = Dom.nodeName(node); _$jscoverage['/editor/walker.js'].lineData[351]++; - return visit1130_351_1(isBookmark(node) || visit1131_352_1(isWhitespaces(node) || visit1132_353_1(visit1133_353_2(node.nodeType === 1) && visit1134_354_1(name in dtd.$inline && !(name in dtd.$empty))))); + return visit1129_351_1(isBookmark(node) || visit1130_352_1(isWhitespaces(node) || visit1131_353_1(visit1132_353_2(node.nodeType === 1) && visit1133_354_1(name in dtd.$inline && !(name in dtd.$empty))))); }; _$jscoverage['/editor/walker.js'].lineData[358]++; function getBogus(tail) { @@ -995,9 +995,9 @@ KISSY.add(function(S, require) { do { _$jscoverage['/editor/walker.js'].lineData[361]++; tail = tail._4ePreviousSourceNode(); - } while (visit1135_362_1(tail && toSkip(tail[0]))); + } while (visit1134_362_1(tail && toSkip(tail[0]))); _$jscoverage['/editor/walker.js'].lineData[364]++; - if (visit1136_364_1(tail && (!UA.ie ? visit1137_364_2(tail.nodeName() === 'br') : visit1138_364_3(visit1139_364_4(tail[0].nodeType === 3) && tailNbspRegex.test(tail.text()))))) { + if (visit1135_364_1(tail && (!UA.ie ? visit1136_364_2(tail.nodeName() === 'br') : visit1137_364_3(visit1138_364_4(tail[0].nodeType === 3) && tailNbspRegex.test(tail.text()))))) { _$jscoverage['/editor/walker.js'].lineData[365]++; return tail[0]; } diff --git a/src/editor/coverage/src/editor/z-index-manager.js b/src/editor/coverage/src/editor/z-index-manager.js index 0b60d44be0..c3100070db 100644 --- a/src/editor/coverage/src/editor/z-index-manager.js +++ b/src/editor/coverage/src/editor/z-index-manager.js @@ -247,7 +247,7 @@ if (! _$jscoverage['/editor/z-index-manager.js'].branchData) { _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1] = new BranchData(); } _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1].init(17, 33, 'Editor.Config.baseZIndex || 10000'); -function visit1140_48_1(result) { +function visit1139_48_1(result) { _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/editor/z-index-manager.js'].lineData[6]++; @@ -269,7 +269,7 @@ KISSY.add(function(S, require) { Editor.baseZIndex = function(z) { _$jscoverage['/editor/z-index-manager.js'].functionData[1]++; _$jscoverage['/editor/z-index-manager.js'].lineData[48]++; - return (visit1140_48_1(Editor.Config.baseZIndex || 10000)) + z; + return (visit1139_48_1(Editor.Config.baseZIndex || 10000)) + z; }; _$jscoverage['/editor/z-index-manager.js'].lineData[51]++; return ZIndexManager; diff --git a/src/editor/src/editor/selectionFix.js b/src/editor/src/editor/selectionFix.js index 6a0a036a9a..3ee11327ef 100644 --- a/src/editor/src/editor/selectionFix.js +++ b/src/editor/src/editor/selectionFix.js @@ -10,7 +10,6 @@ KISSY.add(function (S, require) { var Editor = require('./base'); require('./selection'); - var KERange = require('./range'); var Node = require('node'); var TRUE = true, @@ -111,7 +110,6 @@ KISSY.add(function (S, require) { }); } - function fixSelectionForIEWhenDocReady(editor) { var doc = editor.get('document')[0], body = new Node(doc.body), @@ -479,16 +477,18 @@ KISSY.add(function (S, require) { fixSelectionForIEWhenDocReady(editor); } else { fireSelectionChangeForStandard(editor); - // ie buggy, will not show cursor sometimes - if (UA.ieMode === 11) { - editor.get('document').on('focusin', function (e) { - var selection = editor.getSelection(); - var range = selection && selection.getRanges()[0]; - if (!range) { - range = new KERange(this); - range.setStart(Node.all(e.target), 0); - range.collapse(1); - range.select(); + // ie11,9,10 still lose selection when editor is blurred + if (UA.ie) { + var savedRanges, + doc = editor.get('document'); + doc.on('focusout', function () { + savedRanges = editor.getSelection().getRanges(); + }); + doc.on('focusin', function () { + if (savedRanges) { + var selection = editor.getSelection(); + selection.selectRanges(savedRanges); + savedRanges = null; } }); } diff --git a/src/editor/sub-modules/plugin/focus-fix/src/focus-fix.js b/src/editor/sub-modules/plugin/focus-fix/src/focus-fix.js index a0fc2a1a1a..fb1dfa0dd9 100644 --- a/src/editor/sub-modules/plugin/focus-fix/src/focus-fix.js +++ b/src/editor/sub-modules/plugin/focus-fix/src/focus-fix.js @@ -19,6 +19,7 @@ KISSY.add(function (S, require) { * then IE would still leave the caret inside the editing area. */ // ie9 图片resize框,仍然会突出 + // ie11 still lose selection when editor is blurred if (UA.ie && editor) { // 聚焦到当前窗口 // 使得编辑器失去焦点,促使ie保存当前选择区域(位置) @@ -42,7 +43,7 @@ KISSY.add(function (S, require) { // $range.parentElement().ownerDocument == editor.document // || // 缩放图片那个框在ie下会突出浮动层来 - $range.item&& $range.item(0).ownerDocument === editor.get('document')[0]) { + $range.item && $range.item(0).ownerDocument === editor.get('document')[0]) { var $myRange = document.body.createTextRange(); $myRange.moveToElementText(self.get('el').first()[0]); $myRange.collapse(true); @@ -53,8 +54,9 @@ KISSY.add(function (S, require) { } function _hide4FocusExt() { - var editor = this._focusEditor; - if(editor){ + var self = this, + editor = self._focusEditor; + if (editor) { editor.focus(); } } diff --git a/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js index e6a4400b7c..2c639bdcb6 100644 --- a/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js @@ -621,11 +621,11 @@ function visit71_482_1(result) { function visit70_479_1(result) { _$jscoverage['/dialog.js'].branchData['479'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['459'][1].init(139, 32, 'link.attr(\'target\') === \'_blank\''); +}_$jscoverage['/dialog.js'].branchData['459'][1].init(141, 32, 'link.attr(\'target\') === \'_blank\''); function visit69_459_1(result) { _$jscoverage['/dialog.js'].branchData['459'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['458'][1].init(40, 46, 'link.attr(\'_keSavedHref\') || link.attr(\'href\')'); +}_$jscoverage['/dialog.js'].branchData['458'][1].init(40, 48, 'link.attr(\'_ke_saved_href\') || link.attr(\'href\')'); function visit68_458_1(result) { _$jscoverage['/dialog.js'].branchData['458'][1].ranCondition(result); return result; @@ -673,15 +673,15 @@ function visit58_413_2(result) { function visit57_413_1(result) { _$jscoverage['/dialog.js'].branchData['413'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['401'][1].init(1876, 5, '!skip'); +}_$jscoverage['/dialog.js'].branchData['401'][1].init(1878, 5, '!skip'); function visit56_401_1(result) { _$jscoverage['/dialog.js'].branchData['401'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['398'][1].init(1741, 15, 'self.selectedEl'); +}_$jscoverage['/dialog.js'].branchData['398'][1].init(1743, 15, 'self.selectedEl'); function visit55_398_1(result) { _$jscoverage['/dialog.js'].branchData['398'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['395'][1].init(1646, 2, 'bs'); +}_$jscoverage['/dialog.js'].branchData['395'][1].init(1648, 2, 'bs'); function visit54_395_1(result) { _$jscoverage['/dialog.js'].branchData['395'][1].ranCondition(result); return result; @@ -1320,7 +1320,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[386]++; link = new Node(''); _$jscoverage['/dialog.js'].lineData[389]++; - link.attr('_keSavedHref', linkVal).attr('href', linkVal).attr('target', target); + link.attr('_ke_saved_href', linkVal).attr('href', linkVal).attr('target', target); _$jscoverage['/dialog.js'].lineData[390]++; var t = img[0]; _$jscoverage['/dialog.js'].lineData[391]++; @@ -1432,7 +1432,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[457]++; if (visit67_457_1(link)) { _$jscoverage['/dialog.js'].lineData[458]++; - valInput(self.imgLink, visit68_458_1(link.attr('_keSavedHref') || link.attr('href'))); + valInput(self.imgLink, visit68_458_1(link.attr('_ke_saved_href') || link.attr('href'))); _$jscoverage['/dialog.js'].lineData[459]++; self.imgLinkBlank.attr('checked', visit69_459_1(link.attr('target') === '_blank')); } else { diff --git a/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js index 621a52cb92..535ad17669 100644 --- a/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js @@ -384,7 +384,7 @@ KISSY.add(function (S, require) { bs = sel.createBookmarks(); } link = new Node(''); - link.attr('_keSavedHref', linkVal) + link.attr('_ke_saved_href', linkVal) .attr('href', linkVal) .attr('target', target); var t = img[0]; @@ -455,7 +455,7 @@ KISSY.add(function (S, require) { self.imgRatioValue = null; } if (link) { - valInput(self.imgLink, link.attr('_keSavedHref') || link.attr('href')); + valInput(self.imgLink, link.attr('_ke_saved_href') || link.attr('href')); self.imgLinkBlank.attr('checked', link.attr('target') === '_blank'); } else { resetInput(self.imgLink); diff --git a/src/editor/sub-modules/plugin/link/coverage/src/link.js b/src/editor/sub-modules/plugin/link/coverage/src/link.js index ae4125266f..a5890f889d 100644 --- a/src/editor/sub-modules/plugin/link/coverage/src/link.js +++ b/src/editor/sub-modules/plugin/link/coverage/src/link.js @@ -290,7 +290,7 @@ if (! _$jscoverage['/link.js'].branchData) { _$jscoverage['/link.js'].branchData['89'] = []; _$jscoverage['/link.js'].branchData['89'][1] = new BranchData(); } -_$jscoverage['/link.js'].branchData['89'][1].init(216, 76, 'a.attr(Utils._keSavedHref) || a.attr(\'href\')'); +_$jscoverage['/link.js'].branchData['89'][1].init(216, 73, 'a.attr(Utils.savedHref) || a.attr(\'href\')'); function visit3_89_1(result) { _$jscoverage['/link.js'].branchData['89'][1].ranCondition(result); return result; @@ -396,7 +396,7 @@ KISSY.add(function(S, require) { return; } _$jscoverage['/link.js'].lineData[89]++; - var href = visit3_89_1(a.attr(Utils._keSavedHref) || a.attr('href')); + var href = visit3_89_1(a.attr(Utils.savedHref) || a.attr('href')); _$jscoverage['/link.js'].lineData[91]++; tipUrl.html(href); _$jscoverage['/link.js'].lineData[92]++; diff --git a/src/editor/sub-modules/plugin/link/src/link.js b/src/editor/sub-modules/plugin/link/src/link.js index 82fedc4e7f..906efcaef9 100644 --- a/src/editor/sub-modules/plugin/link/src/link.js +++ b/src/editor/sub-modules/plugin/link/src/link.js @@ -86,7 +86,7 @@ KISSY.add(function (S, require) { if (!a) { return; } - var href = a.attr(Utils._keSavedHref) || + var href = a.attr(Utils.savedHref) || a.attr('href'); tipUrl.html(href); tipUrl.attr('href', href); diff --git a/src/editor/sub-modules/plugin/link/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/link/sub-modules/dialog/coverage/src/dialog.js index bf7adc0527..b9928b9636 100644 --- a/src/editor/sub-modules/plugin/link/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/link/sub-modules/dialog/coverage/src/dialog.js @@ -308,15 +308,15 @@ _$jscoverage['/dialog.js'].branchData['123'][1].init(107, 10, 'cfg.target'); function visit7_123_1(result) { _$jscoverage['/dialog.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['119'][1].init(246, 39, '_selectedEl.attr(\'target\') === \'_blank\''); +}_$jscoverage['/dialog.js'].branchData['119'][1].init(243, 39, '_selectedEl.attr(\'target\') === \'_blank\''); function visit6_119_1(result) { _$jscoverage['/dialog.js'].branchData['119'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['118'][1].init(171, 31, '_selectedEl.attr(\'title\') || \'\''); +}_$jscoverage['/dialog.js'].branchData['118'][1].init(168, 31, '_selectedEl.attr(\'title\') || \'\''); function visit5_118_1(result) { _$jscoverage['/dialog.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['116'][1].init(27, 58, '_selectedEl.attr(_keSavedHref) || _selectedEl.attr(\'href\')'); +}_$jscoverage['/dialog.js'].branchData['116'][1].init(27, 55, '_selectedEl.attr(savedHref) || _selectedEl.attr(\'href\')'); function visit4_116_1(result) { _$jscoverage['/dialog.js'].branchData['116'][1].ranCondition(result); return result; @@ -342,7 +342,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[9]++; var Utils = require('./utils'); _$jscoverage['/dialog.js'].lineData[10]++; - var _keSavedHref = Utils._keSavedHref, bodyHTML = '
' + '

' + '' + '

' + '

' + ' ' + '' + '

' + '
', footHTML = '
' + '\u786e\u5b9a ' + '\u53d6\u6d88' + '
'; + var savedHref = Utils.savedHref, bodyHTML = '
' + '

' + '' + '

' + '

' + ' ' + '' + '

' + '
', footHTML = '
' + '\u786e\u5b9a ' + '\u53d6\u6d88' + '
'; _$jscoverage['/dialog.js'].lineData[50]++; function LinkDialog(editor, config) { _$jscoverage['/dialog.js'].functionData[1]++; @@ -425,7 +425,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[115]++; if (visit3_115_1(_selectedEl)) { _$jscoverage['/dialog.js'].lineData[116]++; - var url = visit4_116_1(_selectedEl.attr(_keSavedHref) || _selectedEl.attr('href')); + var url = visit4_116_1(_selectedEl.attr(savedHref) || _selectedEl.attr('href')); _$jscoverage['/dialog.js'].lineData[117]++; Editor.Utils.valInput(d.urlEl, url); _$jscoverage['/dialog.js'].lineData[118]++; diff --git a/src/editor/sub-modules/plugin/link/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/link/sub-modules/dialog/src/dialog.js index 2b6e8871f3..18e153ce46 100644 --- a/src/editor/sub-modules/plugin/link/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/link/sub-modules/dialog/src/dialog.js @@ -7,7 +7,7 @@ KISSY.add(function (S, require) { var Editor = require('editor'); var Dialog4E = require('../dialog'); var Utils = require('./utils'); - var _keSavedHref = Utils._keSavedHref, + var savedHref = Utils.savedHref, bodyHTML = '
' + '

' + '

' + '
' + '

' + '' + '

' + '

' + '   ' + ' ' + BTIP + '' + '

' + '

' + '' + '' + '

' + '
' + '
' + '
' + '
', footHTML = ''; - _$jscoverage['/dialog.js'].lineData[74]++; + _$jscoverage['/dialog.js'].lineData[72]++; function XiamiMusicDialog() { _$jscoverage['/dialog.js'].functionData[2]++; - _$jscoverage['/dialog.js'].lineData[75]++; + _$jscoverage['/dialog.js'].lineData[73]++; XiamiMusicDialog.superclass.constructor.apply(this, arguments); } - _$jscoverage['/dialog.js'].lineData[78]++; + _$jscoverage['/dialog.js'].lineData[76]++; S.extend(XiamiMusicDialog, FlashDialog, { _config: function() { _$jscoverage['/dialog.js'].functionData[3]++; - _$jscoverage['/dialog.js'].lineData[80]++; + _$jscoverage['/dialog.js'].lineData[78]++; var self = this, editor = self.editor, prefixCls = editor.get('prefixCls'); - _$jscoverage['/dialog.js'].lineData[83]++; + _$jscoverage['/dialog.js'].lineData[81]++; self._cls = CLS_XIAMI; - _$jscoverage['/dialog.js'].lineData[84]++; + _$jscoverage['/dialog.js'].lineData[82]++; self._type = TYPE_XIAMI; - _$jscoverage['/dialog.js'].lineData[85]++; + _$jscoverage['/dialog.js'].lineData[83]++; self._title = '\u867e\u7c73\u97f3\u4e50'; - _$jscoverage['/dialog.js'].lineData[86]++; + _$jscoverage['/dialog.js'].lineData[84]++; self._bodyHTML = S.substitute(bodyHTML, { prefixCls: prefixCls}); - _$jscoverage['/dialog.js'].lineData[89]++; + _$jscoverage['/dialog.js'].lineData[87]++; self._footHTML = S.substitute(footHTML, { prefixCls: prefixCls}); }, _initD: function() { _$jscoverage['/dialog.js'].functionData[4]++; - _$jscoverage['/dialog.js'].lineData[94]++; + _$jscoverage['/dialog.js'].lineData[92]++; var self = this, editor = self.editor, prefixCls = editor.get('prefixCls'), d = self.dialog, del = d.get('el'), dfoot = d.get('footer'), input = del.one('.' + prefixCls + 'editor-xiami-url'); - _$jscoverage['/dialog.js'].lineData[101]++; + _$jscoverage['/dialog.js'].lineData[99]++; self.dAlign = MenuButton.Select.decorate(del.one('.' + prefixCls + 'editor-xiami-align'), { prefixCls: 'ks-editor-big-', width: 80, menuCfg: { prefixCls: 'ks-editor-', render: del}}); - _$jscoverage['/dialog.js'].lineData[109]++; + _$jscoverage['/dialog.js'].lineData[107]++; self.addRes(self.dAlign); - _$jscoverage['/dialog.js'].lineData[110]++; + _$jscoverage['/dialog.js'].lineData[108]++; self._xiamiInput = input; - _$jscoverage['/dialog.js'].lineData[111]++; + _$jscoverage['/dialog.js'].lineData[109]++; Editor.Utils.placeholder(input, TIP); - _$jscoverage['/dialog.js'].lineData[112]++; + _$jscoverage['/dialog.js'].lineData[110]++; self.addRes(input); - _$jscoverage['/dialog.js'].lineData[113]++; + _$jscoverage['/dialog.js'].lineData[111]++; self._xiamiaList = del.one('.' + prefixCls + 'editor-xiami-list'); - _$jscoverage['/dialog.js'].lineData[114]++; + _$jscoverage['/dialog.js'].lineData[112]++; self._xiamiSubmit = del.one('.' + prefixCls + 'editor-xiami-submit'); - _$jscoverage['/dialog.js'].lineData[115]++; + _$jscoverage['/dialog.js'].lineData[113]++; self._xiamiSubmit.on('click', function(ev) { _$jscoverage['/dialog.js'].functionData[5]++; - _$jscoverage['/dialog.js'].lineData[116]++; - if (visit2_116_1(!self._xiamiSubmit.hasClass('ks-editor-button-disabled', undefined))) { - _$jscoverage['/dialog.js'].lineData[117]++; + _$jscoverage['/dialog.js'].lineData[114]++; + if (visit2_114_1(!self._xiamiSubmit.hasClass('ks-editor-button-disabled', undefined))) { + _$jscoverage['/dialog.js'].lineData[115]++; loadRecordsByPage(1); } - _$jscoverage['/dialog.js'].lineData[119]++; + _$jscoverage['/dialog.js'].lineData[117]++; ev.halt(); }); - _$jscoverage['/dialog.js'].lineData[121]++; + _$jscoverage['/dialog.js'].lineData[119]++; self.addRes(self._xiamiSubmit); - _$jscoverage['/dialog.js'].lineData[122]++; + _$jscoverage['/dialog.js'].lineData[120]++; input.on('keydown', function(ev) { _$jscoverage['/dialog.js'].functionData[6]++; - _$jscoverage['/dialog.js'].lineData[123]++; - if (visit3_123_1(ev.keyCode === 13)) { - _$jscoverage['/dialog.js'].lineData[124]++; + _$jscoverage['/dialog.js'].lineData[121]++; + if (visit3_121_1(ev.keyCode === 13)) { + _$jscoverage['/dialog.js'].lineData[122]++; loadRecordsByPage(1); } }); - _$jscoverage['/dialog.js'].lineData[127]++; + _$jscoverage['/dialog.js'].lineData[125]++; self.dMargin = del.one('.' + prefixCls + 'editor-xiami-margin'); - _$jscoverage['/dialog.js'].lineData[128]++; + _$jscoverage['/dialog.js'].lineData[126]++; self._xiamiUrlWrap = del.one('.' + prefixCls + 'editor-xiami-url-wrap'); - _$jscoverage['/dialog.js'].lineData[129]++; + _$jscoverage['/dialog.js'].lineData[127]++; self._xiamiTitle = del.one('.' + prefixCls + 'editor-xiami-title'); - _$jscoverage['/dialog.js'].lineData[131]++; + _$jscoverage['/dialog.js'].lineData[129]++; var xiamiOk = dfoot.one('.' + prefixCls + 'editor-xiami-ok'); - _$jscoverage['/dialog.js'].lineData[132]++; + _$jscoverage['/dialog.js'].lineData[130]++; dfoot.one('.' + prefixCls + 'editor-xiami-cancel').on('click', function(ev) { _$jscoverage['/dialog.js'].functionData[7]++; - _$jscoverage['/dialog.js'].lineData[133]++; + _$jscoverage['/dialog.js'].lineData[131]++; d.hide(); - _$jscoverage['/dialog.js'].lineData[134]++; + _$jscoverage['/dialog.js'].lineData[132]++; ev.halt(); }); - _$jscoverage['/dialog.js'].lineData[136]++; + _$jscoverage['/dialog.js'].lineData[134]++; self.addRes(dfoot); - _$jscoverage['/dialog.js'].lineData[137]++; + _$jscoverage['/dialog.js'].lineData[135]++; xiamiOk.on('click', function(ev) { _$jscoverage['/dialog.js'].functionData[8]++; - _$jscoverage['/dialog.js'].lineData[138]++; + _$jscoverage['/dialog.js'].lineData[136]++; var f = self.selectedFlash, r = editor.restoreRealElement(f); - _$jscoverage['/dialog.js'].lineData[140]++; + _$jscoverage['/dialog.js'].lineData[138]++; self._dinfo = { url: self._getFlashUrl(r), attrs: { title: f.attr('title'), - style: 'margin:' + (visit4_146_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; - _$jscoverage['/dialog.js'].lineData[150]++; + style: 'margin:' + (visit4_144_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + _$jscoverage['/dialog.js'].lineData[148]++; self._gen(); - _$jscoverage['/dialog.js'].lineData[151]++; + _$jscoverage['/dialog.js'].lineData[149]++; ev.halt(); }, self); - _$jscoverage['/dialog.js'].lineData[153]++; + _$jscoverage['/dialog.js'].lineData[151]++; self.addRes(xiamiOk); - _$jscoverage['/dialog.js'].lineData[155]++; + _$jscoverage['/dialog.js'].lineData[153]++; function loadRecordsByPage(page) { _$jscoverage['/dialog.js'].functionData[9]++; - _$jscoverage['/dialog.js'].lineData[156]++; + _$jscoverage['/dialog.js'].lineData[154]++; var query = input.val(); - _$jscoverage['/dialog.js'].lineData[157]++; - if (visit5_157_1(query.replace(/[^\x00-\xff]/g, '@@').length > 30)) { - _$jscoverage['/dialog.js'].lineData[158]++; + _$jscoverage['/dialog.js'].lineData[155]++; + if (visit5_155_1(query.replace(/[^\x00-\xff]/g, '@@').length > 30)) { + _$jscoverage['/dialog.js'].lineData[156]++; window.alert('\u957f\u5ea6\u4e0a\u965030\u4e2a\u5b57\u7b26\uff081\u4e2a\u6c49\u5b57=2\u4e2a\u5b57\u7b26\uff09'); - _$jscoverage['/dialog.js'].lineData[159]++; + _$jscoverage['/dialog.js'].lineData[157]++; return; } else { - _$jscoverage['/dialog.js'].lineData[160]++; - if (visit6_160_1(!S.trim(query) || visit7_160_2(query === TIP))) { - _$jscoverage['/dialog.js'].lineData[161]++; + _$jscoverage['/dialog.js'].lineData[158]++; + if (visit6_158_1(!S.trim(query) || visit7_158_2(query === TIP))) { + _$jscoverage['/dialog.js'].lineData[159]++; window.alert('\u4e0d\u80fd\u4e3a\u7a7a\uff01'); - _$jscoverage['/dialog.js'].lineData[162]++; + _$jscoverage['/dialog.js'].lineData[160]++; return; } } - _$jscoverage['/dialog.js'].lineData[164]++; + _$jscoverage['/dialog.js'].lineData[162]++; self._xiamiSubmit.addClass(prefixCls + 'editor-button-disabled', undefined); - _$jscoverage['/dialog.js'].lineData[165]++; + _$jscoverage['/dialog.js'].lineData[163]++; var req = S.substitute(XIAMI_URL, { key: encodeURIComponent(input.val()), page: page}); - _$jscoverage['/dialog.js'].lineData[169]++; + _$jscoverage['/dialog.js'].lineData[167]++; self._xiamiaList.html('' + '

\u6b63\u5728\u641c\u7d22\uff0c\u8bf7\u7a0d\u5019......

'); - _$jscoverage['/dialog.js'].lineData[176]++; + _$jscoverage['/dialog.js'].lineData[174]++; self._xiamiaList.show(); - _$jscoverage['/dialog.js'].lineData[178]++; + _$jscoverage['/dialog.js'].lineData[176]++; S.use('io', function(S, IO) { _$jscoverage['/dialog.js'].functionData[10]++; - _$jscoverage['/dialog.js'].lineData[179]++; + _$jscoverage['/dialog.js'].lineData[177]++; IO({ cache: false, url: req, dataType: 'jsonp', success: function(data) { _$jscoverage['/dialog.js'].functionData[11]++; - _$jscoverage['/dialog.js'].lineData[184]++; + _$jscoverage['/dialog.js'].lineData[182]++; data.page = page; - _$jscoverage['/dialog.js'].lineData[185]++; + _$jscoverage['/dialog.js'].lineData[183]++; self._listSearch(data); }, error: function() { _$jscoverage['/dialog.js'].functionData[12]++; - _$jscoverage['/dialog.js'].lineData[188]++; + _$jscoverage['/dialog.js'].lineData[186]++; self._xiamiSubmit.removeClass(prefixCls + 'editor-button-disabled', undefined); - _$jscoverage['/dialog.js'].lineData[189]++; + _$jscoverage['/dialog.js'].lineData[187]++; var html = '

' + '\u4e0d\u597d\u610f\u601d\uff0c\u8d85\u65f6\u4e86\uff0c\u8bf7\u91cd\u8bd5\uff01' + '

'; - _$jscoverage['/dialog.js'].lineData[192]++; + _$jscoverage['/dialog.js'].lineData[190]++; self._xiamiaList.html(html); }}); }); } - _$jscoverage['/dialog.js'].lineData[198]++; + _$jscoverage['/dialog.js'].lineData[196]++; self._xiamiaList.on('click', function(ev) { _$jscoverage['/dialog.js'].functionData[13]++; - _$jscoverage['/dialog.js'].lineData[199]++; + _$jscoverage['/dialog.js'].lineData[197]++; ev.preventDefault(); - _$jscoverage['/dialog.js'].lineData[200]++; + _$jscoverage['/dialog.js'].lineData[198]++; var t = new Node(ev.target), add = t.closest(function(node) { _$jscoverage['/dialog.js'].functionData[14]++; - _$jscoverage['/dialog.js'].lineData[202]++; - return visit8_202_1(self._xiamiaList.contains(node) && Dom.hasClass(node, prefixCls + 'editor-xiami-add')); + _$jscoverage['/dialog.js'].lineData[200]++; + return visit8_200_1(self._xiamiaList.contains(node) && Dom.hasClass(node, prefixCls + 'editor-xiami-add')); }, undefined), paging = t.closest(function(node) { _$jscoverage['/dialog.js'].functionData[15]++; - _$jscoverage['/dialog.js'].lineData[206]++; - return visit9_206_1(self._xiamiaList.contains(node) && Dom.hasClass(node, prefixCls + 'editor-xiami-page-item')); + _$jscoverage['/dialog.js'].lineData[204]++; + return visit9_204_1(self._xiamiaList.contains(node) && Dom.hasClass(node, prefixCls + 'editor-xiami-page-item')); }, undefined); - _$jscoverage['/dialog.js'].lineData[209]++; - if (visit10_209_1(add)) { - _$jscoverage['/dialog.js'].lineData[210]++; + _$jscoverage['/dialog.js'].lineData[207]++; + if (visit10_207_1(add)) { + _$jscoverage['/dialog.js'].lineData[208]++; self._dinfo = { url: ('http://www.xiami.com/widget/' + add.attr('data-value') + '/singlePlayer.swf'), attrs: { title: add.attr('title'), - style: 'margin:' + (visit11_217_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; - _$jscoverage['/dialog.js'].lineData[221]++; + style: 'margin:' + (visit11_215_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + _$jscoverage['/dialog.js'].lineData[219]++; self._gen(); } else { - _$jscoverage['/dialog.js'].lineData[222]++; - if (visit12_222_1(paging)) { - _$jscoverage['/dialog.js'].lineData[223]++; + _$jscoverage['/dialog.js'].lineData[220]++; + if (visit12_220_1(paging)) { + _$jscoverage['/dialog.js'].lineData[221]++; loadRecordsByPage(parseInt(paging.attr('data-value'))); } } - _$jscoverage['/dialog.js'].lineData[225]++; + _$jscoverage['/dialog.js'].lineData[223]++; ev.halt(); }); - _$jscoverage['/dialog.js'].lineData[227]++; + _$jscoverage['/dialog.js'].lineData[225]++; self.addRes(self._xiamiaList); }, _listSearch: function(data) { _$jscoverage['/dialog.js'].functionData[16]++; - _$jscoverage['/dialog.js'].lineData[230]++; + _$jscoverage['/dialog.js'].lineData[228]++; var self = this, i, editor = self.editor, prefixCls = editor.get('prefixCls'), re = data.results, html = ''; - _$jscoverage['/dialog.js'].lineData[237]++; - if (visit13_237_1(data.key === S.trim(self._xiamiInput.val()))) { - _$jscoverage['/dialog.js'].lineData[238]++; + _$jscoverage['/dialog.js'].lineData[235]++; + if (visit13_235_1(data.key === S.trim(self._xiamiInput.val()))) { + _$jscoverage['/dialog.js'].lineData[236]++; self._xiamiSubmit.removeClass(prefixCls + 'editor-button-disabled', undefined); - _$jscoverage['/dialog.js'].lineData[239]++; - if (visit14_239_1(re && re.length)) { - _$jscoverage['/dialog.js'].lineData[240]++; + _$jscoverage['/dialog.js'].lineData[237]++; + if (visit14_237_1(re && re.length)) { + _$jscoverage['/dialog.js'].lineData[238]++; html = '
    '; - _$jscoverage['/dialog.js'].lineData[241]++; - for (i = 0; visit15_241_1(i < re.length); i++) { - _$jscoverage['/dialog.js'].lineData[242]++; + _$jscoverage['/dialog.js'].lineData[239]++; + for (i = 0; visit15_239_1(i < re.length); i++) { + _$jscoverage['/dialog.js'].lineData[240]++; var r = re[i], d = getDisplayName(r); - _$jscoverage['/dialog.js'].lineData[243]++; + _$jscoverage['/dialog.js'].lineData[241]++; html += '
  • ' + '' + limit(d, 35) + '' + '' + '' + '\u6dfb\u52a0' + '
  • '; } - _$jscoverage['/dialog.js'].lineData[258]++; + _$jscoverage['/dialog.js'].lineData[256]++; html += '
'; - _$jscoverage['/dialog.js'].lineData[260]++; + _$jscoverage['/dialog.js'].lineData[258]++; var page = data.page, totalPage = Math.floor(data.total / 8), start = page - 1, end = page + 1; - _$jscoverage['/dialog.js'].lineData[265]++; - if (visit16_265_1(totalPage > 1)) { - _$jscoverage['/dialog.js'].lineData[266]++; + _$jscoverage['/dialog.js'].lineData[263]++; + if (visit16_263_1(totalPage > 1)) { + _$jscoverage['/dialog.js'].lineData[264]++; html += '

'; - _$jscoverage['/dialog.js'].lineData[267]++; - if (visit17_267_1(start <= 2)) { - _$jscoverage['/dialog.js'].lineData[268]++; + _$jscoverage['/dialog.js'].lineData[265]++; + if (visit17_265_1(start <= 2)) { + _$jscoverage['/dialog.js'].lineData[266]++; end = Math.min(2 - start + end, totalPage - 1); - _$jscoverage['/dialog.js'].lineData[269]++; + _$jscoverage['/dialog.js'].lineData[267]++; start = 2; } - _$jscoverage['/dialog.js'].lineData[271]++; + _$jscoverage['/dialog.js'].lineData[269]++; end = Math.min(end, totalPage - 1); - _$jscoverage['/dialog.js'].lineData[272]++; - if (visit18_272_1(end === totalPage - 1)) { - _$jscoverage['/dialog.js'].lineData[273]++; + _$jscoverage['/dialog.js'].lineData[270]++; + if (visit18_270_1(end === totalPage - 1)) { + _$jscoverage['/dialog.js'].lineData[271]++; start = Math.max(2, end - 3); } - _$jscoverage['/dialog.js'].lineData[275]++; - if (visit19_275_1(page !== 1)) { - _$jscoverage['/dialog.js'].lineData[276]++; + _$jscoverage['/dialog.js'].lineData[273]++; + if (visit19_273_1(page !== 1)) { + _$jscoverage['/dialog.js'].lineData[274]++; html += getXiamiPaging(page, page - 1, '\u4e0a\u4e00\u9875'); } - _$jscoverage['/dialog.js'].lineData[278]++; + _$jscoverage['/dialog.js'].lineData[276]++; html += getXiamiPaging(page, 1, '1'); - _$jscoverage['/dialog.js'].lineData[279]++; - if (visit20_279_1(start !== 2)) { - _$jscoverage['/dialog.js'].lineData[280]++; + _$jscoverage['/dialog.js'].lineData[277]++; + if (visit20_277_1(start !== 2)) { + _$jscoverage['/dialog.js'].lineData[278]++; html += '...'; } - _$jscoverage['/dialog.js'].lineData[282]++; - for (i = start; visit21_282_1(i <= end); i++) { - _$jscoverage['/dialog.js'].lineData[283]++; + _$jscoverage['/dialog.js'].lineData[280]++; + for (i = start; visit21_280_1(i <= end); i++) { + _$jscoverage['/dialog.js'].lineData[281]++; html += getXiamiPaging(page, i, undefined); } - _$jscoverage['/dialog.js'].lineData[285]++; - if (visit22_285_1(end !== totalPage)) { - _$jscoverage['/dialog.js'].lineData[286]++; - if (visit23_286_1(end !== totalPage - 1)) { - _$jscoverage['/dialog.js'].lineData[287]++; + _$jscoverage['/dialog.js'].lineData[283]++; + if (visit22_283_1(end !== totalPage)) { + _$jscoverage['/dialog.js'].lineData[284]++; + if (visit23_284_1(end !== totalPage - 1)) { + _$jscoverage['/dialog.js'].lineData[285]++; html += '...'; } - _$jscoverage['/dialog.js'].lineData[289]++; + _$jscoverage['/dialog.js'].lineData[287]++; html += getXiamiPaging(page, totalPage, totalPage); } - _$jscoverage['/dialog.js'].lineData[291]++; - if (visit24_291_1(page !== totalPage)) { - _$jscoverage['/dialog.js'].lineData[292]++; + _$jscoverage['/dialog.js'].lineData[289]++; + if (visit24_289_1(page !== totalPage)) { + _$jscoverage['/dialog.js'].lineData[290]++; html += getXiamiPaging(page, page + 1, '\u4e0b\u4e00\u9875'); } - _$jscoverage['/dialog.js'].lineData[294]++; + _$jscoverage['/dialog.js'].lineData[292]++; html += '

'; } } else { - _$jscoverage['/dialog.js'].lineData[298]++; + _$jscoverage['/dialog.js'].lineData[296]++; html = '

' + '\u4e0d\u597d\u610f\u601d\uff0c\u6ca1\u6709\u627e\u5230\u7ed3\u679c\uff01' + '

'; } - _$jscoverage['/dialog.js'].lineData[302]++; + _$jscoverage['/dialog.js'].lineData[300]++; self._xiamiaList.html(S.substitute(html, { prefixCls: prefixCls})); } }, _updateD: function() { _$jscoverage['/dialog.js'].functionData[17]++; - _$jscoverage['/dialog.js'].lineData[309]++; + _$jscoverage['/dialog.js'].lineData[307]++; var self = this, editor = self.editor, prefixCls = editor.get('prefixCls'), f = self.selectedFlash; - _$jscoverage['/dialog.js'].lineData[313]++; - if (visit25_313_1(f)) { - _$jscoverage['/dialog.js'].lineData[314]++; + _$jscoverage['/dialog.js'].lineData[311]++; + if (visit25_311_1(f)) { + _$jscoverage['/dialog.js'].lineData[312]++; self._xiamiInput.val(f.attr('title')); - _$jscoverage['/dialog.js'].lineData[315]++; + _$jscoverage['/dialog.js'].lineData[313]++; self._xiamiTitle.html(f.attr('title')); - _$jscoverage['/dialog.js'].lineData[316]++; + _$jscoverage['/dialog.js'].lineData[314]++; self.dAlign.set('value', f.css('float')); - _$jscoverage['/dialog.js'].lineData[317]++; - self.dMargin.val(visit26_317_1(parseInt(f.style('margin')) || 0)); - _$jscoverage['/dialog.js'].lineData[318]++; + _$jscoverage['/dialog.js'].lineData[315]++; + self.dMargin.val(visit26_315_1(parseInt(f.style('margin')) || 0)); + _$jscoverage['/dialog.js'].lineData[316]++; self._xiamiUrlWrap.hide(); - _$jscoverage['/dialog.js'].lineData[319]++; + _$jscoverage['/dialog.js'].lineData[317]++; self.dialog.get('footer').show(); - _$jscoverage['/dialog.js'].lineData[320]++; + _$jscoverage['/dialog.js'].lineData[318]++; self._xiamiTitle.show(); } else { - _$jscoverage['/dialog.js'].lineData[322]++; + _$jscoverage['/dialog.js'].lineData[320]++; Editor.Utils.resetInput(self._xiamiInput); - _$jscoverage['/dialog.js'].lineData[323]++; + _$jscoverage['/dialog.js'].lineData[321]++; self.dAlign.set('value', 'none'); - _$jscoverage['/dialog.js'].lineData[324]++; + _$jscoverage['/dialog.js'].lineData[322]++; self.dMargin.val(MARGIN_DEFAULT); - _$jscoverage['/dialog.js'].lineData[325]++; + _$jscoverage['/dialog.js'].lineData[323]++; self._xiamiUrlWrap.show(); - _$jscoverage['/dialog.js'].lineData[326]++; + _$jscoverage['/dialog.js'].lineData[324]++; self.dialog.get('footer').hide(); - _$jscoverage['/dialog.js'].lineData[327]++; + _$jscoverage['/dialog.js'].lineData[325]++; self._xiamiTitle.hide(); - _$jscoverage['/dialog.js'].lineData[328]++; + _$jscoverage['/dialog.js'].lineData[326]++; self._xiamiSubmit.removeClass(prefixCls + 'editor-button-disabled', undefined); } - _$jscoverage['/dialog.js'].lineData[330]++; + _$jscoverage['/dialog.js'].lineData[328]++; self._xiamiaList.hide(); - _$jscoverage['/dialog.js'].lineData[331]++; + _$jscoverage['/dialog.js'].lineData[329]++; self._xiamiaList.html(''); }, _getDInfo: function() { _$jscoverage['/dialog.js'].functionData[18]++; - _$jscoverage['/dialog.js'].lineData[335]++; + _$jscoverage['/dialog.js'].lineData[333]++; var self = this; - _$jscoverage['/dialog.js'].lineData[336]++; + _$jscoverage['/dialog.js'].lineData[334]++; S.mix(self._dinfo.attrs, { width: 257, height: 33}); - _$jscoverage['/dialog.js'].lineData[340]++; + _$jscoverage['/dialog.js'].lineData[338]++; return self._dinfo; }}); - _$jscoverage['/dialog.js'].lineData[346]++; + _$jscoverage['/dialog.js'].lineData[343]++; function getXiamiPaging(page, i, s) { _$jscoverage['/dialog.js'].functionData[19]++; - _$jscoverage['/dialog.js'].lineData[347]++; - return '' + (visit28_349_1(s || i)) + ''; + _$jscoverage['/dialog.js'].lineData[344]++; + return '' + (visit28_346_1(s || i)) + ''; } - _$jscoverage['/dialog.js'].lineData[352]++; + _$jscoverage['/dialog.js'].lineData[349]++; function getDisplayName(r) { _$jscoverage['/dialog.js'].functionData[20]++; - _$jscoverage['/dialog.js'].lineData[354]++; + _$jscoverage['/dialog.js'].lineData[351]++; return S.urlDecode(r.song_name) + ' - ' + S.urlDecode(r.artist_name); } - _$jscoverage['/dialog.js'].lineData[357]++; + _$jscoverage['/dialog.js'].lineData[354]++; return XiamiMusicDialog; }); diff --git a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js index 3754b862b9..a546ce2373 100644 --- a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js @@ -7,8 +7,6 @@ KISSY.add(function (S, require) { var Editor = require('editor'); var FlashDialog = require('../flash/dialog'); var MenuButton = require('../menubutton'); - - var Dom = S.DOM, Node = S.Node, Utils = Editor.Utils, @@ -342,7 +340,6 @@ KISSY.add(function (S, require) { }); - function getXiamiPaging(page, i, s) { return '" + "
" + "
"), ret = [], dfn, winFn; @@ -157,7 +156,6 @@ KISSY.add(function (S, Dom, Event) { Dom.remove(n); }); - it('fireHandler does not bubble', function () { var n = Dom.create("
" + @@ -213,7 +211,6 @@ KISSY.add(function (S, Dom, Event) { Dom.remove(n); }); }); - }, { requires: ['dom', 'event/dom/base'] }); \ No newline at end of file diff --git a/src/event/sub-modules/dom/sub-modules/base/tests/specs/focus.js b/src/event/sub-modules/dom/sub-modules/base/tests/specs/focus.js index 7b436bb725..83585ac34b 100644 --- a/src/event/sub-modules/dom/sub-modules/base/tests/specs/focus.js +++ b/src/event/sub-modules/dom/sub-modules/base/tests/specs/focus.js @@ -30,6 +30,10 @@ KISSY.add( function (S, Dom, Event) { if(KISSY.UA.ie===10){ return; } + + window.focus(); + document.body.focus(); + var outer = Dom.create("
" + "
" + "" + diff --git a/src/event/sub-modules/dom/sub-modules/focusin/tests/specs/index.js b/src/event/sub-modules/dom/sub-modules/focusin/tests/specs/index.js index 9be520ee76..534a96abe7 100644 --- a/src/event/sub-modules/dom/sub-modules/focusin/tests/specs/index.js +++ b/src/event/sub-modules/dom/sub-modules/focusin/tests/specs/index.js @@ -16,6 +16,8 @@ KISSY.add(function (S, Event, Dom) { beforeEach(function () { Dom.prepend(Dom.create(tpl), 'body'); + window.focus(); + document.body.focus(); }); afterEach(function () { diff --git a/src/io/coverage/src/io.js b/src/io/coverage/src/io.js index 9f271bba83..773764cc3c 100644 --- a/src/io/coverage/src/io.js +++ b/src/io/coverage/src/io.js @@ -290,27 +290,27 @@ if (! _$jscoverage['/io.js'].branchData) { _$jscoverage['/io.js'].branchData['144'][1] = new BranchData(); } _$jscoverage['/io.js'].branchData['144'][1].init(17, 26, 'typeof data === \'function\''); -function visit201_144_1(result) { +function visit191_144_1(result) { _$jscoverage['/io.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].branchData['122'][1].init(17, 26, 'typeof data === \'function\''); -function visit200_122_1(result) { +function visit190_122_1(result) { _$jscoverage['/io.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].branchData['94'][1].init(17, 26, 'typeof data === \'function\''); -function visit199_94_1(result) { +function visit189_94_1(result) { _$jscoverage['/io.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].branchData['71'][1].init(17, 26, 'typeof data === \'function\''); -function visit198_71_1(result) { +function visit188_71_1(result) { _$jscoverage['/io.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].branchData['26'][1].init(19, 13, 'type || \'get\''); -function visit197_26_1(result) { +function visit187_26_1(result) { _$jscoverage['/io.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].branchData['19'][1].init(35, 26, 'typeof data === \'function\''); -function visit196_19_1(result) { +function visit186_19_1(result) { _$jscoverage['/io.js'].branchData['19'][1].ranCondition(result); return result; }_$jscoverage['/io.js'].lineData[6]++; @@ -334,7 +334,7 @@ KISSY.add(function(S, require) { function get(url, data, callback, dataType, type) { _$jscoverage['/io.js'].functionData[1]++; _$jscoverage['/io.js'].lineData[19]++; - if (visit196_19_1(typeof data === 'function')) { + if (visit186_19_1(typeof data === 'function')) { _$jscoverage['/io.js'].lineData[20]++; dataType = callback; _$jscoverage['/io.js'].lineData[21]++; @@ -344,7 +344,7 @@ KISSY.add(function(S, require) { } _$jscoverage['/io.js'].lineData[25]++; return IO({ - type: visit197_26_1(type || 'get'), + type: visit187_26_1(type || 'get'), url: url, data: data, success: callback, @@ -357,7 +357,7 @@ KISSY.add(function(S, require) { post: function(url, data, callback, dataType) { _$jscoverage['/io.js'].functionData[2]++; _$jscoverage['/io.js'].lineData[71]++; - if (visit198_71_1(typeof data === 'function')) { + if (visit188_71_1(typeof data === 'function')) { _$jscoverage['/io.js'].lineData[72]++; dataType = callback; _$jscoverage['/io.js'].lineData[75]++; @@ -371,7 +371,7 @@ KISSY.add(function(S, require) { jsonp: function(url, data, callback) { _$jscoverage['/io.js'].functionData[3]++; _$jscoverage['/io.js'].lineData[94]++; - if (visit199_94_1(typeof data === 'function')) { + if (visit189_94_1(typeof data === 'function')) { _$jscoverage['/io.js'].lineData[95]++; callback = data; _$jscoverage['/io.js'].lineData[96]++; @@ -384,7 +384,7 @@ KISSY.add(function(S, require) { getJSON: function(url, data, callback) { _$jscoverage['/io.js'].functionData[4]++; _$jscoverage['/io.js'].lineData[122]++; - if (visit200_122_1(typeof data === 'function')) { + if (visit190_122_1(typeof data === 'function')) { _$jscoverage['/io.js'].lineData[123]++; callback = data; _$jscoverage['/io.js'].lineData[124]++; @@ -396,7 +396,7 @@ KISSY.add(function(S, require) { upload: function(url, form, data, callback, dataType) { _$jscoverage['/io.js'].functionData[5]++; _$jscoverage['/io.js'].lineData[144]++; - if (visit201_144_1(typeof data === 'function')) { + if (visit191_144_1(typeof data === 'function')) { _$jscoverage['/io.js'].lineData[145]++; dataType = callback; _$jscoverage['/io.js'].lineData[149]++; diff --git a/src/io/coverage/src/io/script-transport.js b/src/io/coverage/src/io/script-transport.js index 9ae8acaa20..73c831e97a 100644 --- a/src/io/coverage/src/io/script-transport.js +++ b/src/io/coverage/src/io/script-transport.js @@ -233,45 +233,34 @@ if (! _$jscoverage['/io/script-transport.js']) { _$jscoverage['/io/script-transport.js'].lineData[9] = 0; _$jscoverage['/io/script-transport.js'].lineData[10] = 0; _$jscoverage['/io/script-transport.js'].lineData[11] = 0; - _$jscoverage['/io/script-transport.js'].lineData[17] = 0; - _$jscoverage['/io/script-transport.js'].lineData[34] = 0; - _$jscoverage['/io/script-transport.js'].lineData[35] = 0; - _$jscoverage['/io/script-transport.js'].lineData[41] = 0; + _$jscoverage['/io/script-transport.js'].lineData[14] = 0; + _$jscoverage['/io/script-transport.js'].lineData[31] = 0; + _$jscoverage['/io/script-transport.js'].lineData[32] = 0; + _$jscoverage['/io/script-transport.js'].lineData[38] = 0; + _$jscoverage['/io/script-transport.js'].lineData[39] = 0; _$jscoverage['/io/script-transport.js'].lineData[42] = 0; - _$jscoverage['/io/script-transport.js'].lineData[44] = 0; + _$jscoverage['/io/script-transport.js'].lineData[43] = 0; _$jscoverage['/io/script-transport.js'].lineData[45] = 0; + _$jscoverage['/io/script-transport.js'].lineData[46] = 0; _$jscoverage['/io/script-transport.js'].lineData[47] = 0; - _$jscoverage['/io/script-transport.js'].lineData[48] = 0; - _$jscoverage['/io/script-transport.js'].lineData[49] = 0; + _$jscoverage['/io/script-transport.js'].lineData[50] = 0; _$jscoverage['/io/script-transport.js'].lineData[52] = 0; - _$jscoverage['/io/script-transport.js'].lineData[54] = 0; - _$jscoverage['/io/script-transport.js'].lineData[62] = 0; - _$jscoverage['/io/script-transport.js'].lineData[63] = 0; - _$jscoverage['/io/script-transport.js'].lineData[64] = 0; - _$jscoverage['/io/script-transport.js'].lineData[65] = 0; + _$jscoverage['/io/script-transport.js'].lineData[55] = 0; + _$jscoverage['/io/script-transport.js'].lineData[58] = 0; + _$jscoverage['/io/script-transport.js'].lineData[61] = 0; _$jscoverage['/io/script-transport.js'].lineData[67] = 0; - _$jscoverage['/io/script-transport.js'].lineData[68] = 0; _$jscoverage['/io/script-transport.js'].lineData[71] = 0; - _$jscoverage['/io/script-transport.js'].lineData[73] = 0; + _$jscoverage['/io/script-transport.js'].lineData[72] = 0; + _$jscoverage['/io/script-transport.js'].lineData[74] = 0; + _$jscoverage['/io/script-transport.js'].lineData[75] = 0; _$jscoverage['/io/script-transport.js'].lineData[76] = 0; - _$jscoverage['/io/script-transport.js'].lineData[78] = 0; - _$jscoverage['/io/script-transport.js'].lineData[81] = 0; - _$jscoverage['/io/script-transport.js'].lineData[85] = 0; - _$jscoverage['/io/script-transport.js'].lineData[91] = 0; - _$jscoverage['/io/script-transport.js'].lineData[92] = 0; + _$jscoverage['/io/script-transport.js'].lineData[79] = 0; + _$jscoverage['/io/script-transport.js'].lineData[80] = 0; + _$jscoverage['/io/script-transport.js'].lineData[83] = 0; + _$jscoverage['/io/script-transport.js'].lineData[84] = 0; + _$jscoverage['/io/script-transport.js'].lineData[89] = 0; + _$jscoverage['/io/script-transport.js'].lineData[93] = 0; _$jscoverage['/io/script-transport.js'].lineData[95] = 0; - _$jscoverage['/io/script-transport.js'].lineData[101] = 0; - _$jscoverage['/io/script-transport.js'].lineData[104] = 0; - _$jscoverage['/io/script-transport.js'].lineData[108] = 0; - _$jscoverage['/io/script-transport.js'].lineData[111] = 0; - _$jscoverage['/io/script-transport.js'].lineData[112] = 0; - _$jscoverage['/io/script-transport.js'].lineData[115] = 0; - _$jscoverage['/io/script-transport.js'].lineData[116] = 0; - _$jscoverage['/io/script-transport.js'].lineData[119] = 0; - _$jscoverage['/io/script-transport.js'].lineData[120] = 0; - _$jscoverage['/io/script-transport.js'].lineData[126] = 0; - _$jscoverage['/io/script-transport.js'].lineData[130] = 0; - _$jscoverage['/io/script-transport.js'].lineData[132] = 0; } if (! _$jscoverage['/io/script-transport.js'].functionData) { _$jscoverage['/io/script-transport.js'].functionData = []; @@ -282,97 +271,40 @@ if (! _$jscoverage['/io/script-transport.js'].functionData) { _$jscoverage['/io/script-transport.js'].functionData[4] = 0; _$jscoverage['/io/script-transport.js'].functionData[5] = 0; _$jscoverage['/io/script-transport.js'].functionData[6] = 0; + _$jscoverage['/io/script-transport.js'].functionData[7] = 0; } if (! _$jscoverage['/io/script-transport.js'].branchData) { _$jscoverage['/io/script-transport.js'].branchData = {}; - _$jscoverage['/io/script-transport.js'].branchData['44'] = []; - _$jscoverage['/io/script-transport.js'].branchData['44'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['58'] = []; - _$jscoverage['/io/script-transport.js'].branchData['58'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['59'] = []; - _$jscoverage['/io/script-transport.js'].branchData['59'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['67'] = []; - _$jscoverage['/io/script-transport.js'].branchData['67'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['76'] = []; - _$jscoverage['/io/script-transport.js'].branchData['76'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['78'] = []; - _$jscoverage['/io/script-transport.js'].branchData['78'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['91'] = []; - _$jscoverage['/io/script-transport.js'].branchData['91'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['96'] = []; - _$jscoverage['/io/script-transport.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['96'][2] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['97'] = []; - _$jscoverage['/io/script-transport.js'].branchData['97'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['98'] = []; - _$jscoverage['/io/script-transport.js'].branchData['98'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['104'] = []; - _$jscoverage['/io/script-transport.js'].branchData['104'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['115'] = []; - _$jscoverage['/io/script-transport.js'].branchData['115'][1] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['115'][2] = new BranchData(); - _$jscoverage['/io/script-transport.js'].branchData['119'] = []; - _$jscoverage['/io/script-transport.js'].branchData['119'][1] = new BranchData(); + _$jscoverage['/io/script-transport.js'].branchData['42'] = []; + _$jscoverage['/io/script-transport.js'].branchData['42'][1] = new BranchData(); + _$jscoverage['/io/script-transport.js'].branchData['71'] = []; + _$jscoverage['/io/script-transport.js'].branchData['71'][1] = new BranchData(); + _$jscoverage['/io/script-transport.js'].branchData['75'] = []; + _$jscoverage['/io/script-transport.js'].branchData['75'][1] = new BranchData(); + _$jscoverage['/io/script-transport.js'].branchData['79'] = []; + _$jscoverage['/io/script-transport.js'].branchData['79'][1] = new BranchData(); + _$jscoverage['/io/script-transport.js'].branchData['83'] = []; + _$jscoverage['/io/script-transport.js'].branchData['83'][1] = new BranchData(); } -_$jscoverage['/io/script-transport.js'].branchData['119'][1].init(652, 17, 'event === \'error\''); -function visit124_119_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['119'][1].ranCondition(result); +_$jscoverage['/io/script-transport.js'].branchData['83'][1].init(483, 17, 'event === \'error\''); +function visit114_83_1(result) { + _$jscoverage['/io/script-transport.js'].branchData['83'][1].ranCondition(result); return result; -}_$jscoverage['/io/script-transport.js'].branchData['115'][2].init(501, 17, 'event !== \'error\''); -function visit123_115_2(result) { - _$jscoverage['/io/script-transport.js'].branchData['115'][2].ranCondition(result); +}_$jscoverage['/io/script-transport.js'].branchData['79'][1].init(348, 17, 'event !== \'error\''); +function visit113_79_1(result) { + _$jscoverage['/io/script-transport.js'].branchData['79'][1].ranCondition(result); return result; -}_$jscoverage['/io/script-transport.js'].branchData['115'][1].init(491, 27, '!abort && event !== \'error\''); -function visit122_115_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['115'][1].ranCondition(result); +}_$jscoverage['/io/script-transport.js'].branchData['75'][1].init(248, 5, 'abort'); +function visit112_75_1(result) { + _$jscoverage['/io/script-transport.js'].branchData['75'][1].ranCondition(result); return result; -}_$jscoverage['/io/script-transport.js'].branchData['104'][1].init(143, 25, 'head && script.parentNode'); -function visit121_104_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['104'][1].ranCondition(result); +}_$jscoverage['/io/script-transport.js'].branchData['71'][1].init(146, 7, '!script'); +function visit111_71_1(result) { + _$jscoverage['/io/script-transport.js'].branchData['71'][1].ranCondition(result); return result; -}_$jscoverage['/io/script-transport.js'].branchData['98'][1].init(64, 17, 'event === \'error\''); -function visit120_98_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['98'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['97'][1].init(41, 82, '/loaded|complete/.test(script.readyState) || event === \'error\''); -function visit119_97_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['97'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['96'][2].init(274, 124, '!script.readyState || /loaded|complete/.test(script.readyState) || event === \'error\''); -function visit118_96_2(result) { - _$jscoverage['/io/script-transport.js'].branchData['96'][2].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['96'][1].init(20, 133, 'abort || !script.readyState || /loaded|complete/.test(script.readyState) || event === \'error\''); -function visit117_96_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['96'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['91'][1].init(181, 7, '!script'); -function visit116_91_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['91'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['78'][1].init(139, 17, 'e.type || \'error\''); -function visit115_78_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['78'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['76'][1].init(29, 14, 'e || win.event'); -function visit114_76_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['76'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['67'][1].init(415, 15, 'c.scriptCharset'); -function visit113_67_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['67'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['59'][1].init(31, 78, 'doc.getElementsByTagName(\'head\')[0] || doc.documentElement'); -function visit112_59_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['59'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['58'][1].init(124, 110, 'doc.head || doc.getElementsByTagName(\'head\')[0] || doc.documentElement'); -function visit111_58_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['58'][1].ranCondition(result); - return result; -}_$jscoverage['/io/script-transport.js'].branchData['44'][1].init(95, 19, '!config.crossDomain'); -function visit110_44_1(result) { - _$jscoverage['/io/script-transport.js'].branchData['44'][1].ranCondition(result); +}_$jscoverage['/io/script-transport.js'].branchData['42'][1].init(120, 19, '!config.crossDomain'); +function visit110_42_1(result) { + _$jscoverage['/io/script-transport.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/io/script-transport.js'].lineData[8]++; KISSY.add(function(S, require) { @@ -382,8 +314,8 @@ KISSY.add(function(S, require) { _$jscoverage['/io/script-transport.js'].lineData[10]++; var logger = S.getLogger('s/io'); _$jscoverage['/io/script-transport.js'].lineData[11]++; - var win = S.Env.host, doc = win.document, OK_CODE = 200, ERROR_CODE = 500; - _$jscoverage['/io/script-transport.js'].lineData[17]++; + var OK_CODE = 200, ERROR_CODE = 500; + _$jscoverage['/io/script-transport.js'].lineData[14]++; IO.setupConfig({ accepts: { script: 'text/javascript, ' + 'application/javascript, ' + 'application/ecmascript, ' + 'application/x-ecmascript'}, @@ -393,102 +325,83 @@ KISSY.add(function(S, require) { text: { script: function(text) { _$jscoverage['/io/script-transport.js'].functionData[1]++; - _$jscoverage['/io/script-transport.js'].lineData[34]++; + _$jscoverage['/io/script-transport.js'].lineData[31]++; S.globalEval(text); - _$jscoverage['/io/script-transport.js'].lineData[35]++; + _$jscoverage['/io/script-transport.js'].lineData[32]++; return text; }}}}); - _$jscoverage['/io/script-transport.js'].lineData[41]++; + _$jscoverage['/io/script-transport.js'].lineData[38]++; function ScriptTransport(io) { _$jscoverage['/io/script-transport.js'].functionData[2]++; + _$jscoverage['/io/script-transport.js'].lineData[39]++; + var config = io.config, self = this; _$jscoverage['/io/script-transport.js'].lineData[42]++; - var config = io.config; - _$jscoverage['/io/script-transport.js'].lineData[44]++; - if (visit110_44_1(!config.crossDomain)) { - _$jscoverage['/io/script-transport.js'].lineData[45]++; + if (visit110_42_1(!config.crossDomain)) { + _$jscoverage['/io/script-transport.js'].lineData[43]++; return new (IO.getTransport('*'))(io); } - _$jscoverage['/io/script-transport.js'].lineData[47]++; - this.io = io; - _$jscoverage['/io/script-transport.js'].lineData[48]++; + _$jscoverage['/io/script-transport.js'].lineData[45]++; + self.io = io; + _$jscoverage['/io/script-transport.js'].lineData[46]++; logger.info('use ScriptTransport for: ' + config.url); - _$jscoverage['/io/script-transport.js'].lineData[49]++; - return this; + _$jscoverage['/io/script-transport.js'].lineData[47]++; + return self; } - _$jscoverage['/io/script-transport.js'].lineData[52]++; + _$jscoverage['/io/script-transport.js'].lineData[50]++; S.augment(ScriptTransport, { send: function() { _$jscoverage['/io/script-transport.js'].functionData[3]++; - _$jscoverage['/io/script-transport.js'].lineData[54]++; - var self = this, script, io = self.io, c = io.config, head = visit111_58_1(doc.head || visit112_59_1(doc.getElementsByTagName('head')[0] || doc.documentElement)); - _$jscoverage['/io/script-transport.js'].lineData[62]++; - self.head = head; - _$jscoverage['/io/script-transport.js'].lineData[63]++; - script = doc.createElement('script'); - _$jscoverage['/io/script-transport.js'].lineData[64]++; - self.script = script; - _$jscoverage['/io/script-transport.js'].lineData[65]++; - script.async = true; - _$jscoverage['/io/script-transport.js'].lineData[67]++; - if (visit113_67_1(c.scriptCharset)) { - _$jscoverage['/io/script-transport.js'].lineData[68]++; - script.charset = c.scriptCharset; - } - _$jscoverage['/io/script-transport.js'].lineData[71]++; - script.src = io._getUrlForSend(); - _$jscoverage['/io/script-transport.js'].lineData[73]++; - script.onerror = script.onload = script.onreadystatechange = function(e) { + _$jscoverage['/io/script-transport.js'].lineData[52]++; + var self = this, io = self.io, c = io.config; + _$jscoverage['/io/script-transport.js'].lineData[55]++; + self.script = S.getScript(io._getUrlForSend(), { + charset: c.scriptCharset, + success: function() { _$jscoverage['/io/script-transport.js'].functionData[4]++; - _$jscoverage['/io/script-transport.js'].lineData[76]++; - e = visit114_76_1(e || win.event); - _$jscoverage['/io/script-transport.js'].lineData[78]++; - self._callback((visit115_78_1(e.type || 'error')).toLowerCase()); -}; - _$jscoverage['/io/script-transport.js'].lineData[81]++; - head.insertBefore(script, head.firstChild); + _$jscoverage['/io/script-transport.js'].lineData[58]++; + self._callback('success'); }, - _callback: function(event, abort) { + error: function() { _$jscoverage['/io/script-transport.js'].functionData[5]++; - _$jscoverage['/io/script-transport.js'].lineData[85]++; - var self = this, script = self.script, io = self.io, head = self.head; - _$jscoverage['/io/script-transport.js'].lineData[91]++; - if (visit116_91_1(!script)) { - _$jscoverage['/io/script-transport.js'].lineData[92]++; + _$jscoverage['/io/script-transport.js'].lineData[61]++; + self._callback('error'); +}}); +}, + _callback: function(event, abort) { + _$jscoverage['/io/script-transport.js'].functionData[6]++; + _$jscoverage['/io/script-transport.js'].lineData[67]++; + var self = this, script = self.script, io = self.io; + _$jscoverage['/io/script-transport.js'].lineData[71]++; + if (visit111_71_1(!script)) { + _$jscoverage['/io/script-transport.js'].lineData[72]++; return; } - _$jscoverage['/io/script-transport.js'].lineData[95]++; - if (visit117_96_1(abort || visit118_96_2(!script.readyState || visit119_97_1(/loaded|complete/.test(script.readyState) || visit120_98_1(event === 'error'))))) { - _$jscoverage['/io/script-transport.js'].lineData[101]++; - script.onerror = script.onload = script.onreadystatechange = null; - _$jscoverage['/io/script-transport.js'].lineData[104]++; - if (visit121_104_1(head && script.parentNode)) { - _$jscoverage['/io/script-transport.js'].lineData[108]++; - head.removeChild(script); - } - _$jscoverage['/io/script-transport.js'].lineData[111]++; - self.script = undefined; - _$jscoverage['/io/script-transport.js'].lineData[112]++; - self.head = undefined; - _$jscoverage['/io/script-transport.js'].lineData[115]++; - if (visit122_115_1(!abort && visit123_115_2(event !== 'error'))) { - _$jscoverage['/io/script-transport.js'].lineData[116]++; - io._ioReady(OK_CODE, 'success'); - } else { - _$jscoverage['/io/script-transport.js'].lineData[119]++; - if (visit124_119_1(event === 'error')) { - _$jscoverage['/io/script-transport.js'].lineData[120]++; - io._ioReady(ERROR_CODE, 'script error'); - } + _$jscoverage['/io/script-transport.js'].lineData[74]++; + self.script = undefined; + _$jscoverage['/io/script-transport.js'].lineData[75]++; + if (visit112_75_1(abort)) { + _$jscoverage['/io/script-transport.js'].lineData[76]++; + return; + } + _$jscoverage['/io/script-transport.js'].lineData[79]++; + if (visit113_79_1(event !== 'error')) { + _$jscoverage['/io/script-transport.js'].lineData[80]++; + io._ioReady(OK_CODE, 'success'); + } else { + _$jscoverage['/io/script-transport.js'].lineData[83]++; + if (visit114_83_1(event === 'error')) { + _$jscoverage['/io/script-transport.js'].lineData[84]++; + io._ioReady(ERROR_CODE, 'script error'); } } }, abort: function() { - _$jscoverage['/io/script-transport.js'].functionData[6]++; - _$jscoverage['/io/script-transport.js'].lineData[126]++; + _$jscoverage['/io/script-transport.js'].functionData[7]++; + _$jscoverage['/io/script-transport.js'].lineData[89]++; this._callback(0, 1); }}); - _$jscoverage['/io/script-transport.js'].lineData[130]++; + _$jscoverage['/io/script-transport.js'].lineData[93]++; IO.setupTransport('script', ScriptTransport); - _$jscoverage['/io/script-transport.js'].lineData[132]++; + _$jscoverage['/io/script-transport.js'].lineData[95]++; return IO; }); diff --git a/src/io/coverage/src/io/sub-domain-transport.js b/src/io/coverage/src/io/sub-domain-transport.js index f8fe1af16a..ec734c2bd3 100644 --- a/src/io/coverage/src/io/sub-domain-transport.js +++ b/src/io/coverage/src/io/sub-domain-transport.js @@ -291,27 +291,27 @@ if (! _$jscoverage['/io/sub-domain-transport.js'].branchData) { _$jscoverage['/io/sub-domain-transport.js'].branchData['60'][1] = new BranchData(); } _$jscoverage['/io/sub-domain-transport.js'].branchData['60'][1].init(334, 31, 'doc.body || doc.documentElement'); -function visit130_60_1(result) { +function visit120_60_1(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['60'][1].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].branchData['52'][1].init(802, 11, '!iframeDesc'); -function visit129_52_1(result) { +function visit119_52_1(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].branchData['44'][1].init(118, 14, 'self.nativeXhr'); -function visit128_44_1(result) { +function visit118_44_1(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['44'][1].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].branchData['42'][1].init(427, 30, 'iframeDesc && iframeDesc.ready'); -function visit127_42_1(result) { +function visit117_42_1(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].branchData['38'][2].init(305, 40, 'c.xdr.subDomain && c.xdr.subDomain.proxy'); -function visit126_38_2(result) { +function visit116_38_2(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['38'][2].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].branchData['38'][1].init(296, 49, 'c.xdr && c.xdr.subDomain && c.xdr.subDomain.proxy'); -function visit125_38_1(result) { +function visit115_38_1(result) { _$jscoverage['/io/sub-domain-transport.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/io/sub-domain-transport.js'].lineData[6]++; @@ -344,16 +344,16 @@ KISSY.add(function(S, require) { _$jscoverage['/io/sub-domain-transport.js'].lineData[36]++; var proxy = PROXY_PAGE; _$jscoverage['/io/sub-domain-transport.js'].lineData[38]++; - if (visit125_38_1(c.xdr && visit126_38_2(c.xdr.subDomain && c.xdr.subDomain.proxy))) { + if (visit115_38_1(c.xdr && visit116_38_2(c.xdr.subDomain && c.xdr.subDomain.proxy))) { _$jscoverage['/io/sub-domain-transport.js'].lineData[39]++; proxy = c.xdr.subDomain.proxy; } _$jscoverage['/io/sub-domain-transport.js'].lineData[42]++; - if (visit127_42_1(iframeDesc && iframeDesc.ready)) { + if (visit117_42_1(iframeDesc && iframeDesc.ready)) { _$jscoverage['/io/sub-domain-transport.js'].lineData[43]++; self.nativeXhr = XhrTransportBase.nativeXhr(0, iframeDesc.iframe.contentWindow); _$jscoverage['/io/sub-domain-transport.js'].lineData[44]++; - if (visit128_44_1(self.nativeXhr)) { + if (visit118_44_1(self.nativeXhr)) { _$jscoverage['/io/sub-domain-transport.js'].lineData[45]++; self.sendInternal(); } else { @@ -364,7 +364,7 @@ KISSY.add(function(S, require) { return; } _$jscoverage['/io/sub-domain-transport.js'].lineData[52]++; - if (visit129_52_1(!iframeDesc)) { + if (visit119_52_1(!iframeDesc)) { _$jscoverage['/io/sub-domain-transport.js'].lineData[53]++; iframeDesc = iframeMap[hostname] = {}; _$jscoverage['/io/sub-domain-transport.js'].lineData[54]++; @@ -375,7 +375,7 @@ KISSY.add(function(S, require) { left: '-9999px', top: '-9999px'}); _$jscoverage['/io/sub-domain-transport.js'].lineData[60]++; - Dom.prepend(iframe, visit130_60_1(doc.body || doc.documentElement)); + Dom.prepend(iframe, visit120_60_1(doc.body || doc.documentElement)); _$jscoverage['/io/sub-domain-transport.js'].lineData[61]++; iframeUri = new S.Uri(); _$jscoverage['/io/sub-domain-transport.js'].lineData[62]++; diff --git a/src/io/coverage/src/io/xdr-flash-transport.js b/src/io/coverage/src/io/xdr-flash-transport.js index 036d3950e7..c8da5689e0 100644 --- a/src/io/coverage/src/io/xdr-flash-transport.js +++ b/src/io/coverage/src/io/xdr-flash-transport.js @@ -320,47 +320,47 @@ if (! _$jscoverage['/io/xdr-flash-transport.js'].branchData) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['138'][1] = new BranchData(); } _$jscoverage['/io/xdr-flash-transport.js'].branchData['138'][1].init(44, 3, 'xhr'); -function visit141_138_1(result) { +function visit131_138_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['138'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['110'][1].init(1016, 3, 'ret'); -function visit140_110_1(result) { +function visit130_110_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['110'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['106'][1].init(101, 17, 'c.statusText || e'); -function visit139_106_1(result) { +function visit129_106_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['106'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['88'][1].init(254, 36, 'c && (responseText = c.responseText)'); -function visit138_88_1(result) { +function visit128_88_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['71'][2].init(118, 22, 'c.hasContent && c.data'); -function visit137_71_2(result) { +function visit127_71_2(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['71'][2].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['71'][1].init(118, 28, 'c.hasContent && c.data || {}'); -function visit136_71_1(result) { +function visit126_71_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['57'][1].init(275, 6, '!flash'); -function visit135_57_1(result) { +function visit125_57_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['57'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['55'][1].init(179, 47, 'xdr.src || (S.Config.base + \'io/assets/io.swf\')'); -function visit134_55_1(result) { +function visit124_55_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['55'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['53'][1].init(99, 11, 'c.xdr || {}'); -function visit133_53_1(result) { +function visit123_53_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['53'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['38'][1].init(616, 31, 'doc.body || doc.documentElement'); -function visit132_38_1(result) { +function visit122_38_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].branchData['22'][1].init(13, 4, 'init'); -function visit131_22_1(result) { +function visit121_22_1(result) { _$jscoverage['/io/xdr-flash-transport.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/io/xdr-flash-transport.js'].lineData[6]++; @@ -376,7 +376,7 @@ KISSY.add(function(S, require) { function _swf(uri, _, uid) { _$jscoverage['/io/xdr-flash-transport.js'].functionData[1]++; _$jscoverage['/io/xdr-flash-transport.js'].lineData[22]++; - if (visit131_22_1(init)) { + if (visit121_22_1(init)) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[23]++; return; } @@ -385,7 +385,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[26]++; var o = '' + '' + '' + '' + '', c = doc.createElement('div'); _$jscoverage['/io/xdr-flash-transport.js'].lineData[38]++; - Dom.prepend(c, visit132_38_1(doc.body || doc.documentElement)); + Dom.prepend(c, visit122_38_1(doc.body || doc.documentElement)); _$jscoverage['/io/xdr-flash-transport.js'].lineData[39]++; c.innerHTML = o; } @@ -402,11 +402,11 @@ KISSY.add(function(S, require) { send: function() { _$jscoverage['/io/xdr-flash-transport.js'].functionData[3]++; _$jscoverage['/io/xdr-flash-transport.js'].lineData[50]++; - var self = this, io = self.io, c = io.config, xdr = visit133_53_1(c.xdr || {}); + var self = this, io = self.io, c = io.config, xdr = visit123_53_1(c.xdr || {}); _$jscoverage['/io/xdr-flash-transport.js'].lineData[55]++; - _swf(visit134_55_1(xdr.src || (S.Config.base + 'io/assets/io.swf')), 1, 1); + _swf(visit124_55_1(xdr.src || (S.Config.base + 'io/assets/io.swf')), 1, 1); _$jscoverage['/io/xdr-flash-transport.js'].lineData[57]++; - if (visit135_57_1(!flash)) { + if (visit125_57_1(!flash)) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[58]++; setTimeout(function() { _$jscoverage['/io/xdr-flash-transport.js'].functionData[4]++; @@ -425,7 +425,7 @@ KISSY.add(function(S, require) { id: self._uid, uid: self._uid, method: c.type, - data: visit136_71_1(visit137_71_2(c.hasContent && c.data) || {})}); + data: visit126_71_1(visit127_71_2(c.hasContent && c.data) || {})}); }, abort: function() { _$jscoverage['/io/xdr-flash-transport.js'].functionData[5]++; @@ -437,7 +437,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[80]++; var self = this, ret, id = o.id, responseText, c = o.c, io = self.io; _$jscoverage['/io/xdr-flash-transport.js'].lineData[88]++; - if (visit138_88_1(c && (responseText = c.responseText))) { + if (visit128_88_1(c && (responseText = c.responseText))) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[89]++; io.responseText = decodeURI(responseText); } @@ -465,12 +465,12 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[104]++; ret = { status: 'status' in c ? c.status : 500, - statusText: visit139_106_1(c.statusText || e)}; + statusText: visit129_106_1(c.statusText || e)}; _$jscoverage['/io/xdr-flash-transport.js'].lineData[108]++; break; } _$jscoverage['/io/xdr-flash-transport.js'].lineData[110]++; - if (visit140_110_1(ret)) { + if (visit130_110_1(ret)) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[111]++; io._ioReady(ret.status, ret.statusText); } @@ -501,7 +501,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[137]++; var xhr = maps[o.uid]; _$jscoverage['/io/xdr-flash-transport.js'].lineData[138]++; - if (visit141_138_1(xhr)) { + if (visit131_138_1(xhr)) { _$jscoverage['/io/xdr-flash-transport.js'].lineData[139]++; xhr._xdrResponse(e, o); } diff --git a/src/io/coverage/src/io/xhr-transport-base.js b/src/io/coverage/src/io/xhr-transport-base.js index f745d1f553..ccbd540993 100644 --- a/src/io/coverage/src/io/xhr-transport-base.js +++ b/src/io/coverage/src/io/xhr-transport-base.js @@ -469,183 +469,183 @@ if (! _$jscoverage['/io/xhr-transport-base.js'].branchData) { _$jscoverage['/io/xhr-transport-base.js'].branchData['306'][1] = new BranchData(); } _$jscoverage['/io/xhr-transport-base.js'].branchData['306'][1].init(254, 6, '!abort'); -function visit186_306_1(result) { +function visit176_306_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['306'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['300'][1].init(23, 12, 'e.stack || e'); -function visit185_300_1(result) { +function visit175_300_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['300'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['293'][1].init(3227, 27, 'status === NO_CONTENT_CODE2'); -function visit184_293_1(result) { +function visit174_293_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['290'][2].init(2990, 28, 'IO.isLocal && !c.crossDomain'); -function visit183_290_2(result) { +function visit173_290_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['290'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['290'][1].init(2979, 39, '!status && IO.isLocal && !c.crossDomain'); -function visit182_290_1(result) { +function visit172_290_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['266'][1].init(114, 20, 'lastBodyIndex === -1'); -function visit181_266_1(result) { +function visit171_266_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['266'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['264'][1].init(92, 42, '(bodyIndex = text.indexOf(\'\')) !== -1'); -function visit180_264_1(result) { +function visit170_264_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['262'][1].init(1452, 15, 'c.files && text'); -function visit179_262_1(result) { +function visit169_262_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['262'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['255'][1].init(1169, 26, 'xml && xml.documentElement'); -function visit178_255_1(result) { +function visit168_255_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['255'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['247'][1].init(513, 4, 'eTag'); -function visit177_247_1(result) { +function visit167_247_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['247'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['244'][1].init(353, 12, 'lastModified'); -function visit176_244_1(result) { +function visit166_244_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['244'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['239'][1].init(385, 13, 'ifModifiedKey'); -function visit175_239_1(result) { +function visit165_239_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['235'][1].init(198, 38, '!isInstanceOfXDomainRequest(nativeXhr)'); -function visit174_235_1(result) { +function visit164_235_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['226'][1].init(72, 26, 'nativeXhr.readyState !== 4'); -function visit173_226_1(result) { +function visit163_226_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['226'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['224'][1].init(424, 5, 'abort'); -function visit172_224_1(result) { +function visit162_224_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['224'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['216'][1].init(77, 37, 'isInstanceOfXDomainRequest(nativeXhr)'); -function visit171_216_1(result) { +function visit161_216_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['216'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['214'][2].init(66, 26, 'nativeXhr.readyState === 4'); -function visit170_214_2(result) { +function visit160_214_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['214'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['214'][1].init(57, 35, 'abort || nativeXhr.readyState === 4'); -function visit169_214_1(result) { +function visit159_214_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['176'][1].init(64, 37, 'isInstanceOfXDomainRequest(nativeXhr)'); -function visit168_176_1(result) { +function visit158_176_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['176'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['172'][2].init(3451, 26, 'nativeXhr.readyState === 4'); -function visit167_172_2(result) { +function visit157_172_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['172'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['172'][1].init(3441, 36, '!async || nativeXhr.readyState === 4'); -function visit166_172_1(result) { +function visit156_172_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['172'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['160'][1].init(25, 13, 'S.isArray(vs)'); -function visit165_160_1(result) { +function visit155_160_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['154'][1].init(107, 19, 'originalSentContent'); -function visit164_154_1(result) { +function visit154_154_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['154'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['151'][1].init(2688, 5, 'files'); -function visit163_151_1(result) { +function visit153_151_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['151'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['148'][2].init(2594, 22, 'c.hasContent && c.data'); -function visit162_148_2(result) { +function visit152_148_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['148'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['148'][1].init(2594, 30, 'c.hasContent && c.data || null'); -function visit161_148_1(result) { +function visit151_148_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['142'][1].init(2362, 49, 'typeof nativeXhr.setRequestHeader !== \'undefined\''); -function visit160_142_1(result) { +function visit150_142_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['142'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['137'][1].init(2174, 24, 'xRequestHeader === false'); -function visit159_137_1(result) { +function visit149_137_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['137'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['130'][1].init(1962, 38, 'mimeType && nativeXhr.overrideMimeType'); -function visit158_130_1(result) { +function visit148_130_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['117'][1].init(21, 12, '!supportCORS'); -function visit157_117_1(result) { +function visit147_117_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['117'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['116'][1].init(1533, 30, '\'withCredentials\' in xhrFields'); -function visit156_116_1(result) { +function visit146_116_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['116'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['114'][1].init(1497, 17, 'c.xhrFields || {}'); -function visit155_114_1(result) { +function visit145_114_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['114'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['93'][1].init(560, 13, 'ifModifiedKey'); -function visit154_93_1(result) { +function visit144_93_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['93'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['86'][1].init(334, 23, 'io.requestHeaders || {}'); -function visit153_86_1(result) { +function visit143_86_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['86'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['64'][1].init(52, 17, 'c.cache === false'); -function visit152_64_1(result) { +function visit142_64_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['62'][1].init(79, 10, 'ifModified'); -function visit151_62_1(result) { +function visit141_62_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['62'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['56'][1].init(16, 51, 'XDomainRequest_ && (xhr instanceof XDomainRequest_)'); -function visit150_56_1(result) { +function visit140_56_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['46'][2].init(194, 53, '!IO.isLocal && createStandardXHR(crossDomain, refWin)'); -function visit149_46_2(result) { +function visit139_46_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['46'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['46'][1].init(194, 105, '!IO.isLocal && createStandardXHR(crossDomain, refWin) || createActiveXHR(crossDomain, refWin)'); -function visit148_46_1(result) { +function visit138_46_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['42'][2].init(54, 30, 'crossDomain && XDomainRequest_'); -function visit147_42_2(result) { +function visit137_42_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['42'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['42'][1].init(38, 46, '!supportCORS && crossDomain && XDomainRequest_'); -function visit146_42_1(result) { +function visit136_42_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['34'][1].init(25, 13, 'refWin || win'); -function visit145_34_1(result) { +function visit135_34_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['34'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['26'][1].init(25, 13, 'refWin || win'); -function visit144_26_1(result) { +function visit134_26_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['12'][2].init(140, 15, 'S.UA.ieMode > 7'); -function visit143_12_2(result) { +function visit133_12_2(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['12'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].branchData['12'][1].init(140, 37, 'S.UA.ieMode > 7 && win.XDomainRequest'); -function visit142_12_1(result) { +function visit132_12_1(result) { _$jscoverage['/io/xhr-transport-base.js'].branchData['12'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport-base.js'].lineData[6]++; @@ -656,7 +656,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[8]++; var logger = S.getLogger('s/io'); _$jscoverage['/io/xhr-transport-base.js'].lineData[9]++; - var OK_CODE = 200, win = S.Env.host, XDomainRequest_ = visit142_12_1(visit143_12_2(S.UA.ieMode > 7) && win.XDomainRequest), NO_CONTENT_CODE = 204, NOT_FOUND_CODE = 404, NO_CONTENT_CODE2 = 1223, XhrTransportBase = { + var OK_CODE = 200, win = S.Env.host, XDomainRequest_ = visit132_12_1(visit133_12_2(S.UA.ieMode > 7) && win.XDomainRequest), NO_CONTENT_CODE = 204, NOT_FOUND_CODE = 404, NO_CONTENT_CODE2 = 1223, XhrTransportBase = { proto: {}}, lastModifiedCached = {}, eTagCached = {}; _$jscoverage['/io/xhr-transport-base.js'].lineData[21]++; IO.__lastModifiedCached = lastModifiedCached; @@ -668,7 +668,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[25]++; try { _$jscoverage['/io/xhr-transport-base.js'].lineData[26]++; - return new (visit144_26_1(refWin || win)).XMLHttpRequest(); + return new (visit134_26_1(refWin || win)).XMLHttpRequest(); } catch (e) { } _$jscoverage['/io/xhr-transport-base.js'].lineData[29]++; @@ -680,7 +680,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[33]++; try { _$jscoverage['/io/xhr-transport-base.js'].lineData[34]++; - return new (visit145_34_1(refWin || win)).ActiveXObject('Microsoft.XMLHTTP'); + return new (visit135_34_1(refWin || win)).ActiveXObject('Microsoft.XMLHTTP'); } catch (e) { } _$jscoverage['/io/xhr-transport-base.js'].lineData[37]++; @@ -690,12 +690,12 @@ KISSY.add(function(S, require) { XhrTransportBase.nativeXhr = win.ActiveXObject ? function(crossDomain, refWin) { _$jscoverage['/io/xhr-transport-base.js'].functionData[3]++; _$jscoverage['/io/xhr-transport-base.js'].lineData[42]++; - if (visit146_42_1(!supportCORS && visit147_42_2(crossDomain && XDomainRequest_))) { + if (visit136_42_1(!supportCORS && visit137_42_2(crossDomain && XDomainRequest_))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[43]++; return new XDomainRequest_(); } _$jscoverage['/io/xhr-transport-base.js'].lineData[46]++; - return visit148_46_1(visit149_46_2(!IO.isLocal && createStandardXHR(crossDomain, refWin)) || createActiveXHR(crossDomain, refWin)); + return visit138_46_1(visit139_46_2(!IO.isLocal && createStandardXHR(crossDomain, refWin)) || createActiveXHR(crossDomain, refWin)); } : createStandardXHR; _$jscoverage['/io/xhr-transport-base.js'].lineData[50]++; XhrTransportBase.XDomainRequest_ = XDomainRequest_; @@ -705,7 +705,7 @@ KISSY.add(function(S, require) { function isInstanceOfXDomainRequest(xhr) { _$jscoverage['/io/xhr-transport-base.js'].functionData[4]++; _$jscoverage['/io/xhr-transport-base.js'].lineData[56]++; - return visit150_56_1(XDomainRequest_ && (xhr instanceof XDomainRequest_)); + return visit140_56_1(XDomainRequest_ && (xhr instanceof XDomainRequest_)); } _$jscoverage['/io/xhr-transport-base.js'].lineData[59]++; function getIfModifiedKey(c) { @@ -713,11 +713,11 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[60]++; var ifModified = c.ifModified, ifModifiedKey; _$jscoverage['/io/xhr-transport-base.js'].lineData[62]++; - if (visit151_62_1(ifModified)) { + if (visit141_62_1(ifModified)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[63]++; ifModifiedKey = c.uri; _$jscoverage['/io/xhr-transport-base.js'].lineData[64]++; - if (visit152_64_1(c.cache === false)) { + if (visit142_64_1(c.cache === false)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[65]++; ifModifiedKey = ifModifiedKey.clone(); _$jscoverage['/io/xhr-transport-base.js'].lineData[68]++; @@ -734,9 +734,9 @@ KISSY.add(function(S, require) { sendInternal: function() { _$jscoverage['/io/xhr-transport-base.js'].functionData[6]++; _$jscoverage['/io/xhr-transport-base.js'].lineData[77]++; - var self = this, io = self.io, c = io.config, nativeXhr = self.nativeXhr, files = c.files, type = files ? 'post' : c.type, async = c.async, username, mimeType = io.mimeType, requestHeaders = visit153_86_1(io.requestHeaders || {}), url = io._getUrlForSend(), xhrFields, ifModifiedKey = getIfModifiedKey(c), cacheValue, i; + var self = this, io = self.io, c = io.config, nativeXhr = self.nativeXhr, files = c.files, type = files ? 'post' : c.type, async = c.async, username, mimeType = io.mimeType, requestHeaders = visit143_86_1(io.requestHeaders || {}), url = io._getUrlForSend(), xhrFields, ifModifiedKey = getIfModifiedKey(c), cacheValue, i; _$jscoverage['/io/xhr-transport-base.js'].lineData[93]++; - if (visit154_93_1(ifModifiedKey)) { + if (visit144_93_1(ifModifiedKey)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[100]++; if ((cacheValue = lastModifiedCached[ifModifiedKey])) { _$jscoverage['/io/xhr-transport-base.js'].lineData[101]++; @@ -757,11 +757,11 @@ KISSY.add(function(S, require) { nativeXhr.open(type, url, async); } _$jscoverage['/io/xhr-transport-base.js'].lineData[114]++; - xhrFields = visit155_114_1(c.xhrFields || {}); + xhrFields = visit145_114_1(c.xhrFields || {}); _$jscoverage['/io/xhr-transport-base.js'].lineData[116]++; - if (visit156_116_1('withCredentials' in xhrFields)) { + if (visit146_116_1('withCredentials' in xhrFields)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[117]++; - if (visit157_117_1(!supportCORS)) { + if (visit147_117_1(!supportCORS)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[118]++; delete xhrFields.withCredentials; } @@ -778,19 +778,19 @@ KISSY.add(function(S, require) { } } _$jscoverage['/io/xhr-transport-base.js'].lineData[130]++; - if (visit158_130_1(mimeType && nativeXhr.overrideMimeType)) { + if (visit148_130_1(mimeType && nativeXhr.overrideMimeType)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[131]++; nativeXhr.overrideMimeType(mimeType); } _$jscoverage['/io/xhr-transport-base.js'].lineData[134]++; var xRequestHeader = requestHeaders['X-Requested-With']; _$jscoverage['/io/xhr-transport-base.js'].lineData[137]++; - if (visit159_137_1(xRequestHeader === false)) { + if (visit149_137_1(xRequestHeader === false)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[138]++; delete requestHeaders['X-Requested-With']; } _$jscoverage['/io/xhr-transport-base.js'].lineData[142]++; - if (visit160_142_1(typeof nativeXhr.setRequestHeader !== 'undefined')) { + if (visit150_142_1(typeof nativeXhr.setRequestHeader !== 'undefined')) { _$jscoverage['/io/xhr-transport-base.js'].lineData[143]++; for (i in requestHeaders) { _$jscoverage['/io/xhr-transport-base.js'].lineData[144]++; @@ -798,13 +798,13 @@ KISSY.add(function(S, require) { } } _$jscoverage['/io/xhr-transport-base.js'].lineData[148]++; - var sendContent = visit161_148_1(visit162_148_2(c.hasContent && c.data) || null); + var sendContent = visit151_148_1(visit152_148_2(c.hasContent && c.data) || null); _$jscoverage['/io/xhr-transport-base.js'].lineData[151]++; - if (visit163_151_1(files)) { + if (visit153_151_1(files)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[152]++; var originalSentContent = sendContent, data = {}; _$jscoverage['/io/xhr-transport-base.js'].lineData[154]++; - if (visit164_154_1(originalSentContent)) { + if (visit154_154_1(originalSentContent)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[155]++; data = S.unparam(originalSentContent); } @@ -816,7 +816,7 @@ KISSY.add(function(S, require) { S.each(data, function(vs, k) { _$jscoverage['/io/xhr-transport-base.js'].functionData[7]++; _$jscoverage['/io/xhr-transport-base.js'].lineData[160]++; - if (visit165_160_1(S.isArray(vs))) { + if (visit155_160_1(S.isArray(vs))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[161]++; S.each(vs, function(v) { _$jscoverage['/io/xhr-transport-base.js'].functionData[8]++; @@ -832,12 +832,12 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[170]++; nativeXhr.send(sendContent); _$jscoverage['/io/xhr-transport-base.js'].lineData[172]++; - if (visit166_172_1(!async || visit167_172_2(nativeXhr.readyState === 4))) { + if (visit156_172_1(!async || visit157_172_2(nativeXhr.readyState === 4))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[173]++; self._callback(); } else { _$jscoverage['/io/xhr-transport-base.js'].lineData[176]++; - if (visit168_176_1(isInstanceOfXDomainRequest(nativeXhr))) { + if (visit158_176_1(isInstanceOfXDomainRequest(nativeXhr))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[177]++; nativeXhr.onload = function() { _$jscoverage['/io/xhr-transport-base.js'].functionData[9]++; @@ -880,9 +880,9 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[212]++; try { _$jscoverage['/io/xhr-transport-base.js'].lineData[214]++; - if (visit169_214_1(abort || visit170_214_2(nativeXhr.readyState === 4))) { + if (visit159_214_1(abort || visit160_214_2(nativeXhr.readyState === 4))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[216]++; - if (visit171_216_1(isInstanceOfXDomainRequest(nativeXhr))) { + if (visit161_216_1(isInstanceOfXDomainRequest(nativeXhr))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[217]++; nativeXhr.onerror = S.noop; _$jscoverage['/io/xhr-transport-base.js'].lineData[218]++; @@ -892,9 +892,9 @@ KISSY.add(function(S, require) { nativeXhr.onreadystatechange = S.noop; } _$jscoverage['/io/xhr-transport-base.js'].lineData[224]++; - if (visit172_224_1(abort)) { + if (visit162_224_1(abort)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[226]++; - if (visit173_226_1(nativeXhr.readyState !== 4)) { + if (visit163_226_1(nativeXhr.readyState !== 4)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[227]++; nativeXhr.abort(); } @@ -904,23 +904,23 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[232]++; var status = nativeXhr.status; _$jscoverage['/io/xhr-transport-base.js'].lineData[235]++; - if (visit174_235_1(!isInstanceOfXDomainRequest(nativeXhr))) { + if (visit164_235_1(!isInstanceOfXDomainRequest(nativeXhr))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[236]++; io.responseHeadersString = nativeXhr.getAllResponseHeaders(); } _$jscoverage['/io/xhr-transport-base.js'].lineData[239]++; - if (visit175_239_1(ifModifiedKey)) { + if (visit165_239_1(ifModifiedKey)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[240]++; lastModified = nativeXhr.getResponseHeader('Last-Modified'); _$jscoverage['/io/xhr-transport-base.js'].lineData[241]++; eTag = nativeXhr.getResponseHeader('ETag'); _$jscoverage['/io/xhr-transport-base.js'].lineData[244]++; - if (visit176_244_1(lastModified)) { + if (visit166_244_1(lastModified)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[245]++; lastModifiedCached[ifModifiedKey] = lastModified; } _$jscoverage['/io/xhr-transport-base.js'].lineData[247]++; - if (visit177_247_1(eTag)) { + if (visit167_247_1(eTag)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[248]++; eTagCached[eTag] = eTag; } @@ -928,22 +928,22 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[252]++; xml = nativeXhr.responseXML; _$jscoverage['/io/xhr-transport-base.js'].lineData[255]++; - if (visit178_255_1(xml && xml.documentElement)) { + if (visit168_255_1(xml && xml.documentElement)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[256]++; io.responseXML = xml; } _$jscoverage['/io/xhr-transport-base.js'].lineData[259]++; var text = io.responseText = nativeXhr.responseText; _$jscoverage['/io/xhr-transport-base.js'].lineData[262]++; - if (visit179_262_1(c.files && text)) { + if (visit169_262_1(c.files && text)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[263]++; var bodyIndex, lastBodyIndex; _$jscoverage['/io/xhr-transport-base.js'].lineData[264]++; - if (visit180_264_1((bodyIndex = text.indexOf('')) !== -1)) { + if (visit170_264_1((bodyIndex = text.indexOf('')) !== -1)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[265]++; lastBodyIndex = text.lastIndexOf(''); _$jscoverage['/io/xhr-transport-base.js'].lineData[266]++; - if (visit181_266_1(lastBodyIndex === -1)) { + if (visit171_266_1(lastBodyIndex === -1)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[267]++; lastBodyIndex = text.length; } @@ -966,12 +966,12 @@ KISSY.add(function(S, require) { statusText = ''; } _$jscoverage['/io/xhr-transport-base.js'].lineData[290]++; - if (visit182_290_1(!status && visit183_290_2(IO.isLocal && !c.crossDomain))) { + if (visit172_290_1(!status && visit173_290_2(IO.isLocal && !c.crossDomain))) { _$jscoverage['/io/xhr-transport-base.js'].lineData[291]++; status = io.responseText ? OK_CODE : NOT_FOUND_CODE; } else { _$jscoverage['/io/xhr-transport-base.js'].lineData[293]++; - if (visit184_293_1(status === NO_CONTENT_CODE2)) { + if (visit174_293_1(status === NO_CONTENT_CODE2)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[294]++; status = NO_CONTENT_CODE; } @@ -982,7 +982,7 @@ KISSY.add(function(S, require) { } } catch (e) { _$jscoverage['/io/xhr-transport-base.js'].lineData[300]++; - S.log(visit185_300_1(e.stack || e), 'error'); + S.log(visit175_300_1(e.stack || e), 'error'); _$jscoverage['/io/xhr-transport-base.js'].lineData[302]++; setTimeout(function() { _$jscoverage['/io/xhr-transport-base.js'].functionData[14]++; @@ -992,7 +992,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport-base.js'].lineData[305]++; nativeXhr.onreadystatechange = S.noop; _$jscoverage['/io/xhr-transport-base.js'].lineData[306]++; - if (visit186_306_1(!abort)) { + if (visit176_306_1(!abort)) { _$jscoverage['/io/xhr-transport-base.js'].lineData[307]++; io._ioReady(-1, e); } diff --git a/src/io/coverage/src/io/xhr-transport.js b/src/io/coverage/src/io/xhr-transport.js index ae43709dc8..3b1bb9aa2a 100644 --- a/src/io/coverage/src/io/xhr-transport.js +++ b/src/io/coverage/src/io/xhr-transport.js @@ -281,39 +281,39 @@ if (! _$jscoverage['/io/xhr-transport.js'].branchData) { _$jscoverage['/io/xhr-transport.js'].branchData['59'][1] = new BranchData(); } _$jscoverage['/io/xhr-transport.js'].branchData['59'][1].init(55, 51, 'XDomainRequest_ && (xhr instanceof XDomainRequest_)'); -function visit195_59_1(result) { +function visit185_59_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['51'][2].init(491, 30, 'String(xdrCfg.use) === \'flash\''); -function visit194_51_2(result) { +function visit184_51_2(result) { _$jscoverage['/io/xhr-transport.js'].branchData['51'][2].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['51'][1].init(491, 50, 'String(xdrCfg.use) === \'flash\' || !XDomainRequest_'); -function visit193_51_1(result) { +function visit183_51_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['41'][1].init(78, 25, 'subDomain.proxy !== false'); -function visit192_41_1(result) { +function visit182_41_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['41'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['39'][1].init(36, 32, 'isSubDomain(c.uri.getHostname())'); -function visit191_39_1(result) { +function visit181_39_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['39'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['37'][1].init(248, 44, 'crossDomain && !XhrTransportBase.supportCORS'); -function visit190_37_1(result) { +function visit180_37_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['33'][1].init(178, 22, 'xdrCfg.subDomain || {}'); -function visit189_33_1(result) { +function visit179_33_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['33'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['32'][1].init(122, 11, 'c.xdr || {}'); -function visit188_32_1(result) { +function visit178_32_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].branchData['20'][1].init(61, 46, 'doc.domain && S.endsWith(hostname, doc.domain)'); -function visit187_20_1(result) { +function visit177_20_1(result) { _$jscoverage['/io/xhr-transport.js'].branchData['20'][1].ranCondition(result); return result; }_$jscoverage['/io/xhr-transport.js'].lineData[6]++; @@ -329,27 +329,27 @@ KISSY.add(function(S, require) { function isSubDomain(hostname) { _$jscoverage['/io/xhr-transport.js'].functionData[1]++; _$jscoverage['/io/xhr-transport.js'].lineData[20]++; - return visit187_20_1(doc.domain && S.endsWith(hostname, doc.domain)); + return visit177_20_1(doc.domain && S.endsWith(hostname, doc.domain)); } _$jscoverage['/io/xhr-transport.js'].lineData[27]++; function XhrTransport(io) { _$jscoverage['/io/xhr-transport.js'].functionData[2]++; _$jscoverage['/io/xhr-transport.js'].lineData[28]++; - var c = io.config, crossDomain = c.crossDomain, self = this, xhr, xdrCfg = visit188_32_1(c.xdr || {}), subDomain = xdrCfg.subDomain = visit189_33_1(xdrCfg.subDomain || {}); + var c = io.config, crossDomain = c.crossDomain, self = this, xhr, xdrCfg = visit178_32_1(c.xdr || {}), subDomain = xdrCfg.subDomain = visit179_33_1(xdrCfg.subDomain || {}); _$jscoverage['/io/xhr-transport.js'].lineData[35]++; self.io = io; _$jscoverage['/io/xhr-transport.js'].lineData[37]++; - if (visit190_37_1(crossDomain && !XhrTransportBase.supportCORS)) { + if (visit180_37_1(crossDomain && !XhrTransportBase.supportCORS)) { _$jscoverage['/io/xhr-transport.js'].lineData[39]++; - if (visit191_39_1(isSubDomain(c.uri.getHostname()))) { + if (visit181_39_1(isSubDomain(c.uri.getHostname()))) { _$jscoverage['/io/xhr-transport.js'].lineData[41]++; - if (visit192_41_1(subDomain.proxy !== false)) { + if (visit182_41_1(subDomain.proxy !== false)) { _$jscoverage['/io/xhr-transport.js'].lineData[42]++; return new SubDomainTransport(io); } } _$jscoverage['/io/xhr-transport.js'].lineData[51]++; - if ((visit193_51_1(visit194_51_2(String(xdrCfg.use) === 'flash') || !XDomainRequest_))) { + if ((visit183_51_1(visit184_51_2(String(xdrCfg.use) === 'flash') || !XDomainRequest_))) { _$jscoverage['/io/xhr-transport.js'].lineData[52]++; return new XdrFlashTransport(io); } @@ -357,7 +357,7 @@ KISSY.add(function(S, require) { _$jscoverage['/io/xhr-transport.js'].lineData[56]++; xhr = self.nativeXhr = XhrTransportBase.nativeXhr(crossDomain); _$jscoverage['/io/xhr-transport.js'].lineData[58]++; - var msg = 'crossDomain: ' + crossDomain + ', use ' + (visit195_59_1(XDomainRequest_ && (xhr instanceof XDomainRequest_)) ? 'XDomainRequest' : 'XhrTransport') + ' for: ' + c.url; + var msg = 'crossDomain: ' + crossDomain + ', use ' + (visit185_59_1(XDomainRequest_ && (xhr instanceof XDomainRequest_)) ? 'XDomainRequest' : 'XhrTransport') + ' for: ' + c.url; _$jscoverage['/io/xhr-transport.js'].lineData[62]++; logger.debug(msg); _$jscoverage['/io/xhr-transport.js'].lineData[64]++; diff --git a/src/io/src/io/script-transport.js b/src/io/src/io/script-transport.js index b4b455487d..a0d8927003 100644 --- a/src/io/src/io/script-transport.js +++ b/src/io/src/io/script-transport.js @@ -8,10 +8,7 @@ KISSY.add(function (S, require) { var IO = require('./base'); var logger = S.getLogger('s/io'); - var win = S.Env.host, - doc = win.document, - - OK_CODE = 200, + var OK_CODE = 200, ERROR_CODE = 500; IO.setupConfig({ @@ -39,86 +36,52 @@ KISSY.add(function (S, require) { }); function ScriptTransport(io) { - var config = io.config; + var config = io.config, + self = this; // 优先使用 xhr+eval 来执行脚本, ie 下可以探测到(更多)失败状态 if (!config.crossDomain) { return new (IO.getTransport('*'))(io); } - this.io = io; + self.io = io; logger.info('use ScriptTransport for: ' + config.url); - return this; + return self; } S.augment(ScriptTransport, { send: function () { var self = this, - script, io = self.io, - c = io.config, - head = doc.head || - doc.getElementsByTagName('head')[0] || - doc.documentElement; - - self.head = head; - script = doc.createElement('script'); - self.script = script; - script.async = true; - - if (c.scriptCharset) { - script.charset = c.scriptCharset; - } - - script.src = io._getUrlForSend(); - - script.onerror = - script.onload = - script.onreadystatechange = function (e) { - e = e || win.event; - // firefox onerror 没有 type ?! - self._callback((e.type || 'error').toLowerCase()); - }; - - head.insertBefore(script, head.firstChild); + c = io.config; + self.script = S.getScript(io._getUrlForSend(), { + charset: c.scriptCharset, + success: function () { + self._callback('success'); + }, + error: function () { + self._callback('error'); + } + }); }, _callback: function (event, abort) { var self = this, script = self.script, - io = self.io, - head = self.head; - + io = self.io; // 防止重复调用,成功后 abort if (!script) { return; } - - if ( - abort || !script.readyState || - /loaded|complete/.test(script.readyState) || - event === 'error' - ) { - - script.onerror = script.onload = script.onreadystatechange = null; - - // Remove the script - if (head && script.parentNode) { - // ie 报错载入无效 js - // 怎么 abort ?? - // script.src = '#'; - head.removeChild(script); - } - - self.script = undefined; - self.head = undefined; - - // Callback if not abort - if (!abort && event !== 'error') { - io._ioReady(OK_CODE, 'success'); - } - // 非 ie<9 可以判断出来 - else if (event === 'error') { - io._ioReady(ERROR_CODE, 'script error'); - } + self.script = undefined; + if (abort) { + return; + } + // Callback if not abort + if (event !== 'error') { + io._ioReady(OK_CODE, 'success'); + } + // 非 ie<9 可以判断出来 + else if (event === 'error') { + io._ioReady(ERROR_CODE, 'script error'); } }, diff --git a/src/io/tests/others/test-script-ok.html b/src/io/tests/others/test-script-ok.html new file mode 100644 index 0000000000..311a178376 --- /dev/null +++ b/src/io/tests/others/test-script-ok.html @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/src/io/tests/others/test-script-xiami.html b/src/io/tests/others/test-script-xiami.html new file mode 100644 index 0000000000..5986c6fb44 --- /dev/null +++ b/src/io/tests/others/test-script-xiami.html @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/src/io/tests/others/test-script.html b/src/io/tests/others/test-script.html index 0b906f19d5..29a8749a1f 100644 --- a/src/io/tests/others/test-script.html +++ b/src/io/tests/others/test-script.html @@ -3,7 +3,7 @@ + + + + + + +

KISSY ComboLoader Test Cases

+ + + + + \ No newline at end of file diff --git a/src/seed/tests/specs/timeout/timeout-spec.js b/src/seed/tests/specs/timeout/timeout-spec.js index 4fe831000d..c32745e51f 100644 --- a/src/seed/tests/specs/timeout/timeout-spec.js +++ b/src/seed/tests/specs/timeout/timeout-spec.js @@ -1,4 +1,4 @@ -describe("timeout", function () { +describe('timeout', function () { var S = KISSY; beforeEach(function () { @@ -11,32 +11,39 @@ describe("timeout", function () { S.config({ timeout: 0 }); + S.clearLoader(); }); it('works for use', function () { S.config({ modules: { 'timeout/use': { - fullpath: 'http://' + location.host + '/kissy/src/seed/tests/specs/timeout/use.jss' + fullpath: 'http://' + location.host + + '/kissy/src/seed/tests/specs/timeout/use.jss?' + S.now() } } }); + var ok = 0, error = 0; + S.use('timeout/use', { - success: function () { + success: function (S, d) { + expect(d).toBe(1); ok = 1; }, error: function () { - var args = S.makeArray(arguments); + //var args = S.makeArray(arguments); ok = 1; error = 1; } }); + waitsFor(function () { return ok; }); + runs(function () { - expect(error).toBe(1); + //expect(error).toBe(1); }); }); @@ -45,32 +52,37 @@ describe("timeout", function () { S.config({ packages: { timeout: { - base: '../specs' + base: 'http://' + location.host + + '/kissy/src/seed/tests/specs/' } }, modules: { 'timeout/r2': { - fullpath: 'http://' + location.host + '/kissy/src/seed/tests/specs/timeout/r2.jss' + fullpath: 'http://' + location.host + + '/kissy/src/seed/tests/specs/timeout/r2.jss?' + S.now() } } }); + var ok = 0, error = 0; + S.use('timeout/r', { success: function () { ok = 1; }, error: function () { - var args = S.makeArray(arguments); + // var args = S.makeArray(arguments); ok = 1; error = 1; } }); + waitsFor(function () { return ok; }); + runs(function () { expect(error).toBe(1); }); - }); }); \ No newline at end of file diff --git a/src/seed/tests/specs/timeout/use.jss b/src/seed/tests/specs/timeout/use.jss index f1f7a58bc4..535de01167 100644 --- a/src/seed/tests/specs/timeout/use.jss +++ b/src/seed/tests/specs/timeout/use.jss @@ -1,6 +1,6 @@ module.exports=function(req,res){ setTimeout(function(){ res.set('Content-Type','text/javascript'); - res.send('KISSY.add(function(){})'); + res.send('KISSY.add(function(){ return 1;})'); },5000); }; \ No newline at end of file diff --git a/src/xtemplate/sub-modules/compiler/coverage/src/compiler.js b/src/xtemplate/sub-modules/compiler/coverage/src/compiler.js index 3888b21166..3980f15aed 100644 --- a/src/xtemplate/sub-modules/compiler/coverage/src/compiler.js +++ b/src/xtemplate/sub-modules/compiler/coverage/src/compiler.js @@ -543,155 +543,155 @@ if (! _$jscoverage['/compiler.js'].branchData) { _$jscoverage['/compiler.js'].branchData['488'][1] = new BranchData(); } _$jscoverage['/compiler.js'].branchData['488'][1].init(68, 12, 'config || {}'); -function visit83_488_1(result) { +function visit82_488_1(result) { _$jscoverage['/compiler.js'].branchData['488'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['427'][1].init(88, 17, 'nextIdNameCode[0]'); -function visit82_427_1(result) { +function visit81_427_1(result) { _$jscoverage['/compiler.js'].branchData['427'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['425'][1].init(185, 10, 'idPartType'); -function visit81_425_1(result) { +function visit80_425_1(result) { _$jscoverage['/compiler.js'].branchData['425'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['422'][1].init(100, 6, '!first'); -function visit80_422_1(result) { +function visit79_422_1(result) { _$jscoverage['/compiler.js'].branchData['422'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['419'][1].init(218, 18, 'i < idParts.length'); -function visit79_419_1(result) { +function visit78_419_1(result) { _$jscoverage['/compiler.js'].branchData['419'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['399'][1].init(432, 7, 'code[0]'); -function visit78_399_1(result) { +function visit77_399_1(result) { _$jscoverage['/compiler.js'].branchData['399'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['393'][1].init(228, 13, 'type === \'id\''); -function visit77_393_1(result) { +function visit76_393_1(result) { _$jscoverage['/compiler.js'].branchData['393'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['360'][1].init(57, 28, 'typeof parts[i] !== \'string\''); -function visit76_360_1(result) { +function visit75_360_1(result) { _$jscoverage['/compiler.js'].branchData['360'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['358'][1].init(76, 16, 'i < parts.length'); -function visit75_358_1(result) { +function visit74_358_1(result) { _$jscoverage['/compiler.js'].branchData['358'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['356'][1].init(1293, 32, '!tplNode.hash && !tplNode.params'); -function visit74_356_1(result) { +function visit73_356_1(result) { _$jscoverage['/compiler.js'].branchData['356'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['349'][1].init(978, 18, 'tplNode.isInverted'); -function visit73_349_1(result) { +function visit72_349_1(result) { _$jscoverage['/compiler.js'].branchData['349'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['342'][1].init(706, 19, 'programNode.inverse'); -function visit72_342_1(result) { +function visit71_342_1(result) { _$jscoverage['/compiler.js'].branchData['342'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['334'][1].init(429, 11, '!configName'); -function visit71_334_1(result) { +function visit70_334_1(result) { _$jscoverage['/compiler.js'].branchData['334'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['238'][1].init(91, 17, 'nextIdNameCode[0]'); -function visit70_238_1(result) { +function visit69_238_1(result) { _$jscoverage['/compiler.js'].branchData['238'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['233'][1].init(1115, 4, 'hash'); -function visit69_233_1(result) { +function visit68_233_1(result) { _$jscoverage['/compiler.js'].branchData['233'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['222'][1].init(99, 17, 'nextIdNameCode[0]'); -function visit68_222_1(result) { +function visit67_222_1(result) { _$jscoverage['/compiler.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['217'][1].init(271, 6, 'params'); -function visit67_217_1(result) { +function visit66_217_1(result) { _$jscoverage['/compiler.js'].branchData['217'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['212'][1].init(100, 14, 'params || hash'); -function visit66_212_1(result) { +function visit65_212_1(result) { _$jscoverage['/compiler.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['208'][1].init(150, 7, 'tplNode'); -function visit65_208_1(result) { +function visit64_208_1(result) { _$jscoverage['/compiler.js'].branchData['208'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['188'][1].init(1211, 15, '!name1 && name2'); -function visit64_188_1(result) { +function visit63_188_1(result) { _$jscoverage['/compiler.js'].branchData['188'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['178'][1].init(878, 15, 'name1 && !name2'); -function visit63_178_1(result) { +function visit62_178_1(result) { _$jscoverage['/compiler.js'].branchData['178'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['167'][1].init(483, 16, '!name1 && !name2'); -function visit62_167_1(result) { +function visit61_167_1(result) { _$jscoverage['/compiler.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['160'][1].init(252, 14, 'name1 && name2'); -function visit61_160_1(result) { +function visit60_160_1(result) { _$jscoverage['/compiler.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['144'][1].init(107, 18, 'configName || \'{}\''); -function visit60_144_1(result) { +function visit59_144_1(result) { _$jscoverage['/compiler.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['131'][1].init(64, 22, 'idString === \'include\''); -function visit59_131_1(result) { +function visit58_131_1(result) { _$jscoverage['/compiler.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['129'][1].init(1058, 10, 'configName'); -function visit58_129_1(result) { +function visit57_129_1(result) { _$jscoverage['/compiler.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['124'][1].init(782, 40, 'depth || S.startsWith(idString, \'this.\')'); -function visit57_124_1(result) { +function visit56_124_1(result) { _$jscoverage['/compiler.js'].branchData['124'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['112'][1].init(94, 14, 'configNameCode'); -function visit56_112_1(result) { +function visit55_112_1(result) { _$jscoverage['/compiler.js'].branchData['112'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['111'][1].init(38, 34, 'tplNode && self.genConfig(tplNode)'); -function visit55_111_1(result) { +function visit54_111_1(result) { _$jscoverage['/compiler.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['110'][1].init(293, 11, 'depth === 0'); -function visit54_110_1(result) { +function visit53_110_1(result) { _$jscoverage['/compiler.js'].branchData['110'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['89'][1].init(1247, 7, '!global'); -function visit53_89_1(result) { +function visit52_89_1(result) { _$jscoverage['/compiler.js'].branchData['89'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['84'][1].init(58, 7, 'i < len'); -function visit52_84_1(result) { +function visit51_84_1(result) { _$jscoverage['/compiler.js'].branchData['84'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['83'][1].init(987, 10, 'statements'); -function visit51_83_1(result) { +function visit50_83_1(result) { _$jscoverage['/compiler.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['79'][1].init(629, 7, 'natives'); -function visit50_79_1(result) { +function visit49_79_1(result) { _$jscoverage['/compiler.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['60'][1].init(204, 6, 'global'); -function visit49_60_1(result) { +function visit48_60_1(result) { _$jscoverage['/compiler.js'].branchData['60'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['56'][1].init(46, 7, '!global'); -function visit48_56_1(result) { +function visit47_56_1(result) { _$jscoverage['/compiler.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['37'][1].init(87, 12, 'm.length % 2'); -function visit47_37_1(result) { +function visit46_37_1(result) { _$jscoverage['/compiler.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].branchData['23'][1].init(13, 6, 'isCode'); -function visit46_23_1(result) { +function visit45_23_1(result) { _$jscoverage['/compiler.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/compiler.js'].lineData[6]++; @@ -715,7 +715,7 @@ KISSY.add(function(S, require) { function escapeString(str, isCode) { _$jscoverage['/compiler.js'].functionData[2]++; _$jscoverage['/compiler.js'].lineData[23]++; - if (visit46_23_1(isCode)) { + if (visit45_23_1(isCode)) { _$jscoverage['/compiler.js'].lineData[24]++; str = escapeSingleQuoteInCodeString(str, false); } else { @@ -734,7 +734,7 @@ KISSY.add(function(S, require) { return str.replace(isDouble ? doubleReg : singleReg, function(m) { _$jscoverage['/compiler.js'].functionData[4]++; _$jscoverage['/compiler.js'].lineData[37]++; - if (visit47_37_1(m.length % 2)) { + if (visit46_37_1(m.length % 2)) { _$jscoverage['/compiler.js'].lineData[38]++; m = '\\' + m; } @@ -761,14 +761,14 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[55]++; var source = []; _$jscoverage['/compiler.js'].lineData[56]++; - if (visit48_56_1(!global)) { + if (visit47_56_1(!global)) { _$jscoverage['/compiler.js'].lineData[57]++; source.push('function(scope) {'); } _$jscoverage['/compiler.js'].lineData[59]++; source.push('var buffer = ""' + (global ? ',' : ';')); _$jscoverage['/compiler.js'].lineData[60]++; - if (visit49_60_1(global)) { + if (visit48_60_1(global)) { _$jscoverage['/compiler.js'].lineData[61]++; source.push('config = this.config,' + 'engine = this,' + 'moduleWrap, ' + 'utils = config.utils;'); _$jscoverage['/compiler.js'].lineData[67]++; @@ -781,15 +781,15 @@ KISSY.add(function(S, require) { natives += c + 'Util = utils.' + c + ','; } _$jscoverage['/compiler.js'].lineData[79]++; - if (visit50_79_1(natives)) { + if (visit49_79_1(natives)) { _$jscoverage['/compiler.js'].lineData[80]++; source.push('var ' + natives.slice(0, natives.length - 1) + ';'); } } _$jscoverage['/compiler.js'].lineData[83]++; - if (visit51_83_1(statements)) { + if (visit50_83_1(statements)) { _$jscoverage['/compiler.js'].lineData[84]++; - for (var i = 0, len = statements.length; visit52_84_1(i < len); i++) { + for (var i = 0, len = statements.length; visit51_84_1(i < len); i++) { _$jscoverage['/compiler.js'].lineData[85]++; pushToArray(source, this[statements[i].type](statements[i])); } @@ -797,7 +797,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[88]++; source.push('return buffer;'); _$jscoverage['/compiler.js'].lineData[89]++; - if (visit53_89_1(!global)) { + if (visit52_89_1(!global)) { _$jscoverage['/compiler.js'].lineData[90]++; source.push('}'); _$jscoverage['/compiler.js'].lineData[91]++; @@ -814,11 +814,11 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[101]++; var source = [], depth = idNode.depth, configName, idParts = idNode.parts, idName = guid('id'), self = this; _$jscoverage['/compiler.js'].lineData[110]++; - if (visit54_110_1(depth === 0)) { + if (visit53_110_1(depth === 0)) { _$jscoverage['/compiler.js'].lineData[111]++; - var configNameCode = visit55_111_1(tplNode && self.genConfig(tplNode)); + var configNameCode = visit54_111_1(tplNode && self.genConfig(tplNode)); _$jscoverage['/compiler.js'].lineData[112]++; - if (visit56_112_1(configNameCode)) { + if (visit55_112_1(configNameCode)) { _$jscoverage['/compiler.js'].lineData[113]++; configName = configNameCode[0]; _$jscoverage['/compiler.js'].lineData[114]++; @@ -828,14 +828,14 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[119]++; var idString = self.getIdStringFromIdParts(source, idParts); _$jscoverage['/compiler.js'].lineData[124]++; - if (visit57_124_1(depth || S.startsWith(idString, 'this.'))) { + if (visit56_124_1(depth || S.startsWith(idString, 'this.'))) { _$jscoverage['/compiler.js'].lineData[125]++; source.push('var ' + idName + ' = getPropertyUtil(engine,scope' + ',"' + idString + '",' + depth + ',' + idNode.lineNumber + ');'); } else { _$jscoverage['/compiler.js'].lineData[129]++; - if (visit58_129_1(configName)) { + if (visit57_129_1(configName)) { _$jscoverage['/compiler.js'].lineData[131]++; - if (visit59_131_1(idString === 'include')) { + if (visit58_131_1(idString === 'include')) { _$jscoverage['/compiler.js'].lineData[133]++; source.push('if(moduleWrap) {re' + 'quire("' + tplNode.params[0].value + '");' + configName + '.params[0] = moduleWrap.resolveByName(' + configName + '.params[0]);' + '}'); } @@ -843,7 +843,7 @@ KISSY.add(function(S, require) { source.push('var ' + idName + ' = runInlineCommandUtil(engine,scope,' + configName + ',"' + idString + '",' + idNode.lineNumber + ');'); } else { _$jscoverage['/compiler.js'].lineData[142]++; - source.push('var ' + idName + ' = getPropertyOrRunCommandUtil(engine,scope,' + (visit60_144_1(configName || '{}')) + ',"' + idString + '",' + depth + ',' + idNode.lineNumber + ');'); + source.push('var ' + idName + ' = getPropertyOrRunCommandUtil(engine,scope,' + (visit59_144_1(configName || '{}')) + ',"' + idString + '",' + depth + ',' + idNode.lineNumber + ');'); } } _$jscoverage['/compiler.js'].lineData[147]++; @@ -858,7 +858,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[158]++; name2 = code2[0]; _$jscoverage['/compiler.js'].lineData[160]++; - if (visit61_160_1(name1 && name2)) { + if (visit60_160_1(name1 && name2)) { _$jscoverage['/compiler.js'].lineData[161]++; pushToArray(source, code1[1]); _$jscoverage['/compiler.js'].lineData[162]++; @@ -869,7 +869,7 @@ KISSY.add(function(S, require) { return ['', source]; } _$jscoverage['/compiler.js'].lineData[167]++; - if (visit62_167_1(!name1 && !name2)) { + if (visit61_167_1(!name1 && !name2)) { _$jscoverage['/compiler.js'].lineData[168]++; pushToArray(source, code1[1].slice(0, -1)); _$jscoverage['/compiler.js'].lineData[169]++; @@ -880,7 +880,7 @@ KISSY.add(function(S, require) { return ['', source]; } _$jscoverage['/compiler.js'].lineData[178]++; - if (visit63_178_1(name1 && !name2)) { + if (visit62_178_1(name1 && !name2)) { _$jscoverage['/compiler.js'].lineData[179]++; pushToArray(source, code1[1]); _$jscoverage['/compiler.js'].lineData[180]++; @@ -891,7 +891,7 @@ KISSY.add(function(S, require) { return ['', source]; } _$jscoverage['/compiler.js'].lineData[188]++; - if (visit64_188_1(!name1 && name2)) { + if (visit63_188_1(!name1 && name2)) { _$jscoverage['/compiler.js'].lineData[189]++; pushToArray(source, code1[1].slice(0, -1)); _$jscoverage['/compiler.js'].lineData[190]++; @@ -909,20 +909,20 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[202]++; var source = [], configName, params, hash, self = this; _$jscoverage['/compiler.js'].lineData[208]++; - if (visit65_208_1(tplNode)) { + if (visit64_208_1(tplNode)) { _$jscoverage['/compiler.js'].lineData[209]++; params = tplNode.params; _$jscoverage['/compiler.js'].lineData[210]++; hash = tplNode.hash; _$jscoverage['/compiler.js'].lineData[212]++; - if (visit66_212_1(params || hash)) { + if (visit65_212_1(params || hash)) { _$jscoverage['/compiler.js'].lineData[213]++; configName = guid('config'); _$jscoverage['/compiler.js'].lineData[214]++; source.push('var ' + configName + ' = {};'); } _$jscoverage['/compiler.js'].lineData[217]++; - if (visit67_217_1(params)) { + if (visit66_217_1(params)) { _$jscoverage['/compiler.js'].lineData[218]++; var paramsName = guid('params'); _$jscoverage['/compiler.js'].lineData[219]++; @@ -933,7 +933,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[221]++; var nextIdNameCode = self[param.type](param); _$jscoverage['/compiler.js'].lineData[222]++; - if (visit68_222_1(nextIdNameCode[0])) { + if (visit67_222_1(nextIdNameCode[0])) { _$jscoverage['/compiler.js'].lineData[223]++; pushToArray(source, nextIdNameCode[1]); _$jscoverage['/compiler.js'].lineData[224]++; @@ -949,7 +949,7 @@ KISSY.add(function(S, require) { source.push(configName + '.params=' + paramsName + ';'); } _$jscoverage['/compiler.js'].lineData[233]++; - if (visit69_233_1(hash)) { + if (visit68_233_1(hash)) { _$jscoverage['/compiler.js'].lineData[234]++; var hashName = guid('hash'); _$jscoverage['/compiler.js'].lineData[235]++; @@ -960,7 +960,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[237]++; var nextIdNameCode = self[v.type](v); _$jscoverage['/compiler.js'].lineData[238]++; - if (visit70_238_1(nextIdNameCode[0])) { + if (visit69_238_1(nextIdNameCode[0])) { _$jscoverage['/compiler.js'].lineData[239]++; pushToArray(source, nextIdNameCode[1]); _$jscoverage['/compiler.js'].lineData[240]++; @@ -1059,7 +1059,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[332]++; pushToArray(source, configNameCode[1]); _$jscoverage['/compiler.js'].lineData[334]++; - if (visit71_334_1(!configName)) { + if (visit70_334_1(!configName)) { _$jscoverage['/compiler.js'].lineData[335]++; configName = S.guid('config'); _$jscoverage['/compiler.js'].lineData[336]++; @@ -1068,14 +1068,14 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[339]++; source.push(configName + '.fn=' + self.genFunction(programNode.statements).join('\n') + ';'); _$jscoverage['/compiler.js'].lineData[342]++; - if (visit72_342_1(programNode.inverse)) { + if (visit71_342_1(programNode.inverse)) { _$jscoverage['/compiler.js'].lineData[343]++; inverseFn = self.genFunction(programNode.inverse).join('\n'); _$jscoverage['/compiler.js'].lineData[344]++; source.push(configName + '.inverse=' + inverseFn + ';'); } _$jscoverage['/compiler.js'].lineData[349]++; - if (visit73_349_1(tplNode.isInverted)) { + if (visit72_349_1(tplNode.isInverted)) { _$jscoverage['/compiler.js'].lineData[350]++; var tmp = guid('inverse'); _$jscoverage['/compiler.js'].lineData[351]++; @@ -1086,13 +1086,13 @@ KISSY.add(function(S, require) { source.push(configName + '.inverse = ' + tmp + ';'); } _$jscoverage['/compiler.js'].lineData[356]++; - if (visit74_356_1(!tplNode.hash && !tplNode.params)) { + if (visit73_356_1(!tplNode.hash && !tplNode.params)) { _$jscoverage['/compiler.js'].lineData[357]++; var parts = tplPath.parts; _$jscoverage['/compiler.js'].lineData[358]++; - for (var i = 0; visit75_358_1(i < parts.length); i++) { + for (var i = 0; visit74_358_1(i < parts.length); i++) { _$jscoverage['/compiler.js'].lineData[360]++; - if (visit76_360_1(typeof parts[i] !== 'string')) { + if (visit75_360_1(typeof parts[i] !== 'string')) { _$jscoverage['/compiler.js'].lineData[361]++; pathString = self.getIdStringFromIdParts(source, parts); _$jscoverage['/compiler.js'].lineData[362]++; @@ -1126,7 +1126,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[387]++; var source = [], escaped = e.escaped, code, expression = e.expression, type = e.expression.type, expressionOrVariable; _$jscoverage['/compiler.js'].lineData[393]++; - if (visit77_393_1(type === 'id')) { + if (visit76_393_1(type === 'id')) { _$jscoverage['/compiler.js'].lineData[394]++; code = this.genIdOrInlineCommand(expression); } else { @@ -1134,7 +1134,7 @@ KISSY.add(function(S, require) { code = this[type](expression); } _$jscoverage['/compiler.js'].lineData[399]++; - if (visit78_399_1(code[0])) { + if (visit77_399_1(code[0])) { _$jscoverage['/compiler.js'].lineData[400]++; pushToArray(source, code[1]); _$jscoverage['/compiler.js'].lineData[401]++; @@ -1155,22 +1155,22 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[412]++; var idString = '', self = this, i, idPart, idPartType, nextIdNameCode, first = true; _$jscoverage['/compiler.js'].lineData[419]++; - for (i = 0; visit79_419_1(i < idParts.length); i++) { + for (i = 0; visit78_419_1(i < idParts.length); i++) { _$jscoverage['/compiler.js'].lineData[420]++; idPart = idParts[i]; _$jscoverage['/compiler.js'].lineData[421]++; idPartType = idPart.type; _$jscoverage['/compiler.js'].lineData[422]++; - if (visit80_422_1(!first)) { + if (visit79_422_1(!first)) { _$jscoverage['/compiler.js'].lineData[423]++; idString += '.'; } _$jscoverage['/compiler.js'].lineData[425]++; - if (visit81_425_1(idPartType)) { + if (visit80_425_1(idPartType)) { _$jscoverage['/compiler.js'].lineData[426]++; nextIdNameCode = self[idPartType](idPart); _$jscoverage['/compiler.js'].lineData[427]++; - if (visit82_427_1(nextIdNameCode[0])) { + if (visit81_427_1(nextIdNameCode[0])) { _$jscoverage['/compiler.js'].lineData[428]++; pushToArray(source, nextIdNameCode[1]); _$jscoverage['/compiler.js'].lineData[429]++; @@ -1218,7 +1218,7 @@ KISSY.add(function(S, require) { _$jscoverage['/compiler.js'].lineData[487]++; var code = compiler.compile(tpl); _$jscoverage['/compiler.js'].lineData[488]++; - config = visit83_488_1(config || {}); + config = visit82_488_1(config || {}); _$jscoverage['/compiler.js'].lineData[489]++; var sourceURL = 'sourceURL=' + (config.name ? config.name : ('xtemplate' + (xtemplateId++))) + '.js'; _$jscoverage['/compiler.js'].lineData[494]++; diff --git a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser-grammar.kison b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser-grammar.kison index 4047c95051..add874ff0f 100644 --- a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser-grammar.kison +++ b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser-grammar.kison @@ -427,11 +427,9 @@ } else { self.pushState('t'); } - if (n) { - text = text.replace(/\\+$/g, function (m) { - return new Array(m.length / 2 + 1).join('\\'); - }); - } + text = text.replace(/\\+$/g, function (m) { + return new Array(m.length / 2 + 1).join('\\'); + }); // https://github.com/kissyteam/kissy/issues/330 // return even empty self.text = text; diff --git a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js index 8005875309..e23a03acb7 100644 --- a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js +++ b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js @@ -326,120 +326,119 @@ if (! _$jscoverage['/compiler/parser.js']) { _$jscoverage['/compiler/parser.js'].lineData[201] = 0; _$jscoverage['/compiler/parser.js'].lineData[203] = 0; _$jscoverage['/compiler/parser.js'].lineData[204] = 0; - _$jscoverage['/compiler/parser.js'].lineData[205] = 0; - _$jscoverage['/compiler/parser.js'].lineData[210] = 0; - _$jscoverage['/compiler/parser.js'].lineData[211] = 0; - _$jscoverage['/compiler/parser.js'].lineData[217] = 0; - _$jscoverage['/compiler/parser.js'].lineData[225] = 0; - _$jscoverage['/compiler/parser.js'].lineData[231] = 0; - _$jscoverage['/compiler/parser.js'].lineData[238] = 0; - _$jscoverage['/compiler/parser.js'].lineData[239] = 0; - _$jscoverage['/compiler/parser.js'].lineData[247] = 0; - _$jscoverage['/compiler/parser.js'].lineData[269] = 0; - _$jscoverage['/compiler/parser.js'].lineData[275] = 0; - _$jscoverage['/compiler/parser.js'].lineData[287] = 0; - _$jscoverage['/compiler/parser.js'].lineData[293] = 0; - _$jscoverage['/compiler/parser.js'].lineData[304] = 0; - _$jscoverage['/compiler/parser.js'].lineData[305] = 0; - _$jscoverage['/compiler/parser.js'].lineData[365] = 0; - _$jscoverage['/compiler/parser.js'].lineData[369] = 0; - _$jscoverage['/compiler/parser.js'].lineData[374] = 0; - _$jscoverage['/compiler/parser.js'].lineData[379] = 0; - _$jscoverage['/compiler/parser.js'].lineData[384] = 0; - _$jscoverage['/compiler/parser.js'].lineData[389] = 0; - _$jscoverage['/compiler/parser.js'].lineData[395] = 0; - _$jscoverage['/compiler/parser.js'].lineData[400] = 0; - _$jscoverage['/compiler/parser.js'].lineData[406] = 0; + _$jscoverage['/compiler/parser.js'].lineData[208] = 0; + _$jscoverage['/compiler/parser.js'].lineData[209] = 0; + _$jscoverage['/compiler/parser.js'].lineData[215] = 0; + _$jscoverage['/compiler/parser.js'].lineData[223] = 0; + _$jscoverage['/compiler/parser.js'].lineData[229] = 0; + _$jscoverage['/compiler/parser.js'].lineData[236] = 0; + _$jscoverage['/compiler/parser.js'].lineData[237] = 0; + _$jscoverage['/compiler/parser.js'].lineData[245] = 0; + _$jscoverage['/compiler/parser.js'].lineData[267] = 0; + _$jscoverage['/compiler/parser.js'].lineData[273] = 0; + _$jscoverage['/compiler/parser.js'].lineData[285] = 0; + _$jscoverage['/compiler/parser.js'].lineData[291] = 0; + _$jscoverage['/compiler/parser.js'].lineData[302] = 0; + _$jscoverage['/compiler/parser.js'].lineData[303] = 0; + _$jscoverage['/compiler/parser.js'].lineData[363] = 0; + _$jscoverage['/compiler/parser.js'].lineData[367] = 0; + _$jscoverage['/compiler/parser.js'].lineData[372] = 0; + _$jscoverage['/compiler/parser.js'].lineData[377] = 0; + _$jscoverage['/compiler/parser.js'].lineData[382] = 0; + _$jscoverage['/compiler/parser.js'].lineData[387] = 0; + _$jscoverage['/compiler/parser.js'].lineData[393] = 0; + _$jscoverage['/compiler/parser.js'].lineData[398] = 0; + _$jscoverage['/compiler/parser.js'].lineData[404] = 0; + _$jscoverage['/compiler/parser.js'].lineData[405] = 0; _$jscoverage['/compiler/parser.js'].lineData[407] = 0; - _$jscoverage['/compiler/parser.js'].lineData[409] = 0; - _$jscoverage['/compiler/parser.js'].lineData[414] = 0; - _$jscoverage['/compiler/parser.js'].lineData[419] = 0; + _$jscoverage['/compiler/parser.js'].lineData[412] = 0; + _$jscoverage['/compiler/parser.js'].lineData[417] = 0; + _$jscoverage['/compiler/parser.js'].lineData[418] = 0; _$jscoverage['/compiler/parser.js'].lineData[420] = 0; - _$jscoverage['/compiler/parser.js'].lineData[422] = 0; + _$jscoverage['/compiler/parser.js'].lineData[425] = 0; _$jscoverage['/compiler/parser.js'].lineData[427] = 0; - _$jscoverage['/compiler/parser.js'].lineData[429] = 0; + _$jscoverage['/compiler/parser.js'].lineData[428] = 0; _$jscoverage['/compiler/parser.js'].lineData[430] = 0; - _$jscoverage['/compiler/parser.js'].lineData[432] = 0; - _$jscoverage['/compiler/parser.js'].lineData[437] = 0; - _$jscoverage['/compiler/parser.js'].lineData[442] = 0; - _$jscoverage['/compiler/parser.js'].lineData[447] = 0; - _$jscoverage['/compiler/parser.js'].lineData[452] = 0; - _$jscoverage['/compiler/parser.js'].lineData[457] = 0; - _$jscoverage['/compiler/parser.js'].lineData[465] = 0; - _$jscoverage['/compiler/parser.js'].lineData[471] = 0; - _$jscoverage['/compiler/parser.js'].lineData[477] = 0; - _$jscoverage['/compiler/parser.js'].lineData[482] = 0; - _$jscoverage['/compiler/parser.js'].lineData[488] = 0; - _$jscoverage['/compiler/parser.js'].lineData[493] = 0; - _$jscoverage['/compiler/parser.js'].lineData[498] = 0; - _$jscoverage['/compiler/parser.js'].lineData[503] = 0; - _$jscoverage['/compiler/parser.js'].lineData[509] = 0; - _$jscoverage['/compiler/parser.js'].lineData[514] = 0; - _$jscoverage['/compiler/parser.js'].lineData[520] = 0; - _$jscoverage['/compiler/parser.js'].lineData[525] = 0; - _$jscoverage['/compiler/parser.js'].lineData[530] = 0; - _$jscoverage['/compiler/parser.js'].lineData[535] = 0; - _$jscoverage['/compiler/parser.js'].lineData[540] = 0; - _$jscoverage['/compiler/parser.js'].lineData[546] = 0; - _$jscoverage['/compiler/parser.js'].lineData[551] = 0; - _$jscoverage['/compiler/parser.js'].lineData[556] = 0; - _$jscoverage['/compiler/parser.js'].lineData[562] = 0; - _$jscoverage['/compiler/parser.js'].lineData[567] = 0; - _$jscoverage['/compiler/parser.js'].lineData[572] = 0; - _$jscoverage['/compiler/parser.js'].lineData[577] = 0; - _$jscoverage['/compiler/parser.js'].lineData[582] = 0; - _$jscoverage['/compiler/parser.js'].lineData[587] = 0; - _$jscoverage['/compiler/parser.js'].lineData[592] = 0; - _$jscoverage['/compiler/parser.js'].lineData[597] = 0; - _$jscoverage['/compiler/parser.js'].lineData[602] = 0; - _$jscoverage['/compiler/parser.js'].lineData[607] = 0; - _$jscoverage['/compiler/parser.js'].lineData[611] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1831] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1832] = 0; + _$jscoverage['/compiler/parser.js'].lineData[435] = 0; + _$jscoverage['/compiler/parser.js'].lineData[440] = 0; + _$jscoverage['/compiler/parser.js'].lineData[445] = 0; + _$jscoverage['/compiler/parser.js'].lineData[450] = 0; + _$jscoverage['/compiler/parser.js'].lineData[455] = 0; + _$jscoverage['/compiler/parser.js'].lineData[463] = 0; + _$jscoverage['/compiler/parser.js'].lineData[469] = 0; + _$jscoverage['/compiler/parser.js'].lineData[475] = 0; + _$jscoverage['/compiler/parser.js'].lineData[480] = 0; + _$jscoverage['/compiler/parser.js'].lineData[486] = 0; + _$jscoverage['/compiler/parser.js'].lineData[491] = 0; + _$jscoverage['/compiler/parser.js'].lineData[496] = 0; + _$jscoverage['/compiler/parser.js'].lineData[501] = 0; + _$jscoverage['/compiler/parser.js'].lineData[507] = 0; + _$jscoverage['/compiler/parser.js'].lineData[512] = 0; + _$jscoverage['/compiler/parser.js'].lineData[518] = 0; + _$jscoverage['/compiler/parser.js'].lineData[523] = 0; + _$jscoverage['/compiler/parser.js'].lineData[528] = 0; + _$jscoverage['/compiler/parser.js'].lineData[533] = 0; + _$jscoverage['/compiler/parser.js'].lineData[538] = 0; + _$jscoverage['/compiler/parser.js'].lineData[544] = 0; + _$jscoverage['/compiler/parser.js'].lineData[549] = 0; + _$jscoverage['/compiler/parser.js'].lineData[554] = 0; + _$jscoverage['/compiler/parser.js'].lineData[560] = 0; + _$jscoverage['/compiler/parser.js'].lineData[565] = 0; + _$jscoverage['/compiler/parser.js'].lineData[570] = 0; + _$jscoverage['/compiler/parser.js'].lineData[575] = 0; + _$jscoverage['/compiler/parser.js'].lineData[580] = 0; + _$jscoverage['/compiler/parser.js'].lineData[585] = 0; + _$jscoverage['/compiler/parser.js'].lineData[590] = 0; + _$jscoverage['/compiler/parser.js'].lineData[595] = 0; + _$jscoverage['/compiler/parser.js'].lineData[600] = 0; + _$jscoverage['/compiler/parser.js'].lineData[605] = 0; + _$jscoverage['/compiler/parser.js'].lineData[609] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1829] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1830] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1838] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1839] = 0; _$jscoverage['/compiler/parser.js'].lineData[1840] = 0; _$jscoverage['/compiler/parser.js'].lineData[1841] = 0; _$jscoverage['/compiler/parser.js'].lineData[1842] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1843] = 0; _$jscoverage['/compiler/parser.js'].lineData[1844] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1845] = 0; _$jscoverage['/compiler/parser.js'].lineData[1846] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1847] = 0; _$jscoverage['/compiler/parser.js'].lineData[1848] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1849] = 0; _$jscoverage['/compiler/parser.js'].lineData[1850] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1851] = 0; _$jscoverage['/compiler/parser.js'].lineData[1852] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1853] = 0; _$jscoverage['/compiler/parser.js'].lineData[1854] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1855] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1856] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1857] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1858] = 0; _$jscoverage['/compiler/parser.js'].lineData[1859] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1860] = 0; _$jscoverage['/compiler/parser.js'].lineData[1861] = 0; _$jscoverage['/compiler/parser.js'].lineData[1863] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1864] = 0; _$jscoverage['/compiler/parser.js'].lineData[1865] = 0; _$jscoverage['/compiler/parser.js'].lineData[1866] = 0; _$jscoverage['/compiler/parser.js'].lineData[1867] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1868] = 0; _$jscoverage['/compiler/parser.js'].lineData[1869] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1871] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1876] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1877] = 0; _$jscoverage['/compiler/parser.js'].lineData[1878] = 0; _$jscoverage['/compiler/parser.js'].lineData[1879] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1880] = 0; _$jscoverage['/compiler/parser.js'].lineData[1881] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1883] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1882] = 0; _$jscoverage['/compiler/parser.js'].lineData[1884] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1886] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1885] = 0; _$jscoverage['/compiler/parser.js'].lineData[1887] = 0; _$jscoverage['/compiler/parser.js'].lineData[1889] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1890] = 0; _$jscoverage['/compiler/parser.js'].lineData[1891] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1892] = 0; _$jscoverage['/compiler/parser.js'].lineData[1893] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1894] = 0; _$jscoverage['/compiler/parser.js'].lineData[1895] = 0; _$jscoverage['/compiler/parser.js'].lineData[1896] = 0; _$jscoverage['/compiler/parser.js'].lineData[1897] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1898] = 0; _$jscoverage['/compiler/parser.js'].lineData[1899] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1901] = 0; + _$jscoverage['/compiler/parser.js'].lineData[1902] = 0; _$jscoverage['/compiler/parser.js'].lineData[1904] = 0; - _$jscoverage['/compiler/parser.js'].lineData[1906] = 0; } if (! _$jscoverage['/compiler/parser.js'].functionData) { _$jscoverage['/compiler/parser.js'].functionData = []; @@ -568,108 +567,102 @@ if (! _$jscoverage['/compiler/parser.js'].branchData) { _$jscoverage['/compiler/parser.js'].branchData['169'][1] = new BranchData(); _$jscoverage['/compiler/parser.js'].branchData['197'] = []; _$jscoverage['/compiler/parser.js'].branchData['197'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['203'] = []; - _$jscoverage['/compiler/parser.js'].branchData['203'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['238'] = []; - _$jscoverage['/compiler/parser.js'].branchData['238'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['406'] = []; - _$jscoverage['/compiler/parser.js'].branchData['406'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['419'] = []; - _$jscoverage['/compiler/parser.js'].branchData['419'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['429'] = []; - _$jscoverage['/compiler/parser.js'].branchData['429'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1843'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1843'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1846'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1846'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1850'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1850'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1851'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1851'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1854'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1854'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['236'] = []; + _$jscoverage['/compiler/parser.js'].branchData['236'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['404'] = []; + _$jscoverage['/compiler/parser.js'].branchData['404'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['417'] = []; + _$jscoverage['/compiler/parser.js'].branchData['417'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['427'] = []; + _$jscoverage['/compiler/parser.js'].branchData['427'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1841'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1841'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1844'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1844'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1848'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1848'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1849'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1849'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1852'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1852'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1870'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1870'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1871'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1871'][1] = new BranchData(); _$jscoverage['/compiler/parser.js'].branchData['1872'] = []; _$jscoverage['/compiler/parser.js'].branchData['1872'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1873'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1873'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1874'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1874'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1880'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1880'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1883'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1883'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1886'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1886'][1] = new BranchData(); - _$jscoverage['/compiler/parser.js'].branchData['1891'] = []; - _$jscoverage['/compiler/parser.js'].branchData['1891'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1878'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1878'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1881'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1881'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1884'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1884'][1] = new BranchData(); + _$jscoverage['/compiler/parser.js'].branchData['1889'] = []; + _$jscoverage['/compiler/parser.js'].branchData['1889'][1] = new BranchData(); } -_$jscoverage['/compiler/parser.js'].branchData['1891'][1].init(1022, 3, 'len'); -function visit45_1891_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1891'][1].ranCondition(result); +_$jscoverage['/compiler/parser.js'].branchData['1889'][1].init(1022, 3, 'len'); +function visit44_1889_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1889'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1886'][1].init(856, 17, 'ret !== undefined'); -function visit44_1886_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1886'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1884'][1].init(856, 17, 'ret !== undefined'); +function visit43_1884_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1884'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1883'][1].init(738, 13, 'reducedAction'); -function visit43_1883_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1883'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1881'][1].init(738, 13, 'reducedAction'); +function visit42_1881_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1881'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1880'][1].init(590, 7, 'i < len'); -function visit42_1880_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1880'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1878'][1].init(590, 7, 'i < len'); +function visit41_1878_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1878'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1874'][1].init(257, 31, 'production.rhs || production[1]'); -function visit41_1874_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1874'][1].ranCondition(result); - return result; -}_$jscoverage['/compiler/parser.js'].branchData['1873'][1].init(184, 34, 'production.action || production[2]'); -function visit40_1873_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1873'][1].ranCondition(result); - return result; -}_$jscoverage['/compiler/parser.js'].branchData['1872'][1].init(108, 34, 'production.symbol || production[0]'); -function visit39_1872_1(result) { +}_$jscoverage['/compiler/parser.js'].branchData['1872'][1].init(257, 31, 'production.rhs || production[1]'); +function visit40_1872_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1872'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1854'][1].init(83, 18, 'tableAction[state]'); -function visit38_1854_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1854'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1871'][1].init(184, 34, 'production.action || production[2]'); +function visit39_1871_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1871'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1851'][1].init(350, 7, '!action'); -function visit37_1851_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1851'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1870'][1].init(108, 34, 'production.symbol || production[0]'); +function visit38_1870_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1870'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1850'][1].init(284, 48, 'tableAction[state] && tableAction[state][symbol]'); -function visit36_1850_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1850'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1852'][1].init(83, 18, 'tableAction[state]'); +function visit37_1852_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1852'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1846'][1].init(140, 7, '!symbol'); -function visit35_1846_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1846'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1849'][1].init(350, 7, '!action'); +function visit36_1849_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1849'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1843'][1].init(62, 7, '!symbol'); -function visit34_1843_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['1843'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1848'][1].init(284, 48, 'tableAction[state] && tableAction[state][symbol]'); +function visit35_1848_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1848'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['429'][1].init(130, 20, 'this.$1.length === 3'); -function visit33_429_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['429'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1844'][1].init(140, 7, '!symbol'); +function visit34_1844_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1844'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['419'][1].init(21, 20, 'this.$1.length === 3'); -function visit32_419_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['419'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['1841'][1].init(62, 7, '!symbol'); +function visit33_1841_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['1841'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['406'][1].init(21, 42, 'this.$1.charAt(this.$1.length - 1) === \'^\''); -function visit31_406_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['406'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['427'][1].init(130, 20, 'this.$1.length === 3'); +function visit32_427_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['427'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['238'][1].init(79, 21, 'this.matches[1] || \'\''); -function visit30_238_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['238'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['417'][1].init(21, 20, 'this.$1.length === 3'); +function visit31_417_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['417'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['203'][1].init(503, 1, 'n'); -function visit29_203_1(result) { - _$jscoverage['/compiler/parser.js'].branchData['203'][1].ranCondition(result); +}_$jscoverage['/compiler/parser.js'].branchData['404'][1].init(21, 42, 'this.$1.charAt(this.$1.length - 1) === \'^\''); +function visit30_404_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['404'][1].ranCondition(result); + return result; +}_$jscoverage['/compiler/parser.js'].branchData['236'][1].init(79, 21, 'this.matches[1] || \'\''); +function visit29_236_1(result) { + _$jscoverage['/compiler/parser.js'].branchData['236'][1].ranCondition(result); return result; }_$jscoverage['/compiler/parser.js'].branchData['197'][1].init(278, 5, 'n % 2'); function visit28_197_1(result) { @@ -1055,60 +1048,57 @@ KISSY.add(function(_, undefined) { self.pushState('t'); } _$jscoverage['/compiler/parser.js'].lineData[203]++; - if (visit29_203_1(n)) { - _$jscoverage['/compiler/parser.js'].lineData[204]++; - text = text.replace(/\\+$/g, function(m) { + text = text.replace(/\\+$/g, function(m) { _$jscoverage['/compiler/parser.js'].functionData[16]++; - _$jscoverage['/compiler/parser.js'].lineData[205]++; + _$jscoverage['/compiler/parser.js'].lineData[204]++; return new Array(m.length / 2 + 1).join('\\'); }); - } - _$jscoverage['/compiler/parser.js'].lineData[210]++; + _$jscoverage['/compiler/parser.js'].lineData[208]++; self.text = text; - _$jscoverage['/compiler/parser.js'].lineData[211]++; + _$jscoverage['/compiler/parser.js'].lineData[209]++; return 'CONTENT'; }], ['b', /^[\s\S]+/, 0], ['b', /^[\s\S]{2,}?(?:(?={{)|$)/, function popState() { _$jscoverage['/compiler/parser.js'].functionData[17]++; - _$jscoverage['/compiler/parser.js'].lineData[217]++; + _$jscoverage['/compiler/parser.js'].lineData[215]++; this.popState(); }, ['et']], ['c', /^{{(?:#|@|\^)/, 0, ['t']], ['d', /^{{\//, 0, ['t']], ['e', /^{{\s*else\s*}}/, function popState() { _$jscoverage['/compiler/parser.js'].functionData[18]++; - _$jscoverage['/compiler/parser.js'].lineData[225]++; + _$jscoverage['/compiler/parser.js'].lineData[223]++; this.popState(); }, ['t']], [0, /^{{![\s\S]*?}}/, function popState() { _$jscoverage['/compiler/parser.js'].functionData[19]++; - _$jscoverage['/compiler/parser.js'].lineData[231]++; + _$jscoverage['/compiler/parser.js'].lineData[229]++; this.popState(); }, ['t']], ['b', /^{{%([\s\S]*?)%}}/, function() { _$jscoverage['/compiler/parser.js'].functionData[20]++; - _$jscoverage['/compiler/parser.js'].lineData[238]++; - this.text = visit30_238_1(this.matches[1] || ''); - _$jscoverage['/compiler/parser.js'].lineData[239]++; + _$jscoverage['/compiler/parser.js'].lineData[236]++; + this.text = visit29_236_1(this.matches[1] || ''); + _$jscoverage['/compiler/parser.js'].lineData[237]++; this.popState(); }, ['t']], ['f', /^{{{?/, 0, ['t']], ['g', /^\s+/, 0, ['t']], ['h', /^}}}?/, function popState() { _$jscoverage['/compiler/parser.js'].functionData[21]++; - _$jscoverage['/compiler/parser.js'].lineData[247]++; + _$jscoverage['/compiler/parser.js'].lineData[245]++; this.popState(); }, ['t']], ['i', /^\(/, 0, ['t']], ['j', /^\)/, 0, ['t']], ['k', /^\|\|/, 0, ['t']], ['l', /^&&/, 0, ['t']], ['m', /^===/, 0, ['t']], ['n', /^!==/, 0, ['t']], ['o', /^>=/, 0, ['t']], ['p', /^<=/, 0, ['t']], ['q', /^>/, 0, ['t']], ['r', /^', this.$3); }], ['ay', ['ay', 'p', 'az'], function() { _$jscoverage['/compiler/parser.js'].functionData[48]++; - _$jscoverage['/compiler/parser.js'].lineData[498]++; + _$jscoverage['/compiler/parser.js'].lineData[496]++; return new this.yy.RelationalExpression(this.$1, '<=', this.$3); }], ['ay', ['ay', 'o', 'az'], function() { _$jscoverage['/compiler/parser.js'].functionData[49]++; - _$jscoverage['/compiler/parser.js'].lineData[503]++; + _$jscoverage['/compiler/parser.js'].lineData[501]++; return new this.yy.RelationalExpression(this.$1, '>=', this.$3); }], ['az', ['ba']], ['az', ['az', 's', 'ba'], function() { _$jscoverage['/compiler/parser.js'].functionData[50]++; - _$jscoverage['/compiler/parser.js'].lineData[509]++; + _$jscoverage['/compiler/parser.js'].lineData[507]++; return new this.yy.AdditiveExpression(this.$1, '+', this.$3); }], ['az', ['az', 't', 'ba'], function() { _$jscoverage['/compiler/parser.js'].functionData[51]++; - _$jscoverage['/compiler/parser.js'].lineData[514]++; + _$jscoverage['/compiler/parser.js'].lineData[512]++; return new this.yy.AdditiveExpression(this.$1, '-', this.$3); }], ['ba', ['bb']], ['ba', ['ba', 'u', 'bb'], function() { _$jscoverage['/compiler/parser.js'].functionData[52]++; - _$jscoverage['/compiler/parser.js'].lineData[520]++; + _$jscoverage['/compiler/parser.js'].lineData[518]++; return new this.yy.MultiplicativeExpression(this.$1, '*', this.$3); }], ['ba', ['ba', 'v', 'bb'], function() { _$jscoverage['/compiler/parser.js'].functionData[53]++; - _$jscoverage['/compiler/parser.js'].lineData[525]++; + _$jscoverage['/compiler/parser.js'].lineData[523]++; return new this.yy.MultiplicativeExpression(this.$1, '/', this.$3); }], ['ba', ['ba', 'w', 'bb'], function() { _$jscoverage['/compiler/parser.js'].functionData[54]++; - _$jscoverage['/compiler/parser.js'].lineData[530]++; + _$jscoverage['/compiler/parser.js'].lineData[528]++; return new this.yy.MultiplicativeExpression(this.$1, '%', this.$3); }], ['bb', ['x', 'bb'], function() { _$jscoverage['/compiler/parser.js'].functionData[55]++; - _$jscoverage['/compiler/parser.js'].lineData[535]++; + _$jscoverage['/compiler/parser.js'].lineData[533]++; return new this.yy.UnaryExpression(this.$1, this.$2); }], ['bb', ['t', 'bb'], function() { _$jscoverage['/compiler/parser.js'].functionData[56]++; - _$jscoverage['/compiler/parser.js'].lineData[540]++; + _$jscoverage['/compiler/parser.js'].lineData[538]++; return new this.yy.UnaryExpression(this.$1, this.$2); }], ['bb', ['bc']], ['bc', ['y'], function() { _$jscoverage['/compiler/parser.js'].functionData[57]++; - _$jscoverage['/compiler/parser.js'].lineData[546]++; + _$jscoverage['/compiler/parser.js'].lineData[544]++; return new this.yy.StringNode(this.lexer.lineNumber, this.$1); }], ['bc', ['aa'], function() { _$jscoverage['/compiler/parser.js'].functionData[58]++; - _$jscoverage['/compiler/parser.js'].lineData[551]++; + _$jscoverage['/compiler/parser.js'].lineData[549]++; return new this.yy.NumberNode(this.lexer.lineNumber, this.$1); }], ['bc', ['z'], function() { _$jscoverage['/compiler/parser.js'].functionData[59]++; - _$jscoverage['/compiler/parser.js'].lineData[556]++; + _$jscoverage['/compiler/parser.js'].lineData[554]++; return new this.yy.BooleanNode(this.lexer.lineNumber, this.$1); }], ['bc', ['ap']], ['bc', ['i', 'ar', 'j'], function() { _$jscoverage['/compiler/parser.js'].functionData[60]++; - _$jscoverage['/compiler/parser.js'].lineData[562]++; + _$jscoverage['/compiler/parser.js'].lineData[560]++; return this.$2; }], ['at', ['bd'], function() { _$jscoverage['/compiler/parser.js'].functionData[61]++; - _$jscoverage['/compiler/parser.js'].lineData[567]++; + _$jscoverage['/compiler/parser.js'].lineData[565]++; return new this.yy.HashNode(this.lexer.lineNumber, this.$1); }], ['bd', ['bd', 'g', 'be'], function() { _$jscoverage['/compiler/parser.js'].functionData[62]++; - _$jscoverage['/compiler/parser.js'].lineData[572]++; + _$jscoverage['/compiler/parser.js'].lineData[570]++; this.$1.push(this.$3); }], ['bd', ['be'], function() { _$jscoverage['/compiler/parser.js'].functionData[63]++; - _$jscoverage['/compiler/parser.js'].lineData[577]++; + _$jscoverage['/compiler/parser.js'].lineData[575]++; return [this.$1]; }], ['be', ['ac', 'ab', 'ar'], function() { _$jscoverage['/compiler/parser.js'].functionData[64]++; - _$jscoverage['/compiler/parser.js'].lineData[582]++; + _$jscoverage['/compiler/parser.js'].lineData[580]++; return [this.$1, this.$3]; }], ['ap', ['bf'], function() { _$jscoverage['/compiler/parser.js'].functionData[65]++; - _$jscoverage['/compiler/parser.js'].lineData[587]++; + _$jscoverage['/compiler/parser.js'].lineData[585]++; return new this.yy.IdNode(this.lexer.lineNumber, this.$1); }], ['bf', ['bf', 'ad', 'ac'], function() { _$jscoverage['/compiler/parser.js'].functionData[66]++; - _$jscoverage['/compiler/parser.js'].lineData[592]++; + _$jscoverage['/compiler/parser.js'].lineData[590]++; this.$1.push(this.$3); }], ['bf', ['bf', 'ae', 'ar', 'af'], function() { _$jscoverage['/compiler/parser.js'].functionData[67]++; - _$jscoverage['/compiler/parser.js'].lineData[597]++; + _$jscoverage['/compiler/parser.js'].lineData[595]++; this.$1.push(this.$3); }], ['bf', ['bf', 'ad', 'aa'], function() { _$jscoverage['/compiler/parser.js'].functionData[68]++; - _$jscoverage['/compiler/parser.js'].lineData[602]++; + _$jscoverage['/compiler/parser.js'].lineData[600]++; this.$1.push(this.$3); }], ['bf', ['ac'], function() { _$jscoverage['/compiler/parser.js'].functionData[69]++; - _$jscoverage['/compiler/parser.js'].lineData[607]++; + _$jscoverage['/compiler/parser.js'].lineData[605]++; return [this.$1]; }]]; - _$jscoverage['/compiler/parser.js'].lineData[611]++; + _$jscoverage['/compiler/parser.js'].lineData[609]++; parser.table = { 'gotos': { '0': { @@ -2456,113 +2446,113 @@ KISSY.add(function(_, undefined) { '94': { 'h': [2, 49], 'g': [2, 49]}}}; - _$jscoverage['/compiler/parser.js'].lineData[1831]++; + _$jscoverage['/compiler/parser.js'].lineData[1829]++; parser.parse = function parse(input) { _$jscoverage['/compiler/parser.js'].functionData[70]++; - _$jscoverage['/compiler/parser.js'].lineData[1832]++; + _$jscoverage['/compiler/parser.js'].lineData[1830]++; var self = this, lexer = self.lexer, state, symbol, action, table = self.table, gotos = table.gotos, tableAction = table.action, productions = self.productions, valueStack = [null], stack = [0]; - _$jscoverage['/compiler/parser.js'].lineData[1840]++; + _$jscoverage['/compiler/parser.js'].lineData[1838]++; lexer.resetInput(input); - _$jscoverage['/compiler/parser.js'].lineData[1841]++; + _$jscoverage['/compiler/parser.js'].lineData[1839]++; while (1) { - _$jscoverage['/compiler/parser.js'].lineData[1842]++; + _$jscoverage['/compiler/parser.js'].lineData[1840]++; state = stack[stack.length - 1]; - _$jscoverage['/compiler/parser.js'].lineData[1843]++; - if (visit34_1843_1(!symbol)) { - _$jscoverage['/compiler/parser.js'].lineData[1844]++; + _$jscoverage['/compiler/parser.js'].lineData[1841]++; + if (visit33_1841_1(!symbol)) { + _$jscoverage['/compiler/parser.js'].lineData[1842]++; symbol = lexer.lex(); } - _$jscoverage['/compiler/parser.js'].lineData[1846]++; - if (visit35_1846_1(!symbol)) { - _$jscoverage['/compiler/parser.js'].lineData[1847]++; + _$jscoverage['/compiler/parser.js'].lineData[1844]++; + if (visit34_1844_1(!symbol)) { + _$jscoverage['/compiler/parser.js'].lineData[1845]++; S.log("it is not a valid input: " + input, "error"); - _$jscoverage['/compiler/parser.js'].lineData[1848]++; + _$jscoverage['/compiler/parser.js'].lineData[1846]++; return false; } - _$jscoverage['/compiler/parser.js'].lineData[1850]++; - action = visit36_1850_1(tableAction[state] && tableAction[state][symbol]); - _$jscoverage['/compiler/parser.js'].lineData[1851]++; - if (visit37_1851_1(!action)) { - _$jscoverage['/compiler/parser.js'].lineData[1852]++; + _$jscoverage['/compiler/parser.js'].lineData[1848]++; + action = visit35_1848_1(tableAction[state] && tableAction[state][symbol]); + _$jscoverage['/compiler/parser.js'].lineData[1849]++; + if (visit36_1849_1(!action)) { + _$jscoverage['/compiler/parser.js'].lineData[1850]++; var expected = [], error; - _$jscoverage['/compiler/parser.js'].lineData[1854]++; - if (visit38_1854_1(tableAction[state])) { - _$jscoverage['/compiler/parser.js'].lineData[1855]++; + _$jscoverage['/compiler/parser.js'].lineData[1852]++; + if (visit37_1852_1(tableAction[state])) { + _$jscoverage['/compiler/parser.js'].lineData[1853]++; for (var symbolForState in tableAction[state]) { - _$jscoverage['/compiler/parser.js'].lineData[1856]++; + _$jscoverage['/compiler/parser.js'].lineData[1854]++; expected.push(self.lexer.mapReverseSymbol(symbolForState)); } } - _$jscoverage['/compiler/parser.js'].lineData[1859]++; + _$jscoverage['/compiler/parser.js'].lineData[1857]++; error = "Syntax error at line " + lexer.lineNumber + ":\n" + lexer.showDebugInfo() + "\n" + "expect " + expected.join(", "); - _$jscoverage['/compiler/parser.js'].lineData[1860]++; + _$jscoverage['/compiler/parser.js'].lineData[1858]++; S.error(error); - _$jscoverage['/compiler/parser.js'].lineData[1861]++; + _$jscoverage['/compiler/parser.js'].lineData[1859]++; return false; } - _$jscoverage['/compiler/parser.js'].lineData[1863]++; + _$jscoverage['/compiler/parser.js'].lineData[1861]++; switch (action[GrammarConst.TYPE_INDEX]) { case GrammarConst.SHIFT_TYPE: - _$jscoverage['/compiler/parser.js'].lineData[1865]++; + _$jscoverage['/compiler/parser.js'].lineData[1863]++; stack.push(symbol); - _$jscoverage['/compiler/parser.js'].lineData[1866]++; + _$jscoverage['/compiler/parser.js'].lineData[1864]++; valueStack.push(lexer.text); - _$jscoverage['/compiler/parser.js'].lineData[1867]++; + _$jscoverage['/compiler/parser.js'].lineData[1865]++; stack.push(action[GrammarConst.TO_INDEX]); - _$jscoverage['/compiler/parser.js'].lineData[1868]++; + _$jscoverage['/compiler/parser.js'].lineData[1866]++; symbol = null; - _$jscoverage['/compiler/parser.js'].lineData[1869]++; + _$jscoverage['/compiler/parser.js'].lineData[1867]++; break; case GrammarConst.REDUCE_TYPE: - _$jscoverage['/compiler/parser.js'].lineData[1871]++; - var production = productions[action[GrammarConst.PRODUCTION_INDEX]], reducedSymbol = visit39_1872_1(production.symbol || production[0]), reducedAction = visit40_1873_1(production.action || production[2]), reducedRhs = visit41_1874_1(production.rhs || production[1]), len = reducedRhs.length, i = 0, ret, $$ = valueStack[valueStack.length - len]; - _$jscoverage['/compiler/parser.js'].lineData[1878]++; + _$jscoverage['/compiler/parser.js'].lineData[1869]++; + var production = productions[action[GrammarConst.PRODUCTION_INDEX]], reducedSymbol = visit38_1870_1(production.symbol || production[0]), reducedAction = visit39_1871_1(production.action || production[2]), reducedRhs = visit40_1872_1(production.rhs || production[1]), len = reducedRhs.length, i = 0, ret, $$ = valueStack[valueStack.length - len]; + _$jscoverage['/compiler/parser.js'].lineData[1876]++; ret = undefined; - _$jscoverage['/compiler/parser.js'].lineData[1879]++; + _$jscoverage['/compiler/parser.js'].lineData[1877]++; self.$$ = $$; - _$jscoverage['/compiler/parser.js'].lineData[1880]++; - for (; visit42_1880_1(i < len); i++) { - _$jscoverage['/compiler/parser.js'].lineData[1881]++; + _$jscoverage['/compiler/parser.js'].lineData[1878]++; + for (; visit41_1878_1(i < len); i++) { + _$jscoverage['/compiler/parser.js'].lineData[1879]++; self["$" + (len - i)] = valueStack[valueStack.length - 1 - i]; } - _$jscoverage['/compiler/parser.js'].lineData[1883]++; - if (visit43_1883_1(reducedAction)) { - _$jscoverage['/compiler/parser.js'].lineData[1884]++; + _$jscoverage['/compiler/parser.js'].lineData[1881]++; + if (visit42_1881_1(reducedAction)) { + _$jscoverage['/compiler/parser.js'].lineData[1882]++; ret = reducedAction.call(self); } - _$jscoverage['/compiler/parser.js'].lineData[1886]++; - if (visit44_1886_1(ret !== undefined)) { - _$jscoverage['/compiler/parser.js'].lineData[1887]++; + _$jscoverage['/compiler/parser.js'].lineData[1884]++; + if (visit43_1884_1(ret !== undefined)) { + _$jscoverage['/compiler/parser.js'].lineData[1885]++; $$ = ret; } else { - _$jscoverage['/compiler/parser.js'].lineData[1889]++; + _$jscoverage['/compiler/parser.js'].lineData[1887]++; $$ = self.$$; } - _$jscoverage['/compiler/parser.js'].lineData[1891]++; - if (visit45_1891_1(len)) { - _$jscoverage['/compiler/parser.js'].lineData[1892]++; + _$jscoverage['/compiler/parser.js'].lineData[1889]++; + if (visit44_1889_1(len)) { + _$jscoverage['/compiler/parser.js'].lineData[1890]++; stack = stack.slice(0, -1 * len * 2); - _$jscoverage['/compiler/parser.js'].lineData[1893]++; + _$jscoverage['/compiler/parser.js'].lineData[1891]++; valueStack = valueStack.slice(0, -1 * len); } - _$jscoverage['/compiler/parser.js'].lineData[1895]++; + _$jscoverage['/compiler/parser.js'].lineData[1893]++; stack.push(reducedSymbol); - _$jscoverage['/compiler/parser.js'].lineData[1896]++; + _$jscoverage['/compiler/parser.js'].lineData[1894]++; valueStack.push($$); - _$jscoverage['/compiler/parser.js'].lineData[1897]++; + _$jscoverage['/compiler/parser.js'].lineData[1895]++; var newState = gotos[stack[stack.length - 2]][stack[stack.length - 1]]; - _$jscoverage['/compiler/parser.js'].lineData[1898]++; + _$jscoverage['/compiler/parser.js'].lineData[1896]++; stack.push(newState); - _$jscoverage['/compiler/parser.js'].lineData[1899]++; + _$jscoverage['/compiler/parser.js'].lineData[1897]++; break; case GrammarConst.ACCEPT_TYPE: - _$jscoverage['/compiler/parser.js'].lineData[1901]++; + _$jscoverage['/compiler/parser.js'].lineData[1899]++; return $$; } } - _$jscoverage['/compiler/parser.js'].lineData[1904]++; + _$jscoverage['/compiler/parser.js'].lineData[1902]++; return undefined; }; - _$jscoverage['/compiler/parser.js'].lineData[1906]++; + _$jscoverage['/compiler/parser.js'].lineData[1904]++; return parser; }); diff --git a/tools/jasmine/jasmine.console_reporter.js b/tools/jasmine/jasmine.console_reporter.js index b018f38179..894f339538 100644 --- a/tools/jasmine/jasmine.console_reporter.js +++ b/tools/jasmine/jasmine.console_reporter.js @@ -8,10 +8,7 @@ jasmine.getEnv().execute(); */ -(function (jasmine, console) { - if (!console) { - return; - } +(function (jasmine) { if (!jasmine) { throw "jasmine library isn't loaded!"; } @@ -28,9 +25,6 @@ }; var ConsoleReporter = function () { - if (!console || !console.log) { - throw "console isn't present!"; - } this.status = this.statuses.stopped; }; @@ -107,8 +101,10 @@ proto.log = function (str, color) { var text = (color != undefined) ? ANSI.colorize_text(str, color) : str; - console.log(text) + if(window.console){ + console.log(text) + } }; jasmine.ConsoleReporter = ConsoleReporter; -})(jasmine, window.console); +})(jasmine); diff --git a/tools/test/test.js b/tools/test/test.js index 10e9ee8e06..60fc30e922 100644 --- a/tools/test/test.js +++ b/tools/test/test.js @@ -48,6 +48,7 @@ window.onload = function () { testIframe = document.createElement('iframe'); testIframe.height = 600; + testIframe.frameborder = 'none'; testIframe.style.cssText = 'width:100%;' + 'height:600px;' + '-webkit-overflow-scrolling: touch;' + From adc140416bc4dc05c810acc49b978f8b4b51ba6d Mon Sep 17 00:00:00 2001 From: yiminghe Date: Fri, 13 Dec 2013 16:44:11 +0800 Subject: [PATCH 11/80] fix svg class. Fixes #532 --- build/dom/base-min.js | 4 +- build/dom/base.js | 4 +- .../base/coverage/src/base/selector.js | 111 +++-- .../base/coverage/src/base/style.js | 396 +++++++++--------- .../base/coverage/src/base/traversal.js | 166 ++++---- src/dom/sub-modules/base/src/base/selector.js | 4 +- 6 files changed, 340 insertions(+), 345 deletions(-) diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 34bb5e148d..d93153433c 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,7 +1,7 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 10 00:43 +build time: Dec 13 16:43 */ KISSY.add("dom/base/api",[],function(h){var m=h.Env.host||{},n=m.document,q=h.UA,b={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e={isCustomDomain:function(b){var b=b||m,b=e.get(b),g=b.document.domain,b=b.location.hostname;return g!==b&&g!=="["+b+"]"},getEmptyIframeSrc:function(b){b=b||m;b=e.get(b);return q.ie&&e.isCustomDomain(b)? "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+b.document.domain+'";document.close();')+"}())":""},NodeType:b,getWindow:function(l){if(!l)return m;l=e.get(l);if(h.isWindow(l))return l;var g=l;g.nodeType!==b.DOCUMENT_NODE&&(g=l.ownerDocument);return g.defaultView||g.parentWindow},getDocument:function(l){if(!l)return n;l=e.get(l);return h.isWindow(l)?l.document:l.nodeType===b.DOCUMENT_NODE?l:l.ownerDocument},isDomNodeList:function(b){return b&&!b.nodeType&&b.item&& @@ -56,7 +56,7 @@ a.css(e,"position")==="static";)e=e.offsetParent;g=a.offset(c);h=a.offset(e);h.t KISSY.add("dom/base/selector",["./api"],function(h,m){function n(a){var d=this.length,c;for(c=0;c|\||\$|\^|\*|\(|\)|[\w-]+\.[\w-]+|[\w-]+#[\w-]+/)&&t){j=a.split(/\s+/);var p=m,A,x;k=0;for(o=j.length;k< o;k++){A=j;x=k;var E;E=j[k];var I=E.charAt(0);E="#"===I?b(q(E)):"."===I?e(q(E)):l(E);A[x]=E}k=0;for(o=j.length;k -1 } function getAttr(el, name) { diff --git a/src/dom/sub-modules/base/coverage/src/base/selector.js b/src/dom/sub-modules/base/coverage/src/base/selector.js index 815958c18c..00036e37c7 100644 --- a/src/dom/sub-modules/base/coverage/src/base/selector.js +++ b/src/dom/sub-modules/base/coverage/src/base/selector.js @@ -505,7 +505,6 @@ if (! _$jscoverage['/base/selector.js'].branchData) { _$jscoverage['/base/selector.js'].branchData['200'][1] = new BranchData(); _$jscoverage['/base/selector.js'].branchData['217'] = []; _$jscoverage['/base/selector.js'].branchData['217'][1] = new BranchData(); - _$jscoverage['/base/selector.js'].branchData['217'][2] = new BranchData(); _$jscoverage['/base/selector.js'].branchData['218'] = []; _$jscoverage['/base/selector.js'].branchData['218'][1] = new BranchData(); _$jscoverage['/base/selector.js'].branchData['219'] = []; @@ -561,126 +560,122 @@ if (! _$jscoverage['/base/selector.js'].branchData) { _$jscoverage['/base/selector.js'].branchData['425'][2] = new BranchData(); } _$jscoverage['/base/selector.js'].branchData['425'][2].init(101, 64, 'Dom.filter(elements, filter, context).length === elements.length'); -function visit396_425_2(result) { +function visit395_425_2(result) { _$jscoverage['/base/selector.js'].branchData['425'][2].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['425'][1].init(81, 85, 'elements.length && (Dom.filter(elements, filter, context).length === elements.length)'); -function visit395_425_1(result) { +function visit394_425_1(result) { _$jscoverage['/base/selector.js'].branchData['425'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['406'][1].init(1314, 28, 'typeof filter === \'function\''); -function visit394_406_1(result) { +function visit393_406_1(result) { _$jscoverage['/base/selector.js'].branchData['406'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['401'][1].init(36, 26, 'getAttr(elem, \'id\') === id'); -function visit393_401_1(result) { +function visit392_401_1(result) { _$jscoverage['/base/selector.js'].branchData['401'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['399'][2].init(752, 12, '!tag && !cls'); -function visit392_399_2(result) { +function visit391_399_2(result) { _$jscoverage['/base/selector.js'].branchData['399'][2].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['399'][1].init(746, 18, 'id && !tag && !cls'); -function visit391_399_1(result) { +function visit390_399_1(result) { _$jscoverage['/base/selector.js'].branchData['399'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['397'][1].init(482, 14, 'clsRe && tagRe'); -function visit390_397_1(result) { +function visit389_397_1(result) { _$jscoverage['/base/selector.js'].branchData['397'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['393'][1].init(342, 3, 'cls'); -function visit389_393_1(result) { +function visit388_393_1(result) { _$jscoverage['/base/selector.js'].branchData['393'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['388'][1].init(170, 3, 'tag'); -function visit388_388_1(result) { +function visit387_388_1(result) { _$jscoverage['/base/selector.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['382'][1].init(132, 3, '!id'); -function visit387_382_1(result) { +function visit386_382_1(result) { _$jscoverage['/base/selector.js'].branchData['382'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['377'][1].init(50, 84, '(filter = trim(filter)) && (match = rSimpleSelector.exec(filter))'); -function visit386_377_1(result) { +function visit385_377_1(result) { _$jscoverage['/base/selector.js'].branchData['377'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['376'][2].init(207, 26, 'typeof filter === \'string\''); -function visit385_376_2(result) { +function visit384_376_2(result) { _$jscoverage['/base/selector.js'].branchData['376'][2].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['376'][1].init(207, 135, 'typeof filter === \'string\' && (filter = trim(filter)) && (match = rSimpleSelector.exec(filter))'); -function visit384_376_1(result) { +function visit383_376_1(result) { _$jscoverage['/base/selector.js'].branchData['376'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['347'][1].init(33, 33, 'elements[i] === elements[i - 1]'); -function visit383_347_1(result) { +function visit382_347_1(result) { _$jscoverage['/base/selector.js'].branchData['347'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['346'][1].init(90, 7, 'i < len'); -function visit382_346_1(result) { +function visit381_346_1(result) { _$jscoverage['/base/selector.js'].branchData['346'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['344'][1].init(126, 12, 'hasDuplicate'); -function visit381_344_1(result) { +function visit380_344_1(result) { _$jscoverage['/base/selector.js'].branchData['344'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['330'][1].init(25, 7, 'a === b'); -function visit380_330_1(result) { +function visit379_330_1(result) { _$jscoverage['/base/selector.js'].branchData['330'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['305'][1].init(24, 35, 'query(selector, context)[0] || null'); -function visit379_305_1(result) { +function visit378_305_1(result) { _$jscoverage['/base/selector.js'].branchData['305'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['272'][1].init(59, 20, 'matches.call(n, str)'); -function visit378_272_1(result) { +function visit377_272_1(result) { _$jscoverage['/base/selector.js'].branchData['272'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['270'][1].init(144, 7, 'i < len'); -function visit377_270_1(result) { +function visit376_270_1(result) { _$jscoverage['/base/selector.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['243'][1].init(21, 56, '!a.compareDocumentPosition || !b.compareDocumentPosition'); -function visit376_243_1(result) { +function visit375_243_1(result) { _$jscoverage['/base/selector.js'].branchData['243'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['232'][3].init(33, 49, 'el.nodeName.toLowerCase() === value.toLowerCase()'); -function visit375_232_3(result) { +function visit374_232_3(result) { _$jscoverage['/base/selector.js'].branchData['232'][3].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['232'][2].init(16, 13, 'value === \'*\''); -function visit374_232_2(result) { +function visit373_232_2(result) { _$jscoverage['/base/selector.js'].branchData['232'][2].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['232'][1].init(16, 66, 'value === \'*\' || el.nodeName.toLowerCase() === value.toLowerCase()'); -function visit373_232_1(result) { +function visit372_232_1(result) { _$jscoverage['/base/selector.js'].branchData['232'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['225'][1].init(64, 20, 'ret && ret.specified'); -function visit372_225_1(result) { +function visit371_225_1(result) { _$jscoverage['/base/selector.js'].branchData['225'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['224'][1].init(19, 31, 'el && el.getAttributeNode(name)'); -function visit371_224_1(result) { +function visit370_224_1(result) { _$jscoverage['/base/selector.js'].branchData['224'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['220'][1].init(66, 60, '(SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); -function visit370_220_1(result) { +function visit369_220_1(result) { _$jscoverage['/base/selector.js'].branchData['220'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['219'][1].init(25, 127, '(className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); -function visit369_219_1(result) { +function visit368_219_1(result) { _$jscoverage['/base/selector.js'].branchData['219'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['218'][1].init(110, 153, 'className && (className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); -function visit368_218_1(result) { +}_$jscoverage['/base/selector.js'].branchData['218'][1].init(92, 153, 'className && (className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); +function visit367_218_1(result) { _$jscoverage['/base/selector.js'].branchData['218'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['217'][2].init(56, 36, 'el.className || getAttr(el, \'class\')'); -function visit367_217_2(result) { - _$jscoverage['/base/selector.js'].branchData['217'][2].ranCondition(result); - return result; -}_$jscoverage['/base/selector.js'].branchData['217'][1].init(49, 44, 'el && (el.className || getAttr(el, \'class\'))'); +}_$jscoverage['/base/selector.js'].branchData['217'][1].init(49, 26, 'el && getAttr(el, \'class\')'); function visit366_217_1(result) { _$jscoverage['/base/selector.js'].branchData['217'][1].ranCondition(result); return result; @@ -1105,17 +1100,17 @@ KISSY.add(function(S, require) { function hasSingleClass(el, cls) { _$jscoverage['/base/selector.js'].functionData[12]++; _$jscoverage['/base/selector.js'].lineData[217]++; - var className = visit366_217_1(el && (visit367_217_2(el.className || getAttr(el, 'class')))); + var className = visit366_217_1(el && getAttr(el, 'class')); _$jscoverage['/base/selector.js'].lineData[218]++; - return visit368_218_1(className && visit369_219_1((className = className.replace(/[\r\t\n]/g, SPACE)) && visit370_220_1((SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1))); + return visit367_218_1(className && visit368_219_1((className = className.replace(/[\r\t\n]/g, SPACE)) && visit369_220_1((SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1))); } _$jscoverage['/base/selector.js'].lineData[223]++; function getAttr(el, name) { _$jscoverage['/base/selector.js'].functionData[13]++; _$jscoverage['/base/selector.js'].lineData[224]++; - var ret = visit371_224_1(el && el.getAttributeNode(name)); + var ret = visit370_224_1(el && el.getAttributeNode(name)); _$jscoverage['/base/selector.js'].lineData[225]++; - if (visit372_225_1(ret && ret.specified)) { + if (visit371_225_1(ret && ret.specified)) { _$jscoverage['/base/selector.js'].lineData[226]++; return ret.nodeValue; } @@ -1126,14 +1121,14 @@ KISSY.add(function(S, require) { function isTag(el, value) { _$jscoverage['/base/selector.js'].functionData[14]++; _$jscoverage['/base/selector.js'].lineData[232]++; - return visit373_232_1(visit374_232_2(value === '*') || visit375_232_3(el.nodeName.toLowerCase() === value.toLowerCase())); + return visit372_232_1(visit373_232_2(value === '*') || visit374_232_3(el.nodeName.toLowerCase() === value.toLowerCase())); } _$jscoverage['/base/selector.js'].lineData[235]++; S.mix(Dom, { _compareNodeOrder: function(a, b) { _$jscoverage['/base/selector.js'].functionData[15]++; _$jscoverage['/base/selector.js'].lineData[243]++; - if (visit376_243_1(!a.compareDocumentPosition || !b.compareDocumentPosition)) { + if (visit375_243_1(!a.compareDocumentPosition || !b.compareDocumentPosition)) { _$jscoverage['/base/selector.js'].lineData[244]++; return a.compareDocumentPosition ? -1 : 1; } @@ -1160,11 +1155,11 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[266]++; var ret = [], i = 0, n, len = seeds.length; _$jscoverage['/base/selector.js'].lineData[270]++; - for (; visit377_270_1(i < len); i++) { + for (; visit376_270_1(i < len); i++) { _$jscoverage['/base/selector.js'].lineData[271]++; n = seeds[i]; _$jscoverage['/base/selector.js'].lineData[272]++; - if (visit378_272_1(matches.call(n, str))) { + if (visit377_272_1(matches.call(n, str))) { _$jscoverage['/base/selector.js'].lineData[273]++; ret.push(n); } @@ -1181,7 +1176,7 @@ KISSY.add(function(S, require) { get: function(selector, context) { _$jscoverage['/base/selector.js'].functionData[20]++; _$jscoverage['/base/selector.js'].lineData[305]++; - return visit379_305_1(query(selector, context)[0] || null); + return visit378_305_1(query(selector, context)[0] || null); }, unique: (function() { _$jscoverage['/base/selector.js'].functionData[21]++; @@ -1199,7 +1194,7 @@ KISSY.add(function(S, require) { function sortOrder(a, b) { _$jscoverage['/base/selector.js'].functionData[23]++; _$jscoverage['/base/selector.js'].lineData[330]++; - if (visit380_330_1(a === b)) { + if (visit379_330_1(a === b)) { _$jscoverage['/base/selector.js'].lineData[331]++; hasDuplicate = true; _$jscoverage['/base/selector.js'].lineData[332]++; @@ -1216,13 +1211,13 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[342]++; elements.sort(sortOrder); _$jscoverage['/base/selector.js'].lineData[344]++; - if (visit381_344_1(hasDuplicate)) { + if (visit380_344_1(hasDuplicate)) { _$jscoverage['/base/selector.js'].lineData[345]++; var i = 1, len = elements.length; _$jscoverage['/base/selector.js'].lineData[346]++; - while (visit382_346_1(i < len)) { + while (visit381_346_1(i < len)) { _$jscoverage['/base/selector.js'].lineData[347]++; - if (visit383_347_1(elements[i] === elements[i - 1])) { + if (visit382_347_1(elements[i] === elements[i - 1])) { _$jscoverage['/base/selector.js'].lineData[348]++; elements.splice(i, 1); _$jscoverage['/base/selector.js'].lineData[349]++; @@ -1242,7 +1237,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[369]++; var elems = query(selector, context), id, tag, match, cls, ret = []; _$jscoverage['/base/selector.js'].lineData[376]++; - if (visit384_376_1(visit385_376_2(typeof filter === 'string') && visit386_377_1((filter = trim(filter)) && (match = rSimpleSelector.exec(filter))))) { + if (visit383_376_1(visit384_376_2(typeof filter === 'string') && visit385_377_1((filter = trim(filter)) && (match = rSimpleSelector.exec(filter))))) { _$jscoverage['/base/selector.js'].lineData[379]++; id = match[1]; _$jscoverage['/base/selector.js'].lineData[380]++; @@ -1250,39 +1245,39 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[381]++; cls = match[3]; _$jscoverage['/base/selector.js'].lineData[382]++; - if (visit387_382_1(!id)) { + if (visit386_382_1(!id)) { _$jscoverage['/base/selector.js'].lineData[383]++; filter = function(elem) { _$jscoverage['/base/selector.js'].functionData[26]++; _$jscoverage['/base/selector.js'].lineData[384]++; var tagRe = true, clsRe = true; _$jscoverage['/base/selector.js'].lineData[388]++; - if (visit388_388_1(tag)) { + if (visit387_388_1(tag)) { _$jscoverage['/base/selector.js'].lineData[389]++; tagRe = isTag(elem, tag); } _$jscoverage['/base/selector.js'].lineData[393]++; - if (visit389_393_1(cls)) { + if (visit388_393_1(cls)) { _$jscoverage['/base/selector.js'].lineData[394]++; clsRe = hasSingleClass(elem, cls); } _$jscoverage['/base/selector.js'].lineData[397]++; - return visit390_397_1(clsRe && tagRe); + return visit389_397_1(clsRe && tagRe); }; } else { _$jscoverage['/base/selector.js'].lineData[399]++; - if (visit391_399_1(id && visit392_399_2(!tag && !cls))) { + if (visit390_399_1(id && visit391_399_2(!tag && !cls))) { _$jscoverage['/base/selector.js'].lineData[400]++; filter = function(elem) { _$jscoverage['/base/selector.js'].functionData[27]++; _$jscoverage['/base/selector.js'].lineData[401]++; - return visit393_401_1(getAttr(elem, 'id') === id); + return visit392_401_1(getAttr(elem, 'id') === id); }; } } } _$jscoverage['/base/selector.js'].lineData[406]++; - if (visit394_406_1(typeof filter === 'function')) { + if (visit393_406_1(typeof filter === 'function')) { _$jscoverage['/base/selector.js'].lineData[407]++; ret = S.filter(elems, filter); } else { @@ -1297,7 +1292,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[424]++; var elements = query(selector, context); _$jscoverage['/base/selector.js'].lineData[425]++; - return visit395_425_1(elements.length && (visit396_425_2(Dom.filter(elements, filter, context).length === elements.length))); + return visit394_425_1(elements.length && (visit395_425_2(Dom.filter(elements, filter, context).length === elements.length))); }}); _$jscoverage['/base/selector.js'].lineData[429]++; return Dom; diff --git a/src/dom/sub-modules/base/coverage/src/base/style.js b/src/dom/sub-modules/base/coverage/src/base/style.js index 9baa6bd843..502a8535a5 100644 --- a/src/dom/sub-modules/base/coverage/src/base/style.js +++ b/src/dom/sub-modules/base/coverage/src/base/style.js @@ -720,443 +720,443 @@ if (! _$jscoverage['/base/style.js'].branchData) { _$jscoverage['/base/style.js'].branchData['670'][1] = new BranchData(); } _$jscoverage['/base/style.js'].branchData['670'][1].init(52, 46, 'Dom.css(offsetParent, \'position\') === \'static\''); -function visit506_670_1(result) { +function visit505_670_1(result) { _$jscoverage['/base/style.js'].branchData['670'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['669'][2].init(111, 99, '!ROOT_REG.test(offsetParent.nodeName) && Dom.css(offsetParent, \'position\') === \'static\''); -function visit505_669_2(result) { +function visit504_669_2(result) { _$jscoverage['/base/style.js'].branchData['669'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['669'][1].init(95, 115, 'offsetParent && !ROOT_REG.test(offsetParent.nodeName) && Dom.css(offsetParent, \'position\') === \'static\''); -function visit504_669_1(result) { +function visit503_669_1(result) { _$jscoverage['/base/style.js'].branchData['669'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['668'][2].init(49, 23, 'el.ownerDocument || doc'); -function visit503_668_2(result) { +function visit502_668_2(result) { _$jscoverage['/base/style.js'].branchData['668'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['668'][1].init(28, 50, 'el.offsetParent || (el.ownerDocument || doc).body'); -function visit502_668_1(result) { +function visit501_668_1(result) { _$jscoverage['/base/style.js'].branchData['668'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['657'][1].init(808, 42, 'parseFloat(Dom.css(el, \'marginLeft\')) || 0'); -function visit501_657_1(result) { +function visit500_657_1(result) { _$jscoverage['/base/style.js'].branchData['657'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['656'][1].init(742, 41, 'parseFloat(Dom.css(el, \'marginTop\')) || 0'); -function visit500_656_1(result) { +function visit499_656_1(result) { _$jscoverage['/base/style.js'].branchData['656'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['653'][1].init(438, 57, 'parseFloat(Dom.css(offsetParent, \'borderLeftWidth\')) || 0'); -function visit499_653_1(result) { +function visit498_653_1(result) { _$jscoverage['/base/style.js'].branchData['653'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['652'][1].init(347, 56, 'parseFloat(Dom.css(offsetParent, \'borderTopWidth\')) || 0'); -function visit498_652_1(result) { +function visit497_652_1(result) { _$jscoverage['/base/style.js'].branchData['652'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['643'][1].init(108, 35, 'Dom.css(el, \'position\') === \'fixed\''); -function visit497_643_1(result) { +function visit496_643_1(result) { _$jscoverage['/base/style.js'].branchData['643'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['628'][1].init(28, 41, 'parseFloat(Dom.css(elem, extra + w)) || 0'); -function visit496_628_1(result) { +function visit495_628_1(result) { _$jscoverage['/base/style.js'].branchData['628'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['627'][1].init(235, 18, 'extra === \'margin\''); -function visit495_627_1(result) { +function visit494_627_1(result) { _$jscoverage['/base/style.js'].branchData['627'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['625'][1].init(28, 54, 'parseFloat(Dom.css(elem, \'border\' + w + \'Width\')) || 0'); -function visit494_625_1(result) { +function visit493_625_1(result) { _$jscoverage['/base/style.js'].branchData['625'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['624'][1].init(91, 19, 'extra !== \'padding\''); -function visit493_624_1(result) { +function visit492_624_1(result) { _$jscoverage['/base/style.js'].branchData['624'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['623'][1].init(24, 45, 'parseFloat(Dom.css(elem, \'padding\' + w)) || 0'); -function visit492_623_1(result) { +function visit491_623_1(result) { _$jscoverage['/base/style.js'].branchData['623'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['621'][1].init(1328, 5, 'extra'); -function visit491_621_1(result) { +function visit490_621_1(result) { _$jscoverage['/base/style.js'].branchData['621'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['618'][1].init(1254, 20, 'parseFloat(val) || 0'); -function visit490_618_1(result) { +function visit489_618_1(result) { _$jscoverage['/base/style.js'].branchData['618'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['615'][1].init(19, 23, 'elem.style[name] || 0'); -function visit489_615_1(result) { +function visit488_615_1(result) { _$jscoverage['/base/style.js'].branchData['615'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['614'][3].init(1114, 16, '(Number(val)) < 0'); -function visit488_614_3(result) { +function visit487_614_3(result) { _$jscoverage['/base/style.js'].branchData['614'][3].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['614'][2].init(1097, 12, 'val === null'); -function visit487_614_2(result) { +function visit486_614_2(result) { _$jscoverage['/base/style.js'].branchData['614'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['614'][1].init(1097, 33, 'val === null || (Number(val)) < 0'); -function visit486_614_1(result) { +function visit485_614_1(result) { _$jscoverage['/base/style.js'].branchData['614'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['604'][1].init(32, 54, 'parseFloat(Dom.css(elem, \'border\' + w + \'Width\')) || 0'); -function visit485_604_1(result) { +function visit484_604_1(result) { _$jscoverage['/base/style.js'].branchData['604'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['602'][1].init(32, 41, 'parseFloat(Dom.css(elem, extra + w)) || 0'); -function visit484_602_1(result) { +function visit483_602_1(result) { _$jscoverage['/base/style.js'].branchData['602'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['601'][1].init(159, 18, 'extra === \'margin\''); -function visit483_601_1(result) { +function visit482_601_1(result) { _$jscoverage['/base/style.js'].branchData['601'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['599'][1].init(32, 45, 'parseFloat(Dom.css(elem, \'padding\' + w)) || 0'); -function visit482_599_1(result) { +function visit481_599_1(result) { _$jscoverage['/base/style.js'].branchData['599'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['598'][1].init(25, 6, '!extra'); -function visit481_598_1(result) { +function visit480_598_1(result) { _$jscoverage['/base/style.js'].branchData['598'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['596'][1].init(17, 18, 'extra !== \'border\''); -function visit480_596_1(result) { +function visit479_596_1(result) { _$jscoverage['/base/style.js'].branchData['596'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['595'][1].init(413, 7, 'val > 0'); -function visit479_595_1(result) { +function visit478_595_1(result) { _$jscoverage['/base/style.js'].branchData['595'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['593'][1].init(85, 14, 'name === WIDTH'); -function visit478_593_1(result) { +function visit477_593_1(result) { _$jscoverage['/base/style.js'].branchData['593'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['592'][1].init(271, 14, 'name === WIDTH'); -function visit477_592_1(result) { +function visit476_592_1(result) { _$jscoverage['/base/style.js'].branchData['592'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['590'][1].init(20, 14, 'name === WIDTH'); -function visit476_590_1(result) { +function visit475_590_1(result) { _$jscoverage['/base/style.js'].branchData['590'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['589'][1].init(141, 19, 'elem.nodeType === 9'); -function visit475_589_1(result) { +function visit474_589_1(result) { _$jscoverage['/base/style.js'].branchData['589'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['588'][1].init(20, 14, 'name === WIDTH'); -function visit474_588_1(result) { +function visit473_588_1(result) { _$jscoverage['/base/style.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['587'][1].init(13, 16, 'S.isWindow(elem)'); -function visit473_587_1(result) { +function visit472_587_1(result) { _$jscoverage['/base/style.js'].branchData['587'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['567'][1].init(124, 22, 'elem.offsetWidth !== 0'); -function visit472_567_1(result) { +function visit471_567_1(result) { _$jscoverage['/base/style.js'].branchData['567'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['558'][1].init(326, 17, 'ret === undefined'); -function visit471_558_1(result) { +function visit470_558_1(result) { _$jscoverage['/base/style.js'].branchData['558'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['554'][1].init(33, 42, '(ret = hook.get(elem, false)) !== undefined'); -function visit470_554_1(result) { +function visit469_554_1(result) { _$jscoverage['/base/style.js'].branchData['554'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['553'][3].init(103, 76, '\'get\' in hook && (ret = hook.get(elem, false)) !== undefined'); -function visit469_553_3(result) { +function visit468_553_3(result) { _$jscoverage['/base/style.js'].branchData['553'][3].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['553'][2].init(95, 84, 'hook && \'get\' in hook && (ret = hook.get(elem, false)) !== undefined'); -function visit468_553_2(result) { +function visit467_553_2(result) { _$jscoverage['/base/style.js'].branchData['553'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['553'][1].init(93, 87, '!(hook && \'get\' in hook && (ret = hook.get(elem, false)) !== undefined)'); -function visit467_553_1(result) { +function visit466_553_1(result) { _$jscoverage['/base/style.js'].branchData['553'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['543'][1].init(136, 9, 'UA.webkit'); -function visit466_543_1(result) { +function visit465_543_1(result) { _$jscoverage['/base/style.js'].branchData['543'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['540'][1].init(857, 16, '!elStyle.cssText'); -function visit465_540_1(result) { +function visit464_540_1(result) { _$jscoverage['/base/style.js'].branchData['540'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['536'][2].init(301, 13, 'val === EMPTY'); -function visit464_536_2(result) { +function visit463_536_2(result) { _$jscoverage['/base/style.js'].branchData['536'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['536'][1].init(301, 40, 'val === EMPTY && elStyle.removeAttribute'); -function visit463_536_1(result) { +function visit462_536_1(result) { _$jscoverage['/base/style.js'].branchData['536'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['527'][1].init(393, 17, 'val !== undefined'); -function visit462_527_1(result) { +function visit461_527_1(result) { _$jscoverage['/base/style.js'].branchData['527'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['524'][1].init(300, 16, 'hook && hook.set'); -function visit461_524_1(result) { +function visit460_524_1(result) { _$jscoverage['/base/style.js'].branchData['524'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['521'][1].init(191, 39, '!isNaN(Number(val)) && !cssNumber[name]'); -function visit460_521_1(result) { +function visit459_521_1(result) { _$jscoverage['/base/style.js'].branchData['521'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['517'][3].init(64, 13, 'val === EMPTY'); -function visit459_517_3(result) { +function visit458_517_3(result) { _$jscoverage['/base/style.js'].branchData['517'][3].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['517'][2].init(48, 12, 'val === null'); -function visit458_517_2(result) { +function visit457_517_2(result) { _$jscoverage['/base/style.js'].branchData['517'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['517'][1].init(48, 29, 'val === null || val === EMPTY'); -function visit457_517_1(result) { +function visit456_517_1(result) { _$jscoverage['/base/style.js'].branchData['517'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['515'][1].init(326, 17, 'val !== undefined'); -function visit456_515_1(result) { +function visit455_515_1(result) { _$jscoverage['/base/style.js'].branchData['515'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['513'][1].init(272, 22, 'cssProps[name] || name'); -function visit455_513_1(result) { +function visit454_513_1(result) { _$jscoverage['/base/style.js'].branchData['513'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['508'][2].init(106, 19, 'elem.nodeType === 8'); -function visit454_508_2(result) { +function visit453_508_2(result) { _$jscoverage['/base/style.js'].branchData['508'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['508'][1].init(34, 46, 'elem.nodeType === 8 || !(elStyle = elem.style)'); -function visit453_508_1(result) { +function visit452_508_1(result) { _$jscoverage['/base/style.js'].branchData['508'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['507'][2].init(69, 19, 'elem.nodeType === 3'); -function visit452_507_2(result) { +function visit451_507_2(result) { _$jscoverage['/base/style.js'].branchData['507'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['507'][1].init(69, 81, 'elem.nodeType === 3 || elem.nodeType === 8 || !(elStyle = elem.style)'); -function visit451_507_1(result) { +function visit450_507_1(result) { _$jscoverage['/base/style.js'].branchData['507'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['475'][1].init(501, 37, 'isAutoPosition || NO_PX_REG.test(val)'); -function visit450_475_1(result) { +function visit449_475_1(result) { _$jscoverage['/base/style.js'].branchData['475'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['471'][2].init(321, 23, 'position === \'relative\''); -function visit449_471_2(result) { +function visit448_471_2(result) { _$jscoverage['/base/style.js'].branchData['471'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['471'][1].init(303, 41, 'isAutoPosition && position === \'relative\''); -function visit448_471_1(result) { +function visit447_471_1(result) { _$jscoverage['/base/style.js'].branchData['471'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['470'][1].init(263, 14, 'val === \'auto\''); -function visit447_470_1(result) { +function visit446_470_1(result) { _$jscoverage['/base/style.js'].branchData['470'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['466'][1].init(81, 21, 'position === \'static\''); -function visit446_466_1(result) { +function visit445_466_1(result) { _$jscoverage['/base/style.js'].branchData['466'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['464'][1].init(112, 8, 'computed'); -function visit445_464_1(result) { +function visit444_464_1(result) { _$jscoverage['/base/style.js'].branchData['464'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['448'][1].init(46, 8, 'computed'); -function visit444_448_1(result) { +function visit443_448_1(result) { _$jscoverage['/base/style.js'].branchData['448'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['433'][1].init(69, 3, 'ret'); -function visit443_433_1(result) { +function visit442_433_1(result) { _$jscoverage['/base/style.js'].branchData['433'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['428'][1].init(60, 71, 'el && getWHIgnoreDisplay(el, name, includeMargin ? \'margin\' : \'border\')'); -function visit442_428_1(result) { +function visit441_428_1(result) { _$jscoverage['/base/style.js'].branchData['428'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['423'][1].init(60, 45, 'el && getWHIgnoreDisplay(el, name, \'padding\')'); -function visit441_423_1(result) { +function visit440_423_1(result) { _$jscoverage['/base/style.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['358'][1].init(33, 36, '!S.inArray(getNodeName(e), excludes)'); -function visit440_358_1(result) { +function visit439_358_1(result) { _$jscoverage['/base/style.js'].branchData['358'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['353'][1].init(229, 5, 'UA.ie'); -function visit439_353_1(result) { +function visit438_353_1(result) { _$jscoverage['/base/style.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['351'][1].init(101, 32, 'userSelectProperty !== undefined'); -function visit438_351_1(result) { +function visit437_351_1(result) { _$jscoverage['/base/style.js'].branchData['351'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['348'][1].init(272, 6, 'j >= 0'); -function visit437_348_1(result) { +function visit436_348_1(result) { _$jscoverage['/base/style.js'].branchData['348'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['328'][1].init(746, 15, 'elem.styleSheet'); -function visit436_328_1(result) { +function visit435_328_1(result) { _$jscoverage['/base/style.js'].branchData['328'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['319'][1].init(489, 4, 'elem'); -function visit435_319_1(result) { +function visit434_319_1(result) { _$jscoverage['/base/style.js'].branchData['319'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['314'][1].init(329, 35, 'id && (id = id.replace(\'#\', EMPTY))'); -function visit434_314_1(result) { +function visit433_314_1(result) { _$jscoverage['/base/style.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['304'][1].init(21, 26, 'typeof refWin === \'string\''); -function visit433_304_1(result) { +function visit432_304_1(result) { _$jscoverage['/base/style.js'].branchData['304'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['287'][1].init(60, 31, 'Dom.css(elem, DISPLAY) === NONE'); -function visit432_287_1(result) { +function visit431_287_1(result) { _$jscoverage['/base/style.js'].branchData['287'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['285'][1].init(118, 6, 'i >= 0'); -function visit431_285_1(result) { +function visit430_285_1(result) { _$jscoverage['/base/style.js'].branchData['285'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['270'][1].init(29, 3, 'old'); -function visit430_270_1(result) { +function visit429_270_1(result) { _$jscoverage['/base/style.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['269'][1].init(150, 12, 'old !== NONE'); -function visit429_269_1(result) { +function visit428_269_1(result) { _$jscoverage['/base/style.js'].branchData['269'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['265'][1].init(118, 6, 'i >= 0'); -function visit428_265_1(result) { +function visit427_265_1(result) { _$jscoverage['/base/style.js'].branchData['265'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['249'][1].init(201, 31, 'Dom.css(elem, DISPLAY) === NONE'); -function visit427_249_1(result) { +function visit426_249_1(result) { _$jscoverage['/base/style.js'].branchData['249'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['247'][1].init(78, 36, 'Dom.data(elem, OLD_DISPLAY) || EMPTY'); -function visit426_247_1(result) { +function visit425_247_1(result) { _$jscoverage['/base/style.js'].branchData['247'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['245'][1].init(172, 6, 'i >= 0'); -function visit425_245_1(result) { +function visit424_245_1(result) { _$jscoverage['/base/style.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['229'][1].init(46, 6, 'i >= 0'); -function visit424_229_1(result) { +function visit423_229_1(result) { _$jscoverage['/base/style.js'].branchData['229'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['225'][1].init(482, 26, 'typeof ret === \'undefined\''); -function visit423_225_1(result) { +function visit422_225_1(result) { _$jscoverage['/base/style.js'].branchData['225'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['220'][1].init(45, 41, '(ret = hook.get(elem, true)) !== undefined'); -function visit422_220_1(result) { +function visit421_220_1(result) { _$jscoverage['/base/style.js'].branchData['220'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['219'][3].init(123, 87, '\'get\' in hook && (ret = hook.get(elem, true)) !== undefined'); -function visit421_219_3(result) { +function visit420_219_3(result) { _$jscoverage['/base/style.js'].branchData['219'][3].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['219'][2].init(115, 95, 'hook && \'get\' in hook && (ret = hook.get(elem, true)) !== undefined'); -function visit420_219_2(result) { +function visit419_219_2(result) { _$jscoverage['/base/style.js'].branchData['219'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['219'][1].init(113, 98, '!(hook && \'get\' in hook && (ret = hook.get(elem, true)) !== undefined)'); -function visit419_219_1(result) { +function visit418_219_1(result) { _$jscoverage['/base/style.js'].branchData['219'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['217'][1].init(114, 4, 'elem'); -function visit418_217_1(result) { +function visit417_217_1(result) { _$jscoverage['/base/style.js'].branchData['217'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['214'][1].init(645, 17, 'val === undefined'); -function visit417_214_1(result) { +function visit416_214_1(result) { _$jscoverage['/base/style.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['204'][1].init(50, 6, 'i >= 0'); -function visit416_204_1(result) { +function visit415_204_1(result) { _$jscoverage['/base/style.js'].branchData['204'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['202'][1].init(233, 21, 'S.isPlainObject(name)'); -function visit415_202_1(result) { +function visit414_202_1(result) { _$jscoverage['/base/style.js'].branchData['202'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['178'][1].init(46, 6, 'i >= 0'); -function visit414_178_1(result) { +function visit413_178_1(result) { _$jscoverage['/base/style.js'].branchData['178'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['173'][1].init(55, 4, 'elem'); -function visit413_173_1(result) { +function visit412_173_1(result) { _$jscoverage['/base/style.js'].branchData['173'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['171'][1].init(493, 17, 'val === undefined'); -function visit412_171_1(result) { +function visit411_171_1(result) { _$jscoverage['/base/style.js'].branchData['171'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['165'][1].init(50, 6, 'i >= 0'); -function visit411_165_1(result) { +function visit410_165_1(result) { _$jscoverage['/base/style.js'].branchData['165'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['163'][1].init(187, 21, 'S.isPlainObject(name)'); -function visit410_163_1(result) { +function visit409_163_1(result) { _$jscoverage['/base/style.js'].branchData['163'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['131'][1].init(770, 51, 'Dom._RE_NUM_NO_PX.test(val) && RE_MARGIN.test(name)'); -function visit409_131_1(result) { +function visit408_131_1(result) { _$jscoverage['/base/style.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['126'][2].init(587, 10, 'val === \'\''); -function visit408_126_2(result) { +function visit407_126_2(result) { _$jscoverage['/base/style.js'].branchData['126'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['126'][1].init(587, 36, 'val === \'\' && !Dom.contains(d, elem)'); -function visit407_126_1(result) { +function visit406_126_1(result) { _$jscoverage['/base/style.js'].branchData['126'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['122'][1].init(27, 59, 'computedStyle.getPropertyValue(name) || computedStyle[name]'); -function visit406_122_1(result) { +function visit405_122_1(result) { _$jscoverage['/base/style.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['118'][1].init(248, 22, 'cssProps[name] || name'); -function visit405_118_1(result) { +function visit404_118_1(result) { _$jscoverage['/base/style.js'].branchData['118'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['84'][1].init(20, 31, 'doc.body || doc.documentElement'); -function visit404_84_1(result) { +function visit403_84_1(result) { _$jscoverage['/base/style.js'].branchData['84'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['83'][1].init(101, 26, '!defaultDisplay[tagName]'); -function visit403_83_1(result) { +function visit402_83_1(result) { _$jscoverage['/base/style.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['66'][1].init(1626, 32, 'Features.isTransitionSupported()'); -function visit402_66_1(result) { +function visit401_66_1(result) { _$jscoverage['/base/style.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['60'][1].init(1422, 31, 'Features.isTransformSupported()'); -function visit401_60_1(result) { +function visit400_60_1(result) { _$jscoverage['/base/style.js'].branchData['60'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['54'][2].init(79, 32, 'userSelectProperty === undefined'); -function visit400_54_2(result) { +function visit399_54_2(result) { _$jscoverage['/base/style.js'].branchData['54'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['54'][1].init(79, 82, 'userSelectProperty === undefined && userSelect in documentElementStyle'); -function visit399_54_1(result) { +function visit398_54_1(result) { _$jscoverage['/base/style.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['49'][2].init(1080, 32, 'doc && doc.documentElement.style'); -function visit398_49_2(result) { +function visit397_49_2(result) { _$jscoverage['/base/style.js'].branchData['49'][2].ranCondition(result); return result; }_$jscoverage['/base/style.js'].branchData['49'][1].init(1080, 38, 'doc && doc.documentElement.style || {}'); -function visit397_49_1(result) { +function visit396_49_1(result) { _$jscoverage['/base/style.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/base/style.js'].lineData[6]++; @@ -1180,7 +1180,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[41]++; var VENDORS = ['', 'Webkit', 'Moz', 'O', 'ms']; _$jscoverage['/base/style.js'].lineData[49]++; - var documentElementStyle = visit397_49_1(visit398_49_2(doc && doc.documentElement.style) || {}); + var documentElementStyle = visit396_49_1(visit397_49_2(doc && doc.documentElement.style) || {}); _$jscoverage['/base/style.js'].lineData[51]++; var userSelectProperty; _$jscoverage['/base/style.js'].lineData[52]++; @@ -1189,13 +1189,13 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[53]++; var userSelect = val ? val + 'UserSelect' : 'userSelect'; _$jscoverage['/base/style.js'].lineData[54]++; - if (visit399_54_1(visit400_54_2(userSelectProperty === undefined) && userSelect in documentElementStyle)) { + if (visit398_54_1(visit399_54_2(userSelectProperty === undefined) && userSelect in documentElementStyle)) { _$jscoverage['/base/style.js'].lineData[56]++; userSelectProperty = userSelect; } }); _$jscoverage['/base/style.js'].lineData[60]++; - if (visit401_60_1(Features.isTransformSupported())) { + if (visit400_60_1(Features.isTransformSupported())) { _$jscoverage['/base/style.js'].lineData[61]++; var transform; _$jscoverage['/base/style.js'].lineData[62]++; @@ -1204,7 +1204,7 @@ KISSY.add(function(S, require) { cssProps.transformOrigin = transform + 'Origin'; } _$jscoverage['/base/style.js'].lineData[66]++; - if (visit402_66_1(Features.isTransitionSupported())) { + if (visit401_66_1(Features.isTransitionSupported())) { _$jscoverage['/base/style.js'].lineData[67]++; cssProps.transition = Features.getTransitionProperty(); } @@ -1226,9 +1226,9 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[80]++; var body, oldDisplay = defaultDisplay[tagName], elem; _$jscoverage['/base/style.js'].lineData[83]++; - if (visit403_83_1(!defaultDisplay[tagName])) { + if (visit402_83_1(!defaultDisplay[tagName])) { _$jscoverage['/base/style.js'].lineData[84]++; - body = visit404_84_1(doc.body || doc.documentElement); + body = visit403_84_1(doc.body || doc.documentElement); _$jscoverage['/base/style.js'].lineData[85]++; elem = doc.createElement(tagName); _$jscoverage['/base/style.js'].lineData[87]++; @@ -1253,19 +1253,19 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[110]++; var val = '', computedStyle, width, minWidth, maxWidth, style, d = elem.ownerDocument; _$jscoverage['/base/style.js'].lineData[118]++; - name = visit405_118_1(cssProps[name] || name); + name = visit404_118_1(cssProps[name] || name); _$jscoverage['/base/style.js'].lineData[121]++; if ((computedStyle = d.defaultView.getComputedStyle(elem, null))) { _$jscoverage['/base/style.js'].lineData[122]++; - val = visit406_122_1(computedStyle.getPropertyValue(name) || computedStyle[name]); + val = visit405_122_1(computedStyle.getPropertyValue(name) || computedStyle[name]); } _$jscoverage['/base/style.js'].lineData[126]++; - if (visit407_126_1(visit408_126_2(val === '') && !Dom.contains(d, elem))) { + if (visit406_126_1(visit407_126_2(val === '') && !Dom.contains(d, elem))) { _$jscoverage['/base/style.js'].lineData[127]++; val = elem.style[name]; } _$jscoverage['/base/style.js'].lineData[131]++; - if (visit409_131_1(Dom._RE_NUM_NO_PX.test(val) && RE_MARGIN.test(name))) { + if (visit408_131_1(Dom._RE_NUM_NO_PX.test(val) && RE_MARGIN.test(name))) { _$jscoverage['/base/style.js'].lineData[132]++; style = elem.style; _$jscoverage['/base/style.js'].lineData[133]++; @@ -1293,11 +1293,11 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[158]++; var els = Dom.query(selector), k, ret, elem = els[0], i; _$jscoverage['/base/style.js'].lineData[163]++; - if (visit410_163_1(S.isPlainObject(name))) { + if (visit409_163_1(S.isPlainObject(name))) { _$jscoverage['/base/style.js'].lineData[164]++; for (k in name) { _$jscoverage['/base/style.js'].lineData[165]++; - for (i = els.length - 1; visit411_165_1(i >= 0); i--) { + for (i = els.length - 1; visit410_165_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[166]++; style(els[i], k, name[k]); } @@ -1306,11 +1306,11 @@ KISSY.add(function(S, require) { return undefined; } _$jscoverage['/base/style.js'].lineData[171]++; - if (visit412_171_1(val === undefined)) { + if (visit411_171_1(val === undefined)) { _$jscoverage['/base/style.js'].lineData[172]++; ret = ''; _$jscoverage['/base/style.js'].lineData[173]++; - if (visit413_173_1(elem)) { + if (visit412_173_1(elem)) { _$jscoverage['/base/style.js'].lineData[174]++; ret = style(elem, name, val); } @@ -1318,7 +1318,7 @@ KISSY.add(function(S, require) { return ret; } else { _$jscoverage['/base/style.js'].lineData[178]++; - for (i = els.length - 1; visit414_178_1(i >= 0); i--) { + for (i = els.length - 1; visit413_178_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[179]++; style(els[i], name, val); } @@ -1331,11 +1331,11 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[195]++; var els = Dom.query(selector), elem = els[0], k, hook, ret, i; _$jscoverage['/base/style.js'].lineData[202]++; - if (visit415_202_1(S.isPlainObject(name))) { + if (visit414_202_1(S.isPlainObject(name))) { _$jscoverage['/base/style.js'].lineData[203]++; for (k in name) { _$jscoverage['/base/style.js'].lineData[204]++; - for (i = els.length - 1; visit416_204_1(i >= 0); i--) { + for (i = els.length - 1; visit415_204_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[205]++; style(els[i], k, name[k]); } @@ -1348,22 +1348,22 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[212]++; hook = cssHooks[name]; _$jscoverage['/base/style.js'].lineData[214]++; - if (visit417_214_1(val === undefined)) { + if (visit416_214_1(val === undefined)) { _$jscoverage['/base/style.js'].lineData[216]++; ret = ''; _$jscoverage['/base/style.js'].lineData[217]++; - if (visit418_217_1(elem)) { + if (visit417_217_1(elem)) { _$jscoverage['/base/style.js'].lineData[219]++; - if (visit419_219_1(!(visit420_219_2(hook && visit421_219_3('get' in hook && visit422_220_1((ret = hook.get(elem, true)) !== undefined)))))) { + if (visit418_219_1(!(visit419_219_2(hook && visit420_219_3('get' in hook && visit421_220_1((ret = hook.get(elem, true)) !== undefined)))))) { _$jscoverage['/base/style.js'].lineData[222]++; ret = Dom._getComputedStyle(elem, name); } } _$jscoverage['/base/style.js'].lineData[225]++; - return (visit423_225_1(typeof ret === 'undefined')) ? '' : ret; + return (visit422_225_1(typeof ret === 'undefined')) ? '' : ret; } else { _$jscoverage['/base/style.js'].lineData[229]++; - for (i = els.length - 1; visit424_229_1(i >= 0); i--) { + for (i = els.length - 1; visit423_229_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[230]++; style(els[i], name, val); } @@ -1376,13 +1376,13 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[241]++; var els = Dom.query(selector), tagName, old, elem, i; _$jscoverage['/base/style.js'].lineData[245]++; - for (i = els.length - 1; visit425_245_1(i >= 0); i--) { + for (i = els.length - 1; visit424_245_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[246]++; elem = els[i]; _$jscoverage['/base/style.js'].lineData[247]++; - elem.style[DISPLAY] = visit426_247_1(Dom.data(elem, OLD_DISPLAY) || EMPTY); + elem.style[DISPLAY] = visit425_247_1(Dom.data(elem, OLD_DISPLAY) || EMPTY); _$jscoverage['/base/style.js'].lineData[249]++; - if (visit427_249_1(Dom.css(elem, DISPLAY) === NONE)) { + if (visit426_249_1(Dom.css(elem, DISPLAY) === NONE)) { _$jscoverage['/base/style.js'].lineData[250]++; tagName = elem.tagName.toLowerCase(); _$jscoverage['/base/style.js'].lineData[251]++; @@ -1399,15 +1399,15 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[263]++; var els = Dom.query(selector), elem, i; _$jscoverage['/base/style.js'].lineData[265]++; - for (i = els.length - 1; visit428_265_1(i >= 0); i--) { + for (i = els.length - 1; visit427_265_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[266]++; elem = els[i]; _$jscoverage['/base/style.js'].lineData[267]++; var style = elem.style, old = style[DISPLAY]; _$jscoverage['/base/style.js'].lineData[269]++; - if (visit429_269_1(old !== NONE)) { + if (visit428_269_1(old !== NONE)) { _$jscoverage['/base/style.js'].lineData[270]++; - if (visit430_270_1(old)) { + if (visit429_270_1(old)) { _$jscoverage['/base/style.js'].lineData[271]++; Dom.data(elem, OLD_DISPLAY, old); } @@ -1421,11 +1421,11 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[283]++; var els = Dom.query(selector), elem, i; _$jscoverage['/base/style.js'].lineData[285]++; - for (i = els.length - 1; visit431_285_1(i >= 0); i--) { + for (i = els.length - 1; visit430_285_1(i >= 0); i--) { _$jscoverage['/base/style.js'].lineData[286]++; elem = els[i]; _$jscoverage['/base/style.js'].lineData[287]++; - if (visit432_287_1(Dom.css(elem, DISPLAY) === NONE)) { + if (visit431_287_1(Dom.css(elem, DISPLAY) === NONE)) { _$jscoverage['/base/style.js'].lineData[288]++; Dom.show(elem); } else { @@ -1437,7 +1437,7 @@ KISSY.add(function(S, require) { addStyleSheet: function(refWin, cssText, id) { _$jscoverage['/base/style.js'].functionData[11]++; _$jscoverage['/base/style.js'].lineData[304]++; - if (visit433_304_1(typeof refWin === 'string')) { + if (visit432_304_1(typeof refWin === 'string')) { _$jscoverage['/base/style.js'].lineData[305]++; id = cssText; _$jscoverage['/base/style.js'].lineData[306]++; @@ -1448,12 +1448,12 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[311]++; var doc = Dom.getDocument(refWin), elem; _$jscoverage['/base/style.js'].lineData[314]++; - if (visit434_314_1(id && (id = id.replace('#', EMPTY)))) { + if (visit433_314_1(id && (id = id.replace('#', EMPTY)))) { _$jscoverage['/base/style.js'].lineData[315]++; elem = Dom.get('#' + id, doc); } _$jscoverage['/base/style.js'].lineData[319]++; - if (visit435_319_1(elem)) { + if (visit434_319_1(elem)) { _$jscoverage['/base/style.js'].lineData[320]++; return; } @@ -1463,7 +1463,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[326]++; Dom.get('head', doc).appendChild(elem); _$jscoverage['/base/style.js'].lineData[328]++; - if (visit436_328_1(elem.styleSheet)) { + if (visit435_328_1(elem.styleSheet)) { _$jscoverage['/base/style.js'].lineData[329]++; elem.styleSheet.cssText = cssText; } else { @@ -1476,18 +1476,18 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[340]++; var _els = Dom.query(selector), elem, j, e, i = 0, excludes, style, els; _$jscoverage['/base/style.js'].lineData[348]++; - for (j = _els.length - 1; visit437_348_1(j >= 0); j--) { + for (j = _els.length - 1; visit436_348_1(j >= 0); j--) { _$jscoverage['/base/style.js'].lineData[349]++; elem = _els[j]; _$jscoverage['/base/style.js'].lineData[350]++; style = elem.style; _$jscoverage['/base/style.js'].lineData[351]++; - if (visit438_351_1(userSelectProperty !== undefined)) { + if (visit437_351_1(userSelectProperty !== undefined)) { _$jscoverage['/base/style.js'].lineData[352]++; style[userSelectProperty] = 'none'; } else { _$jscoverage['/base/style.js'].lineData[353]++; - if (visit439_353_1(UA.ie)) { + if (visit438_353_1(UA.ie)) { _$jscoverage['/base/style.js'].lineData[354]++; els = elem.getElementsByTagName('*'); _$jscoverage['/base/style.js'].lineData[355]++; @@ -1497,7 +1497,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[357]++; while ((e = els[i++])) { _$jscoverage['/base/style.js'].lineData[358]++; - if (visit440_358_1(!S.inArray(getNodeName(e), excludes))) { + if (visit439_358_1(!S.inArray(getNodeName(e), excludes))) { _$jscoverage['/base/style.js'].lineData[359]++; e.setAttribute('unselectable', 'on'); } @@ -1521,7 +1521,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[422]++; var el = Dom.get(selector); _$jscoverage['/base/style.js'].lineData[423]++; - return visit441_423_1(el && getWHIgnoreDisplay(el, name, 'padding')); + return visit440_423_1(el && getWHIgnoreDisplay(el, name, 'padding')); }; _$jscoverage['/base/style.js'].lineData[426]++; Dom['outer' + S.ucfirst(name)] = function(selector, includeMargin) { @@ -1529,7 +1529,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[427]++; var el = Dom.get(selector); _$jscoverage['/base/style.js'].lineData[428]++; - return visit442_428_1(el && getWHIgnoreDisplay(el, name, includeMargin ? 'margin' : 'border')); + return visit441_428_1(el && getWHIgnoreDisplay(el, name, includeMargin ? 'margin' : 'border')); }; _$jscoverage['/base/style.js'].lineData[431]++; Dom[name] = function(selector, val) { @@ -1537,7 +1537,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[432]++; var ret = Dom.css(selector, name, val); _$jscoverage['/base/style.js'].lineData[433]++; - if (visit443_433_1(ret)) { + if (visit442_433_1(ret)) { _$jscoverage['/base/style.js'].lineData[434]++; ret = parseFloat(ret); } @@ -1551,7 +1551,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[447]++; var val; _$jscoverage['/base/style.js'].lineData[448]++; - if (visit444_448_1(computed)) { + if (visit443_448_1(computed)) { _$jscoverage['/base/style.js'].lineData[449]++; val = getWHIgnoreDisplay(elem, name) + 'px'; } @@ -1574,25 +1574,25 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[461]++; var val, isAutoPosition, position; _$jscoverage['/base/style.js'].lineData[464]++; - if (visit445_464_1(computed)) { + if (visit444_464_1(computed)) { _$jscoverage['/base/style.js'].lineData[465]++; position = Dom.css(el, 'position'); _$jscoverage['/base/style.js'].lineData[466]++; - if (visit446_466_1(position === 'static')) { + if (visit445_466_1(position === 'static')) { _$jscoverage['/base/style.js'].lineData[467]++; return 'auto'; } _$jscoverage['/base/style.js'].lineData[469]++; val = Dom._getComputedStyle(el, name); _$jscoverage['/base/style.js'].lineData[470]++; - isAutoPosition = visit447_470_1(val === 'auto'); + isAutoPosition = visit446_470_1(val === 'auto'); _$jscoverage['/base/style.js'].lineData[471]++; - if (visit448_471_1(isAutoPosition && visit449_471_2(position === 'relative'))) { + if (visit447_471_1(isAutoPosition && visit448_471_2(position === 'relative'))) { _$jscoverage['/base/style.js'].lineData[472]++; return '0px'; } _$jscoverage['/base/style.js'].lineData[475]++; - if (visit450_475_1(isAutoPosition || NO_PX_REG.test(val))) { + if (visit449_475_1(isAutoPosition || NO_PX_REG.test(val))) { _$jscoverage['/base/style.js'].lineData[476]++; val = getPosition(el)[name] + 'px'; } @@ -1627,7 +1627,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[504]++; var elStyle, ret, hook; _$jscoverage['/base/style.js'].lineData[507]++; - if (visit451_507_1(visit452_507_2(elem.nodeType === 3) || visit453_508_1(visit454_508_2(elem.nodeType === 8) || !(elStyle = elem.style)))) { + if (visit450_507_1(visit451_507_2(elem.nodeType === 3) || visit452_508_1(visit453_508_2(elem.nodeType === 8) || !(elStyle = elem.style)))) { _$jscoverage['/base/style.js'].lineData[509]++; return undefined; } @@ -1636,27 +1636,27 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[512]++; hook = cssHooks[name]; _$jscoverage['/base/style.js'].lineData[513]++; - name = visit455_513_1(cssProps[name] || name); + name = visit454_513_1(cssProps[name] || name); _$jscoverage['/base/style.js'].lineData[515]++; - if (visit456_515_1(val !== undefined)) { + if (visit455_515_1(val !== undefined)) { _$jscoverage['/base/style.js'].lineData[517]++; - if (visit457_517_1(visit458_517_2(val === null) || visit459_517_3(val === EMPTY))) { + if (visit456_517_1(visit457_517_2(val === null) || visit458_517_3(val === EMPTY))) { _$jscoverage['/base/style.js'].lineData[518]++; val = EMPTY; } else { _$jscoverage['/base/style.js'].lineData[521]++; - if (visit460_521_1(!isNaN(Number(val)) && !cssNumber[name])) { + if (visit459_521_1(!isNaN(Number(val)) && !cssNumber[name])) { _$jscoverage['/base/style.js'].lineData[522]++; val += DEFAULT_UNIT; } } _$jscoverage['/base/style.js'].lineData[524]++; - if (visit461_524_1(hook && hook.set)) { + if (visit460_524_1(hook && hook.set)) { _$jscoverage['/base/style.js'].lineData[525]++; val = hook.set(elem, val); } _$jscoverage['/base/style.js'].lineData[527]++; - if (visit462_527_1(val !== undefined)) { + if (visit461_527_1(val !== undefined)) { _$jscoverage['/base/style.js'].lineData[529]++; try { _$jscoverage['/base/style.js'].lineData[531]++; @@ -1666,15 +1666,15 @@ KISSY.add(function(S, require) { logger.warn('css set error:' + e); } _$jscoverage['/base/style.js'].lineData[536]++; - if (visit463_536_1(visit464_536_2(val === EMPTY) && elStyle.removeAttribute)) { + if (visit462_536_1(visit463_536_2(val === EMPTY) && elStyle.removeAttribute)) { _$jscoverage['/base/style.js'].lineData[537]++; elStyle.removeAttribute(name); } } _$jscoverage['/base/style.js'].lineData[540]++; - if (visit465_540_1(!elStyle.cssText)) { + if (visit464_540_1(!elStyle.cssText)) { _$jscoverage['/base/style.js'].lineData[543]++; - if (visit466_543_1(UA.webkit)) { + if (visit465_543_1(UA.webkit)) { _$jscoverage['/base/style.js'].lineData[544]++; elStyle = elem.outerHTML; } @@ -1685,12 +1685,12 @@ KISSY.add(function(S, require) { return undefined; } else { _$jscoverage['/base/style.js'].lineData[553]++; - if (visit467_553_1(!(visit468_553_2(hook && visit469_553_3('get' in hook && visit470_554_1((ret = hook.get(elem, false)) !== undefined)))))) { + if (visit466_553_1(!(visit467_553_2(hook && visit468_553_3('get' in hook && visit469_554_1((ret = hook.get(elem, false)) !== undefined)))))) { _$jscoverage['/base/style.js'].lineData[556]++; ret = elStyle[name]; } _$jscoverage['/base/style.js'].lineData[558]++; - return visit471_558_1(ret === undefined) ? '' : ret; + return visit470_558_1(ret === undefined) ? '' : ret; } } _$jscoverage['/base/style.js'].lineData[563]++; @@ -1699,7 +1699,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[564]++; var val, args = arguments; _$jscoverage['/base/style.js'].lineData[567]++; - if (visit472_567_1(elem.offsetWidth !== 0)) { + if (visit471_567_1(elem.offsetWidth !== 0)) { _$jscoverage['/base/style.js'].lineData[568]++; val = getWH.apply(undefined, args); } else { @@ -1717,37 +1717,37 @@ KISSY.add(function(S, require) { function getWH(elem, name, extra) { _$jscoverage['/base/style.js'].functionData[24]++; _$jscoverage['/base/style.js'].lineData[587]++; - if (visit473_587_1(S.isWindow(elem))) { + if (visit472_587_1(S.isWindow(elem))) { _$jscoverage['/base/style.js'].lineData[588]++; - return visit474_588_1(name === WIDTH) ? Dom.viewportWidth(elem) : Dom.viewportHeight(elem); + return visit473_588_1(name === WIDTH) ? Dom.viewportWidth(elem) : Dom.viewportHeight(elem); } else { _$jscoverage['/base/style.js'].lineData[589]++; - if (visit475_589_1(elem.nodeType === 9)) { + if (visit474_589_1(elem.nodeType === 9)) { _$jscoverage['/base/style.js'].lineData[590]++; - return visit476_590_1(name === WIDTH) ? Dom.docWidth(elem) : Dom.docHeight(elem); + return visit475_590_1(name === WIDTH) ? Dom.docWidth(elem) : Dom.docHeight(elem); } } _$jscoverage['/base/style.js'].lineData[592]++; - var which = visit477_592_1(name === WIDTH) ? ['Left', 'Right'] : ['Top', 'Bottom'], val = visit478_593_1(name === WIDTH) ? elem.offsetWidth : elem.offsetHeight; + var which = visit476_592_1(name === WIDTH) ? ['Left', 'Right'] : ['Top', 'Bottom'], val = visit477_593_1(name === WIDTH) ? elem.offsetWidth : elem.offsetHeight; _$jscoverage['/base/style.js'].lineData[595]++; - if (visit479_595_1(val > 0)) { + if (visit478_595_1(val > 0)) { _$jscoverage['/base/style.js'].lineData[596]++; - if (visit480_596_1(extra !== 'border')) { + if (visit479_596_1(extra !== 'border')) { _$jscoverage['/base/style.js'].lineData[597]++; S.each(which, function(w) { _$jscoverage['/base/style.js'].functionData[25]++; _$jscoverage['/base/style.js'].lineData[598]++; - if (visit481_598_1(!extra)) { + if (visit480_598_1(!extra)) { _$jscoverage['/base/style.js'].lineData[599]++; - val -= visit482_599_1(parseFloat(Dom.css(elem, 'padding' + w)) || 0); + val -= visit481_599_1(parseFloat(Dom.css(elem, 'padding' + w)) || 0); } _$jscoverage['/base/style.js'].lineData[601]++; - if (visit483_601_1(extra === 'margin')) { + if (visit482_601_1(extra === 'margin')) { _$jscoverage['/base/style.js'].lineData[602]++; - val += visit484_602_1(parseFloat(Dom.css(elem, extra + w)) || 0); + val += visit483_602_1(parseFloat(Dom.css(elem, extra + w)) || 0); } else { _$jscoverage['/base/style.js'].lineData[604]++; - val -= visit485_604_1(parseFloat(Dom.css(elem, 'border' + w + 'Width')) || 0); + val -= visit484_604_1(parseFloat(Dom.css(elem, 'border' + w + 'Width')) || 0); } }); } @@ -1757,28 +1757,28 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[613]++; val = Dom._getComputedStyle(elem, name); _$jscoverage['/base/style.js'].lineData[614]++; - if (visit486_614_1(visit487_614_2(val === null) || visit488_614_3((Number(val)) < 0))) { + if (visit485_614_1(visit486_614_2(val === null) || visit487_614_3((Number(val)) < 0))) { _$jscoverage['/base/style.js'].lineData[615]++; - val = visit489_615_1(elem.style[name] || 0); + val = visit488_615_1(elem.style[name] || 0); } _$jscoverage['/base/style.js'].lineData[618]++; - val = visit490_618_1(parseFloat(val) || 0); + val = visit489_618_1(parseFloat(val) || 0); _$jscoverage['/base/style.js'].lineData[621]++; - if (visit491_621_1(extra)) { + if (visit490_621_1(extra)) { _$jscoverage['/base/style.js'].lineData[622]++; S.each(which, function(w) { _$jscoverage['/base/style.js'].functionData[26]++; _$jscoverage['/base/style.js'].lineData[623]++; - val += visit492_623_1(parseFloat(Dom.css(elem, 'padding' + w)) || 0); + val += visit491_623_1(parseFloat(Dom.css(elem, 'padding' + w)) || 0); _$jscoverage['/base/style.js'].lineData[624]++; - if (visit493_624_1(extra !== 'padding')) { + if (visit492_624_1(extra !== 'padding')) { _$jscoverage['/base/style.js'].lineData[625]++; - val += visit494_625_1(parseFloat(Dom.css(elem, 'border' + w + 'Width')) || 0); + val += visit493_625_1(parseFloat(Dom.css(elem, 'border' + w + 'Width')) || 0); } _$jscoverage['/base/style.js'].lineData[627]++; - if (visit495_627_1(extra === 'margin')) { + if (visit494_627_1(extra === 'margin')) { _$jscoverage['/base/style.js'].lineData[628]++; - val += visit496_628_1(parseFloat(Dom.css(elem, extra + w)) || 0); + val += visit495_628_1(parseFloat(Dom.css(elem, extra + w)) || 0); } }); } @@ -1795,7 +1795,7 @@ KISSY.add(function(S, require) { top: 0, left: 0}; _$jscoverage['/base/style.js'].lineData[643]++; - if (visit497_643_1(Dom.css(el, 'position') === 'fixed')) { + if (visit496_643_1(Dom.css(el, 'position') === 'fixed')) { _$jscoverage['/base/style.js'].lineData[644]++; offset = el.getBoundingClientRect(); } else { @@ -1806,14 +1806,14 @@ KISSY.add(function(S, require) { _$jscoverage['/base/style.js'].lineData[651]++; parentOffset = Dom.offset(offsetParent); _$jscoverage['/base/style.js'].lineData[652]++; - parentOffset.top += visit498_652_1(parseFloat(Dom.css(offsetParent, 'borderTopWidth')) || 0); + parentOffset.top += visit497_652_1(parseFloat(Dom.css(offsetParent, 'borderTopWidth')) || 0); _$jscoverage['/base/style.js'].lineData[653]++; - parentOffset.left += visit499_653_1(parseFloat(Dom.css(offsetParent, 'borderLeftWidth')) || 0); + parentOffset.left += visit498_653_1(parseFloat(Dom.css(offsetParent, 'borderLeftWidth')) || 0); } _$jscoverage['/base/style.js'].lineData[656]++; - offset.top -= visit500_656_1(parseFloat(Dom.css(el, 'marginTop')) || 0); + offset.top -= visit499_656_1(parseFloat(Dom.css(el, 'marginTop')) || 0); _$jscoverage['/base/style.js'].lineData[657]++; - offset.left -= visit501_657_1(parseFloat(Dom.css(el, 'marginLeft')) || 0); + offset.left -= visit500_657_1(parseFloat(Dom.css(el, 'marginLeft')) || 0); _$jscoverage['/base/style.js'].lineData[661]++; return { top: offset.top - parentOffset.top, @@ -1823,9 +1823,9 @@ KISSY.add(function(S, require) { function getOffsetParent(el) { _$jscoverage['/base/style.js'].functionData[28]++; _$jscoverage['/base/style.js'].lineData[668]++; - var offsetParent = visit502_668_1(el.offsetParent || (visit503_668_2(el.ownerDocument || doc)).body); + var offsetParent = visit501_668_1(el.offsetParent || (visit502_668_2(el.ownerDocument || doc)).body); _$jscoverage['/base/style.js'].lineData[669]++; - while (visit504_669_1(offsetParent && visit505_669_2(!ROOT_REG.test(offsetParent.nodeName) && visit506_670_1(Dom.css(offsetParent, 'position') === 'static')))) { + while (visit503_669_1(offsetParent && visit504_669_2(!ROOT_REG.test(offsetParent.nodeName) && visit505_670_1(Dom.css(offsetParent, 'position') === 'static')))) { _$jscoverage['/base/style.js'].lineData[671]++; offsetParent = offsetParent.offsetParent; } diff --git a/src/dom/sub-modules/base/coverage/src/base/traversal.js b/src/dom/sub-modules/base/coverage/src/base/traversal.js index 26c673e453..ccc8e56959 100644 --- a/src/dom/sub-modules/base/coverage/src/base/traversal.js +++ b/src/dom/sub-modules/base/coverage/src/base/traversal.js @@ -444,187 +444,187 @@ if (! _$jscoverage['/base/traversal.js'].branchData) { _$jscoverage['/base/traversal.js'].branchData['307'][1] = new BranchData(); } _$jscoverage['/base/traversal.js'].branchData['307'][1].init(397, 6, 'filter'); -function visit552_307_1(result) { +function visit551_307_1(result) { _$jscoverage['/base/traversal.js'].branchData['307'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['302'][1].init(173, 11, 'el === elem'); -function visit551_302_1(result) { +function visit550_302_1(result) { _$jscoverage['/base/traversal.js'].branchData['302'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['299'][2].init(64, 37, 'el.nodeType !== NodeType.ELEMENT_NODE'); -function visit550_299_2(result) { +function visit549_299_2(result) { _$jscoverage['/base/traversal.js'].branchData['299'][2].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['299'][1].init(50, 51, '!allowText && el.nodeType !== NodeType.ELEMENT_NODE'); -function visit549_299_1(result) { +function visit548_299_1(result) { _$jscoverage['/base/traversal.js'].branchData['299'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['297'][1].init(79, 14, 'i < tmp.length'); -function visit548_297_1(result) { +function visit547_297_1(result) { _$jscoverage['/base/traversal.js'].branchData['297'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['295'][1].init(236, 10, 'parentNode'); -function visit547_295_1(result) { +function visit546_295_1(result) { _$jscoverage['/base/traversal.js'].branchData['295'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['291'][1].init(153, 14, 'elem && parent'); -function visit546_291_1(result) { +function visit545_291_1(result) { _$jscoverage['/base/traversal.js'].branchData['291'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['276'][1].init(367, 22, 'Dom.test(elem, filter)'); -function visit545_276_1(result) { +function visit544_276_1(result) { _$jscoverage['/base/traversal.js'].branchData['276'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['272'][1].init(21, 25, 'Dom.test(elem, filter[i])'); -function visit544_272_1(result) { +function visit543_272_1(result) { _$jscoverage['/base/traversal.js'].branchData['272'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['271'][1].init(128, 5, 'i < l'); -function visit543_271_1(result) { +function visit542_271_1(result) { _$jscoverage['/base/traversal.js'].branchData['271'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['268'][1].init(55, 2, '!l'); -function visit542_268_1(result) { +function visit541_268_1(result) { _$jscoverage['/base/traversal.js'].branchData['268'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['266'][1].init(71, 17, 'S.isArray(filter)'); -function visit541_266_1(result) { +function visit540_266_1(result) { _$jscoverage['/base/traversal.js'].branchData['266'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['263'][1].init(13, 7, '!filter'); -function visit540_263_1(result) { +function visit539_263_1(result) { _$jscoverage['/base/traversal.js'].branchData['263'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['259'][1].init(1283, 14, 'ret[0] || null'); -function visit539_259_1(result) { +function visit538_259_1(result) { _$jscoverage['/base/traversal.js'].branchData['259'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['252'][1].init(53, 8, '!isArray'); -function visit538_252_1(result) { +function visit537_252_1(result) { _$jscoverage['/base/traversal.js'].branchData['252'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['250'][1].init(44, 33, '!extraFilter || extraFilter(elem)'); -function visit537_250_1(result) { +function visit536_250_1(result) { _$jscoverage['/base/traversal.js'].branchData['250'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['249'][1].init(153, 79, 'testFilter(elem, filter) && (!extraFilter || extraFilter(elem))'); -function visit536_249_1(result) { +function visit535_249_1(result) { _$jscoverage['/base/traversal.js'].branchData['249'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['247'][2].init(64, 36, 'elem.nodeType === NodeType.TEXT_NODE'); -function visit535_247_2(result) { +function visit534_247_2(result) { _$jscoverage['/base/traversal.js'].branchData['247'][2].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['247'][1].init(62, 53, 'elem.nodeType === NodeType.TEXT_NODE && allowTextNode'); -function visit534_247_1(result) { +function visit533_247_1(result) { _$jscoverage['/base/traversal.js'].branchData['247'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['246'][2].init(0, 39, 'elem.nodeType === NodeType.ELEMENT_NODE'); -function visit533_246_2(result) { +function visit532_246_2(result) { _$jscoverage['/base/traversal.js'].branchData['246'][2].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['246'][1].init(-1, 116, 'elem.nodeType === NodeType.ELEMENT_NODE || elem.nodeType === NodeType.TEXT_NODE && allowTextNode'); -function visit532_246_1(result) { +function visit531_246_1(result) { _$jscoverage['/base/traversal.js'].branchData['246'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['245'][1].init(35, 233, '(elem.nodeType === NodeType.ELEMENT_NODE || elem.nodeType === NodeType.TEXT_NODE && allowTextNode) && testFilter(elem, filter) && (!extraFilter || extraFilter(elem))'); -function visit531_245_1(result) { +function visit530_245_1(result) { _$jscoverage['/base/traversal.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['244'][2].init(791, 16, 'elem !== context'); -function visit530_244_2(result) { +function visit529_244_2(result) { _$jscoverage['/base/traversal.js'].branchData['244'][2].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['244'][1].init(783, 24, 'elem && elem !== context'); -function visit529_244_1(result) { +function visit528_244_1(result) { _$jscoverage['/base/traversal.js'].branchData['244'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['239'][1].init(24, 21, '++fi === filterLength'); -function visit528_239_1(result) { +function visit527_239_1(result) { _$jscoverage['/base/traversal.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['235'][1].init(534, 24, 'typeof filter === \'number\''); -function visit527_235_1(result) { +function visit526_235_1(result) { _$jscoverage['/base/traversal.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['226'][1].init(337, 20, 'filter === undefined'); -function visit526_226_1(result) { +function visit525_226_1(result) { _$jscoverage['/base/traversal.js'].branchData['226'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['224'][2].init(286, 27, 'context && Dom.get(context)'); -function visit525_224_2(result) { +function visit524_224_2(result) { _$jscoverage['/base/traversal.js'].branchData['224'][2].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['224'][1].init(286, 36, '(context && Dom.get(context)) || null'); -function visit524_224_1(result) { +function visit523_224_1(result) { _$jscoverage['/base/traversal.js'].branchData['224'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['221'][1].init(223, 5, '!elem'); -function visit523_221_1(result) { +function visit522_221_1(result) { _$jscoverage['/base/traversal.js'].branchData['221'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['218'][1].init(150, 11, '!includeSef'); -function visit522_218_1(result) { +function visit521_218_1(result) { _$jscoverage['/base/traversal.js'].branchData['218'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['215'][1].init(87, 12, 'filter === 0'); -function visit521_215_1(result) { +function visit520_215_1(result) { _$jscoverage['/base/traversal.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['212'][1].init(13, 23, '!(elem = Dom.get(elem))'); -function visit520_212_1(result) { +function visit519_212_1(result) { _$jscoverage['/base/traversal.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['199'][1].init(25, 15, 'n1[i] !== n2[i]'); -function visit519_199_1(result) { +function visit518_199_1(result) { _$jscoverage['/base/traversal.js'].branchData['199'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['198'][1].init(212, 6, 'i >= 0'); -function visit518_198_1(result) { +function visit517_198_1(result) { _$jscoverage['/base/traversal.js'].branchData['198'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['195'][1].init(93, 23, 'n1.length !== n2.length'); -function visit517_195_1(result) { +function visit516_195_1(result) { _$jscoverage['/base/traversal.js'].branchData['195'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['178'][1].init(679, 22, 'typeof s2 === \'string\''); -function visit516_178_1(result) { +function visit515_178_1(result) { _$jscoverage['/base/traversal.js'].branchData['178'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['169'][1].init(29, 36, 'c.nodeType === NodeType.ELEMENT_NODE'); -function visit515_169_1(result) { +function visit514_169_1(result) { _$jscoverage['/base/traversal.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['164'][1].init(70, 2, '!p'); -function visit514_164_1(result) { +function visit513_164_1(result) { _$jscoverage['/base/traversal.js'].branchData['164'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['163'][1].init(25, 19, 'el && el.parentNode'); -function visit513_163_1(result) { +function visit512_163_1(result) { _$jscoverage['/base/traversal.js'].branchData['163'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['162'][1].init(201, 3, '!s2'); -function visit512_162_1(result) { +function visit511_162_1(result) { _$jscoverage['/base/traversal.js'].branchData['162'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['144'][1].init(117, 22, 'container && contained'); -function visit511_144_1(result) { +function visit510_144_1(result) { _$jscoverage['/base/traversal.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['76'][1].init(74, 22, 'elem && elem.lastChild'); -function visit510_76_1(result) { +function visit509_76_1(result) { _$jscoverage['/base/traversal.js'].branchData['76'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['63'][1].init(74, 23, 'elem && elem.firstChild'); -function visit509_63_1(result) { +function visit508_63_1(result) { _$jscoverage['/base/traversal.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['50'][1].init(28, 49, 'elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE'); -function visit508_50_1(result) { +function visit507_50_1(result) { _$jscoverage['/base/traversal.js'].branchData['50'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].branchData['35'][1].init(28, 49, 'elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE'); -function visit507_35_1(result) { +function visit506_35_1(result) { _$jscoverage['/base/traversal.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/base/traversal.js'].lineData[6]++; @@ -647,7 +647,7 @@ KISSY.add(function(S, require) { return nth(selector, filter, 'parentNode', function(elem) { _$jscoverage['/base/traversal.js'].functionData[3]++; _$jscoverage['/base/traversal.js'].lineData[35]++; - return visit507_35_1(elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE); + return visit506_35_1(elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE); }, context, true, allowTextNode); }, parent: function(selector, filter, context) { @@ -656,7 +656,7 @@ KISSY.add(function(S, require) { return nth(selector, filter, 'parentNode', function(elem) { _$jscoverage['/base/traversal.js'].functionData[5]++; _$jscoverage['/base/traversal.js'].lineData[50]++; - return visit508_50_1(elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE); + return visit507_50_1(elem.nodeType !== NodeType.DOCUMENT_FRAGMENT_NODE); }, context, undefined); }, first: function(selector, filter, allowTextNode) { @@ -664,14 +664,14 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[62]++; var elem = Dom.get(selector); _$jscoverage['/base/traversal.js'].lineData[63]++; - return nth(visit509_63_1(elem && elem.firstChild), filter, 'nextSibling', undefined, undefined, true, allowTextNode); + return nth(visit508_63_1(elem && elem.firstChild), filter, 'nextSibling', undefined, undefined, true, allowTextNode); }, last: function(selector, filter, allowTextNode) { _$jscoverage['/base/traversal.js'].functionData[7]++; _$jscoverage['/base/traversal.js'].lineData[75]++; var elem = Dom.get(selector); _$jscoverage['/base/traversal.js'].lineData[76]++; - return nth(visit510_76_1(elem && elem.lastChild), filter, 'previousSibling', undefined, undefined, true, allowTextNode); + return nth(visit509_76_1(elem && elem.lastChild), filter, 'previousSibling', undefined, undefined, true, allowTextNode); }, next: function(selector, filter, allowTextNode) { _$jscoverage['/base/traversal.js'].functionData[8]++; @@ -705,7 +705,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[143]++; contained = Dom.get(contained); _$jscoverage['/base/traversal.js'].lineData[144]++; - if (visit511_144_1(container && contained)) { + if (visit510_144_1(container && contained)) { _$jscoverage['/base/traversal.js'].lineData[145]++; return Dom._contains(container, contained); } @@ -717,11 +717,11 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[155]++; var els = Dom.query(selector), c, n = 0, p, els2, el = els[0]; _$jscoverage['/base/traversal.js'].lineData[162]++; - if (visit512_162_1(!s2)) { + if (visit511_162_1(!s2)) { _$jscoverage['/base/traversal.js'].lineData[163]++; - p = visit513_163_1(el && el.parentNode); + p = visit512_163_1(el && el.parentNode); _$jscoverage['/base/traversal.js'].lineData[164]++; - if (visit514_164_1(!p)) { + if (visit513_164_1(!p)) { _$jscoverage['/base/traversal.js'].lineData[165]++; return -1; } @@ -730,7 +730,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[168]++; while ((c = c.previousSibling)) { _$jscoverage['/base/traversal.js'].lineData[169]++; - if (visit515_169_1(c.nodeType === NodeType.ELEMENT_NODE)) { + if (visit514_169_1(c.nodeType === NodeType.ELEMENT_NODE)) { _$jscoverage['/base/traversal.js'].lineData[170]++; n++; } @@ -741,7 +741,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[176]++; els2 = Dom.query(s2); _$jscoverage['/base/traversal.js'].lineData[178]++; - if (visit516_178_1(typeof s2 === 'string')) { + if (visit515_178_1(typeof s2 === 'string')) { _$jscoverage['/base/traversal.js'].lineData[179]++; return S.indexOf(el, els2); } @@ -755,14 +755,14 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[194]++; n2 = Dom.query(n2); _$jscoverage['/base/traversal.js'].lineData[195]++; - if (visit517_195_1(n1.length !== n2.length)) { + if (visit516_195_1(n1.length !== n2.length)) { _$jscoverage['/base/traversal.js'].lineData[196]++; return false; } _$jscoverage['/base/traversal.js'].lineData[198]++; - for (var i = n1.length; visit518_198_1(i >= 0); i--) { + for (var i = n1.length; visit517_198_1(i >= 0); i--) { _$jscoverage['/base/traversal.js'].lineData[199]++; - if (visit519_199_1(n1[i] !== n2[i])) { + if (visit518_199_1(n1[i] !== n2[i])) { _$jscoverage['/base/traversal.js'].lineData[200]++; return false; } @@ -774,36 +774,36 @@ KISSY.add(function(S, require) { function nth(elem, filter, direction, extraFilter, context, includeSef, allowTextNode) { _$jscoverage['/base/traversal.js'].functionData[16]++; _$jscoverage['/base/traversal.js'].lineData[212]++; - if (visit520_212_1(!(elem = Dom.get(elem)))) { + if (visit519_212_1(!(elem = Dom.get(elem)))) { _$jscoverage['/base/traversal.js'].lineData[213]++; return null; } _$jscoverage['/base/traversal.js'].lineData[215]++; - if (visit521_215_1(filter === 0)) { + if (visit520_215_1(filter === 0)) { _$jscoverage['/base/traversal.js'].lineData[216]++; return elem; } _$jscoverage['/base/traversal.js'].lineData[218]++; - if (visit522_218_1(!includeSef)) { + if (visit521_218_1(!includeSef)) { _$jscoverage['/base/traversal.js'].lineData[219]++; elem = elem[direction]; } _$jscoverage['/base/traversal.js'].lineData[221]++; - if (visit523_221_1(!elem)) { + if (visit522_221_1(!elem)) { _$jscoverage['/base/traversal.js'].lineData[222]++; return null; } _$jscoverage['/base/traversal.js'].lineData[224]++; - context = visit524_224_1((visit525_224_2(context && Dom.get(context))) || null); + context = visit523_224_1((visit524_224_2(context && Dom.get(context))) || null); _$jscoverage['/base/traversal.js'].lineData[226]++; - if (visit526_226_1(filter === undefined)) { + if (visit525_226_1(filter === undefined)) { _$jscoverage['/base/traversal.js'].lineData[228]++; filter = 1; } _$jscoverage['/base/traversal.js'].lineData[230]++; var ret = [], isArray = S.isArray(filter), fi, filterLength; _$jscoverage['/base/traversal.js'].lineData[235]++; - if (visit527_235_1(typeof filter === 'number')) { + if (visit526_235_1(typeof filter === 'number')) { _$jscoverage['/base/traversal.js'].lineData[236]++; fi = 0; _$jscoverage['/base/traversal.js'].lineData[237]++; @@ -812,17 +812,17 @@ KISSY.add(function(S, require) { filter = function() { _$jscoverage['/base/traversal.js'].functionData[17]++; _$jscoverage['/base/traversal.js'].lineData[239]++; - return visit528_239_1(++fi === filterLength); + return visit527_239_1(++fi === filterLength); }; } _$jscoverage['/base/traversal.js'].lineData[244]++; - while (visit529_244_1(elem && visit530_244_2(elem !== context))) { + while (visit528_244_1(elem && visit529_244_2(elem !== context))) { _$jscoverage['/base/traversal.js'].lineData[245]++; - if (visit531_245_1((visit532_246_1(visit533_246_2(elem.nodeType === NodeType.ELEMENT_NODE) || visit534_247_1(visit535_247_2(elem.nodeType === NodeType.TEXT_NODE) && allowTextNode))) && visit536_249_1(testFilter(elem, filter) && (visit537_250_1(!extraFilter || extraFilter(elem)))))) { + if (visit530_245_1((visit531_246_1(visit532_246_2(elem.nodeType === NodeType.ELEMENT_NODE) || visit533_247_1(visit534_247_2(elem.nodeType === NodeType.TEXT_NODE) && allowTextNode))) && visit535_249_1(testFilter(elem, filter) && (visit536_250_1(!extraFilter || extraFilter(elem)))))) { _$jscoverage['/base/traversal.js'].lineData[251]++; ret.push(elem); _$jscoverage['/base/traversal.js'].lineData[252]++; - if (visit538_252_1(!isArray)) { + if (visit537_252_1(!isArray)) { _$jscoverage['/base/traversal.js'].lineData[253]++; break; } @@ -831,36 +831,36 @@ KISSY.add(function(S, require) { elem = elem[direction]; } _$jscoverage['/base/traversal.js'].lineData[259]++; - return isArray ? ret : visit539_259_1(ret[0] || null); + return isArray ? ret : visit538_259_1(ret[0] || null); } _$jscoverage['/base/traversal.js'].lineData[262]++; function testFilter(elem, filter) { _$jscoverage['/base/traversal.js'].functionData[18]++; _$jscoverage['/base/traversal.js'].lineData[263]++; - if (visit540_263_1(!filter)) { + if (visit539_263_1(!filter)) { _$jscoverage['/base/traversal.js'].lineData[264]++; return true; } _$jscoverage['/base/traversal.js'].lineData[266]++; - if (visit541_266_1(S.isArray(filter))) { + if (visit540_266_1(S.isArray(filter))) { _$jscoverage['/base/traversal.js'].lineData[267]++; var i, l = filter.length; _$jscoverage['/base/traversal.js'].lineData[268]++; - if (visit542_268_1(!l)) { + if (visit541_268_1(!l)) { _$jscoverage['/base/traversal.js'].lineData[269]++; return true; } _$jscoverage['/base/traversal.js'].lineData[271]++; - for (i = 0; visit543_271_1(i < l); i++) { + for (i = 0; visit542_271_1(i < l); i++) { _$jscoverage['/base/traversal.js'].lineData[272]++; - if (visit544_272_1(Dom.test(elem, filter[i]))) { + if (visit543_272_1(Dom.test(elem, filter[i]))) { _$jscoverage['/base/traversal.js'].lineData[273]++; return true; } } } else { _$jscoverage['/base/traversal.js'].lineData[276]++; - if (visit545_276_1(Dom.test(elem, filter))) { + if (visit544_276_1(Dom.test(elem, filter))) { _$jscoverage['/base/traversal.js'].lineData[277]++; return true; } @@ -874,25 +874,25 @@ KISSY.add(function(S, require) { _$jscoverage['/base/traversal.js'].lineData[284]++; var ret = [], tmp, i, el, elem = Dom.get(selector), parentNode = elem; _$jscoverage['/base/traversal.js'].lineData[291]++; - if (visit546_291_1(elem && parent)) { + if (visit545_291_1(elem && parent)) { _$jscoverage['/base/traversal.js'].lineData[292]++; parentNode = elem.parentNode; } _$jscoverage['/base/traversal.js'].lineData[295]++; - if (visit547_295_1(parentNode)) { + if (visit546_295_1(parentNode)) { _$jscoverage['/base/traversal.js'].lineData[296]++; tmp = S.makeArray(parentNode.childNodes); _$jscoverage['/base/traversal.js'].lineData[297]++; - for (i = 0; visit548_297_1(i < tmp.length); i++) { + for (i = 0; visit547_297_1(i < tmp.length); i++) { _$jscoverage['/base/traversal.js'].lineData[298]++; el = tmp[i]; _$jscoverage['/base/traversal.js'].lineData[299]++; - if (visit549_299_1(!allowText && visit550_299_2(el.nodeType !== NodeType.ELEMENT_NODE))) { + if (visit548_299_1(!allowText && visit549_299_2(el.nodeType !== NodeType.ELEMENT_NODE))) { _$jscoverage['/base/traversal.js'].lineData[300]++; continue; } _$jscoverage['/base/traversal.js'].lineData[302]++; - if (visit551_302_1(el === elem)) { + if (visit550_302_1(el === elem)) { _$jscoverage['/base/traversal.js'].lineData[303]++; continue; } @@ -900,7 +900,7 @@ KISSY.add(function(S, require) { ret.push(el); } _$jscoverage['/base/traversal.js'].lineData[307]++; - if (visit552_307_1(filter)) { + if (visit551_307_1(filter)) { _$jscoverage['/base/traversal.js'].lineData[308]++; ret = Dom.filter(ret, filter); } diff --git a/src/dom/sub-modules/base/src/base/selector.js b/src/dom/sub-modules/base/src/base/selector.js index 1ab28c1515..2bc72debb0 100644 --- a/src/dom/sub-modules/base/src/base/selector.js +++ b/src/dom/sub-modules/base/src/base/selector.js @@ -3,7 +3,7 @@ * simple selector for dom * @author yiminghe@gmail.com, lifesinger@gmail.com */ -KISSY.add(function (S,require) { +KISSY.add(function (S, require) { var Dom = require('./api'); var doc = S.Env.host.document, docElem = doc.documentElement, @@ -214,7 +214,7 @@ KISSY.add(function (S,require) { function hasSingleClass(el, cls) { // consider xml - var className = el && (el.className || getAttr(el, 'class')); + var className = el && getAttr(el, 'class'); return className && (className = className.replace(/[\r\t\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1; From fdd55f9872d1dbe9b1409489da695ffe13ad8edb Mon Sep 17 00:00:00 2001 From: yiminghe Date: Fri, 13 Dec 2013 19:44:19 +0800 Subject: [PATCH 12/80] fix #533 --- build/event/dom/touch-min.js | 54 +++++++++---------- build/event/dom/touch.js | 6 +-- .../touch/coverage/src/touch/handle.js | 4 +- .../touch/coverage/src/touch/tap.js | 31 +++++------ .../dom/sub-modules/touch/src/touch/handle.js | 2 +- .../dom/sub-modules/touch/src/touch/tap.js | 2 + 6 files changed, 51 insertions(+), 48 deletions(-) diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index 4429f7a5e2..6a18c697af 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,33 +1,33 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 4 22:16 +build time: Dec 13 19:28 */ -KISSY.add("event/dom/touch/handle-map",[],function(){return{}});KISSY.add("event/dom/touch/single-touch",[],function(f){function a(){}a.prototype={constructor:a,requiredTouchCount:1,onTouchStart:function(a){if(a.touches.length!==this.requiredTouchCount)return!1;a=this.lastTouches=a.touches;this.lastXY={pageX:a[0].pageX,pageY:a[0].pageY}},onTouchMove:f.noop,onTouchEnd:f.noop};return a}); -KISSY.add("event/dom/touch/tap",["./handle-map","event/dom/base","./single-touch"],function(f,a){function c(d){d.preventDefault()}function g(){g.superclass.constructor.apply(this,arguments)}var e=a("./handle-map"),i=a("event/dom/base"),j=a("./single-touch"),k=i.Object;f.extend(g,j,{onTouchMove:function(d){var a=this.lastXY,d=d.changedTouches[0];if(!d||5Math.max(h,r))return;r>h?b.isHorizontal=0:b.isVertical=0}}else if(b.isVertical&&rp?"left":"right";else if(b.isVertical)p=0>m?"up":"down",h=r;else return!1;i.fire(a.target, -j?d:k,{originalEvent:a.originalEvent,pageX:e.pageX,pageY:e.pageY,which:1,touch:e,direction:p,distance:h,duration:(a.timeStamp-b.startTime)/1E3})}function g(){}var e=a("./handle-map"),i=a("event/dom/base"),j=a("./single-touch"),k="swipe",d="swiping",l=50;f.extend(g,j,{onTouchStart:function(b){if(!1===g.superclass.onTouchStart.apply(this,arguments))return!1;var a=b.touches[0];this.startTime=b.timeStamp;this.isVertical=this.isHorizontal=1;this.startX=a.pageX;this.startY=a.pageY;-1!==b.type.indexOf("mouse")&& -b.preventDefault()},onTouchMove:function(a){var d=a.changedTouches[0],e=d.pageY-this.startY,d=Math.abs(d.pageX-this.startX),e=Math.abs(e);if(1E3c)){this.lastEndTime=0;e.fire(f,"doubleTap",{touch:b,duration:c/1E3});return}c=d-this.startTime;300i&&this.end(a)},onTouchEnd:function(a){this.end(a)},start:function(){this.isTracking||(this.isTracking=!0,this.isStarted=!1)},fireEnd:f.noop,getCommonTarget:function(a){var c=a.touches,a=c[0].target,c=c[1].target;if(a===c||g.contains(a,c))return a;for(;;){if(g.contains(c, +KISSY.add("event/dom/touch/handle-map",[],function(){return{}});KISSY.add("event/dom/touch/single-touch",[],function(e){function a(){}a.prototype={constructor:a,requiredTouchCount:1,onTouchStart:function(a){if(a.touches.length!==this.requiredTouchCount)return!1;a=this.lastTouches=a.touches;this.lastXY={pageX:a[0].pageX,pageY:a[0].pageY}},onTouchMove:e.noop,onTouchEnd:e.noop};return a}); +KISSY.add("event/dom/touch/tap",["./handle-map","event/dom/base","./single-touch"],function(e,a){function c(d){d.preventDefault()}function h(){h.superclass.constructor.apply(this,arguments)}var g=a("./handle-map"),i=a("event/dom/base"),f=a("./single-touch"),k=i.Object;e.extend(h,f,{onTouchMove:function(d){var a=this.lastXY,d=d.changedTouches[0];if(!d||5Math.max(j,r))return;r>j?b.isHorizontal=0:b.isVertical=0}}else if(b.isVertical&&rq?"left":"right";else if(b.isVertical)q=0>m?"up":"down",j=r;else return!1;i.fire(a.target, +f?d:k,{originalEvent:a.originalEvent,pageX:g.pageX,pageY:g.pageY,which:1,touch:g,direction:q,distance:j,duration:(a.timeStamp-b.startTime)/1E3})}function h(){}var g=a("./handle-map"),i=a("event/dom/base"),f=a("./single-touch"),k="swipe",d="swiping",l=50;e.extend(h,f,{onTouchStart:function(b){if(!1===h.superclass.onTouchStart.apply(this,arguments))return!1;var a=b.touches[0];this.startTime=b.timeStamp;this.isVertical=this.isHorizontal=1;this.startX=a.pageX;this.startY=a.pageY;-1!==b.type.indexOf("mouse")&& +b.preventDefault()},onTouchMove:function(b){var a=b.changedTouches[0],d=a.pageY-this.startY,a=Math.abs(a.pageX-this.startX),d=Math.abs(d);if(1E3c)){this.lastEndTime=0;g.fire(e,"doubleTap",{touch:b,duration:c/1E3});return}c=d-this.startTime;300i&&this.end(a)},onTouchEnd:function(a){this.end(a)},start:function(){this.isTracking||(this.isTracking=!0,this.isStarted=!1)},fireEnd:e.noop,getCommonTarget:function(a){var c=a.touches,a=c[0].target,c=c[1].target;if(a===c||h.contains(a,c))return a;for(;;){if(h.contains(c, a))return c;c=c.parentNode}"getCommonTarget error!"},end:function(a){this.isTracking&&(this.isTracking=!1,this.isStarted&&(this.isStarted=!1,this.fireEnd(a)))}};return c}); -KISSY.add("event/dom/touch/pinch",["./handle-map","event/dom/base","./multi-touch"],function(f,a){function c(){}function g(a){2===a.touches.length&&a.preventDefault()}var e=a("./handle-map"),i=a("event/dom/base"),j=a("./multi-touch");f.extend(c,j,{onTouchMove:function(a){if(this.isTracking){var d=a.touches;if(0-1&&c.splice(a,1)},2500)}},isEventSimulatedFromTouch:function(a){for(var c= -this.lastTouches,h=a.clientX,a=a.clientY,b=0,d=c.length,e;b-1&&c.splice(a,1)},2500)}},isEventSimulatedFromTouch:function(a){for(var c= +this.lastTouches,b=a.clientX,a=a.clientY,d=0,e=c.length,f;d sensitivity'); function visit109_32_1(result) { @@ -354,21 +354,22 @@ KISSY.add(function(S, require) { S.mix(eventObject, { pageX: touch.pageX, pageY: touch.pageY, + originalEvent: e.originalEvent, which: 1, touch: touch}); - _$jscoverage['/touch/tap.js'].lineData[52]++; + _$jscoverage['/touch/tap.js'].lineData[54]++; DomEvent.fire(target, event, eventObject); - _$jscoverage['/touch/tap.js'].lineData[53]++; - if (visit110_53_1(eventObject.isDefaultPrevented())) { - _$jscoverage['/touch/tap.js'].lineData[54]++; + _$jscoverage['/touch/tap.js'].lineData[55]++; + if (visit110_55_1(eventObject.isDefaultPrevented())) { + _$jscoverage['/touch/tap.js'].lineData[56]++; DomEvent.on(target, 'click', { fn: preventDefault, once: 1}); } }}); - _$jscoverage['/touch/tap.js'].lineData[62]++; + _$jscoverage['/touch/tap.js'].lineData[64]++; eventHandleMap[event] = { handle: new Tap()}; - _$jscoverage['/touch/tap.js'].lineData[66]++; + _$jscoverage['/touch/tap.js'].lineData[68]++; return Tap; }); diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js index 17bbd40224..3a492f005e 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js @@ -241,7 +241,7 @@ KISSY.add(function (S, require) { self.touches = [event.originalEvent]; } else if (isPointerEvent(type)) { self.updateTouch(event.originalEvent); - } else if (!isTouchEvent()) { + } else if (!isTouchEvent(type)) { throw new Error('unrecognized touch event: ' + event.type); } // no throttle! to allow preventDefault diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js index 8fd59f061e..ee473e04aa 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js @@ -46,6 +46,8 @@ KISSY.add(function (S, require) { S.mix(eventObject, { pageX: touch.pageX, pageY: touch.pageY, + // call e.preventDefault on tap event to prevent tap penetration + originalEvent: e.originalEvent, which: 1, touch: touch }); From 0d6170f8057a2d1df68ae745ea6686fa7d2f5c7e Mon Sep 17 00:00:00 2001 From: yiminghe Date: Fri, 13 Dec 2013 19:45:26 +0800 Subject: [PATCH 13/80] update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b71d886e3..1113ecc7cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kissy", - "version": "1.4.1-2", + "version": "1.4.1-3", "description": "KISSY", "author": "yiminghe ", "homepage": "http://docs.kissyui.com", From 219c3c859d17bf9259c8941587449eeea230478a Mon Sep 17 00:00:00 2001 From: yiminghe Date: Thu, 19 Dec 2013 17:25:33 +0800 Subject: [PATCH 14/80] rebuild --- build/dom/base-min.js | 115 +-- build/dom/base.js | 14 +- build/kissy-nodejs-min.js | 134 ++-- build/kissy-nodejs.js | 15 +- build/scroll-view/drag-min.js | 22 +- build/scroll-view/drag.js | 22 +- build/seed-min.js | 8 +- build/seed.js | 15 +- .../base/coverage/src/base/class.js | 63 +- .../base/coverage/src/base/create.js | 258 +++---- .../base/coverage/src/base/data.js | 178 ++--- .../base/coverage/src/base/insertion.js | 110 +-- .../base/coverage/src/base/offset.js | 220 +++--- .../base/coverage/src/base/selector.js | 258 +++---- .../base/coverage/src/base/style.js | 396 +++++----- .../base/coverage/src/base/traversal.js | 166 ++--- src/dom/sub-modules/base/src/base/class.js | 15 +- .../sub-modules/drag/coverage/src/drag.js | 674 +++++++++--------- src/scroll-view/sub-modules/drag/src/drag.js | 30 +- src/seed/coverage/src/loader/init.js | 43 +- src/seed/src/loader/init.js | 3 +- 21 files changed, 1416 insertions(+), 1343 deletions(-) diff --git a/build/dom/base-min.js b/build/dom/base-min.js index d93153433c..4000393940 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,67 +1,68 @@ /* Copyright 2013, KISSY v1.41 MIT Licensed -build time: Dec 13 16:43 +build time: Dec 19 17:24 */ KISSY.add("dom/base/api",[],function(h){var m=h.Env.host||{},n=m.document,q=h.UA,b={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e={isCustomDomain:function(b){var b=b||m,b=e.get(b),g=b.document.domain,b=b.location.hostname;return g!==b&&g!=="["+b+"]"},getEmptyIframeSrc:function(b){b=b||m;b=e.get(b);return q.ie&&e.isCustomDomain(b)? "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+b.document.domain+'";document.close();')+"}())":""},NodeType:b,getWindow:function(l){if(!l)return m;l=e.get(l);if(h.isWindow(l))return l;var g=l;g.nodeType!==b.DOCUMENT_NODE&&(g=l.ownerDocument);return g.defaultView||g.parentWindow},getDocument:function(l){if(!l)return n;l=e.get(l);return h.isWindow(l)?l.document:l.nodeType===b.DOCUMENT_NODE?l:l.ownerDocument},isDomNodeList:function(b){return b&&!b.nodeType&&b.item&& !b.setTimeout},nodeName:function(b){var g=e.get(b),b=g.nodeName.toLowerCase();q.ie&&(g=g.scopeName)&&"HTML"!==g&&(b=g.toLowerCase()+":"+b);return b},_RE_NUM_NO_PX:RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i")};h.mix(e,b);return e}); -KISSY.add("dom/base/attr",["./api"],function(h,m){function n(a){return null==a?"":a+""}function q(a,d){var d=i[d]||d,b=s[d];return b&&b.get?b.get(a,d):a[d]}var b=m("./api"),e=h.Env.host.document,l=b.NodeType,e=e&&e.documentElement,g=b.nodeName,a=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,j=/^(?:button|input|object|select|textarea)$/i,k=/^a(?:rea)?$/i,c=/:|^on/,d=/\r/g,f={},r={val:1,css:1,html:1,text:1,data:1,width:1, -height:1,offset:1,scrollTop:1,scrollLeft:1},t={tabindex:{get:function(a){var d=a.getAttributeNode("tabindex");return d&&d.specified?parseInt(d.value,10):j.test(a.nodeName)||k.test(a.nodeName)&&a.href?0:void 0}}},i={hidefocus:"hideFocus",tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},z= -{get:function(a,d){return b.prop(a,d)?d.toLowerCase():void 0},set:function(a,d,f){!1===d?b.removeAttr(a,f):(d=i[f]||f,d in a&&(a[d]=!0),a.setAttribute(f,f.toLowerCase()));return f}},s={},p={},w={select:{get:function(a){var d=a.selectedIndex,f=a.options,c;if(0>d)return null;if("select-one"===""+a.type)return b.val(f[d]);a=[];d=0;for(c=f.length;d"+a+"
";return c.lastChild}function b(a,d){if(d)if(s&&d.canHaveChildren&&"removeNode"in a){if(a.firstChild)a:{try{a.innerHTML="";break a}catch(c){}for(var f;f=a.lastChild;)b(f,a)}a.removeNode(!1)}else d.removeChild(a)}function e(a,d,c){var f=d.nodeType;if(f===k.DOCUMENT_FRAGMENT_NODE){d=d.childNodes;c=c.childNodes;for(f= -0;d[f];)c[f]&&e(a,d[f],c[f]),f++}else if(f===k.ELEMENT_NODE){d=d.getElementsByTagName("*");c=c.getElementsByTagName("*");for(f=0;d[f];)c[f]&&a(d[f],c[f]),f++}}function l(d,c){var f=h.require("event/dom"),b,o;if(c.nodeType!==k.ELEMENT_NODE||a.hasData(d)){b=a.data(d);for(o in b)a.data(c,o,b[o]);f&&f.clone(d,c)}}function g(a){var d=null,c,f;if(a&&(a.push||a.item)&&a[0]){d=a[0].ownerDocument;d=d.createDocumentFragment();a=h.makeArray(a);c=0;for(f=a.length;c]*)\/>/ig,t=/<([\w:]+)/,i=/^\s+/,z=/\s+$/,s=!!(c&&9>c),p=s,w=/<|&#?\w+;/,H=j&&"outerHTML"in j.documentElement,D=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;h.mix(a,{create:function(c,f,b,e){var o=null;if(!c)return o;if(c.nodeType)return a.clone(c);if("string"!==typeof c)return o;void 0===e&&(e=!0);e&&(c=h.trim(c));var e=a._creators, -G,C,b=b||j,J,A=d;if(w.test(c))if(J=D.exec(c))o=b.createElement(J[1]);else{c=c.replace(r,"<$1>");if((J=t.exec(c))&&(G=J[1]))A=G.toLowerCase();G=(e[A]||q)(c,b);p&&(C=c.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(c)&&(C=c.match(z))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):c+" : create node error"}else o=b.createTextNode(c);c=o;h.isPlainObject(f)&&(c.nodeType===k.ELEMENT_NODE?a.attr(c,f, -!0):c.nodeType===k.DOCUMENT_FRAGMENT_NODE&&a.attr(c.childNodes,f,!0));return c},_fixCloneAttributes:function(d,c){"textarea"===a.nodeName(d)&&(c.defaultValue=d.defaultValue,c.value=d.value)},_creators:{div:q},_defaultCreator:q,html:function(d,c,f){var d=a.query(d),b=d[0],o=!1,e,g;if(!b)return null;if(void 0===c)return b.nodeType===k.ELEMENT_NODE?b.innerHTML:b.nodeType===k.DOCUMENT_FRAGMENT_NODE?(f=n(b.ownerDocument),f.appendChild(b),f.innerHTML):null;c+="";if(!c.match(/<(?:script|style|link)/i)&& -(!p||!c.match(i))&&!x[(c.match(t)||["",""])[1].toLowerCase()])try{for(e=d.length-1;0<=e;e--)g=d[e],g.nodeType===k.ELEMENT_NODE&&(a.cleanData(g.getElementsByTagName("*")),g.innerHTML=c);o=!0}catch(h){}o||(c=a.create(c,0,b.ownerDocument,0),a.empty(d),a.append(c,d,f))},outerHtml:function(d,c,f){var d=a.query(d),b=d.length,o=d[0];if(!o)return null;if(void 0===c){if(H&&o.nodeType!==a.DOCUMENT_FRAGMENT_NODE)return o.outerHTML;c=n(o.ownerDocument);c.appendChild(a.clone(o,!0));return c.innerHTML}c+="";if(!c.match(/<(?:script|style|link)/i)&& -H)for(f=b-1;0<=f;f--)o=d[f],o.nodeType===k.ELEMENT_NODE&&(a.cleanData(o,1),o.outerHTML=c);else c=a.create(c,0,o.ownerDocument,0),a.insertBefore(c,d,f),a.remove(d)},remove:function(d,c){var f,e=a.query(d),o,i=h.require("event/dom"),g;for(g=e.length-1;0<=g;g--)f=e[g],!c&&f.nodeType===k.ELEMENT_NODE&&(o=h.makeArray(f.getElementsByTagName("*")),o.push(f),a.removeData(o),i&&i.detach(o)),b(f,f.parentNode)},clone:function(d,c,f,b){"object"===typeof c&&(b=c.deepWithDataAndEvent,f=c.withDataAndEvent,c=c.deep); -var d=a.get(d),o,i=a._fixCloneAttributes,g;if(!d)return null;g=d.nodeType;o=d.cloneNode(c);if(g===k.ELEMENT_NODE||g===k.DOCUMENT_FRAGMENT_NODE)i&&g===k.ELEMENT_NODE&&i(d,o),c&&i&&e(i,d,o);f&&(l(d,o),c&&b&&e(l,d,o));return o},empty:function(d){var d=a.query(d),c,f;for(f=d.length-1;0<=f;f--)c=d[f],a.remove(c.childNodes)},_nodeListToFragment:g});a.outerHTML=a.outerHtml;var B=a._creators,F=a.create,x={area:"map",thead:"table",td:"tr",th:"tr",tr:"tbody",tbody:"table",tfoot:"table",caption:"table",colgroup:"table", -col:"colgroup",legend:"fieldset"},y;for(y in x)(function(d){B[y]=function(a,c){return F("<"+d+">"+a+"",void 0,c)}})(x[y]);x.option=x.optgroup=function(d,a){return F('",void 0,a)};return a}); -KISSY.add("dom/base/data",["./api"],function(h,m){var n=m("./api"),q=h.Env.host,b="_ks_data_"+h.now(),e={},l={},g={applet:1,object:1,embed:1},a={hasData:function(a,d){if(a)if(void 0!==d){if(d in a)return!0}else if(!h.isEmptyObject(a))return!0;return!1}},j={hasData:function(c,d){return c==q?j.hasData(l,d):a.hasData(c[b],d)},data:function(a,d,f){if(a==q)return j.data(l,d,f);var e=a[b];if(void 0!==f)e=a[b]=a[b]||{},e[d]=f;else return void 0!==d?e&&e[d]:e=a[b]=a[b]||{}},removeData:function(a,d){if(a== -q)return j.removeData(l,d);var f=a[b];if(void 0!==d)delete f[d],h.isEmptyObject(f)&&j.removeData(a);else try{delete a[b]}catch(e){a[b]=void 0}}},k={hasData:function(c,d){var f=c[b];return!f?!1:a.hasData(e[f],d)},data:function(a,d,f){if(!g[a.nodeName.toLowerCase()]){var r=a[b];if(!r){if(void 0!==d&&void 0===f)return;r=a[b]=h.guid()}a=e[r];if(void 0!==f)a=e[r]=e[r]||{},a[d]=f;else return void 0!==d?a&&a[d]:a=e[r]=e[r]||{}}},removeData:function(a,d){var f=a[b],g;if(f)if(g=e[f],void 0!==d)delete g[d], -h.isEmptyObject(g)&&k.removeData(a);else{delete e[f];try{delete a[b]}catch(j){a[b]=void 0}a.removeAttribute&&a.removeAttribute(b)}}};h.mix(n,{__EXPANDO:b,hasData:function(a,d){for(var f=!1,b=n.query(a),e=0;em||0m?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+c)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+c);if(j)if(q){if(0>n||0c)return null;if("select-one"===""+a.type)return b.val(f[c]);a=[];c=0;for(d=f.length;c"+a+"
";return f.lastChild}function b(a,c){if(c)if(s&&c.canHaveChildren&&"removeNode"in a){if(a.firstChild)a:{try{a.innerHTML="";break a}catch(f){}for(var d;d=a.lastChild;)b(d,a)}a.removeNode(!1)}else c.removeChild(a)}function e(a,c,f){var d=c.nodeType;if(d===k.DOCUMENT_FRAGMENT_NODE){c=c.childNodes;f=f.childNodes;for(d= +0;c[d];)f[d]&&e(a,c[d],f[d]),d++}else if(d===k.ELEMENT_NODE){c=c.getElementsByTagName("*");f=f.getElementsByTagName("*");for(d=0;c[d];)f[d]&&a(c[d],f[d]),d++}}function l(c,d){var f=h.require("event/dom"),b,o;if(d.nodeType!==k.ELEMENT_NODE||a.hasData(c)){b=a.data(c);for(o in b)a.data(d,o,b[o]);f&&f.clone(c,d)}}function g(a){var c=null,d,f;if(a&&(a.push||a.item)&&a[0]){c=a[0].ownerDocument;c=c.createDocumentFragment();a=h.makeArray(a);d=0;for(f=a.length;d]*)\/>/ig,t=/<([\w:]+)/,i=/^\s+/,w=/\s+$/,s=!!(d&&9>d),p=s,x=/<|&#?\w+;/,H=j&&"outerHTML"in j.documentElement,D=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;h.mix(a,{create:function(d,f,b,e){var o=null;if(!d)return o;if(d.nodeType)return a.clone(d);if("string"!==typeof d)return o;void 0===e&&(e=!0);e&&(d=h.trim(d));var e=a._creators, +G,C,b=b||j,J,A=c;if(x.test(d))if(J=D.exec(d))o=b.createElement(J[1]);else{d=d.replace(r,"<$1>");if((J=t.exec(d))&&(G=J[1]))A=G.toLowerCase();G=(e[A]||q)(d,b);p&&(C=d.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(d)&&(C=d.match(w))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):d+" : create node error"}else o=b.createTextNode(d);d=o;h.isPlainObject(f)&&(d.nodeType===k.ELEMENT_NODE?a.attr(d,f, +!0):d.nodeType===k.DOCUMENT_FRAGMENT_NODE&&a.attr(d.childNodes,f,!0));return d},_fixCloneAttributes:function(c,d){"textarea"===a.nodeName(c)&&(d.defaultValue=c.defaultValue,d.value=c.value)},_creators:{div:q},_defaultCreator:q,html:function(c,d,f){var c=a.query(c),b=c[0],o=!1,e,g;if(!b)return null;if(void 0===d)return b.nodeType===k.ELEMENT_NODE?b.innerHTML:b.nodeType===k.DOCUMENT_FRAGMENT_NODE?(f=n(b.ownerDocument),f.appendChild(b),f.innerHTML):null;d+="";if(!d.match(/<(?:script|style|link)/i)&& +(!p||!d.match(i))&&!y[(d.match(t)||["",""])[1].toLowerCase()])try{for(e=c.length-1;0<=e;e--)g=c[e],g.nodeType===k.ELEMENT_NODE&&(a.cleanData(g.getElementsByTagName("*")),g.innerHTML=d);o=!0}catch(h){}o||(d=a.create(d,0,b.ownerDocument,0),a.empty(c),a.append(d,c,f))},outerHtml:function(c,d,f){var c=a.query(c),b=c.length,o=c[0];if(!o)return null;if(void 0===d){if(H&&o.nodeType!==a.DOCUMENT_FRAGMENT_NODE)return o.outerHTML;d=n(o.ownerDocument);d.appendChild(a.clone(o,!0));return d.innerHTML}d+="";if(!d.match(/<(?:script|style|link)/i)&& +H)for(f=b-1;0<=f;f--)o=c[f],o.nodeType===k.ELEMENT_NODE&&(a.cleanData(o,1),o.outerHTML=d);else d=a.create(d,0,o.ownerDocument,0),a.insertBefore(d,c,f),a.remove(c)},remove:function(c,d){var f,e=a.query(c),o,i=h.require("event/dom"),g;for(g=e.length-1;0<=g;g--)f=e[g],!d&&f.nodeType===k.ELEMENT_NODE&&(o=h.makeArray(f.getElementsByTagName("*")),o.push(f),a.removeData(o),i&&i.detach(o)),b(f,f.parentNode)},clone:function(c,d,f,b){"object"===typeof d&&(b=d.deepWithDataAndEvent,f=d.withDataAndEvent,d=d.deep); +var c=a.get(c),o,i=a._fixCloneAttributes,g;if(!c)return null;g=c.nodeType;o=c.cloneNode(d);if(g===k.ELEMENT_NODE||g===k.DOCUMENT_FRAGMENT_NODE)i&&g===k.ELEMENT_NODE&&i(c,o),d&&i&&e(i,c,o);f&&(l(c,o),d&&b&&e(l,c,o));return o},empty:function(c){var c=a.query(c),d,f;for(f=c.length-1;0<=f;f--)d=c[f],a.remove(d.childNodes)},_nodeListToFragment:g});a.outerHTML=a.outerHtml;var B=a._creators,F=a.create,y={area:"map",thead:"table",td:"tr",th:"tr",tr:"tbody",tbody:"table",tfoot:"table",caption:"table",colgroup:"table", +col:"colgroup",legend:"fieldset"},z;for(z in y)(function(c){B[z]=function(a,d){return F("<"+c+">"+a+"",void 0,d)}})(y[z]);y.option=y.optgroup=function(c,a){return F('",void 0,a)};return a}); +KISSY.add("dom/base/data",["./api"],function(h,m){var n=m("./api"),q=h.Env.host,b="_ks_data_"+h.now(),e={},l={},g={applet:1,object:1,embed:1},a={hasData:function(a,c){if(a)if(void 0!==c){if(c in a)return!0}else if(!h.isEmptyObject(a))return!0;return!1}},j={hasData:function(d,c){return d==q?j.hasData(l,c):a.hasData(d[b],c)},data:function(a,c,f){if(a==q)return j.data(l,c,f);var e=a[b];if(void 0!==f)e=a[b]=a[b]||{},e[c]=f;else return void 0!==c?e&&e[c]:e=a[b]=a[b]||{}},removeData:function(a,c){if(a== +q)return j.removeData(l,c);var f=a[b];if(void 0!==c)delete f[c],h.isEmptyObject(f)&&j.removeData(a);else try{delete a[b]}catch(e){a[b]=void 0}}},k={hasData:function(d,c){var f=d[b];return!f?!1:a.hasData(e[f],c)},data:function(a,c,f){if(!g[a.nodeName.toLowerCase()]){var r=a[b];if(!r){if(void 0!==c&&void 0===f)return;r=a[b]=h.guid()}a=e[r];if(void 0!==f)a=e[r]=e[r]||{},a[c]=f;else return void 0!==c?a&&a[c]:a=e[r]=e[r]||{}}},removeData:function(a,c){var f=a[b],g;if(f)if(g=e[f],void 0!==c)delete g[c], +h.isEmptyObject(g)&&k.removeData(a);else{delete e[f];try{delete a[b]}catch(j){a[b]=void 0}a.removeAttribute&&a.removeAttribute(b)}}};h.mix(n,{__EXPANDO:b,hasData:function(a,c){for(var f=!1,b=n.query(a),e=0;em||0m?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+d)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+d);if(j)if(q){if(0>n||0n?b.scrollLeft(e,v.left+n):b.scrollLeft(e,v.left+l)}else void 0===g||g?b.scrollLeft(e,v.left+n):b.scrollLeft(e,v.left+l)}},docWidth:0,docHeight:0,viewportHeight:0,viewportWidth:0,scrollTop:0,scrollLeft:0});h.each(["Left","Top"],function(c,d){var f="scroll"+c;b[f]=function(g,h){if("number"===typeof g)return arguments.callee(e,g);var g=b.get(g),j,l,n,m;g&&g.nodeType===a.ELEMENT_NODE?void 0!==h?g[f]=parseFloat(h):j=g[f]:(m=k(g),void 0!==h?(h=parseFloat(h),l="Left"===c?h:b.scrollLeft(m),n= -"Top"===c?h:b.scrollTop(m),m.scrollTo(l,n)):(j=m["page"+(d?"Y":"X")+"Offset"],"number"!==typeof j&&(l=m.document,j=l.documentElement[f],"number"!==typeof j&&(j=l.body[f]))));return j}});h.each(["Width","Height"],function(a){b["doc"+a]=function(d){d=b.get(d);d=b.getDocument(d);return c(d.documentElement["scroll"+a],d.body["scroll"+a],b["viewport"+a](d))};b["viewport"+a]=function(d){var d=b.get(d),c=k(d),d=c["inner"+a];if(l.mobile&&d)return d;var d="client"+a,c=c.document,e=c.body,f=c.documentElement[d]; -return"CSS1Compat"===c.compatMode&&f||e&&e[d]||f}});return b}); -KISSY.add("dom/base/style",["./api"],function(h,m){function n(a,d){return d.toUpperCase()}function q(a){return a.replace(s,"ms-").replace(x,n)}function b(a,d,c){var b={},e=a.style,f;for(f in d)b[f]=e[f],e[f]=d[f];c.call(a);for(f in d)e[f]=b[f]}function e(a,d,c){var b,e,f;if(!(3===a.nodeType||8===a.nodeType||!(b=a.style)))if(d=q(d),f=D[d],d=B[d]||d,void 0!==c){null===c||c===p?c=p:!isNaN(Number(c))&&!z[d]&&(c+=w);f&&f.set&&(c=f.set(a,c));if(void 0!==c){try{b[d]=c}catch(g){"css set error:"+g}c===p&& -b.removeAttribute&&b.removeAttribute(d)}b.cssText||a.removeAttribute("style")}else{if(!f||!("get"in f&&void 0!==(e=f.get(a,!1))))e=b[d];return void 0===e?"":e}}function l(a){var d,c=arguments;0!==a.offsetWidth?d=g.apply(void 0,c):b(a,L,function(){d=g.apply(void 0,c)});return d}function g(d,c,b){if(h.isWindow(d))return c===t?a.viewportWidth(d):a.viewportHeight(d);if(9===d.nodeType)return c===t?a.docWidth(d):a.docHeight(d);var e=c===t?["Left","Right"]:["Top","Bottom"],f=c===t?d.offsetWidth:d.offsetHeight; -if(0Number(f))f=d.style[c]||0;f=parseFloat(f)||0;b&&h.each(e,function(c){f+=parseFloat(a.css(d,"padding"+c))||0;"padding"!==b&&(f+=parseFloat(a.css(d,"border"+c+"Width"))||0);"margin"===b&&(f+=parseFloat(a.css(d,b+c))||0)});return f}var a=m("./api"),j=h.Env.host,k=h.UA,c=h.Features, -d=a.nodeName,f=j.document,r=/^margin/,t="width",i="display"+h.now(),z={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},s=/^-ms-/,p="",w="px",H=/\d(?!px)[a-z%]+$/i,D={},B={"float":"cssFloat"},F={},x=/-([a-z])/ig,y=f&&f.documentElement.style||{},u;h.each(["","Webkit","Moz","O","ms"],function(a){a=a?a+"UserSelect":"userSelect";void 0===u&&a in y&&(u=a)});if(c.isTransformSupported()){var v;v=B.transform=c.getTransformProperty();B.transformOrigin=v+"Origin"}c.isTransitionSupported()&& -(B.transition=c.getTransitionProperty());h.mix(a,{_camelCase:q,_cssHooks:D,_cssProps:B,_getComputedStyle:function(d,c){var b="",e,f,g,h,i;f=d.ownerDocument;c=B[c]||c;if(e=f.defaultView.getComputedStyle(d,null))b=e.getPropertyValue(c)||e[c];b===""&&!a.contains(f,d)&&(b=d.style[c]);if(a._RE_NUM_NO_PX.test(b)&&r.test(c)){i=d.style;f=i.width;g=i.minWidth;h=i.maxWidth;i.minWidth=i.maxWidth=i.width=b;b=e.width;i.width=f;i.minWidth=g;i.maxWidth=h}return b},style:function(d,c,b){var d=a.query(d),f,g=d[0]; -if(h.isPlainObject(c))for(f in c)for(g=d.length-1;g>=0;g--)e(d[g],f,c[f]);else{if(b===void 0){f="";g&&(f=e(g,c,b));return f}for(g=d.length-1;g>=0;g--)e(d[g],c,b)}},css:function(d,c,b){var d=a.query(d),f=d[0],g;if(h.isPlainObject(c))for(g in c)for(f=d.length-1;f>=0;f--)e(d[f],g,c[g]);else{c=q(c);g=D[c];if(b===void 0){b="";if(f&&(!g||!("get"in g&&(b=g.get(f,true))!==void 0)))b=a._getComputedStyle(f,c);return typeof b==="undefined"?"":b}for(f=d.length-1;f>=0;f--)e(d[f],c,b)}},show:function(d){var d= -a.query(d),c,b,e;for(e=d.length-1;e>=0;e--){b=d[e];b.style.display=a.data(b,i)||p;if(a.css(b,"display")==="none"){c=b.tagName.toLowerCase();var g=void 0,h=F[c],j=void 0;if(!F[c]){g=f.body||f.documentElement;j=f.createElement(c);a.prepend(j,g);h=a.css(j,"display");g.removeChild(j);F[c]=h}c=h;a.data(b,i,c);b.style.display=c}}},hide:function(d){var d=a.query(d),c,b;for(b=d.length-1;b>=0;b--){c=d[b];var e=c.style,f=e.display;if(f!=="none"){f&&a.data(c,i,f);e.display="none"}}},toggle:function(d){var d= -a.query(d),c,b;for(b=d.length-1;b>=0;b--){c=d[b];a.css(c,"display")==="none"?a.show(c):a.hide(c)}},addStyleSheet:function(d,c,b){if(typeof d==="string"){b=c;c=d;d=j}var d=a.getDocument(d),e;if(b&&(b=b.replace("#",p)))e=a.get("#"+b,d);if(!e){e=a.create("",data:f||"",script:b?'') : ''}); } - _$jscoverage['/editor.js'].lineData[1109]++; + _$jscoverage['/editor.js'].lineData[1110]++; var saveLater = S.buffer(function() { _$jscoverage['/editor.js'].functionData[68]++; - _$jscoverage['/editor.js'].lineData[1110]++; + _$jscoverage['/editor.js'].lineData[1111]++; this.execCommand('save'); }, 50); - _$jscoverage['/editor.js'].lineData[1113]++; + _$jscoverage['/editor.js'].lineData[1114]++; function setUpIFrame(self, data) { _$jscoverage['/editor.js'].functionData[69]++; - _$jscoverage['/editor.js'].lineData[1114]++; + _$jscoverage['/editor.js'].lineData[1115]++; var iframe = self.get('iframe'), html = prepareIFrameHTML(self.get('id'), self.get('customStyle'), self.get('customLink'), data), iframeDom = iframe[0], win = iframeDom.contentWindow, doc; - _$jscoverage['/editor.js'].lineData[1121]++; - iframe.__loaded = 1; _$jscoverage['/editor.js'].lineData[1122]++; + iframe.__loaded = 1; + _$jscoverage['/editor.js'].lineData[1123]++; try { - _$jscoverage['/editor.js'].lineData[1130]++; + _$jscoverage['/editor.js'].lineData[1131]++; doc = win.document; } catch (e) { - _$jscoverage['/editor.js'].lineData[1135]++; + _$jscoverage['/editor.js'].lineData[1136]++; iframeDom.src = iframeDom.src; - _$jscoverage['/editor.js'].lineData[1138]++; - if (visit1242_1138_1(IS_IE < 7)) { - _$jscoverage['/editor.js'].lineData[1139]++; - setTimeout(run, 10); + _$jscoverage['/editor.js'].lineData[1139]++; + if (visit1242_1139_1(IS_IE < 7)) { _$jscoverage['/editor.js'].lineData[1140]++; + setTimeout(run, 10); + _$jscoverage['/editor.js'].lineData[1141]++; return; } } - _$jscoverage['/editor.js'].lineData[1143]++; - run(); _$jscoverage['/editor.js'].lineData[1144]++; + run(); + _$jscoverage['/editor.js'].lineData[1145]++; function run() { _$jscoverage['/editor.js'].functionData[70]++; - _$jscoverage['/editor.js'].lineData[1145]++; - doc = win.document; _$jscoverage['/editor.js'].lineData[1146]++; - self.setInternal('document', new Node(doc)); + doc = win.document; _$jscoverage['/editor.js'].lineData[1147]++; - self.setInternal('window', new Node(win)); + self.setInternal('document', new Node(doc)); _$jscoverage['/editor.js'].lineData[1148]++; + self.setInternal('window', new Node(win)); + _$jscoverage['/editor.js'].lineData[1149]++; iframe.detach(); - _$jscoverage['/editor.js'].lineData[1150]++; - doc.open('text/html', 'replace'); _$jscoverage['/editor.js'].lineData[1151]++; - doc.write(html); + doc.open('text/html', 'replace'); _$jscoverage['/editor.js'].lineData[1152]++; + doc.write(html); + _$jscoverage['/editor.js'].lineData[1153]++; doc.close(); } } - _$jscoverage['/editor.js'].lineData[1156]++; + _$jscoverage['/editor.js'].lineData[1157]++; function createIframe(self, afterData) { _$jscoverage['/editor.js'].functionData[71]++; - _$jscoverage['/editor.js'].lineData[1160]++; - var iframeSrc = visit1243_1160_1($(window).getEmptyIframeSrc() || ''); _$jscoverage['/editor.js'].lineData[1161]++; - if (visit1244_1161_1(iframeSrc)) { - _$jscoverage['/editor.js'].lineData[1162]++; + var iframeSrc = visit1243_1161_1($(window).getEmptyIframeSrc() || ''); + _$jscoverage['/editor.js'].lineData[1162]++; + if (visit1244_1162_1(iframeSrc)) { + _$jscoverage['/editor.js'].lineData[1163]++; iframeSrc = ' src="' + iframeSrc + '" '; } - _$jscoverage['/editor.js'].lineData[1164]++; + _$jscoverage['/editor.js'].lineData[1165]++; var iframe = new Node(S.substitute(IFRAME_TPL, { iframeSrc: iframeSrc, prefixCls: self.get('prefixCls')})), textarea = self.get('textarea'); - _$jscoverage['/editor.js'].lineData[1169]++; - if (visit1245_1169_1(textarea.hasAttr('tabindex'))) { - _$jscoverage['/editor.js'].lineData[1170]++; + _$jscoverage['/editor.js'].lineData[1170]++; + if (visit1245_1170_1(textarea.hasAttr('tabindex'))) { + _$jscoverage['/editor.js'].lineData[1171]++; iframe.attr('tabindex', UA.webkit ? -1 : textarea.attr('tabindex')); } - _$jscoverage['/editor.js'].lineData[1172]++; - textarea.parent().prepend(iframe); _$jscoverage['/editor.js'].lineData[1173]++; - self.set('iframe', iframe); + textarea.parent().prepend(iframe); _$jscoverage['/editor.js'].lineData[1174]++; + self.set('iframe', iframe); + _$jscoverage['/editor.js'].lineData[1175]++; self.__docReady = 0; - _$jscoverage['/editor.js'].lineData[1176]++; - if (visit1246_1176_1(UA.gecko && !iframe.__loaded)) { - _$jscoverage['/editor.js'].lineData[1177]++; + _$jscoverage['/editor.js'].lineData[1177]++; + if (visit1246_1177_1(UA.gecko && !iframe.__loaded)) { + _$jscoverage['/editor.js'].lineData[1178]++; iframe.on('load', function() { _$jscoverage['/editor.js'].functionData[72]++; - _$jscoverage['/editor.js'].lineData[1178]++; + _$jscoverage['/editor.js'].lineData[1179]++; setUpIFrame(self, afterData); }, self); } else { - _$jscoverage['/editor.js'].lineData[1182]++; + _$jscoverage['/editor.js'].lineData[1183]++; setUpIFrame(self, afterData); } } - _$jscoverage['/editor.js'].lineData[1186]++; + _$jscoverage['/editor.js'].lineData[1187]++; function clearIframeDocContent(self) { _$jscoverage['/editor.js'].functionData[73]++; - _$jscoverage['/editor.js'].lineData[1187]++; - if (visit1247_1187_1(!self.get('iframe'))) { - _$jscoverage['/editor.js'].lineData[1188]++; + _$jscoverage['/editor.js'].lineData[1188]++; + if (visit1247_1188_1(!self.get('iframe'))) { + _$jscoverage['/editor.js'].lineData[1189]++; return; } - _$jscoverage['/editor.js'].lineData[1190]++; + _$jscoverage['/editor.js'].lineData[1191]++; var iframe = self.get('iframe'), win = self.get('window'), doc = self.get('document'), domDoc = doc[0], documentElement = $(domDoc.documentElement), body = $(domDoc.body); - _$jscoverage['/editor.js'].lineData[1196]++; + _$jscoverage['/editor.js'].lineData[1197]++; S.each([doc, documentElement, body, win], function(el) { _$jscoverage['/editor.js'].functionData[74]++; - _$jscoverage['/editor.js'].lineData[1197]++; + _$jscoverage['/editor.js'].lineData[1198]++; el.detach(); }); - _$jscoverage['/editor.js'].lineData[1199]++; + _$jscoverage['/editor.js'].lineData[1200]++; iframe.remove(); } }); diff --git a/src/editor/coverage/src/editor/plugin-meta.js b/src/editor/coverage/src/editor/plugin-meta.js index 1071c56d23..b34bb7a883 100644 --- a/src/editor/coverage/src/editor/plugin-meta.js +++ b/src/editor/coverage/src/editor/plugin-meta.js @@ -680,7 +680,7 @@ KISSY.add(function() { _$jscoverage['/editor/plugin-meta.js'].lineData[346]++; config({ 'editor/plugin/video/dialog': { - requires: ['editor', 'editor/plugin/flash/dialog', 'editor/plugin/menubutton']}}); + requires: ['editor', 'io', 'editor/plugin/flash/dialog', 'editor/plugin/menubutton']}}); _$jscoverage['/editor/plugin-meta.js'].lineData[350]++; config({ 'editor/plugin/word-filter': { diff --git a/src/editor/coverage/src/editor/range.js b/src/editor/coverage/src/editor/range.js index 84ba8d7540..d669e7b014 100644 --- a/src/editor/coverage/src/editor/range.js +++ b/src/editor/coverage/src/editor/range.js @@ -1522,7 +1522,7 @@ function visit584_1412_2(result) { function visit583_1412_1(result) { _$jscoverage['/editor/range.js'].branchData['1412'][1].ranCondition(result); return result; -}_$jscoverage['/editor/range.js'].branchData['1394'][1].init(4385, 6, 'tailBr'); +}_$jscoverage['/editor/range.js'].branchData['1394'][1].init(4381, 6, 'tailBr'); function visit582_1394_1(result) { _$jscoverage['/editor/range.js'].branchData['1394'][1].ranCondition(result); return result; @@ -1538,7 +1538,7 @@ function visit580_1389_2(result) { function visit579_1389_1(result) { _$jscoverage['/editor/range.js'].branchData['1389'][1].ranCondition(result); return result; -}_$jscoverage['/editor/range.js'].branchData['1383'][1].init(3695, 21, 'blockBoundary || body'); +}_$jscoverage['/editor/range.js'].branchData['1383'][1].init(3691, 21, 'blockBoundary || body'); function visit578_1383_1(result) { _$jscoverage['/editor/range.js'].branchData['1383'][1].ranCondition(result); return result; @@ -3521,7 +3521,7 @@ KISSY.add(function(S, require) { return function(unit) { _$jscoverage['/editor/range.js'].functionData[40]++; _$jscoverage['/editor/range.js'].lineData[1290]++; - var self = this; + var self = this, enlargeable; _$jscoverage['/editor/range.js'].lineData[1291]++; switch (unit) { case KER.ENLARGE_ELEMENT: @@ -3603,7 +3603,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1377]++; blockBoundary = NULL; _$jscoverage['/editor/range.js'].lineData[1380]++; - var enlargeable = walker.lastForward(); + enlargeable = walker.lastForward(); _$jscoverage['/editor/range.js'].lineData[1383]++; blockBoundary = visit578_1383_1(blockBoundary || body); _$jscoverage['/editor/range.js'].lineData[1387]++; diff --git a/src/editor/coverage/src/editor/utils.js b/src/editor/coverage/src/editor/utils.js index c4600a1c45..c84f425ad2 100644 --- a/src/editor/coverage/src/editor/utils.js +++ b/src/editor/coverage/src/editor/utils.js @@ -556,7 +556,7 @@ KISSY.add(function(S, require) { url += 't=' + encodeURIComponent(Config.tag); } _$jscoverage['/editor/utils.js'].lineData[34]++; - return Config.base + 'editor/' + url; + return S.config('base') + 'editor/' + url; }, lazyRun: function(obj, before, after) { _$jscoverage['/editor/utils.js'].functionData[2]++; diff --git a/src/editor/src/editor.js b/src/editor/src/editor.js index d700ff21da..c2d39d1fdf 100644 --- a/src/editor/src/editor.js +++ b/src/editor/src/editor.js @@ -1071,8 +1071,8 @@ KISSY.add(function (S, require, exports, module) { function prepareIFrameHTML(id, customStyle, customLink, data) { var links = '', - i, - innerCssFile = Utils.debugUrl('theme/editor-iframe.css'); + i; + var innerCssFile = Utils.debugUrl('theme/editor-iframe.css'); customLink = customLink.concat([]); customLink.unshift(innerCssFile); for (i = 0; i < customLink.length; i++) { @@ -1106,6 +1106,7 @@ KISSY.add(function (S, require, exports, module) { '' }); } + var saveLater = S.buffer(function () { this.execCommand('save'); }, 50); @@ -1198,6 +1199,7 @@ KISSY.add(function (S, require, exports, module) { }); iframe.remove(); } + // ------------------------------------------------------------------- end private }); /** diff --git a/src/editor/src/editor/plugin-meta.js b/src/editor/src/editor/plugin-meta.js index c11871b5e9..1a6f084d72 100644 --- a/src/editor/src/editor/plugin-meta.js +++ b/src/editor/src/editor/plugin-meta.js @@ -344,7 +344,7 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/video/dialog': {requires: ['editor','editor/plugin/flash/dialog','editor/plugin/menubutton']} +'editor/plugin/video/dialog': {requires: ['editor','io','editor/plugin/flash/dialog','editor/plugin/menubutton']} }); /*Generated By KISSY Module Compiler*/ config({ diff --git a/src/editor/src/editor/range.js b/src/editor/src/editor/range.js index c1ef76e76c..e17d22160f 100644 --- a/src/editor/src/editor/range.js +++ b/src/editor/src/editor/range.js @@ -1287,7 +1287,7 @@ KISSY.add(function (S, require) { } return function (unit) { - var self = this; + var self = this, enlargeable; switch (unit) { case KER.ENLARGE_ELEMENT : @@ -1377,7 +1377,7 @@ KISSY.add(function (S, require) { blockBoundary = NULL; // End the range right before the block boundary node. - var enlargeable = walker.lastForward(); + enlargeable = walker.lastForward(); // It's the body which stop the enlarging if no block boundary found. blockBoundary = blockBoundary || body; diff --git a/src/editor/src/editor/utils.js b/src/editor/src/editor/utils.js index 1233fe023e..703d1702db 100644 --- a/src/editor/src/editor/utils.js +++ b/src/editor/src/editor/utils.js @@ -31,7 +31,7 @@ KISSY.add(function (S, require) { } url += 't=' + encodeURIComponent(Config.tag); } - return Config.base + 'editor/' + url; + return S.config('base') + 'editor/' + url; }, lazyRun: function (obj, before, after) { diff --git a/src/editor/sub-modules/plugin/element-path/coverage/src/element-path.js b/src/editor/sub-modules/plugin/element-path/coverage/src/element-path.js index 6ccd68f114..8bf94cab02 100644 --- a/src/editor/sub-modules/plugin/element-path/coverage/src/element-path.js +++ b/src/editor/sub-modules/plugin/element-path/coverage/src/element-path.js @@ -294,7 +294,7 @@ if (! _$jscoverage['/element-path.js'].branchData) { _$jscoverage['/element-path.js'].branchData['52'] = []; _$jscoverage['/element-path.js'].branchData['52'][1] = new BranchData(); } -_$jscoverage['/element-path.js'].branchData['52'][1].init(102, 56, 'element.attr(\'_keRealElementType\') || element.nodeName()'); +_$jscoverage['/element-path.js'].branchData['52'][1].init(102, 59, 'element.attr(\'_ke_real_element_type\') || element.nodeName()'); function visit3_52_1(result) { _$jscoverage['/element-path.js'].branchData['52'][1].ranCondition(result); return result; @@ -368,7 +368,7 @@ KISSY.add(function(S, require) { _$jscoverage['/element-path.js'].lineData[50]++; element = elements[i]; _$jscoverage['/element-path.js'].lineData[52]++; - var type = visit3_52_1(element.attr('_keRealElementType') || element.nodeName()), a = new Node('
' + type + ''); + var type = visit3_52_1(element.attr('_ke_real_element_type') || element.nodeName()), a = new Node('' + type + ''); _$jscoverage['/element-path.js'].lineData[60]++; self._cache.push(a); _$jscoverage['/element-path.js'].lineData[62]++; diff --git a/src/editor/sub-modules/plugin/element-path/src/element-path.js b/src/editor/sub-modules/plugin/element-path/src/element-path.js index 9760cc5879..da370ff055 100644 --- a/src/editor/sub-modules/plugin/element-path/src/element-path.js +++ b/src/editor/sub-modules/plugin/element-path/src/element-path.js @@ -49,7 +49,7 @@ KISSY.add(function (S, require) { for (i = 0; i < elements.length; i++) { element = elements[i]; // 考虑 fake objects - var type = element.attr('_keRealElementType') || element.nodeName(), + var type = element.attr('_ke_real_element_type') || element.nodeName(), a = new Node('', attributes, self.get('document')[0]); }, restoreRealElement: function(fakeElement) { _$jscoverage['/fake-objects.js'].functionData[2]++; - _$jscoverage['/fake-objects.js'].lineData[53]++; - if (visit8_53_1(fakeElement.attr('_keRealNodeType') !== Dom.NodeType.ELEMENT_NODE)) { - _$jscoverage['/fake-objects.js'].lineData[54]++; + _$jscoverage['/fake-objects.js'].lineData[54]++; + if (visit8_54_1(parseInt(fakeElement.attr('_ke_real_node_type'), 10) !== Dom.NodeType.ELEMENT_NODE)) { + _$jscoverage['/fake-objects.js'].lineData[55]++; return null; } - _$jscoverage['/fake-objects.js'].lineData[57]++; - var html = (S.urlDecode(fakeElement.attr('_keRealElement'))); - _$jscoverage['/fake-objects.js'].lineData[59]++; - var temp = new Node('
', null, this.get('document')[0]); + _$jscoverage['/fake-objects.js'].lineData[58]++; + var html = (S.urlDecode(fakeElement.attr('_ke_real_element'))); _$jscoverage['/fake-objects.js'].lineData[60]++; + var temp = new Node('
', null, this.get('document')[0]); + _$jscoverage['/fake-objects.js'].lineData[61]++; temp.html(html); - _$jscoverage['/fake-objects.js'].lineData[62]++; + _$jscoverage['/fake-objects.js'].lineData[63]++; return temp.first().remove(); }}); - _$jscoverage['/fake-objects.js'].lineData[66]++; + _$jscoverage['/fake-objects.js'].lineData[67]++; var htmlFilterRules = { tags: { $: function(element) { _$jscoverage['/fake-objects.js'].functionData[3]++; - _$jscoverage['/fake-objects.js'].lineData[70]++; - var realHTML = element.getAttribute('_keRealElement'); - _$jscoverage['/fake-objects.js'].lineData[72]++; + _$jscoverage['/fake-objects.js'].lineData[71]++; + var realHTML = element.getAttribute('_ke_real_element'); + _$jscoverage['/fake-objects.js'].lineData[73]++; var realFragment; - _$jscoverage['/fake-objects.js'].lineData[74]++; - if (visit9_74_1(realHTML)) { - _$jscoverage['/fake-objects.js'].lineData[75]++; + _$jscoverage['/fake-objects.js'].lineData[75]++; + if (visit9_75_1(realHTML)) { + _$jscoverage['/fake-objects.js'].lineData[76]++; realFragment = new HtmlParser.Parser(S.urlDecode(realHTML)).parse(); } - _$jscoverage['/fake-objects.js'].lineData[78]++; - var realElement = visit10_78_1(realFragment && realFragment.childNodes[0]); - _$jscoverage['/fake-objects.js'].lineData[82]++; - if (visit11_82_1(realElement)) { - _$jscoverage['/fake-objects.js'].lineData[83]++; - var style = element.getAttribute('style'); + _$jscoverage['/fake-objects.js'].lineData[79]++; + var realElement = visit10_79_1(realFragment && realFragment.childNodes[0]); + _$jscoverage['/fake-objects.js'].lineData[83]++; + if (visit11_83_1(realElement)) { _$jscoverage['/fake-objects.js'].lineData[84]++; - if (visit12_84_1(style)) { - _$jscoverage['/fake-objects.js'].lineData[86]++; - var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec(style), width = visit13_87_1(match && match[1]); - _$jscoverage['/fake-objects.js'].lineData[90]++; + var style = element.getAttribute('style'); + _$jscoverage['/fake-objects.js'].lineData[85]++; + if (visit12_85_1(style)) { + _$jscoverage['/fake-objects.js'].lineData[87]++; + var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec(style), width = visit13_88_1(match && match[1]); + _$jscoverage['/fake-objects.js'].lineData[91]++; match = /(?:^|\s)height\s*:\s*(\d+)/i.exec(style); - _$jscoverage['/fake-objects.js'].lineData[92]++; - var height = visit14_92_1(match && match[1]); - _$jscoverage['/fake-objects.js'].lineData[94]++; - if (visit15_94_1(width)) { - _$jscoverage['/fake-objects.js'].lineData[95]++; + _$jscoverage['/fake-objects.js'].lineData[93]++; + var height = visit14_93_1(match && match[1]); + _$jscoverage['/fake-objects.js'].lineData[95]++; + if (visit15_95_1(width)) { + _$jscoverage['/fake-objects.js'].lineData[96]++; realElement.setAttribute('width', width); } - _$jscoverage['/fake-objects.js'].lineData[97]++; - if (visit16_97_1(height)) { - _$jscoverage['/fake-objects.js'].lineData[98]++; + _$jscoverage['/fake-objects.js'].lineData[98]++; + if (visit16_98_1(height)) { + _$jscoverage['/fake-objects.js'].lineData[99]++; realElement.setAttribute('height', height); } } - _$jscoverage['/fake-objects.js'].lineData[101]++; + _$jscoverage['/fake-objects.js'].lineData[102]++; return realElement; } }}}; - _$jscoverage['/fake-objects.js'].lineData[108]++; + _$jscoverage['/fake-objects.js'].lineData[109]++; return { init: function(editor) { _$jscoverage['/fake-objects.js'].functionData[4]++; - _$jscoverage['/fake-objects.js'].lineData[110]++; - var dataProcessor = editor.htmlDataProcessor, htmlFilter = visit17_111_1(dataProcessor && dataProcessor.htmlFilter); - _$jscoverage['/fake-objects.js'].lineData[113]++; - if (visit18_113_1(dataProcessor.createFakeParserElement)) { - _$jscoverage['/fake-objects.js'].lineData[114]++; + _$jscoverage['/fake-objects.js'].lineData[111]++; + var dataProcessor = editor.htmlDataProcessor, htmlFilter = visit17_112_1(dataProcessor && dataProcessor.htmlFilter); + _$jscoverage['/fake-objects.js'].lineData[114]++; + if (visit18_114_1(dataProcessor.createFakeParserElement)) { + _$jscoverage['/fake-objects.js'].lineData[115]++; return; } - _$jscoverage['/fake-objects.js'].lineData[117]++; - if (visit19_117_1(htmlFilter)) { - _$jscoverage['/fake-objects.js'].lineData[118]++; + _$jscoverage['/fake-objects.js'].lineData[118]++; + if (visit19_118_1(htmlFilter)) { + _$jscoverage['/fake-objects.js'].lineData[119]++; htmlFilter.addRules(htmlFilterRules); } - _$jscoverage['/fake-objects.js'].lineData[121]++; + _$jscoverage['/fake-objects.js'].lineData[122]++; S.mix(dataProcessor, { restoreRealElement: function(fakeElement) { _$jscoverage['/fake-objects.js'].functionData[5]++; - _$jscoverage['/fake-objects.js'].lineData[123]++; - if (visit20_123_1(fakeElement.attr('_keRealNodeType') !== Dom.NodeType.ELEMENT_NODE)) { - _$jscoverage['/fake-objects.js'].lineData[124]++; + _$jscoverage['/fake-objects.js'].lineData[124]++; + if (visit20_124_1(parseInt(fakeElement.attr('_ke_real_node_type'), 10) !== Dom.NodeType.ELEMENT_NODE)) { + _$jscoverage['/fake-objects.js'].lineData[125]++; return null; } - _$jscoverage['/fake-objects.js'].lineData[127]++; - var html = (S.urlDecode(fakeElement.attr('_keRealElement'))); - _$jscoverage['/fake-objects.js'].lineData[129]++; - var temp = new Node('
', null, editor.get('document')[0]); + _$jscoverage['/fake-objects.js'].lineData[128]++; + var html = (S.urlDecode(fakeElement.attr('_ke_real_element'))); _$jscoverage['/fake-objects.js'].lineData[130]++; + var temp = new Node('
', null, editor.get('document')[0]); + _$jscoverage['/fake-objects.js'].lineData[131]++; temp.html(html); - _$jscoverage['/fake-objects.js'].lineData[132]++; + _$jscoverage['/fake-objects.js'].lineData[133]++; return temp.first().remove(); }, createFakeParserElement: function(realElement, className, realElementType, isResizable, attrs) { _$jscoverage['/fake-objects.js'].functionData[6]++; - _$jscoverage['/fake-objects.js'].lineData[138]++; - var html = HtmlParser.serialize(realElement); _$jscoverage['/fake-objects.js'].lineData[139]++; - var style = visit21_139_1(realElement.getAttribute('style') || ''); + var html = HtmlParser.serialize(realElement); _$jscoverage['/fake-objects.js'].lineData[140]++; - if (visit22_140_1(realElement.getAttribute('width'))) { - _$jscoverage['/fake-objects.js'].lineData[141]++; + var style = visit21_140_1(realElement.getAttribute('style') || ''); + _$jscoverage['/fake-objects.js'].lineData[141]++; + if (visit22_141_1(realElement.getAttribute('width'))) { + _$jscoverage['/fake-objects.js'].lineData[142]++; style = 'width:' + realElement.getAttribute('width') + 'px;' + style; } - _$jscoverage['/fake-objects.js'].lineData[143]++; - if (visit23_143_1(realElement.getAttribute('height'))) { - _$jscoverage['/fake-objects.js'].lineData[144]++; + _$jscoverage['/fake-objects.js'].lineData[144]++; + if (visit23_144_1(realElement.getAttribute('height'))) { + _$jscoverage['/fake-objects.js'].lineData[145]++; style = 'height:' + realElement.getAttribute('height') + 'px;' + style; } - _$jscoverage['/fake-objects.js'].lineData[147]++; + _$jscoverage['/fake-objects.js'].lineData[148]++; var existClass = S.trim(realElement.getAttribute('class')), attributes = { 'class': className + ' ' + existClass, src: SPACER_GIF, - _keRealElement: encodeURIComponent(html), - _keRealNodeType: realElement.nodeType + '', + _ke_real_element: encodeURIComponent(html), + _ke_real_node_type: realElement.nodeType + '', style: style, - align: visit24_154_1(realElement.getAttribute('align') || '')}; - _$jscoverage['/fake-objects.js'].lineData[157]++; - if (visit25_157_1(attrs)) { - _$jscoverage['/fake-objects.js'].lineData[158]++; - delete attrs.width; + align: visit24_155_1(realElement.getAttribute('align') || '')}; + _$jscoverage['/fake-objects.js'].lineData[158]++; + if (visit25_158_1(attrs)) { _$jscoverage['/fake-objects.js'].lineData[159]++; - delete attrs.height; + delete attrs.width; _$jscoverage['/fake-objects.js'].lineData[160]++; + delete attrs.height; + _$jscoverage['/fake-objects.js'].lineData[161]++; S.mix(attributes, attrs, false); } - _$jscoverage['/fake-objects.js'].lineData[163]++; - if (visit26_163_1(realElementType)) { - _$jscoverage['/fake-objects.js'].lineData[164]++; - attributes._keRealElementType = realElementType; + _$jscoverage['/fake-objects.js'].lineData[164]++; + if (visit26_164_1(realElementType)) { + _$jscoverage['/fake-objects.js'].lineData[165]++; + attributes._ke_real_element_type = realElementType; } - _$jscoverage['/fake-objects.js'].lineData[166]++; - if (visit27_166_1(isResizable)) { - _$jscoverage['/fake-objects.js'].lineData[167]++; - attributes._keResizable = '_keResizable'; + _$jscoverage['/fake-objects.js'].lineData[167]++; + if (visit27_167_1(isResizable)) { + _$jscoverage['/fake-objects.js'].lineData[168]++; + attributes._ke_resizable = '_ke_resizable'; } - _$jscoverage['/fake-objects.js'].lineData[169]++; + _$jscoverage['/fake-objects.js'].lineData[170]++; return new HtmlParser.Tag('img', attributes); }}); }}; diff --git a/src/editor/sub-modules/plugin/fake-objects/src/fake-objects.js b/src/editor/sub-modules/plugin/fake-objects/src/fake-objects.js index 0242aaf939..80797197ad 100644 --- a/src/editor/sub-modules/plugin/fake-objects/src/fake-objects.js +++ b/src/editor/sub-modules/plugin/fake-objects/src/fake-objects.js @@ -4,6 +4,7 @@ * @author yiminghe@gmail.com */ KISSY.add(function (S, require) { + /*jshint camelcase:false*/ var Editor = require('editor'); var HtmlParser = require('html-parser'); @@ -28,8 +29,8 @@ KISSY.add(function (S, require) { attributes = { 'class': className + ' ' + existClass, src: SPACER_GIF, - _keRealElement: encodeURIComponent(outerHTML || realElement.outerHtml()), - _keRealNodeType: realElement[0].nodeType, + _ke_real_element: encodeURIComponent(outerHTML || realElement.outerHtml()), + _ke_real_node_type: realElement[0].nodeType, style: style }; @@ -39,22 +40,22 @@ KISSY.add(function (S, require) { S.mix(attributes, attrs, false); } - if (realElementType){ - attributes._keRealElementType = realElementType; + if (realElementType) { + attributes._ke_real_element_type = realElementType; } - if (isResizable){ - attributes._keResizable = isResizable; + if (isResizable) { + attributes._ke_resizable = isResizable; } return new Node('', attributes, self.get('document')[0]); }, restoreRealElement: function (fakeElement) { - if (fakeElement.attr('_keRealNodeType') !== Dom.NodeType.ELEMENT_NODE) { + if (parseInt(fakeElement.attr('_ke_real_node_type'), 10) !== Dom.NodeType.ELEMENT_NODE) { return null; } - var html = (S.urlDecode(fakeElement.attr('_keRealElement'))); + var html = (S.urlDecode(fakeElement.attr('_ke_real_element'))); var temp = new Node('
', null, this.get('document')[0]); temp.html(html); @@ -67,7 +68,7 @@ KISSY.add(function (S, require) { tags: { // 生成最终html时,从编辑器html转化把fake替换为真实,并将style的width,height搞到属性上去 $: function (element) { - var realHTML = element.getAttribute('_keRealElement'); + var realHTML = element.getAttribute('_ke_real_element'); var realFragment; @@ -120,11 +121,11 @@ KISSY.add(function (S, require) { S.mix(dataProcessor, { restoreRealElement: function (fakeElement) { - if (fakeElement.attr('_keRealNodeType') !== Dom.NodeType.ELEMENT_NODE) { + if (parseInt(fakeElement.attr('_ke_real_node_type'), 10) !== Dom.NodeType.ELEMENT_NODE) { return null; } - var html = (S.urlDecode(fakeElement.attr('_keRealElement'))); + var html = (S.urlDecode(fakeElement.attr('_ke_real_element'))); var temp = new Node('
', null, editor.get('document')[0]); temp.html(html); @@ -148,8 +149,8 @@ KISSY.add(function (S, require) { attributes = { 'class': className + ' ' + existClass, src: SPACER_GIF, - _keRealElement: encodeURIComponent(html), - _keRealNodeType: realElement.nodeType + '', + _ke_real_element: encodeURIComponent(html), + _ke_real_node_type: realElement.nodeType + '', style: style, align: realElement.getAttribute('align') || '' }; @@ -161,10 +162,10 @@ KISSY.add(function (S, require) { } if (realElementType) { - attributes._keRealElementType = realElementType; + attributes._ke_real_element_type = realElementType; } if (isResizable) { - attributes._keResizable = '_keResizable'; + attributes._ke_resizable = '_ke_resizable'; } return new HtmlParser.Tag('img', attributes); } diff --git a/src/editor/sub-modules/plugin/flash/coverage/src/flash.js b/src/editor/sub-modules/plugin/flash/coverage/src/flash.js index 6d822f16d0..7529e0a228 100644 --- a/src/editor/sub-modules/plugin/flash/coverage/src/flash.js +++ b/src/editor/sub-modules/plugin/flash/coverage/src/flash.js @@ -239,30 +239,30 @@ if (! _$jscoverage['/flash.js']) { _$jscoverage['/flash.js'].lineData[16] = 0; _$jscoverage['/flash.js'].lineData[17] = 0; _$jscoverage['/flash.js'].lineData[20] = 0; - _$jscoverage['/flash.js'].lineData[23] = 0; - _$jscoverage['/flash.js'].lineData[25] = 0; - _$jscoverage['/flash.js'].lineData[28] = 0; + _$jscoverage['/flash.js'].lineData[22] = 0; + _$jscoverage['/flash.js'].lineData[24] = 0; + _$jscoverage['/flash.js'].lineData[27] = 0; + _$jscoverage['/flash.js'].lineData[30] = 0; _$jscoverage['/flash.js'].lineData[31] = 0; _$jscoverage['/flash.js'].lineData[32] = 0; - _$jscoverage['/flash.js'].lineData[33] = 0; + _$jscoverage['/flash.js'].lineData[34] = 0; _$jscoverage['/flash.js'].lineData[35] = 0; _$jscoverage['/flash.js'].lineData[36] = 0; _$jscoverage['/flash.js'].lineData[37] = 0; - _$jscoverage['/flash.js'].lineData[38] = 0; - _$jscoverage['/flash.js'].lineData[42] = 0; - _$jscoverage['/flash.js'].lineData[46] = 0; - _$jscoverage['/flash.js'].lineData[48] = 0; + _$jscoverage['/flash.js'].lineData[41] = 0; + _$jscoverage['/flash.js'].lineData[45] = 0; + _$jscoverage['/flash.js'].lineData[47] = 0; + _$jscoverage['/flash.js'].lineData[51] = 0; _$jscoverage['/flash.js'].lineData[52] = 0; - _$jscoverage['/flash.js'].lineData[53] = 0; - _$jscoverage['/flash.js'].lineData[56] = 0; - _$jscoverage['/flash.js'].lineData[64] = 0; + _$jscoverage['/flash.js'].lineData[55] = 0; + _$jscoverage['/flash.js'].lineData[63] = 0; + _$jscoverage['/flash.js'].lineData[72] = 0; _$jscoverage['/flash.js'].lineData[73] = 0; _$jscoverage['/flash.js'].lineData[74] = 0; - _$jscoverage['/flash.js'].lineData[75] = 0; - _$jscoverage['/flash.js'].lineData[81] = 0; - _$jscoverage['/flash.js'].lineData[83] = 0; - _$jscoverage['/flash.js'].lineData[87] = 0; - _$jscoverage['/flash.js'].lineData[95] = 0; + _$jscoverage['/flash.js'].lineData[80] = 0; + _$jscoverage['/flash.js'].lineData[82] = 0; + _$jscoverage['/flash.js'].lineData[86] = 0; + _$jscoverage['/flash.js'].lineData[94] = 0; } if (! _$jscoverage['/flash.js'].functionData) { _$jscoverage['/flash.js'].functionData = []; @@ -278,42 +278,42 @@ if (! _$jscoverage['/flash.js'].branchData) { _$jscoverage['/flash.js'].branchData = {}; _$jscoverage['/flash.js'].branchData['17'] = []; _$jscoverage['/flash.js'].branchData['17'][1] = new BranchData(); - _$jscoverage['/flash.js'].branchData['32'] = []; - _$jscoverage['/flash.js'].branchData['32'][1] = new BranchData(); + _$jscoverage['/flash.js'].branchData['31'] = []; + _$jscoverage['/flash.js'].branchData['31'][1] = new BranchData(); + _$jscoverage['/flash.js'].branchData['34'] = []; + _$jscoverage['/flash.js'].branchData['34'][1] = new BranchData(); _$jscoverage['/flash.js'].branchData['35'] = []; _$jscoverage['/flash.js'].branchData['35'][1] = new BranchData(); _$jscoverage['/flash.js'].branchData['36'] = []; _$jscoverage['/flash.js'].branchData['36'][1] = new BranchData(); - _$jscoverage['/flash.js'].branchData['37'] = []; - _$jscoverage['/flash.js'].branchData['37'][1] = new BranchData(); - _$jscoverage['/flash.js'].branchData['52'] = []; - _$jscoverage['/flash.js'].branchData['52'][1] = new BranchData(); - _$jscoverage['/flash.js'].branchData['74'] = []; - _$jscoverage['/flash.js'].branchData['74'][1] = new BranchData(); + _$jscoverage['/flash.js'].branchData['51'] = []; + _$jscoverage['/flash.js'].branchData['51'][1] = new BranchData(); + _$jscoverage['/flash.js'].branchData['73'] = []; + _$jscoverage['/flash.js'].branchData['73'][1] = new BranchData(); } -_$jscoverage['/flash.js'].branchData['74'][1].init(100, 10, 'selectedEl'); -function visit7_74_1(result) { - _$jscoverage['/flash.js'].branchData['74'][1].ranCondition(result); +_$jscoverage['/flash.js'].branchData['73'][1].init(100, 10, 'selectedEl'); +function visit7_73_1(result) { + _$jscoverage['/flash.js'].branchData['73'][1].ranCondition(result); return result; -}_$jscoverage['/flash.js'].branchData['52'][1].init(33, 32, 'flashUtils.isFlashEmbed(element)'); -function visit6_52_1(result) { - _$jscoverage['/flash.js'].branchData['52'][1].ranCondition(result); +}_$jscoverage['/flash.js'].branchData['51'][1].init(33, 32, 'flashUtils.isFlashEmbed(element)'); +function visit6_51_1(result) { + _$jscoverage['/flash.js'].branchData['51'][1].ranCondition(result); return result; -}_$jscoverage['/flash.js'].branchData['37'][1].init(45, 44, '!flashUtils.isFlashEmbed(childNodes[i][i])'); -function visit5_37_1(result) { - _$jscoverage['/flash.js'].branchData['37'][1].ranCondition(result); - return result; -}_$jscoverage['/flash.js'].branchData['36'][1].init(41, 34, 'childNodes[i].nodeName === \'embed\''); -function visit4_36_1(result) { +}_$jscoverage['/flash.js'].branchData['36'][1].init(45, 44, '!flashUtils.isFlashEmbed(childNodes[i][i])'); +function visit5_36_1(result) { _$jscoverage['/flash.js'].branchData['36'][1].ranCondition(result); return result; -}_$jscoverage['/flash.js'].branchData['35'][1].init(176, 21, 'i < childNodes.length'); -function visit3_35_1(result) { +}_$jscoverage['/flash.js'].branchData['35'][1].init(41, 34, 'childNodes[i].nodeName === \'embed\''); +function visit4_35_1(result) { _$jscoverage['/flash.js'].branchData['35'][1].ranCondition(result); return result; -}_$jscoverage['/flash.js'].branchData['32'][1].init(111, 8, '!classId'); -function visit2_32_1(result) { - _$jscoverage['/flash.js'].branchData['32'][1].ranCondition(result); +}_$jscoverage['/flash.js'].branchData['34'][1].init(176, 21, 'i < childNodes.length'); +function visit3_34_1(result) { + _$jscoverage['/flash.js'].branchData['34'][1].ranCondition(result); + return result; +}_$jscoverage['/flash.js'].branchData['31'][1].init(111, 8, '!classId'); +function visit2_31_1(result) { + _$jscoverage['/flash.js'].branchData['31'][1].ranCondition(result); return result; }_$jscoverage['/flash.js'].branchData['17'][1].init(23, 12, 'config || {}'); function visit1_17_1(result) { @@ -344,53 +344,53 @@ KISSY.add(function(S, require) { S.augment(FlashPlugin, { pluginRenderUI: function(editor) { _$jscoverage['/flash.js'].functionData[2]++; - _$jscoverage['/flash.js'].lineData[23]++; + _$jscoverage['/flash.js'].lineData[22]++; fakeObjects.init(editor); - _$jscoverage['/flash.js'].lineData[25]++; + _$jscoverage['/flash.js'].lineData[24]++; var dataProcessor = editor.htmlDataProcessor, dataFilter = dataProcessor.dataFilter; - _$jscoverage['/flash.js'].lineData[28]++; + _$jscoverage['/flash.js'].lineData[27]++; dataFilter.addRules({ tags: { 'object': function(element) { _$jscoverage['/flash.js'].functionData[3]++; - _$jscoverage['/flash.js'].lineData[31]++; + _$jscoverage['/flash.js'].lineData[30]++; var classId = element.getAttribute('classid'), i; - _$jscoverage['/flash.js'].lineData[32]++; - if (visit2_32_1(!classId)) { - _$jscoverage['/flash.js'].lineData[33]++; + _$jscoverage['/flash.js'].lineData[31]++; + if (visit2_31_1(!classId)) { + _$jscoverage['/flash.js'].lineData[32]++; var childNodes = element.childNodes; - _$jscoverage['/flash.js'].lineData[35]++; - for (i = 0; visit3_35_1(i < childNodes.length); i++) { - _$jscoverage['/flash.js'].lineData[36]++; - if (visit4_36_1(childNodes[i].nodeName === 'embed')) { - _$jscoverage['/flash.js'].lineData[37]++; - if (visit5_37_1(!flashUtils.isFlashEmbed(childNodes[i][i]))) { - _$jscoverage['/flash.js'].lineData[38]++; + _$jscoverage['/flash.js'].lineData[34]++; + for (i = 0; visit3_34_1(i < childNodes.length); i++) { + _$jscoverage['/flash.js'].lineData[35]++; + if (visit4_35_1(childNodes[i].nodeName === 'embed')) { + _$jscoverage['/flash.js'].lineData[36]++; + if (visit5_36_1(!flashUtils.isFlashEmbed(childNodes[i][i]))) { + _$jscoverage['/flash.js'].lineData[37]++; return dataProcessor.createFakeParserElement(element, CLS_FLASH, TYPE_FLASH, true); } else { - _$jscoverage['/flash.js'].lineData[42]++; + _$jscoverage['/flash.js'].lineData[41]++; return null; } } } - _$jscoverage['/flash.js'].lineData[46]++; + _$jscoverage['/flash.js'].lineData[45]++; return null; } - _$jscoverage['/flash.js'].lineData[48]++; + _$jscoverage['/flash.js'].lineData[47]++; return dataProcessor.createFakeParserElement(element, CLS_FLASH, TYPE_FLASH, true); }, 'embed': function(element) { _$jscoverage['/flash.js'].functionData[4]++; - _$jscoverage['/flash.js'].lineData[52]++; - if (visit6_52_1(flashUtils.isFlashEmbed(element))) { - _$jscoverage['/flash.js'].lineData[53]++; + _$jscoverage['/flash.js'].lineData[51]++; + if (visit6_51_1(flashUtils.isFlashEmbed(element))) { + _$jscoverage['/flash.js'].lineData[52]++; return dataProcessor.createFakeParserElement(element, CLS_FLASH, TYPE_FLASH, true); } else { - _$jscoverage['/flash.js'].lineData[56]++; + _$jscoverage['/flash.js'].lineData[55]++; return null; } }}}, 5); - _$jscoverage['/flash.js'].lineData[64]++; + _$jscoverage['/flash.js'].lineData[63]++; var flashControl = new FlashBaseClass({ editor: editor, cls: CLS_FLASH, @@ -401,27 +401,27 @@ KISSY.add(function(S, require) { contextMenuHandlers: { 'Flash\u5c5e\u6027': function() { _$jscoverage['/flash.js'].functionData[5]++; - _$jscoverage['/flash.js'].lineData[73]++; + _$jscoverage['/flash.js'].lineData[72]++; var selectedEl = this.get('editorSelectedEl'); - _$jscoverage['/flash.js'].lineData[74]++; - if (visit7_74_1(selectedEl)) { - _$jscoverage['/flash.js'].lineData[75]++; + _$jscoverage['/flash.js'].lineData[73]++; + if (visit7_73_1(selectedEl)) { + _$jscoverage['/flash.js'].lineData[74]++; flashControl.show(selectedEl); } }}}); - _$jscoverage['/flash.js'].lineData[81]++; + _$jscoverage['/flash.js'].lineData[80]++; this.flashControl = flashControl; - _$jscoverage['/flash.js'].lineData[83]++; + _$jscoverage['/flash.js'].lineData[82]++; editor.addButton('flash', { tooltip: '\u63d2\u5165Flash', listeners: { click: function() { _$jscoverage['/flash.js'].functionData[6]++; - _$jscoverage['/flash.js'].lineData[87]++; + _$jscoverage['/flash.js'].lineData[86]++; flashControl.show(); }}, mode: Editor.Mode.WYSIWYG_MODE}); }}); - _$jscoverage['/flash.js'].lineData[95]++; + _$jscoverage['/flash.js'].lineData[94]++; return FlashPlugin; }); diff --git a/src/editor/sub-modules/plugin/flash/src/flash.js b/src/editor/sub-modules/plugin/flash/src/flash.js index f80800cf23..419b7bfda3 100644 --- a/src/editor/sub-modules/plugin/flash/src/flash.js +++ b/src/editor/sub-modules/plugin/flash/src/flash.js @@ -19,7 +19,6 @@ KISSY.add(function (S, require) { S.augment(FlashPlugin, { pluginRenderUI: function (editor) { - fakeObjects.init(editor); var dataProcessor = editor.htmlDataProcessor, diff --git a/src/editor/sub-modules/plugin/flash/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/flash/sub-modules/dialog/coverage/src/dialog.js index 7b43ee0179..2422b74fd6 100644 --- a/src/editor/sub-modules/plugin/flash/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/flash/sub-modules/dialog/coverage/src/dialog.js @@ -383,7 +383,7 @@ function visit12_222_1(result) { function visit11_216_1(result) { _$jscoverage['/dialog.js'].branchData['216'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['206'][1].init(36, 33, 'parseInt(self.dMargin.val()) || 0'); +}_$jscoverage['/dialog.js'].branchData['206'][1].init(36, 36, 'parseInt(self.dMargin.val(), 10) || 0'); function visit10_206_1(result) { _$jscoverage['/dialog.js'].branchData['206'][1].ranCondition(result); return result; @@ -395,11 +395,11 @@ function visit9_152_1(result) { function visit8_151_1(result) { _$jscoverage['/dialog.js'].branchData['151'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['148'][1].init(531, 32, 'parseInt(r.style(\'margin\')) || 0'); +}_$jscoverage['/dialog.js'].branchData['148'][1].init(537, 35, 'parseInt(r.style(\'margin\'), 10) || 0'); function visit7_148_1(result) { _$jscoverage['/dialog.js'].branchData['148'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['143'][1].init(266, 15, 'f.css(\'height\')'); +}_$jscoverage['/dialog.js'].branchData['143'][1].init(269, 15, 'f.css(\'height\')'); function visit6_143_1(result) { _$jscoverage['/dialog.js'].branchData['143'][1].ranCondition(result); return result; @@ -519,19 +519,19 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[140]++; if (visit5_140_1(f.css('width'))) { _$jscoverage['/dialog.js'].lineData[141]++; - self.dWidth.val(parseInt(f.css('width'))); + self.dWidth.val(parseInt(f.css('width'), 10)); } _$jscoverage['/dialog.js'].lineData[143]++; if (visit6_143_1(f.css('height'))) { _$jscoverage['/dialog.js'].lineData[144]++; - self.dHeight.val(parseInt(f.css('height'))); + self.dHeight.val(parseInt(f.css('height'), 10)); } _$jscoverage['/dialog.js'].lineData[146]++; self.dAlign.set('value', f.css('float')); _$jscoverage['/dialog.js'].lineData[147]++; Editor.Utils.valInput(self.dUrl, self._getFlashUrl(r)); _$jscoverage['/dialog.js'].lineData[148]++; - self.dMargin.val(visit7_148_1(parseInt(r.style('margin')) || 0)); + self.dMargin.val(visit7_148_1(parseInt(r.style('margin'), 10) || 0)); } else { _$jscoverage['/dialog.js'].lineData[150]++; Editor.Utils.resetInput(self.dUrl); @@ -600,7 +600,7 @@ KISSY.add(function(S, require) { attrs: { width: self.dWidth.val(), height: self.dHeight.val(), - style: 'margin:' + (visit10_206_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + style: 'margin:' + (visit10_206_1(parseInt(self.dMargin.val(), 10) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; }, _gen: function(ev) { _$jscoverage['/dialog.js'].functionData[11]++; diff --git a/src/editor/sub-modules/plugin/flash/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/flash/sub-modules/dialog/src/dialog.js index b40e4dd5f0..8ce2b30b23 100644 --- a/src/editor/sub-modules/plugin/flash/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/flash/sub-modules/dialog/src/dialog.js @@ -138,14 +138,14 @@ KISSY.add(function (S, require) { return; } if (f.css('width')) { - self.dWidth.val(parseInt(f.css('width'))); + self.dWidth.val(parseInt(f.css('width'),10)); } if (f.css('height')) { - self.dHeight.val(parseInt(f.css('height'))); + self.dHeight.val(parseInt(f.css('height'),10)); } self.dAlign.set('value', f.css('float')); Editor.Utils.valInput(self.dUrl, self._getFlashUrl(r)); - self.dMargin.val(parseInt(r.style('margin')) || 0); + self.dMargin.val(parseInt(r.style('margin'),10) || 0); } else { Editor.Utils.resetInput(self.dUrl); self.dWidth.val(cfg.defaultWidth || ''); @@ -203,7 +203,7 @@ KISSY.add(function (S, require) { width: self.dWidth.val(), height: self.dHeight.val(), style: 'margin:' + - (parseInt(self.dMargin.val()) || 0) + + (parseInt(self.dMargin.val(),10) || 0) + 'px;' + 'float:' + self.dAlign.get('value') + ';' } diff --git a/src/editor/sub-modules/plugin/focus-fix/coverage/src/focus-fix.js b/src/editor/sub-modules/plugin/focus-fix/coverage/src/focus-fix.js index c3942106d7..977d1ed749 100644 --- a/src/editor/sub-modules/plugin/focus-fix/coverage/src/focus-fix.js +++ b/src/editor/sub-modules/plugin/focus-fix/coverage/src/focus-fix.js @@ -236,29 +236,29 @@ if (! _$jscoverage['/focus-fix.js']) { _$jscoverage['/focus-fix.js'].lineData[12] = 0; _$jscoverage['/focus-fix.js'].lineData[15] = 0; _$jscoverage['/focus-fix.js'].lineData[16] = 0; - _$jscoverage['/focus-fix.js'].lineData[22] = 0; - _$jscoverage['/focus-fix.js'].lineData[26] = 0; + _$jscoverage['/focus-fix.js'].lineData[23] = 0; _$jscoverage['/focus-fix.js'].lineData[27] = 0; - _$jscoverage['/focus-fix.js'].lineData[29] = 0; - _$jscoverage['/focus-fix.js'].lineData[33] = 0; + _$jscoverage['/focus-fix.js'].lineData[28] = 0; + _$jscoverage['/focus-fix.js'].lineData[30] = 0; _$jscoverage['/focus-fix.js'].lineData[34] = 0; - _$jscoverage['/focus-fix.js'].lineData[36] = 0; - _$jscoverage['/focus-fix.js'].lineData[38] = 0; + _$jscoverage['/focus-fix.js'].lineData[35] = 0; + _$jscoverage['/focus-fix.js'].lineData[37] = 0; _$jscoverage['/focus-fix.js'].lineData[39] = 0; - _$jscoverage['/focus-fix.js'].lineData[46] = 0; + _$jscoverage['/focus-fix.js'].lineData[40] = 0; _$jscoverage['/focus-fix.js'].lineData[47] = 0; _$jscoverage['/focus-fix.js'].lineData[48] = 0; _$jscoverage['/focus-fix.js'].lineData[49] = 0; - _$jscoverage['/focus-fix.js'].lineData[55] = 0; + _$jscoverage['/focus-fix.js'].lineData[50] = 0; _$jscoverage['/focus-fix.js'].lineData[56] = 0; _$jscoverage['/focus-fix.js'].lineData[57] = 0; - _$jscoverage['/focus-fix.js'].lineData[58] = 0; - _$jscoverage['/focus-fix.js'].lineData[62] = 0; + _$jscoverage['/focus-fix.js'].lineData[59] = 0; + _$jscoverage['/focus-fix.js'].lineData[60] = 0; _$jscoverage['/focus-fix.js'].lineData[64] = 0; - _$jscoverage['/focus-fix.js'].lineData[65] = 0; _$jscoverage['/focus-fix.js'].lineData[66] = 0; - _$jscoverage['/focus-fix.js'].lineData[69] = 0; - _$jscoverage['/focus-fix.js'].lineData[70] = 0; + _$jscoverage['/focus-fix.js'].lineData[67] = 0; + _$jscoverage['/focus-fix.js'].lineData[68] = 0; + _$jscoverage['/focus-fix.js'].lineData[71] = 0; + _$jscoverage['/focus-fix.js'].lineData[72] = 0; } if (! _$jscoverage['/focus-fix.js'].functionData) { _$jscoverage['/focus-fix.js'].functionData = []; @@ -271,41 +271,41 @@ if (! _$jscoverage['/focus-fix.js'].functionData) { } if (! _$jscoverage['/focus-fix.js'].branchData) { _$jscoverage['/focus-fix.js'].branchData = {}; - _$jscoverage['/focus-fix.js'].branchData['22'] = []; - _$jscoverage['/focus-fix.js'].branchData['22'][1] = new BranchData(); - _$jscoverage['/focus-fix.js'].branchData['38'] = []; - _$jscoverage['/focus-fix.js'].branchData['38'][1] = new BranchData(); - _$jscoverage['/focus-fix.js'].branchData['45'] = []; - _$jscoverage['/focus-fix.js'].branchData['45'][1] = new BranchData(); - _$jscoverage['/focus-fix.js'].branchData['45'][2] = new BranchData(); - _$jscoverage['/focus-fix.js'].branchData['57'] = []; - _$jscoverage['/focus-fix.js'].branchData['57'][1] = new BranchData(); - _$jscoverage['/focus-fix.js'].branchData['65'] = []; - _$jscoverage['/focus-fix.js'].branchData['65'][1] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['23'] = []; + _$jscoverage['/focus-fix.js'].branchData['23'][1] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['39'] = []; + _$jscoverage['/focus-fix.js'].branchData['39'][1] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['46'] = []; + _$jscoverage['/focus-fix.js'].branchData['46'][1] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['46'][2] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['59'] = []; + _$jscoverage['/focus-fix.js'].branchData['59'][1] = new BranchData(); + _$jscoverage['/focus-fix.js'].branchData['67'] = []; + _$jscoverage['/focus-fix.js'].branchData['67'][1] = new BranchData(); } -_$jscoverage['/focus-fix.js'].branchData['65'][1].init(21, 8, 'e.newVal'); -function visit6_65_1(result) { - _$jscoverage['/focus-fix.js'].branchData['65'][1].ranCondition(result); +_$jscoverage['/focus-fix.js'].branchData['67'][1].init(21, 8, 'e.newVal'); +function visit6_67_1(result) { + _$jscoverage['/focus-fix.js'].branchData['67'][1].ranCondition(result); return result; -}_$jscoverage['/focus-fix.js'].branchData['57'][1].init(52, 6, 'editor'); -function visit5_57_1(result) { - _$jscoverage['/focus-fix.js'].branchData['57'][1].ranCondition(result); +}_$jscoverage['/focus-fix.js'].branchData['59'][1].init(78, 6, 'editor'); +function visit5_59_1(result) { + _$jscoverage['/focus-fix.js'].branchData['59'][1].ranCondition(result); return result; -}_$jscoverage['/focus-fix.js'].branchData['45'][2].init(268, 58, '$range.item(0).ownerDocument === editor.get(\'document\')[0]'); -function visit4_45_2(result) { - _$jscoverage['/focus-fix.js'].branchData['45'][2].ranCondition(result); +}_$jscoverage['/focus-fix.js'].branchData['46'][2].init(269, 58, '$range.item(0).ownerDocument === editor.get(\'document\')[0]'); +function visit4_46_2(result) { + _$jscoverage['/focus-fix.js'].branchData['46'][2].ranCondition(result); return result; -}_$jscoverage['/focus-fix.js'].branchData['45'][1].init(235, 72, '$range.item && $range.item(0).ownerDocument === editor.get(\'document\')[0]'); -function visit3_45_1(result) { - _$jscoverage['/focus-fix.js'].branchData['45'][1].ranCondition(result); +}_$jscoverage['/focus-fix.js'].branchData['46'][1].init(235, 73, '$range.item && $range.item(0).ownerDocument === editor.get(\'document\')[0]'); +function visit3_46_1(result) { + _$jscoverage['/focus-fix.js'].branchData['46'][1].ranCondition(result); return result; -}_$jscoverage['/focus-fix.js'].branchData['38'][1].init(471, 6, '$range'); -function visit2_38_1(result) { - _$jscoverage['/focus-fix.js'].branchData['38'][1].ranCondition(result); +}_$jscoverage['/focus-fix.js'].branchData['39'][1].init(471, 6, '$range'); +function visit2_39_1(result) { + _$jscoverage['/focus-fix.js'].branchData['39'][1].ranCondition(result); return result; -}_$jscoverage['/focus-fix.js'].branchData['22'][1].init(379, 15, 'UA.ie && editor'); -function visit1_22_1(result) { - _$jscoverage['/focus-fix.js'].branchData['22'][1].ranCondition(result); +}_$jscoverage['/focus-fix.js'].branchData['23'][1].init(439, 15, 'UA.ie && editor'); +function visit1_23_1(result) { + _$jscoverage['/focus-fix.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/focus-fix.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -323,66 +323,66 @@ KISSY.add(function(S, require) { self._focusEditor = focusManager.currentInstance(); _$jscoverage['/focus-fix.js'].lineData[16]++; var editor = self._focusEditor; - _$jscoverage['/focus-fix.js'].lineData[22]++; - if (visit1_22_1(UA.ie && editor)) { - _$jscoverage['/focus-fix.js'].lineData[26]++; - window.focus(); + _$jscoverage['/focus-fix.js'].lineData[23]++; + if (visit1_23_1(UA.ie && editor)) { _$jscoverage['/focus-fix.js'].lineData[27]++; + window.focus(); + _$jscoverage['/focus-fix.js'].lineData[28]++; document.body.focus(); - _$jscoverage['/focus-fix.js'].lineData[29]++; + _$jscoverage['/focus-fix.js'].lineData[30]++; var $selection = editor.get('document')[0].selection, $range; - _$jscoverage['/focus-fix.js'].lineData[33]++; + _$jscoverage['/focus-fix.js'].lineData[34]++; try { - _$jscoverage['/focus-fix.js'].lineData[34]++; + _$jscoverage['/focus-fix.js'].lineData[35]++; $range = $selection.createRange(); } catch (e) { - _$jscoverage['/focus-fix.js'].lineData[36]++; + _$jscoverage['/focus-fix.js'].lineData[37]++; $range = 0; } - _$jscoverage['/focus-fix.js'].lineData[38]++; - if (visit2_38_1($range)) { - _$jscoverage['/focus-fix.js'].lineData[39]++; - if (visit3_45_1($range.item && visit4_45_2($range.item(0).ownerDocument === editor.get('document')[0]))) { - _$jscoverage['/focus-fix.js'].lineData[46]++; - var $myRange = document.body.createTextRange(); + _$jscoverage['/focus-fix.js'].lineData[39]++; + if (visit2_39_1($range)) { + _$jscoverage['/focus-fix.js'].lineData[40]++; + if (visit3_46_1($range.item && visit4_46_2($range.item(0).ownerDocument === editor.get('document')[0]))) { _$jscoverage['/focus-fix.js'].lineData[47]++; - $myRange.moveToElementText(self.get('el').first()[0]); + var $myRange = document.body.createTextRange(); _$jscoverage['/focus-fix.js'].lineData[48]++; - $myRange.collapse(true); + $myRange.moveToElementText(self.get('el').first()[0]); _$jscoverage['/focus-fix.js'].lineData[49]++; + $myRange.collapse(true); + _$jscoverage['/focus-fix.js'].lineData[50]++; $myRange.select(); } } } } - _$jscoverage['/focus-fix.js'].lineData[55]++; + _$jscoverage['/focus-fix.js'].lineData[56]++; function _hide4FocusExt() { _$jscoverage['/focus-fix.js'].functionData[2]++; - _$jscoverage['/focus-fix.js'].lineData[56]++; - var editor = this._focusEditor; _$jscoverage['/focus-fix.js'].lineData[57]++; - if (visit5_57_1(editor)) { - _$jscoverage['/focus-fix.js'].lineData[58]++; + var self = this, editor = self._focusEditor; + _$jscoverage['/focus-fix.js'].lineData[59]++; + if (visit5_59_1(editor)) { + _$jscoverage['/focus-fix.js'].lineData[60]++; editor.focus(); } } - _$jscoverage['/focus-fix.js'].lineData[62]++; + _$jscoverage['/focus-fix.js'].lineData[64]++; return { init: function(self) { _$jscoverage['/focus-fix.js'].functionData[3]++; - _$jscoverage['/focus-fix.js'].lineData[64]++; + _$jscoverage['/focus-fix.js'].lineData[66]++; self.on('beforeVisibleChange', function(e) { _$jscoverage['/focus-fix.js'].functionData[4]++; - _$jscoverage['/focus-fix.js'].lineData[65]++; - if (visit6_65_1(e.newVal)) { - _$jscoverage['/focus-fix.js'].lineData[66]++; + _$jscoverage['/focus-fix.js'].lineData[67]++; + if (visit6_67_1(e.newVal)) { + _$jscoverage['/focus-fix.js'].lineData[68]++; _show4FocusExt.call(self); } }); - _$jscoverage['/focus-fix.js'].lineData[69]++; + _$jscoverage['/focus-fix.js'].lineData[71]++; self.on('hide', function() { _$jscoverage['/focus-fix.js'].functionData[5]++; - _$jscoverage['/focus-fix.js'].lineData[70]++; + _$jscoverage['/focus-fix.js'].lineData[72]++; _hide4FocusExt.call(self); }); }}; diff --git a/src/editor/sub-modules/plugin/image/coverage/src/image.js b/src/editor/sub-modules/plugin/image/coverage/src/image.js index 110bcd79bd..eb9d8c33f3 100644 --- a/src/editor/sub-modules/plugin/image/coverage/src/image.js +++ b/src/editor/sub-modules/plugin/image/coverage/src/image.js @@ -345,7 +345,7 @@ if (! _$jscoverage['/image.js'].branchData) { _$jscoverage['/image.js'].branchData['155'] = []; _$jscoverage['/image.js'].branchData['155'][1] = new BranchData(); } -_$jscoverage['/image.js'].branchData['155'][1].init(43, 39, 'a.attr(\'_keSaved_src\') || a.attr(\'src\')'); +_$jscoverage['/image.js'].branchData['155'][1].init(43, 40, 'a.attr(\'_ke_saved_src\') || a.attr(\'src\')'); function visit11_155_1(result) { _$jscoverage['/image.js'].branchData['155'][1].ranCondition(result); return result; @@ -580,7 +580,7 @@ KISSY.add(function(S, require) { _$jscoverage['/image.js'].lineData[154]++; if (visit10_154_1(a)) { _$jscoverage['/image.js'].lineData[155]++; - var src = visit11_155_1(a.attr('_keSaved_src') || a.attr('src')); + var src = visit11_155_1(a.attr('_ke_saved_src') || a.attr('src')); _$jscoverage['/image.js'].lineData[156]++; tipUrlEl.attr('href', src); } diff --git a/src/editor/sub-modules/plugin/image/src/image.js b/src/editor/sub-modules/plugin/image/src/image.js index cbb3ff10ea..8ab9523958 100644 --- a/src/editor/sub-modules/plugin/image/src/image.js +++ b/src/editor/sub-modules/plugin/image/src/image.js @@ -152,7 +152,7 @@ KISSY.add(function (S,require) { bubble.on('show', function () { var a = bubble.get('editorSelectedEl'); if (a) { - var src = a.attr('_keSaved_src') || a.attr('src'); + var src = a.attr('_ke_saved_src') || a.attr('src'); tipUrlEl.attr('href', src); } }); diff --git a/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js index 2c639bdcb6..e8dfc97ff2 100644 --- a/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/image/sub-modules/dialog/coverage/src/dialog.js @@ -629,7 +629,7 @@ function visit69_459_1(result) { function visit68_458_1(result) { _$jscoverage['/dialog.js'].branchData['458'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['457'][1].init(2171, 4, 'link'); +}_$jscoverage['/dialog.js'].branchData['457'][1].init(2180, 4, 'link'); function visit67_457_1(result) { _$jscoverage['/dialog.js'].branchData['457'][1].ranCondition(result); return result; @@ -649,19 +649,19 @@ function visit64_437_1(result) { function visit63_436_1(result) { _$jscoverage['/dialog.js'].branchData['436'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['428'][1].init(625, 41, 'parseInt(selectedEl.style(\'margin\')) || 0'); +}_$jscoverage['/dialog.js'].branchData['428'][1].init(631, 44, 'parseInt(selectedEl.style(\'margin\'), 10) || 0'); function visit62_428_1(result) { _$jscoverage['/dialog.js'].branchData['428'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['427'][1].init(558, 35, 'selectedEl.style(\'float\') || \'none\''); +}_$jscoverage['/dialog.js'].branchData['427'][1].init(564, 35, 'selectedEl.style(\'float\') || \'none\''); function visit61_427_1(result) { _$jscoverage['/dialog.js'].branchData['427'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['422'][1].init(372, 1, 'w'); +}_$jscoverage['/dialog.js'].branchData['422'][1].init(378, 1, 'w'); function visit60_422_1(result) { _$jscoverage['/dialog.js'].branchData['422'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['417'][1].init(207, 1, 'h'); +}_$jscoverage['/dialog.js'].branchData['417'][1].init(213, 1, 'h'); function visit59_417_1(result) { _$jscoverage['/dialog.js'].branchData['417'][1].ranCondition(result); return result; @@ -737,27 +737,27 @@ function visit42_366_1(result) { function visit41_365_1(result) { _$jscoverage['/dialog.js'].branchData['365'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['329'][1].init(987, 15, 'self.selectedEl'); +}_$jscoverage['/dialog.js'].branchData['329'][1].init(996, 15, 'self.selectedEl'); function visit40_329_1(result) { _$jscoverage['/dialog.js'].branchData['329'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['318'][2].init(670, 12, 'margin !== 0'); +}_$jscoverage['/dialog.js'].branchData['318'][2].init(679, 12, 'margin !== 0'); function visit39_318_2(result) { _$jscoverage['/dialog.js'].branchData['318'][2].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['318'][1].init(652, 30, '!isNaN(margin) && margin !== 0'); +}_$jscoverage['/dialog.js'].branchData['318'][1].init(661, 30, '!isNaN(margin) && margin !== 0'); function visit38_318_1(result) { _$jscoverage['/dialog.js'].branchData['318'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['315'][1].init(553, 16, 'align !== \'none\''); +}_$jscoverage['/dialog.js'].branchData['315'][1].init(562, 16, 'align !== \'none\''); function visit37_315_1(result) { _$jscoverage['/dialog.js'].branchData['315'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['312'][1].init(463, 5, 'width'); +}_$jscoverage['/dialog.js'].branchData['312'][1].init(472, 5, 'width'); function visit36_312_1(result) { _$jscoverage['/dialog.js'].branchData['312'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['309'][1].init(370, 6, 'height'); +}_$jscoverage['/dialog.js'].branchData['309'][1].init(379, 6, 'height'); function visit35_309_1(result) { _$jscoverage['/dialog.js'].branchData['309'][1].ranCondition(result); return result; @@ -781,7 +781,7 @@ function visit31_256_1(result) { function visit30_251_1(result) { _$jscoverage['/dialog.js'].branchData['251'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['250'][1].init(7756, 8, 'self.cfg'); +}_$jscoverage['/dialog.js'].branchData['250'][1].init(7762, 8, 'self.cfg'); function visit29_250_1(result) { _$jscoverage['/dialog.js'].branchData['250'][1].ranCondition(result); return result; @@ -853,11 +853,11 @@ function visit13_145_1(result) { function visit12_123_1(result) { _$jscoverage['/dialog.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['122'][2].init(86, 97, '!self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); +}_$jscoverage['/dialog.js'].branchData['122'][2].init(89, 97, '!self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); function visit11_122_2(result) { _$jscoverage['/dialog.js'].branchData['122'][2].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['122'][1].init(80, 103, '!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); +}_$jscoverage['/dialog.js'].branchData['122'][1].init(83, 103, '!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); function visit10_122_1(result) { _$jscoverage['/dialog.js'].branchData['122'][1].ranCondition(result); return result; @@ -865,11 +865,11 @@ function visit10_122_1(result) { function visit9_114_1(result) { _$jscoverage['/dialog.js'].branchData['114'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['113'][2].init(87, 97, '!self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); +}_$jscoverage['/dialog.js'].branchData['113'][2].init(90, 97, '!self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); function visit8_113_2(result) { _$jscoverage['/dialog.js'].branchData['113'][2].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['113'][1].init(81, 103, '!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); +}_$jscoverage['/dialog.js'].branchData['113'][1].init(84, 103, '!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue'); function visit7_113_1(result) { _$jscoverage['/dialog.js'].branchData['113'][1].ranCondition(result); return result; @@ -1021,7 +1021,7 @@ KISSY.add(function(S, require) { self.imgHeight.on('keyup', function() { _$jscoverage['/dialog.js'].functionData[4]++; _$jscoverage['/dialog.js'].lineData[112]++; - var v = parseInt(valInput(self.imgHeight)); + var v = parseInt(valInput(self.imgHeight), 10); _$jscoverage['/dialog.js'].lineData[113]++; if (visit7_113_1(!v || visit8_113_2(!self.imgRatio[0].checked || visit9_114_1(self.imgRatio[0].disabled || !self.imgRatioValue)))) { _$jscoverage['/dialog.js'].lineData[115]++; @@ -1034,7 +1034,7 @@ KISSY.add(function(S, require) { self.imgWidth.on('keyup', function() { _$jscoverage['/dialog.js'].functionData[5]++; _$jscoverage['/dialog.js'].lineData[121]++; - var v = parseInt(valInput(self.imgWidth)); + var v = parseInt(valInput(self.imgWidth), 10); _$jscoverage['/dialog.js'].lineData[122]++; if (visit10_122_1(!v || visit11_122_2(!self.imgRatio[0].checked || visit12_123_1(self.imgRatio[0].disabled || !self.imgRatioValue)))) { _$jscoverage['/dialog.js'].lineData[124]++; @@ -1242,7 +1242,7 @@ KISSY.add(function(S, require) { _insert: function() { _$jscoverage['/dialog.js'].functionData[14]++; _$jscoverage['/dialog.js'].lineData[300]++; - var self = this, url = valInput(self.imgUrl), img, height = parseInt(valInput(self.imgHeight)), width = parseInt(valInput(self.imgWidth)), align = self.imgAlign.get('value'), margin = parseInt(self.imgMargin.val()), style = ''; + var self = this, url = valInput(self.imgUrl), img, height = parseInt(valInput(self.imgHeight), 10), width = parseInt(valInput(self.imgWidth), 10), align = self.imgAlign.get('value'), margin = parseInt(self.imgMargin.val(), 10), style = ''; _$jscoverage['/dialog.js'].lineData[309]++; if (visit35_309_1(height)) { _$jscoverage['/dialog.js'].lineData[310]++; @@ -1274,11 +1274,11 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[332]++; self.selectedEl.attr({ 'src': url, - '_keSaved_src': url, + '_ke_saved_src': url, 'style': style}); } else { _$jscoverage['/dialog.js'].lineData[339]++; - img = new Node('', null, self.editor.get('document')[0]); + img = new Node('', null, self.editor.get('document')[0]); _$jscoverage['/dialog.js'].lineData[349]++; self.editor.insertElement(img); } @@ -1357,7 +1357,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[414]++; valInput(self.imgUrl, selectedEl.attr('src')); _$jscoverage['/dialog.js'].lineData[415]++; - var w = parseInt(selectedEl.style('width')), h = parseInt(selectedEl.style('height')); + var w = parseInt(selectedEl.style('width'), 10), h = parseInt(selectedEl.style('height'), 10); _$jscoverage['/dialog.js'].lineData[417]++; if (visit59_417_1(h)) { _$jscoverage['/dialog.js'].lineData[418]++; @@ -1377,7 +1377,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[427]++; self.imgAlign.set('value', visit61_427_1(selectedEl.style('float') || 'none')); _$jscoverage['/dialog.js'].lineData[428]++; - var margin = visit62_428_1(parseInt(selectedEl.style('margin')) || 0); + var margin = visit62_428_1(parseInt(selectedEl.style('margin'), 10) || 0); _$jscoverage['/dialog.js'].lineData[429]++; self.imgMargin.val(margin); _$jscoverage['/dialog.js'].lineData[430]++; diff --git a/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js index 535ad17669..03fe6154c9 100644 --- a/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/image/sub-modules/dialog/src/dialog.js @@ -109,7 +109,7 @@ KISSY.add(function (S, require) { placeholder(self.imgLink, 'http://'); self.imgHeight.on('keyup', function () { - var v = parseInt(valInput(self.imgHeight)); + var v = parseInt(valInput(self.imgHeight),10); if (!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue) { return; @@ -118,7 +118,7 @@ KISSY.add(function (S, require) { }); self.imgWidth.on('keyup', function () { - var v = parseInt(valInput(self.imgWidth)); + var v = parseInt(valInput(self.imgWidth),10); if (!v || !self.imgRatio[0].checked || self.imgRatio[0].disabled || !self.imgRatioValue) { return; @@ -300,10 +300,10 @@ KISSY.add(function (S, require) { var self = this, url = valInput(self.imgUrl), img, - height = parseInt(valInput(self.imgHeight)), - width = parseInt(valInput(self.imgWidth)), + height = parseInt(valInput(self.imgHeight),10), + width = parseInt(valInput(self.imgWidth),10), align = self.imgAlign.get('value'), - margin = parseInt(self.imgMargin.val()), + margin = parseInt(self.imgMargin.val(),10), style = ''; if (height) { @@ -331,8 +331,8 @@ KISSY.add(function (S, require) { self.editor.execCommand('save'); self.selectedEl.attr({ 'src': url, - //注意设置,取的话要从 _keSaved_src 里取 - '_keSaved_src': url, + //注意设置,取的话要从 _ke_saved_src 里取 + '_ke_saved_src': url, 'style': style }); } else { @@ -343,7 +343,7 @@ KISSY.add(function (S, require) { ' src="' + url + '" ' + - '_keSaved_src="' + + '_ke_saved_src="' + url + '" alt="" />', null, self.editor.get('document')[0]); self.editor.insertElement(img); @@ -412,8 +412,8 @@ KISSY.add(function (S, require) { self.selectedEl = selectedEl; if (selectedEl && self.imageCfg.remote !== false) { valInput(self.imgUrl, selectedEl.attr('src')); - var w = parseInt(selectedEl.style('width')), - h = parseInt(selectedEl.style('height')); + var w = parseInt(selectedEl.style('width'),10), + h = parseInt(selectedEl.style('height'),10); if (h) { valInput(self.imgHeight, h); } else { @@ -425,7 +425,7 @@ KISSY.add(function (S, require) { resetInput(self.imgWidth); } self.imgAlign.set('value', selectedEl.style('float') || 'none'); - var margin = parseInt(selectedEl.style('margin')) || 0; + var margin = parseInt(selectedEl.style('margin'),10) || 0; self.imgMargin.val(margin); self.imgRatio[0].disabled = false; self.imgRatioValue = w / h; diff --git a/src/editor/sub-modules/plugin/justify-center/coverage/src/justify-center.js b/src/editor/sub-modules/plugin/justify-center/coverage/src/justify-center.js index db3428e59b..aa27a445fd 100644 --- a/src/editor/sub-modules/plugin/justify-center/coverage/src/justify-center.js +++ b/src/editor/sub-modules/plugin/justify-center/coverage/src/justify-center.js @@ -276,19 +276,19 @@ if (! _$jscoverage['/justify-center.js'].branchData) { _$jscoverage['/justify-center.js'].branchData['47'][1] = new BranchData(); _$jscoverage['/justify-center.js'].branchData['47'][2] = new BranchData(); } -_$jscoverage['/justify-center.js'].branchData['47'][2].init(38, 29, 'e.keyCode == S.Node.KeyCode.E'); +_$jscoverage['/justify-center.js'].branchData['47'][2].init(38, 30, 'e.keyCode === S.Node.KeyCode.E'); function visit4_47_2(result) { _$jscoverage['/justify-center.js'].branchData['47'][2].ranCondition(result); return result; -}_$jscoverage['/justify-center.js'].branchData['47'][1].init(25, 42, 'e.ctrlKey && e.keyCode == S.Node.KeyCode.E'); +}_$jscoverage['/justify-center.js'].branchData['47'][1].init(25, 43, 'e.ctrlKey && e.keyCode === S.Node.KeyCode.E'); function visit3_47_1(result) { _$jscoverage['/justify-center.js'].branchData['47'][1].ranCondition(result); return result; -}_$jscoverage['/justify-center.js'].branchData['33'][1].init(184, 41, 'editor.queryCommandValue(\'justifyCenter\')'); +}_$jscoverage['/justify-center.js'].branchData['33'][1].init(185, 41, 'editor.queryCommandValue(\'justifyCenter\')'); function visit2_33_1(result) { _$jscoverage['/justify-center.js'].branchData['33'][1].ranCondition(result); return result; -}_$jscoverage['/justify-center.js'].branchData['30'][1].init(33, 45, 'editor.get(\'mode\') == Editor.Mode.SOURCE_MODE'); +}_$jscoverage['/justify-center.js'].branchData['30'][1].init(33, 46, 'editor.get(\'mode\') === Editor.Mode.SOURCE_MODE'); function visit1_30_1(result) { _$jscoverage['/justify-center.js'].branchData['30'][1].ranCondition(result); return result; @@ -335,7 +335,7 @@ KISSY.add(function(S, require) { editor.on('selectionChange', function() { _$jscoverage['/justify-center.js'].functionData[5]++; _$jscoverage['/justify-center.js'].lineData[30]++; - if (visit1_30_1(editor.get('mode') == Editor.Mode.SOURCE_MODE)) { + if (visit1_30_1(editor.get('mode') === Editor.Mode.SOURCE_MODE)) { _$jscoverage['/justify-center.js'].lineData[31]++; return; } @@ -357,7 +357,7 @@ KISSY.add(function(S, require) { editor.get('document').on('keydown', function(e) { _$jscoverage['/justify-center.js'].functionData[7]++; _$jscoverage['/justify-center.js'].lineData[47]++; - if (visit3_47_1(e.ctrlKey && visit4_47_2(e.keyCode == S.Node.KeyCode.E))) { + if (visit3_47_1(e.ctrlKey && visit4_47_2(e.keyCode === S.Node.KeyCode.E))) { _$jscoverage['/justify-center.js'].lineData[48]++; editor.execCommand('justifyCenter'); _$jscoverage['/justify-center.js'].lineData[49]++; diff --git a/src/editor/sub-modules/plugin/justify-center/src/justify-center.js b/src/editor/sub-modules/plugin/justify-center/src/justify-center.js index a7dbc94591..da6d476b30 100644 --- a/src/editor/sub-modules/plugin/justify-center/src/justify-center.js +++ b/src/editor/sub-modules/plugin/justify-center/src/justify-center.js @@ -27,7 +27,7 @@ KISSY.add(function (S, require) { afterSyncUI: function () { var self = this; editor.on('selectionChange', function () { - if (editor.get('mode') == Editor.Mode.SOURCE_MODE) { + if (editor.get('mode') === Editor.Mode.SOURCE_MODE) { return; } if (editor.queryCommandValue('justifyCenter')) { @@ -44,7 +44,7 @@ KISSY.add(function (S, require) { editor.docReady(function () { editor.get('document').on('keydown', function (e) { - if (e.ctrlKey && e.keyCode == S.Node.KeyCode.E) { + if (e.ctrlKey && e.keyCode === S.Node.KeyCode.E) { editor.execCommand('justifyCenter'); e.preventDefault(); } diff --git a/src/editor/sub-modules/plugin/outdent/coverage/src/outdent.js b/src/editor/sub-modules/plugin/outdent/coverage/src/outdent.js index 9de567799d..79f6d72605 100644 --- a/src/editor/sub-modules/plugin/outdent/coverage/src/outdent.js +++ b/src/editor/sub-modules/plugin/outdent/coverage/src/outdent.js @@ -264,11 +264,11 @@ if (! _$jscoverage['/outdent.js'].branchData) { _$jscoverage['/outdent.js'].branchData['34'] = []; _$jscoverage['/outdent.js'].branchData['34'][1] = new BranchData(); } -_$jscoverage['/outdent.js'].branchData['34'][1].init(184, 35, 'editor.queryCommandValue("outdent")'); +_$jscoverage['/outdent.js'].branchData['34'][1].init(185, 35, 'editor.queryCommandValue(\'outdent\')'); function visit2_34_1(result) { _$jscoverage['/outdent.js'].branchData['34'][1].ranCondition(result); return result; -}_$jscoverage['/outdent.js'].branchData['31'][1].init(33, 45, 'editor.get(\'mode\') == Editor.Mode.SOURCE_MODE'); +}_$jscoverage['/outdent.js'].branchData['31'][1].init(33, 46, 'editor.get(\'mode\') === Editor.Mode.SOURCE_MODE'); function visit1_31_1(result) { _$jscoverage['/outdent.js'].branchData['31'][1].ranCondition(result); return result; @@ -298,7 +298,7 @@ KISSY.add(function(S, require) { click: function() { _$jscoverage['/outdent.js'].functionData[3]++; _$jscoverage['/outdent.js'].lineData[24]++; - editor.execCommand("outdent"); + editor.execCommand('outdent'); _$jscoverage['/outdent.js'].lineData[25]++; editor.focus(); }, @@ -310,12 +310,12 @@ KISSY.add(function(S, require) { editor.on('selectionChange', function() { _$jscoverage['/outdent.js'].functionData[5]++; _$jscoverage['/outdent.js'].lineData[31]++; - if (visit1_31_1(editor.get('mode') == Editor.Mode.SOURCE_MODE)) { + if (visit1_31_1(editor.get('mode') === Editor.Mode.SOURCE_MODE)) { _$jscoverage['/outdent.js'].lineData[32]++; return; } _$jscoverage['/outdent.js'].lineData[34]++; - if (visit2_34_1(editor.queryCommandValue("outdent"))) { + if (visit2_34_1(editor.queryCommandValue('outdent'))) { _$jscoverage['/outdent.js'].lineData[35]++; self.set('disabled', false); } else { diff --git a/src/editor/sub-modules/plugin/outdent/src/outdent.js b/src/editor/sub-modules/plugin/outdent/src/outdent.js index fd9ccad0ae..6131a89088 100644 --- a/src/editor/sub-modules/plugin/outdent/src/outdent.js +++ b/src/editor/sub-modules/plugin/outdent/src/outdent.js @@ -21,17 +21,17 @@ KISSY.add(function (S, require) { tooltip: '减少缩进量', listeners: { click: function () { - editor.execCommand("outdent"); + editor.execCommand('outdent'); editor.focus(); }, afterSyncUI: function () { var self = this; editor.on('selectionChange', function () { - if (editor.get('mode') == Editor.Mode.SOURCE_MODE) { + if (editor.get('mode') === Editor.Mode.SOURCE_MODE) { return; } - if (editor.queryCommandValue("outdent")) { + if (editor.queryCommandValue('outdent')) { self.set('disabled', false); } else { self.set('disabled', true); diff --git a/src/editor/sub-modules/plugin/progressbar/coverage/src/progressbar.js b/src/editor/sub-modules/plugin/progressbar/coverage/src/progressbar.js index fa916b7709..1bf0e84fc2 100644 --- a/src/editor/sub-modules/plugin/progressbar/coverage/src/progressbar.js +++ b/src/editor/sub-modules/plugin/progressbar/coverage/src/progressbar.js @@ -259,7 +259,7 @@ if (! _$jscoverage['/progressbar.js'].branchData) { _$jscoverage['/progressbar.js'].branchData['42'] = []; _$jscoverage['/progressbar.js'].branchData['42'][1] = new BranchData(); } -_$jscoverage['/progressbar.js'].branchData['42'][1].init(1213, 9, 'container'); +_$jscoverage['/progressbar.js'].branchData['42'][1].init(1216, 9, 'container'); function visit1_42_1(result) { _$jscoverage['/progressbar.js'].branchData['42'][1].ranCondition(result); return result; @@ -283,7 +283,7 @@ KISSY.add(function(S, require) { _$jscoverage['/progressbar.js'].functionData[2]++; _$jscoverage['/progressbar.js'].lineData[16]++; var self = this, h = self.get('height'), prefixCls = self.get('prefixCls'), el = new Node(S.substitute('
', { - prefixCls: prefixCls})), container = self.get('container'), p = new Node(S.substitute('
' + '
' + '
' + '
' + '
', { + prefixCls: prefixCls})), container = self.get('container'), p = new Node(S.substitute('
' + '
' + '
' + '
' + '
', { prefixCls: prefixCls})).appendTo(el), title = new Node('').appendTo(el); _$jscoverage['/progressbar.js'].lineData[42]++; if (visit1_42_1(container)) { diff --git a/src/editor/sub-modules/plugin/progressbar/src/progressbar.js b/src/editor/sub-modules/plugin/progressbar/src/progressbar.js index 43cf12d84e..e18aa2ceb5 100644 --- a/src/editor/sub-modules/plugin/progressbar/src/progressbar.js +++ b/src/editor/sub-modules/plugin/progressbar/src/progressbar.js @@ -31,7 +31,7 @@ KISSY.add(function (S, require) { container = self.get('container'), p = new Node( S.substitute('
' + - '
' + + '
' + '
' + '
' + '
', { prefixCls: prefixCls diff --git a/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/coverage/src/cmd.js b/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/coverage/src/cmd.js index 472c856357..2ee5dbc3d3 100644 --- a/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/coverage/src/cmd.js +++ b/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/coverage/src/cmd.js @@ -305,7 +305,7 @@ _$jscoverage['/cmd.js'].branchData['118'][1].init(136, 38, 'tagsRegex.test(curre function visit11_118_1(result) { _$jscoverage['/cmd.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/cmd.js'].branchData['113'][1].init(-1, 171, 'currentNode.attr(\'_keRealElement\') || /\\bke_/.test(currentNode[0].className)'); +}_$jscoverage['/cmd.js'].branchData['113'][1].init(-1, 173, 'currentNode.attr(\'_ke_real_element\') || /\\bke_/.test(currentNode[0].className)'); function visit10_113_1(result) { _$jscoverage['/cmd.js'].branchData['113'][1].ranCondition(result); return result; @@ -313,11 +313,11 @@ function visit10_113_1(result) { function visit9_111_3(result) { _$jscoverage['/cmd.js'].branchData['111'][3].ranCondition(result); return result; -}_$jscoverage['/cmd.js'].branchData['111'][2].init(678, 327, 'currentNode.nodeName() === \'img\' && (currentNode.attr(\'_keRealElement\') || /\\bke_/.test(currentNode[0].className))'); +}_$jscoverage['/cmd.js'].branchData['111'][2].init(678, 329, 'currentNode.nodeName() === \'img\' && (currentNode.attr(\'_ke_real_element\') || /\\bke_/.test(currentNode[0].className))'); function visit8_111_2(result) { _$jscoverage['/cmd.js'].branchData['111'][2].ranCondition(result); return result; -}_$jscoverage['/cmd.js'].branchData['111'][1].init(675, 332, '!(currentNode.nodeName() === \'img\' && (currentNode.attr(\'_keRealElement\') || /\\bke_/.test(currentNode[0].className)))'); +}_$jscoverage['/cmd.js'].branchData['111'][1].init(675, 334, '!(currentNode.nodeName() === \'img\' && (currentNode.attr(\'_ke_real_element\') || /\\bke_/.test(currentNode[0].className)))'); function visit7_111_1(result) { _$jscoverage['/cmd.js'].branchData['111'][1].ranCondition(result); return result; @@ -425,7 +425,7 @@ KISSY.add(function(S, require) { _$jscoverage['/cmd.js'].lineData[107]++; var nextNode = currentNode._4eNextSourceNode(false, Dom.NodeType.ELEMENT_NODE, undefined, undefined); _$jscoverage['/cmd.js'].lineData[111]++; - if (visit7_111_1(!(visit8_111_2(visit9_111_3(currentNode.nodeName() === 'img') && (visit10_113_1(currentNode.attr('_keRealElement') || /\bke_/.test(currentNode[0].className))))))) { + if (visit7_111_1(!(visit8_111_2(visit9_111_3(currentNode.nodeName() === 'img') && (visit10_113_1(currentNode.attr('_ke_real_element') || /\bke_/.test(currentNode[0].className))))))) { _$jscoverage['/cmd.js'].lineData[118]++; if (visit11_118_1(tagsRegex.test(currentNode.nodeName()))) { _$jscoverage['/cmd.js'].lineData[119]++; diff --git a/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/src/cmd.js b/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/src/cmd.js index e67ee5b7f4..d9671b1c76 100644 --- a/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/src/cmd.js +++ b/src/editor/sub-modules/plugin/remove-format/sub-modules/cmd/src/cmd.js @@ -110,7 +110,7 @@ KISSY.add(function (S, require) { // This node must not be a fake element. if (!( currentNode.nodeName() === 'img' && ( - currentNode.attr('_keRealElement') || + currentNode.attr('_ke_real_element') || // 占位符 /\bke_/.test(currentNode[0].className) ) )) { diff --git a/src/editor/sub-modules/plugin/table/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/table/sub-modules/dialog/coverage/src/dialog.js index c8225959da..41ec069058 100644 --- a/src/editor/sub-modules/plugin/table/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/table/sub-modules/dialog/coverage/src/dialog.js @@ -508,7 +508,7 @@ function visit47_467_1(result) { function visit46_456_1(result) { _$jscoverage['/dialog.js'].branchData['456'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['439'][1].init(1066, 7, 'caption'); +}_$jscoverage['/dialog.js'].branchData['439'][1].init(1069, 7, 'caption'); function visit45_439_1(result) { _$jscoverage['/dialog.js'].branchData['439'][1].ranCondition(result); return result; @@ -516,23 +516,23 @@ function visit45_439_1(result) { function visit44_436_1(result) { _$jscoverage['/dialog.js'].branchData['436'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['430'][1].init(764, 21, 'w.indexOf(\'%\') !== -1'); +}_$jscoverage['/dialog.js'].branchData['430'][1].init(767, 21, 'w.indexOf(\'%\') !== -1'); function visit43_430_1(result) { _$jscoverage['/dialog.js'].branchData['430'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['423'][1].init(498, 76, 'selectedTable.style(\'width\') || (\'\' + selectedTable.width())'); +}_$jscoverage['/dialog.js'].branchData['423'][1].init(501, 76, 'selectedTable.style(\'width\') || (\'\' + selectedTable.width())'); function visit42_423_1(result) { _$jscoverage['/dialog.js'].branchData['423'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['421'][1].init(424, 51, 'selectedTable.attr(\'border\') || \'0\''); +}_$jscoverage['/dialog.js'].branchData['421'][1].init(427, 51, 'selectedTable.attr(\'border\') || \'0\''); function visit41_421_1(result) { _$jscoverage['/dialog.js'].branchData['421'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['418'][1].init(360, 33, 'selectedTable.attr(\'align\') || \'\''); +}_$jscoverage['/dialog.js'].branchData['418'][1].init(363, 33, 'selectedTable.attr(\'align\') || \'\''); function visit40_418_1(result) { _$jscoverage['/dialog.js'].branchData['418'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['415'][1].init(38, 47, 'parseInt(self.selectedTd.css(\'padding\')) || \'0\''); +}_$jscoverage['/dialog.js'].branchData['415'][1].init(38, 50, 'parseInt(self.selectedTd.css(\'padding\'), 10) || \'0\''); function visit39_415_1(result) { _$jscoverage['/dialog.js'].branchData['415'][1].ranCondition(result); return result; @@ -544,7 +544,7 @@ function visit38_413_1(result) { function visit37_397_1(result) { _$jscoverage['/dialog.js'].branchData['397'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['395'][1].init(2064, 8, 'r < rows'); +}_$jscoverage['/dialog.js'].branchData['395'][1].init(2070, 8, 'r < rows'); function visit36_395_1(result) { _$jscoverage['/dialog.js'].branchData['395'][1].ranCondition(result); return result; @@ -552,59 +552,59 @@ function visit36_395_1(result) { function visit35_386_1(result) { _$jscoverage['/dialog.js'].branchData['386'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['383'][1].init(1684, 20, 'd.thead.get(\'value\')'); +}_$jscoverage['/dialog.js'].branchData['383'][1].init(1690, 20, 'd.thead.get(\'value\')'); function visit34_383_1(result) { _$jscoverage['/dialog.js'].branchData['383'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['380'][1].init(1523, 23, 'valid(d.tcaption.val())'); +}_$jscoverage['/dialog.js'].branchData['380'][1].init(1529, 23, 'valid(d.tcaption.val())'); function visit33_380_1(result) { _$jscoverage['/dialog.js'].branchData['380'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['375'][1].init(1387, 14, 'classes.length'); +}_$jscoverage['/dialog.js'].branchData['375'][1].init(1393, 14, 'classes.length'); function visit32_375_1(result) { _$jscoverage['/dialog.js'].branchData['375'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['372'][1].init(1281, 22, 'd.tcollapse[0].checked'); +}_$jscoverage['/dialog.js'].branchData['372'][1].init(1287, 22, 'd.tcollapse[0].checked'); function visit31_372_1(result) { _$jscoverage['/dialog.js'].branchData['372'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['368'][2].init(1158, 37, 'String(trim(d.tborder.val())) === \'0\''); +}_$jscoverage['/dialog.js'].branchData['368'][2].init(1164, 37, 'String(trim(d.tborder.val())) === \'0\''); function visit30_368_2(result) { _$jscoverage['/dialog.js'].branchData['368'][2].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['368'][1].init(1131, 64, '!valid(d.tborder.val()) || String(trim(d.tborder.val())) === \'0\''); +}_$jscoverage['/dialog.js'].branchData['368'][1].init(1137, 64, '!valid(d.tborder.val()) || String(trim(d.tborder.val())) === \'0\''); function visit29_368_1(result) { _$jscoverage['/dialog.js'].branchData['368'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['362'][1].init(992, 13, 'styles.length'); +}_$jscoverage['/dialog.js'].branchData['362'][1].init(998, 13, 'styles.length'); function visit28_362_1(result) { _$jscoverage['/dialog.js'].branchData['362'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['358'][1].init(863, 22, 'valid(d.theight.val())'); +}_$jscoverage['/dialog.js'].branchData['358'][1].init(869, 22, 'valid(d.theight.val())'); function visit27_358_1(result) { _$jscoverage['/dialog.js'].branchData['358'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['354'][1].init(711, 21, 'valid(d.twidth.val())'); +}_$jscoverage['/dialog.js'].branchData['354'][1].init(717, 21, 'valid(d.twidth.val())'); function visit26_354_1(result) { _$jscoverage['/dialog.js'].branchData['354'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['347'][1].init(556, 22, 'valid(d.tborder.val())'); +}_$jscoverage['/dialog.js'].branchData['347'][1].init(562, 22, 'valid(d.tborder.val())'); function visit25_347_1(result) { _$jscoverage['/dialog.js'].branchData['347'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['343'][1].init(421, 28, 'valid(d.talign.get(\'value\'))'); +}_$jscoverage['/dialog.js'].branchData['343'][1].init(427, 28, 'valid(d.talign.get(\'value\'))'); function visit24_343_1(result) { _$jscoverage['/dialog.js'].branchData['343'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['337'][1].init(178, 28, 'parseInt(d.trows.val()) || 1'); +}_$jscoverage['/dialog.js'].branchData['337'][1].init(181, 31, 'parseInt(d.trows.val(), 10) || 1'); function visit23_337_1(result) { _$jscoverage['/dialog.js'].branchData['337'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['336'][1].init(125, 28, 'parseInt(d.tcols.val()) || 1'); +}_$jscoverage['/dialog.js'].branchData['336'][1].init(125, 31, 'parseInt(d.tcols.val(), 10) || 1'); function visit22_336_1(result) { _$jscoverage['/dialog.js'].branchData['336'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['326'][1].init(2456, 7, 'caption'); +}_$jscoverage['/dialog.js'].branchData['326'][1].init(2459, 7, 'caption'); function visit21_326_1(result) { _$jscoverage['/dialog.js'].branchData['326'][1].ranCondition(result); return result; @@ -612,15 +612,15 @@ function visit21_326_1(result) { function visit20_315_1(result) { _$jscoverage['/dialog.js'].branchData['315'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['313'][1].init(1798, 23, 'valid(d.tcaption.val())'); +}_$jscoverage['/dialog.js'].branchData['313'][1].init(1801, 23, 'valid(d.tcaption.val())'); function visit19_313_1(result) { _$jscoverage['/dialog.js'].branchData['313'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['310'][1].init(1680, 15, 'self.selectedTd'); +}_$jscoverage['/dialog.js'].branchData['310'][1].init(1683, 15, 'self.selectedTd'); function visit18_310_1(result) { _$jscoverage['/dialog.js'].branchData['310'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['309'][1].init(1627, 34, 'parseInt(d.cellpadding.val()) || 0'); +}_$jscoverage['/dialog.js'].branchData['309'][1].init(1627, 37, 'parseInt(d.cellpadding.val(), 10) || 0'); function visit17_309_1(result) { _$jscoverage['/dialog.js'].branchData['309'][1].ranCondition(result); return result; @@ -656,7 +656,7 @@ function visit10_270_1(result) { function visit9_255_1(result) { _$jscoverage['/dialog.js'].branchData['255'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['250'][1].init(637, 3, '!re'); +}_$jscoverage['/dialog.js'].branchData['250'][1].init(640, 3, '!re'); function visit8_250_1(result) { _$jscoverage['/dialog.js'].branchData['250'][1].ranCondition(result); return result; @@ -800,7 +800,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[237]++; if (visit3_237_1(tableDialog.twidthunit.get('value') === '%')) { _$jscoverage['/dialog.js'].lineData[238]++; - var tw = parseInt(tableDialog.twidth.val()); + var tw = parseInt(tableDialog.twidth.val(), 10); _$jscoverage['/dialog.js'].lineData[239]++; if (visit4_240_1(!tw || (visit5_241_1(visit6_241_2(tw > 100) || visit7_242_1(tw < 0))))) { _$jscoverage['/dialog.js'].lineData[245]++; @@ -884,7 +884,7 @@ KISSY.add(function(S, require) { selectedTable.removeClass(collapseTableClass, undefined); } _$jscoverage['/dialog.js'].lineData[309]++; - d.cellpadding.val(visit17_309_1(parseInt(d.cellpadding.val()) || 0)); + d.cellpadding.val(visit17_309_1(parseInt(d.cellpadding.val(), 10) || 0)); _$jscoverage['/dialog.js'].lineData[310]++; if (visit18_310_1(self.selectedTd)) { _$jscoverage['/dialog.js'].lineData[311]++; @@ -915,7 +915,7 @@ KISSY.add(function(S, require) { _genTable: function() { _$jscoverage['/dialog.js'].functionData[9]++; _$jscoverage['/dialog.js'].lineData[332]++; - var self = this, d = self.dialog, html = '', editor = self.editor; + var self = this, d = self.dialog, html = '
', editor = self.editor; _$jscoverage['/dialog.js'].lineData[343]++; if (visit24_343_1(valid(d.talign.get('value')))) { _$jscoverage['/dialog.js'].lineData[344]++; @@ -1015,7 +1015,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[413]++; if (visit38_413_1(self.selectedTd)) { _$jscoverage['/dialog.js'].lineData[414]++; - d.cellpadding.val(visit39_415_1(parseInt(self.selectedTd.css('padding')) || '0')); + d.cellpadding.val(visit39_415_1(parseInt(self.selectedTd.css('padding'), 10) || '0')); } _$jscoverage['/dialog.js'].lineData[418]++; d.talign.set('value', visit40_418_1(selectedTable.attr('align') || '')); diff --git a/src/editor/sub-modules/plugin/table/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/table/sub-modules/dialog/src/dialog.js index 3e401b352e..6c582138e9 100644 --- a/src/editor/sub-modules/plugin/table/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/table/sub-modules/dialog/src/dialog.js @@ -235,7 +235,7 @@ KISSY.add(function (S, require) { inputs = tableDialog.get('el').all('input'); if (tableDialog.twidthunit.get('value') === '%') { - var tw = parseInt(tableDialog.twidth.val()); + var tw = parseInt(tableDialog.twidth.val(),10); if ( !tw || ( tw > 100 || @@ -306,7 +306,7 @@ KISSY.add(function (S, require) { selectedTable.removeClass(collapseTableClass, undefined); } - d.cellpadding.val(parseInt(d.cellpadding.val()) || 0); + d.cellpadding.val(parseInt(d.cellpadding.val(),10) || 0); if (self.selectedTd) { self.selectedTd.css('padding', d.cellpadding.val()); } @@ -333,8 +333,8 @@ KISSY.add(function (S, require) { d = self.dialog, html = '
', cellPad = OLD_IE ? '' : '
', @@ -412,7 +412,7 @@ KISSY.add(function (S, require) { caption = selectedTable.one('caption'); if (self.selectedTd) { d.cellpadding.val( - parseInt(self.selectedTd.css('padding')) || '0'); + parseInt(self.selectedTd.css('padding'),10) || '0'); } d.talign.set('value', selectedTable.attr('align') || ''); diff --git a/src/editor/sub-modules/plugin/underline/coverage/src/underline.js b/src/editor/sub-modules/plugin/underline/coverage/src/underline.js index 795fcfcec5..b69d3f132c 100644 --- a/src/editor/sub-modules/plugin/underline/coverage/src/underline.js +++ b/src/editor/sub-modules/plugin/underline/coverage/src/underline.js @@ -258,11 +258,11 @@ if (! _$jscoverage['/underline.js'].branchData) { _$jscoverage['/underline.js'].branchData['24'][1] = new BranchData(); _$jscoverage['/underline.js'].branchData['24'][2] = new BranchData(); } -_$jscoverage['/underline.js'].branchData['24'][2].init(38, 29, 'e.keyCode == S.Node.KeyCode.U'); +_$jscoverage['/underline.js'].branchData['24'][2].init(38, 30, 'e.keyCode === S.Node.KeyCode.U'); function visit2_24_2(result) { _$jscoverage['/underline.js'].branchData['24'][2].ranCondition(result); return result; -}_$jscoverage['/underline.js'].branchData['24'][1].init(25, 42, 'e.ctrlKey && e.keyCode == S.Node.KeyCode.U'); +}_$jscoverage['/underline.js'].branchData['24'][1].init(25, 43, 'e.ctrlKey && e.keyCode === S.Node.KeyCode.U'); function visit1_24_1(result) { _$jscoverage['/underline.js'].branchData['24'][1].ranCondition(result); return result; @@ -296,7 +296,7 @@ KISSY.add(function(S, require) { editor.get('document').on('keydown', function(e) { _$jscoverage['/underline.js'].functionData[4]++; _$jscoverage['/underline.js'].lineData[24]++; - if (visit1_24_1(e.ctrlKey && visit2_24_2(e.keyCode == S.Node.KeyCode.U))) { + if (visit1_24_1(e.ctrlKey && visit2_24_2(e.keyCode === S.Node.KeyCode.U))) { _$jscoverage['/underline.js'].lineData[25]++; editor.execCommand('underline'); _$jscoverage['/underline.js'].lineData[26]++; diff --git a/src/editor/sub-modules/plugin/underline/src/underline.js b/src/editor/sub-modules/plugin/underline/src/underline.js index d0daac66fd..244b5b5133 100644 --- a/src/editor/sub-modules/plugin/underline/src/underline.js +++ b/src/editor/sub-modules/plugin/underline/src/underline.js @@ -21,7 +21,7 @@ KISSY.add(function (S, require) { editor.docReady(function () { editor.get('document').on('keydown', function (e) { - if (e.ctrlKey && e.keyCode == S.Node.KeyCode.U) { + if (e.ctrlKey && e.keyCode === S.Node.KeyCode.U) { editor.execCommand('underline'); e.preventDefault(); } diff --git a/src/editor/sub-modules/plugin/undo/sub-modules/cmd/coverage/src/cmd.js b/src/editor/sub-modules/plugin/undo/sub-modules/cmd/coverage/src/cmd.js index cbdd545f1c..0bec41c107 100644 --- a/src/editor/sub-modules/plugin/undo/sub-modules/cmd/coverage/src/cmd.js +++ b/src/editor/sub-modules/plugin/undo/sub-modules/cmd/coverage/src/cmd.js @@ -419,11 +419,11 @@ function visit24_186_1(result) { function visit23_184_1(result) { _$jscoverage['/cmd.js'].branchData['184'][1].ranCondition(result); return result; -}_$jscoverage['/cmd.js'].branchData['182'][1].init(394, 8, 'snapshot'); +}_$jscoverage['/cmd.js'].branchData['182'][1].init(395, 8, 'snapshot'); function visit22_182_1(result) { _$jscoverage['/cmd.js'].branchData['182'][1].ranCondition(result); return result; -}_$jscoverage['/cmd.js'].branchData['172'][1].init(50, 51, 'this.editor.get(\'mode\') != Editor.Mode.WYSIWYG_MODE'); +}_$jscoverage['/cmd.js'].branchData['172'][1].init(50, 52, 'this.editor.get(\'mode\') !== Editor.Mode.WYSIWYG_MODE'); function visit21_172_1(result) { _$jscoverage['/cmd.js'].branchData['172'][1].ranCondition(result); return result; @@ -696,7 +696,7 @@ KISSY.add(function(S, require) { restore: function(d) { _$jscoverage['/cmd.js'].functionData[11]++; _$jscoverage['/cmd.js'].lineData[172]++; - if (visit21_172_1(this.editor.get('mode') != Editor.Mode.WYSIWYG_MODE)) { + if (visit21_172_1(this.editor.get('mode') !== Editor.Mode.WYSIWYG_MODE)) { _$jscoverage['/cmd.js'].lineData[173]++; return undefined; } @@ -731,7 +731,7 @@ KISSY.add(function(S, require) { _$jscoverage['/cmd.js'].lineData[199]++; self.index += d; _$jscoverage['/cmd.js'].lineData[200]++; - editor.fire(visit26_200_1(d < 0) ? "afterUndo" : "afterRedo", { + editor.fire(visit26_200_1(d < 0) ? 'afterUndo' : 'afterRedo', { history: history, index: self.index}); _$jscoverage['/cmd.js'].lineData[204]++; diff --git a/src/editor/sub-modules/plugin/undo/sub-modules/cmd/src/cmd.js b/src/editor/sub-modules/plugin/undo/sub-modules/cmd/src/cmd.js index 367082fe80..663d9777f3 100644 --- a/src/editor/sub-modules/plugin/undo/sub-modules/cmd/src/cmd.js +++ b/src/editor/sub-modules/plugin/undo/sub-modules/cmd/src/cmd.js @@ -169,7 +169,7 @@ KISSY.add(function (S, require) { restore: function (d) { // 代码模式下不和可视模式下混在一起 - if (this.editor.get('mode') != Editor.Mode.WYSIWYG_MODE) { + if (this.editor.get('mode') !== Editor.Mode.WYSIWYG_MODE) { return undefined; } @@ -197,7 +197,7 @@ KISSY.add(function (S, require) { selection.scrollIntoView(); } self.index += d; - editor.fire(d < 0 ? "afterUndo" : "afterRedo", { + editor.fire(d < 0 ? 'afterUndo' : 'afterRedo', { history: history, index: self.index }); diff --git a/src/editor/sub-modules/plugin/video/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/video/sub-modules/dialog/coverage/src/dialog.js index f6637ac221..d9928723d6 100644 --- a/src/editor/sub-modules/plugin/video/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/video/sub-modules/dialog/coverage/src/dialog.js @@ -233,75 +233,76 @@ if (! _$jscoverage['/dialog.js']) { _$jscoverage['/dialog.js'].lineData[7] = 0; _$jscoverage['/dialog.js'].lineData[8] = 0; _$jscoverage['/dialog.js'].lineData[9] = 0; - _$jscoverage['/dialog.js'].lineData[11] = 0; - _$jscoverage['/dialog.js'].lineData[75] = 0; + _$jscoverage['/dialog.js'].lineData[10] = 0; + _$jscoverage['/dialog.js'].lineData[12] = 0; _$jscoverage['/dialog.js'].lineData[76] = 0; - _$jscoverage['/dialog.js'].lineData[79] = 0; - _$jscoverage['/dialog.js'].lineData[81] = 0; - _$jscoverage['/dialog.js'].lineData[85] = 0; + _$jscoverage['/dialog.js'].lineData[77] = 0; + _$jscoverage['/dialog.js'].lineData[80] = 0; + _$jscoverage['/dialog.js'].lineData[82] = 0; _$jscoverage['/dialog.js'].lineData[86] = 0; _$jscoverage['/dialog.js'].lineData[87] = 0; _$jscoverage['/dialog.js'].lineData[88] = 0; - _$jscoverage['/dialog.js'].lineData[91] = 0; - _$jscoverage['/dialog.js'].lineData[94] = 0; + _$jscoverage['/dialog.js'].lineData[89] = 0; + _$jscoverage['/dialog.js'].lineData[92] = 0; _$jscoverage['/dialog.js'].lineData[95] = 0; - _$jscoverage['/dialog.js'].lineData[98] = 0; - _$jscoverage['/dialog.js'].lineData[103] = 0; - _$jscoverage['/dialog.js'].lineData[104] = 0; - _$jscoverage['/dialog.js'].lineData[112] = 0; - _$jscoverage['/dialog.js'].lineData[113] = 0; + _$jscoverage['/dialog.js'].lineData[96] = 0; + _$jscoverage['/dialog.js'].lineData[100] = 0; + _$jscoverage['/dialog.js'].lineData[105] = 0; + _$jscoverage['/dialog.js'].lineData[106] = 0; _$jscoverage['/dialog.js'].lineData[114] = 0; _$jscoverage['/dialog.js'].lineData[115] = 0; + _$jscoverage['/dialog.js'].lineData[116] = 0; _$jscoverage['/dialog.js'].lineData[117] = 0; - _$jscoverage['/dialog.js'].lineData[118] = 0; _$jscoverage['/dialog.js'].lineData[119] = 0; _$jscoverage['/dialog.js'].lineData[120] = 0; + _$jscoverage['/dialog.js'].lineData[121] = 0; _$jscoverage['/dialog.js'].lineData[122] = 0; - _$jscoverage['/dialog.js'].lineData[123] = 0; _$jscoverage['/dialog.js'].lineData[124] = 0; _$jscoverage['/dialog.js'].lineData[125] = 0; - _$jscoverage['/dialog.js'].lineData[129] = 0; + _$jscoverage['/dialog.js'].lineData[126] = 0; + _$jscoverage['/dialog.js'].lineData[127] = 0; _$jscoverage['/dialog.js'].lineData[131] = 0; _$jscoverage['/dialog.js'].lineData[133] = 0; - _$jscoverage['/dialog.js'].lineData[134] = 0; + _$jscoverage['/dialog.js'].lineData[135] = 0; _$jscoverage['/dialog.js'].lineData[136] = 0; - _$jscoverage['/dialog.js'].lineData[137] = 0; _$jscoverage['/dialog.js'].lineData[138] = 0; _$jscoverage['/dialog.js'].lineData[139] = 0; + _$jscoverage['/dialog.js'].lineData[140] = 0; _$jscoverage['/dialog.js'].lineData[141] = 0; - _$jscoverage['/dialog.js'].lineData[151] = 0; - _$jscoverage['/dialog.js'].lineData[155] = 0; - _$jscoverage['/dialog.js'].lineData[158] = 0; - _$jscoverage['/dialog.js'].lineData[159] = 0; + _$jscoverage['/dialog.js'].lineData[143] = 0; + _$jscoverage['/dialog.js'].lineData[153] = 0; + _$jscoverage['/dialog.js'].lineData[157] = 0; _$jscoverage['/dialog.js'].lineData[160] = 0; _$jscoverage['/dialog.js'].lineData[161] = 0; _$jscoverage['/dialog.js'].lineData[162] = 0; + _$jscoverage['/dialog.js'].lineData[163] = 0; _$jscoverage['/dialog.js'].lineData[164] = 0; _$jscoverage['/dialog.js'].lineData[166] = 0; _$jscoverage['/dialog.js'].lineData[168] = 0; - _$jscoverage['/dialog.js'].lineData[174] = 0; - _$jscoverage['/dialog.js'].lineData[178] = 0; - _$jscoverage['/dialog.js'].lineData[182] = 0; - _$jscoverage['/dialog.js'].lineData[183] = 0; + _$jscoverage['/dialog.js'].lineData[170] = 0; + _$jscoverage['/dialog.js'].lineData[176] = 0; + _$jscoverage['/dialog.js'].lineData[180] = 0; _$jscoverage['/dialog.js'].lineData[184] = 0; - _$jscoverage['/dialog.js'].lineData[189] = 0; - _$jscoverage['/dialog.js'].lineData[190] = 0; + _$jscoverage['/dialog.js'].lineData[185] = 0; + _$jscoverage['/dialog.js'].lineData[186] = 0; _$jscoverage['/dialog.js'].lineData[191] = 0; _$jscoverage['/dialog.js'].lineData[192] = 0; - _$jscoverage['/dialog.js'].lineData[196] = 0; - _$jscoverage['/dialog.js'].lineData[199] = 0; - _$jscoverage['/dialog.js'].lineData[200] = 0; + _$jscoverage['/dialog.js'].lineData[193] = 0; + _$jscoverage['/dialog.js'].lineData[194] = 0; + _$jscoverage['/dialog.js'].lineData[198] = 0; _$jscoverage['/dialog.js'].lineData[201] = 0; _$jscoverage['/dialog.js'].lineData[202] = 0; _$jscoverage['/dialog.js'].lineData[203] = 0; _$jscoverage['/dialog.js'].lineData[204] = 0; _$jscoverage['/dialog.js'].lineData[205] = 0; + _$jscoverage['/dialog.js'].lineData[206] = 0; _$jscoverage['/dialog.js'].lineData[207] = 0; - _$jscoverage['/dialog.js'].lineData[208] = 0; _$jscoverage['/dialog.js'].lineData[209] = 0; _$jscoverage['/dialog.js'].lineData[210] = 0; _$jscoverage['/dialog.js'].lineData[211] = 0; - _$jscoverage['/dialog.js'].lineData[216] = 0; + _$jscoverage['/dialog.js'].lineData[212] = 0; + _$jscoverage['/dialog.js'].lineData[213] = 0; + _$jscoverage['/dialog.js'].lineData[218] = 0; } if (! _$jscoverage['/dialog.js'].functionData) { _$jscoverage['/dialog.js'].functionData = []; @@ -318,84 +319,84 @@ if (! _$jscoverage['/dialog.js'].functionData) { } if (! _$jscoverage['/dialog.js'].branchData) { _$jscoverage['/dialog.js'].branchData = {}; - _$jscoverage['/dialog.js'].branchData['95'] = []; - _$jscoverage['/dialog.js'].branchData['95'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['133'] = []; - _$jscoverage['/dialog.js'].branchData['133'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['137'] = []; - _$jscoverage['/dialog.js'].branchData['137'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['144'] = []; - _$jscoverage['/dialog.js'].branchData['144'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['145'] = []; - _$jscoverage['/dialog.js'].branchData['145'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['96'] = []; + _$jscoverage['/dialog.js'].branchData['96'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['135'] = []; + _$jscoverage['/dialog.js'].branchData['135'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['139'] = []; + _$jscoverage['/dialog.js'].branchData['139'][1] = new BranchData(); _$jscoverage['/dialog.js'].branchData['146'] = []; _$jscoverage['/dialog.js'].branchData['146'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['158'] = []; - _$jscoverage['/dialog.js'].branchData['158'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['159'] = []; - _$jscoverage['/dialog.js'].branchData['159'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['147'] = []; + _$jscoverage['/dialog.js'].branchData['147'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['148'] = []; + _$jscoverage['/dialog.js'].branchData['148'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['160'] = []; + _$jscoverage['/dialog.js'].branchData['160'][1] = new BranchData(); _$jscoverage['/dialog.js'].branchData['161'] = []; _$jscoverage['/dialog.js'].branchData['161'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['166'] = []; - _$jscoverage['/dialog.js'].branchData['166'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['183'] = []; - _$jscoverage['/dialog.js'].branchData['183'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['199'] = []; - _$jscoverage['/dialog.js'].branchData['199'][1] = new BranchData(); - _$jscoverage['/dialog.js'].branchData['203'] = []; - _$jscoverage['/dialog.js'].branchData['203'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['163'] = []; + _$jscoverage['/dialog.js'].branchData['163'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['168'] = []; + _$jscoverage['/dialog.js'].branchData['168'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['185'] = []; + _$jscoverage['/dialog.js'].branchData['185'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['201'] = []; + _$jscoverage['/dialog.js'].branchData['201'][1] = new BranchData(); + _$jscoverage['/dialog.js'].branchData['205'] = []; + _$jscoverage['/dialog.js'].branchData['205'][1] = new BranchData(); } -_$jscoverage['/dialog.js'].branchData['203'][1].init(218, 32, 'parseInt(r.style(\'margin\')) || 0'); -function visit13_203_1(result) { - _$jscoverage['/dialog.js'].branchData['203'][1].ranCondition(result); +_$jscoverage['/dialog.js'].branchData['205'][1].init(218, 36, 'parseInt(r.style(\'margin\'), 10) || 0'); +function visit13_205_1(result) { + _$jscoverage['/dialog.js'].branchData['205'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['199'][1].init(124, 1, 'f'); -function visit12_199_1(result) { - _$jscoverage['/dialog.js'].branchData['199'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['201'][1].init(124, 1, 'f'); +function visit12_201_1(result) { + _$jscoverage['/dialog.js'].branchData['201'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['183'][1].init(967, 2, 'ev'); -function visit11_183_1(result) { - _$jscoverage['/dialog.js'].branchData['183'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['185'][1].init(967, 2, 'ev'); +function visit11_185_1(result) { + _$jscoverage['/dialog.js'].branchData['185'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['166'][1].init(118, 20, 'c.paramName || \'url\''); -function visit10_166_1(result) { - _$jscoverage['/dialog.js'].branchData['166'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['168'][1].init(118, 20, 'c.paramName || \'url\''); +function visit10_168_1(result) { + _$jscoverage['/dialog.js'].branchData['168'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['161'][1].init(64, 15, 'c.reg.test(url)'); -function visit9_161_1(result) { - _$jscoverage['/dialog.js'].branchData['161'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['163'][1].init(64, 15, 'c.reg.test(url)'); +function visit9_163_1(result) { + _$jscoverage['/dialog.js'].branchData['163'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['159'][1].init(33, 17, 'i < urlCfg.length'); -function visit8_159_1(result) { - _$jscoverage['/dialog.js'].branchData['159'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['161'][1].init(33, 17, 'i < urlCfg.length'); +function visit8_161_1(result) { + _$jscoverage['/dialog.js'].branchData['161'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['158'][1].init(123, 6, 'urlCfg'); -function visit7_158_1(result) { - _$jscoverage['/dialog.js'].branchData['158'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['160'][1].init(123, 6, 'urlCfg'); +function visit7_160_1(result) { + _$jscoverage['/dialog.js'].branchData['160'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['146'][1].init(190, 33, 'parseInt(self.dMargin.val()) || 0'); -function visit6_146_1(result) { - _$jscoverage['/dialog.js'].branchData['146'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['148'][1].init(198, 37, 'parseInt(self.dMargin.val(), 10) || 0'); +function visit6_148_1(result) { + _$jscoverage['/dialog.js'].branchData['148'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['145'][1].init(106, 38, 'parseInt(self.dWidth.val()) || p.width'); -function visit5_145_1(result) { - _$jscoverage['/dialog.js'].branchData['145'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['147'][1].init(110, 42, 'parseInt(self.dWidth.val(), 10) || p.width'); +function visit5_147_1(result) { + _$jscoverage['/dialog.js'].branchData['147'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['144'][1].init(33, 40, 'parseInt(self.dHeight.val()) || p.height'); -function visit4_144_1(result) { - _$jscoverage['/dialog.js'].branchData['144'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['146'][1].init(33, 44, 'parseInt(self.dHeight.val(), 10) || p.height'); +function visit4_146_1(result) { + _$jscoverage['/dialog.js'].branchData['146'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['137'][1].init(61, 3, '!re'); -function visit3_137_1(result) { - _$jscoverage['/dialog.js'].branchData['137'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['139'][1].init(61, 3, '!re'); +function visit3_139_1(result) { + _$jscoverage['/dialog.js'].branchData['139'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['133'][1].init(172, 2, '!p'); -function visit2_133_1(result) { - _$jscoverage['/dialog.js'].branchData['133'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['135'][1].init(172, 2, '!p'); +function visit2_135_1(result) { + _$jscoverage['/dialog.js'].branchData['135'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['95'][1].init(545, 28, 'cfg.urlTip || \'\\u8bf7\\u8f93\\u5165\\u89c6\\u9891\\u64ad\\u653e\\u94fe\\u63a5...\''); -function visit1_95_1(result) { - _$jscoverage['/dialog.js'].branchData['95'][1].ranCondition(result); +}_$jscoverage['/dialog.js'].branchData['96'][1].init(545, 28, 'cfg.urlTip || \'\\u8bf7\\u8f93\\u5165\\u89c6\\u9891\\u64ad\\u653e\\u94fe\\u63a5...\''); +function visit1_96_1(result) { + _$jscoverage['/dialog.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/dialog.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -403,194 +404,196 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[7]++; var Editor = require('editor'); _$jscoverage['/dialog.js'].lineData[8]++; - var FlashDialog = require('../flash/dialog'); + var io = require('io'); _$jscoverage['/dialog.js'].lineData[9]++; + var FlashDialog = require('../flash/dialog'); + _$jscoverage['/dialog.js'].lineData[10]++; var MenuButton = require('../menubutton'); - _$jscoverage['/dialog.js'].lineData[11]++; + _$jscoverage['/dialog.js'].lineData[12]++; var CLS_VIDEO = 'ke_video', TYPE_VIDEO = 'video', DTIP = '\u81ea\u52a8', MARGIN_DEFAULT = 0, bodyHTML = '
' + '

' + '' + '

' + '
' + '' + '' + '' + '' + '' + '
' + '' + '' + '' + '
' + '' + '' + '
' + '
', footHTML = '
'; - _$jscoverage['/dialog.js'].lineData[75]++; + _$jscoverage['/dialog.js'].lineData[76]++; function VideoDialog() { _$jscoverage['/dialog.js'].functionData[1]++; - _$jscoverage['/dialog.js'].lineData[76]++; + _$jscoverage['/dialog.js'].lineData[77]++; VideoDialog.superclass.constructor.apply(this, arguments); } - _$jscoverage['/dialog.js'].lineData[79]++; + _$jscoverage['/dialog.js'].lineData[80]++; S.extend(VideoDialog, FlashDialog, { _config: function() { _$jscoverage['/dialog.js'].functionData[2]++; - _$jscoverage['/dialog.js'].lineData[81]++; + _$jscoverage['/dialog.js'].lineData[82]++; var self = this, editor = self.editor, prefixCls = editor.get('prefixCls'), cfg = self.config; - _$jscoverage['/dialog.js'].lineData[85]++; - self._cls = CLS_VIDEO; _$jscoverage['/dialog.js'].lineData[86]++; - self._type = TYPE_VIDEO; + self._cls = CLS_VIDEO; _$jscoverage['/dialog.js'].lineData[87]++; - self._title = '\u89c6\u9891'; + self._type = TYPE_VIDEO; _$jscoverage['/dialog.js'].lineData[88]++; + self._title = '\u89c6\u9891'; + _$jscoverage['/dialog.js'].lineData[89]++; self._bodyHTML = S.substitute(bodyHTML, { prefixCls: prefixCls}); - _$jscoverage['/dialog.js'].lineData[91]++; + _$jscoverage['/dialog.js'].lineData[92]++; self._footHTML = S.substitute(footHTML, { prefixCls: prefixCls}); - _$jscoverage['/dialog.js'].lineData[94]++; - self.urlCfg = cfg.urlCfg; _$jscoverage['/dialog.js'].lineData[95]++; - self._urlTip = visit1_95_1(cfg.urlTip || '\u8bf7\u8f93\u5165\u89c6\u9891\u64ad\u653e\u94fe\u63a5...'); + self.urlCfg = cfg.urlCfg; + _$jscoverage['/dialog.js'].lineData[96]++; + self._urlTip = visit1_96_1(cfg.urlTip || '\u8bf7\u8f93\u5165\u89c6\u9891\u64ad\u653e\u94fe\u63a5...'); }, _initD: function() { _$jscoverage['/dialog.js'].functionData[3]++; - _$jscoverage['/dialog.js'].lineData[98]++; + _$jscoverage['/dialog.js'].lineData[100]++; var self = this, d = self.dialog, editor = self.editor, prefixCls = editor.get('prefixCls'), el = d.get('el'); - _$jscoverage['/dialog.js'].lineData[103]++; + _$jscoverage['/dialog.js'].lineData[105]++; self.dUrl = el.one('.' + prefixCls + 'editor-video-url'); - _$jscoverage['/dialog.js'].lineData[104]++; + _$jscoverage['/dialog.js'].lineData[106]++; self.dAlign = MenuButton.Select.decorate(el.one('.' + prefixCls + 'editor-video-align'), { prefixCls: prefixCls + 'editor-big-', width: 80, menuCfg: { prefixCls: prefixCls + 'editor-', render: el}}); - _$jscoverage['/dialog.js'].lineData[112]++; + _$jscoverage['/dialog.js'].lineData[114]++; self.dMargin = el.one('.' + prefixCls + 'editor-video-margin'); - _$jscoverage['/dialog.js'].lineData[113]++; + _$jscoverage['/dialog.js'].lineData[115]++; self.dWidth = el.one('.' + prefixCls + 'editor-video-width'); - _$jscoverage['/dialog.js'].lineData[114]++; + _$jscoverage['/dialog.js'].lineData[116]++; self.dHeight = el.one('.' + prefixCls + 'editor-video-height'); - _$jscoverage['/dialog.js'].lineData[115]++; - var action = el.one('.' + prefixCls + 'editor-video-ok'), cancel = el.one('.' + prefixCls + 'editor-video-cancel'); _$jscoverage['/dialog.js'].lineData[117]++; + var action = el.one('.' + prefixCls + 'editor-video-ok'), cancel = el.one('.' + prefixCls + 'editor-video-cancel'); + _$jscoverage['/dialog.js'].lineData[119]++; action.on('click', self._gen, self); - _$jscoverage['/dialog.js'].lineData[118]++; + _$jscoverage['/dialog.js'].lineData[120]++; cancel.on('click', function(ev) { _$jscoverage['/dialog.js'].functionData[4]++; - _$jscoverage['/dialog.js'].lineData[119]++; + _$jscoverage['/dialog.js'].lineData[121]++; d.hide(); - _$jscoverage['/dialog.js'].lineData[120]++; + _$jscoverage['/dialog.js'].lineData[122]++; ev.halt(); }); - _$jscoverage['/dialog.js'].lineData[122]++; + _$jscoverage['/dialog.js'].lineData[124]++; Editor.Utils.placeholder(self.dUrl, self._urlTip); - _$jscoverage['/dialog.js'].lineData[123]++; + _$jscoverage['/dialog.js'].lineData[125]++; Editor.Utils.placeholder(self.dWidth, DTIP); - _$jscoverage['/dialog.js'].lineData[124]++; + _$jscoverage['/dialog.js'].lineData[126]++; Editor.Utils.placeholder(self.dHeight, DTIP); - _$jscoverage['/dialog.js'].lineData[125]++; + _$jscoverage['/dialog.js'].lineData[127]++; self.addRes(self.dAlign); }, _getDInfo: function() { _$jscoverage['/dialog.js'].functionData[5]++; - _$jscoverage['/dialog.js'].lineData[129]++; - var self = this, url = self.dUrl.val(); _$jscoverage['/dialog.js'].lineData[131]++; - var videoCfg = self.config, p = videoCfg.getProvider(url); + var self = this, url = self.dUrl.val(); _$jscoverage['/dialog.js'].lineData[133]++; - if (visit2_133_1(!p)) { - _$jscoverage['/dialog.js'].lineData[134]++; + var videoCfg = self.config, p = videoCfg.getProvider(url); + _$jscoverage['/dialog.js'].lineData[135]++; + if (visit2_135_1(!p)) { + _$jscoverage['/dialog.js'].lineData[136]++; window.alert('\u4e0d\u652f\u6301\u8be5\u94fe\u63a5\u6765\u6e90!'); } else { - _$jscoverage['/dialog.js'].lineData[136]++; + _$jscoverage['/dialog.js'].lineData[138]++; var re = p.detect(url); - _$jscoverage['/dialog.js'].lineData[137]++; - if (visit3_137_1(!re)) { - _$jscoverage['/dialog.js'].lineData[138]++; + _$jscoverage['/dialog.js'].lineData[139]++; + if (visit3_139_1(!re)) { + _$jscoverage['/dialog.js'].lineData[140]++; window.alert('\u4e0d\u652f\u6301\u8be5\u94fe\u63a5\uff0c\u8bf7\u76f4\u63a5\u8f93\u5165\u8be5\u89c6\u9891\u63d0\u4f9b\u7684\u5206\u4eab\u94fe\u63a5'); - _$jscoverage['/dialog.js'].lineData[139]++; + _$jscoverage['/dialog.js'].lineData[141]++; return undefined; } - _$jscoverage['/dialog.js'].lineData[141]++; + _$jscoverage['/dialog.js'].lineData[143]++; return { url: re, attrs: { - height: visit4_144_1(parseInt(self.dHeight.val()) || p.height), - width: visit5_145_1(parseInt(self.dWidth.val()) || p.width), - style: 'margin:' + (visit6_146_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + height: visit4_146_1(parseInt(self.dHeight.val(), 10) || p.height), + width: visit5_147_1(parseInt(self.dWidth.val(), 10) || p.width), + style: 'margin:' + (visit6_148_1(parseInt(self.dMargin.val(), 10) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; } - _$jscoverage['/dialog.js'].lineData[151]++; + _$jscoverage['/dialog.js'].lineData[153]++; return undefined; }, _gen: function(ev) { _$jscoverage['/dialog.js'].functionData[6]++; - _$jscoverage['/dialog.js'].lineData[155]++; + _$jscoverage['/dialog.js'].lineData[157]++; var self = this, url = self.dUrl.val(), urlCfg = self.urlCfg; - _$jscoverage['/dialog.js'].lineData[158]++; - if (visit7_158_1(urlCfg)) { - _$jscoverage['/dialog.js'].lineData[159]++; - for (var i = 0; visit8_159_1(i < urlCfg.length); i++) { - _$jscoverage['/dialog.js'].lineData[160]++; + _$jscoverage['/dialog.js'].lineData[160]++; + if (visit7_160_1(urlCfg)) { + _$jscoverage['/dialog.js'].lineData[161]++; + for (var i = 0; visit8_161_1(i < urlCfg.length); i++) { + _$jscoverage['/dialog.js'].lineData[162]++; var c = urlCfg[i]; - _$jscoverage['/dialog.js'].lineData[161]++; - if (visit9_161_1(c.reg.test(url))) { - _$jscoverage['/dialog.js'].lineData[162]++; - self.dialog.loading(); + _$jscoverage['/dialog.js'].lineData[163]++; + if (visit9_163_1(c.reg.test(url))) { _$jscoverage['/dialog.js'].lineData[164]++; - var data = {}; + self.dialog.loading(); _$jscoverage['/dialog.js'].lineData[166]++; - data[visit10_166_1(c.paramName || 'url')] = url; + var data = {}; _$jscoverage['/dialog.js'].lineData[168]++; - S.io({ + data[visit10_168_1(c.paramName || 'url')] = url; + _$jscoverage['/dialog.js'].lineData[170]++; + io({ url: c.url, data: data, dataType: 'jsonp', success: function(data) { _$jscoverage['/dialog.js'].functionData[7]++; - _$jscoverage['/dialog.js'].lineData[174]++; + _$jscoverage['/dialog.js'].lineData[176]++; self._dynamicUrlPrepare(data[1]); }}); - _$jscoverage['/dialog.js'].lineData[178]++; + _$jscoverage['/dialog.js'].lineData[180]++; return; } } } - _$jscoverage['/dialog.js'].lineData[182]++; + _$jscoverage['/dialog.js'].lineData[184]++; VideoDialog.superclass._gen.call(self, ev); - _$jscoverage['/dialog.js'].lineData[183]++; - if (visit11_183_1(ev)) { - _$jscoverage['/dialog.js'].lineData[184]++; + _$jscoverage['/dialog.js'].lineData[185]++; + if (visit11_185_1(ev)) { + _$jscoverage['/dialog.js'].lineData[186]++; ev.halt(); } }, _dynamicUrlPrepare: function(re) { _$jscoverage['/dialog.js'].functionData[8]++; - _$jscoverage['/dialog.js'].lineData[189]++; + _$jscoverage['/dialog.js'].lineData[191]++; var self = this; - _$jscoverage['/dialog.js'].lineData[190]++; + _$jscoverage['/dialog.js'].lineData[192]++; self.dUrl.val(re); - _$jscoverage['/dialog.js'].lineData[191]++; + _$jscoverage['/dialog.js'].lineData[193]++; self.dialog.unloading(); - _$jscoverage['/dialog.js'].lineData[192]++; + _$jscoverage['/dialog.js'].lineData[194]++; VideoDialog.superclass._gen.call(self); }, _updateD: function() { _$jscoverage['/dialog.js'].functionData[9]++; - _$jscoverage['/dialog.js'].lineData[196]++; + _$jscoverage['/dialog.js'].lineData[198]++; var self = this, editor = self.editor, f = self.selectedFlash; - _$jscoverage['/dialog.js'].lineData[199]++; - if (visit12_199_1(f)) { - _$jscoverage['/dialog.js'].lineData[200]++; - var r = editor.restoreRealElement(f); - _$jscoverage['/dialog.js'].lineData[201]++; - Editor.Utils.valInput(self.dUrl, self._getFlashUrl(r)); + _$jscoverage['/dialog.js'].lineData[201]++; + if (visit12_201_1(f)) { _$jscoverage['/dialog.js'].lineData[202]++; - self.dAlign.set('value', f.css('float')); + var r = editor.restoreRealElement(f); _$jscoverage['/dialog.js'].lineData[203]++; - self.dMargin.val(visit13_203_1(parseInt(r.style('margin')) || 0)); + Editor.Utils.valInput(self.dUrl, self._getFlashUrl(r)); _$jscoverage['/dialog.js'].lineData[204]++; - Editor.Utils.valInput(self.dWidth, parseInt(f.css('width'))); + self.dAlign.set('value', f.css('float')); _$jscoverage['/dialog.js'].lineData[205]++; - Editor.Utils.valInput(self.dHeight, parseInt(f.css('height'))); - } else { + self.dMargin.val(visit13_205_1(parseInt(r.style('margin'), 10) || 0)); + _$jscoverage['/dialog.js'].lineData[206]++; + Editor.Utils.valInput(self.dWidth, parseInt(f.css('width'), 10)); _$jscoverage['/dialog.js'].lineData[207]++; + Editor.Utils.valInput(self.dHeight, parseInt(f.css('height'), 10)); + } else { + _$jscoverage['/dialog.js'].lineData[209]++; Editor.Utils.resetInput(self.dUrl); - _$jscoverage['/dialog.js'].lineData[208]++; + _$jscoverage['/dialog.js'].lineData[210]++; self.dAlign.set('value', 'none'); - _$jscoverage['/dialog.js'].lineData[209]++; + _$jscoverage['/dialog.js'].lineData[211]++; self.dMargin.val(MARGIN_DEFAULT); - _$jscoverage['/dialog.js'].lineData[210]++; + _$jscoverage['/dialog.js'].lineData[212]++; Editor.Utils.resetInput(self.dWidth); - _$jscoverage['/dialog.js'].lineData[211]++; + _$jscoverage['/dialog.js'].lineData[213]++; Editor.Utils.resetInput(self.dHeight); } }}); - _$jscoverage['/dialog.js'].lineData[216]++; + _$jscoverage['/dialog.js'].lineData[218]++; return VideoDialog; }); diff --git a/src/editor/sub-modules/plugin/video/sub-modules/dialog/ke-meta/deps.js b/src/editor/sub-modules/plugin/video/sub-modules/dialog/ke-meta/deps.js index 083563c5de..cd2f593b68 100644 --- a/src/editor/sub-modules/plugin/video/sub-modules/dialog/ke-meta/deps.js +++ b/src/editor/sub-modules/plugin/video/sub-modules/dialog/ke-meta/deps.js @@ -1,4 +1,4 @@ /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/video/dialog': {requires: ['editor','editor/plugin/flash/dialog','editor/plugin/menubutton']} +'editor/plugin/video/dialog': {requires: ['editor','io','editor/plugin/flash/dialog','editor/plugin/menubutton']} }); diff --git a/src/editor/sub-modules/plugin/video/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/video/sub-modules/dialog/src/dialog.js index 72bd3a97a8..3802c2d6fd 100644 --- a/src/editor/sub-modules/plugin/video/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/video/sub-modules/dialog/src/dialog.js @@ -5,6 +5,7 @@ */ KISSY.add(function (S, require) { var Editor = require('editor'); + var io = require('io'); var FlashDialog = require('../flash/dialog'); var MenuButton = require('../menubutton'); @@ -94,6 +95,7 @@ KISSY.add(function (S, require) { self.urlCfg = cfg.urlCfg; self._urlTip = cfg.urlTip || '请输入视频播放链接...'; }, + _initD: function () { var self = this, d = self.dialog, @@ -141,9 +143,9 @@ KISSY.add(function (S, require) { return { url: re, attrs: { - height: parseInt(self.dHeight.val()) || p.height, - width: parseInt(self.dWidth.val()) || p.width, - style: 'margin:' + (parseInt(self.dMargin.val()) || 0) + 'px;' + + height: parseInt(self.dHeight.val(), 10) || p.height, + width: parseInt(self.dWidth.val(), 10) || p.width, + style: 'margin:' + (parseInt(self.dMargin.val(), 10) || 0) + 'px;' + 'float:' + self.dAlign.get('value') + ';' } }; @@ -165,7 +167,7 @@ KISSY.add(function (S, require) { data[c.paramName || 'url'] = url; - S.io({ + io({ url: c.url, data: data, dataType: 'jsonp', @@ -179,8 +181,8 @@ KISSY.add(function (S, require) { } } } - VideoDialog.superclass._gen.call(self,ev); - if(ev){ + VideoDialog.superclass._gen.call(self, ev); + if (ev) { ev.halt(); } }, @@ -200,9 +202,9 @@ KISSY.add(function (S, require) { var r = editor.restoreRealElement(f); Editor.Utils.valInput(self.dUrl, self._getFlashUrl(r)); self.dAlign.set('value', f.css('float')); - self.dMargin.val(parseInt(r.style('margin')) || 0); - Editor.Utils.valInput(self.dWidth, parseInt(f.css('width'))); - Editor.Utils.valInput(self.dHeight, parseInt(f.css('height'))); + self.dMargin.val(parseInt(r.style('margin'), 10) || 0); + Editor.Utils.valInput(self.dWidth, parseInt(f.css('width'), 10)); + Editor.Utils.valInput(self.dHeight, parseInt(f.css('height'), 10)); } else { Editor.Utils.resetInput(self.dUrl); self.dAlign.set('value', 'none'); diff --git a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/coverage/src/dialog.js b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/coverage/src/dialog.js index 8048bc4fc3..088938a242 100644 --- a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/coverage/src/dialog.js +++ b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/coverage/src/dialog.js @@ -460,7 +460,7 @@ function visit28_346_1(result) { function visit27_345_1(result) { _$jscoverage['/dialog.js'].branchData['345'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['315'][1].init(203, 32, 'parseInt(f.style(\'margin\')) || 0'); +}_$jscoverage['/dialog.js'].branchData['315'][1].init(203, 35, 'parseInt(f.style(\'margin\'), 10) || 0'); function visit26_315_1(result) { _$jscoverage['/dialog.js'].branchData['315'][1].ranCondition(result); return result; @@ -516,11 +516,11 @@ function visit14_237_1(result) { function visit13_235_1(result) { _$jscoverage['/dialog.js'].branchData['235'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['220'][1].init(1214, 6, 'paging'); +}_$jscoverage['/dialog.js'].branchData['220'][1].init(1217, 6, 'paging'); function visit12_220_1(result) { _$jscoverage['/dialog.js'].branchData['220'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['215'][1].init(44, 33, 'parseInt(self.dMargin.val()) || 0'); +}_$jscoverage['/dialog.js'].branchData['215'][1].init(44, 36, 'parseInt(self.dMargin.val(), 10) || 0'); function visit11_215_1(result) { _$jscoverage['/dialog.js'].branchData['215'][1].ranCondition(result); return result; @@ -548,7 +548,7 @@ function visit6_158_1(result) { function visit5_155_1(result) { _$jscoverage['/dialog.js'].branchData['155'][1].ranCondition(result); return result; -}_$jscoverage['/dialog.js'].branchData['144'][1].init(40, 33, 'parseInt(self.dMargin.val()) || 0'); +}_$jscoverage['/dialog.js'].branchData['144'][1].init(40, 36, 'parseInt(self.dMargin.val(), 10) || 0'); function visit4_144_1(result) { _$jscoverage['/dialog.js'].branchData['144'][1].ranCondition(result); return result; @@ -686,7 +686,7 @@ KISSY.add(function(S, require) { url: self._getFlashUrl(r), attrs: { title: f.attr('title'), - style: 'margin:' + (visit4_144_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + style: 'margin:' + (visit4_144_1(parseInt(self.dMargin.val(), 10) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; _$jscoverage['/dialog.js'].lineData[148]++; self._gen(); _$jscoverage['/dialog.js'].lineData[149]++; @@ -772,14 +772,14 @@ KISSY.add(function(S, require) { url: ('http://www.xiami.com/widget/' + add.attr('data-value') + '/singlePlayer.swf'), attrs: { title: add.attr('title'), - style: 'margin:' + (visit11_215_1(parseInt(self.dMargin.val()) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; + style: 'margin:' + (visit11_215_1(parseInt(self.dMargin.val(), 10) || 0)) + 'px;' + 'float:' + self.dAlign.get('value') + ';'}}; _$jscoverage['/dialog.js'].lineData[219]++; self._gen(); } else { _$jscoverage['/dialog.js'].lineData[220]++; if (visit12_220_1(paging)) { _$jscoverage['/dialog.js'].lineData[221]++; - loadRecordsByPage(parseInt(paging.attr('data-value'))); + loadRecordsByPage(parseInt(paging.attr('data-value'), 10)); } } _$jscoverage['/dialog.js'].lineData[223]++; @@ -886,7 +886,7 @@ KISSY.add(function(S, require) { _$jscoverage['/dialog.js'].lineData[314]++; self.dAlign.set('value', f.css('float')); _$jscoverage['/dialog.js'].lineData[315]++; - self.dMargin.val(visit26_315_1(parseInt(f.style('margin')) || 0)); + self.dMargin.val(visit26_315_1(parseInt(f.style('margin'), 10) || 0)); _$jscoverage['/dialog.js'].lineData[316]++; self._xiamiUrlWrap.hide(); _$jscoverage['/dialog.js'].lineData[317]++; diff --git a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js index a546ce2373..5594fc4d58 100644 --- a/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js +++ b/src/editor/sub-modules/plugin/xiami-music/sub-modules/dialog/src/dialog.js @@ -141,7 +141,7 @@ KISSY.add(function (S, require) { title: f.attr('title'), //align:self.dAlign.val(), style: 'margin:' + - (parseInt(self.dMargin.val()) || 0) + 'px;' + + (parseInt(self.dMargin.val(),10) || 0) + 'px;' + 'float:' + self.dAlign.get('value') + ';' } }; @@ -212,13 +212,13 @@ KISSY.add(function (S, require) { title: add.attr('title'), //align:self.dAlign.val(), style: 'margin:' + - (parseInt(self.dMargin.val()) || 0) + 'px;' + + (parseInt(self.dMargin.val(),10) || 0) + 'px;' + 'float:' + self.dAlign.get('value') + ';' } }; self._gen(); } else if (paging) { - loadRecordsByPage(parseInt(paging.attr('data-value'))); + loadRecordsByPage(parseInt(paging.attr('data-value'),10)); } ev.halt(); }); @@ -312,7 +312,7 @@ KISSY.add(function (S, require) { self._xiamiInput.val(f.attr('title')); self._xiamiTitle.html(f.attr('title')); self.dAlign.set('value', f.css('float')); - self.dMargin.val(parseInt(f.style('margin')) || 0); + self.dMargin.val(parseInt(f.style('margin'),10) || 0); self._xiamiUrlWrap.hide(); self.dialog.get('footer').show(); self._xiamiTitle.show(); diff --git a/src/package.js b/src/package.js index 99f01290b3..882367a936 100644 --- a/src/package.js +++ b/src/package.js @@ -109,6 +109,10 @@ if (!loc.getQuery().has('build') && !loc.getQuery().has('min')) { "base": "/kissy/src/date/picker/src/picker", "ignorePackageNameInUri": 1 }, + "date/picker-xtpl": { + "base": "/kissy/src/date/picker-xtpl/src/picker-xtpl", + "ignorePackageNameInUri": 1 + }, "date/popup-picker": { "base": "/kissy/src/date/popup-picker/src/popup-picker", "ignorePackageNameInUri": 1 diff --git a/src/seed/src/meta/modules.js b/src/seed/src/meta/modules.js index 6eeff6bf4c..67960176b0 100644 --- a/src/seed/src/meta/modules.js +++ b/src/seed/src/meta/modules.js @@ -79,11 +79,11 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'date/picker': {requires: ['node','date/gregorian','i18n!date/picker','component/control','date/format']} +'date/picker': {requires: ['node','date/gregorian','i18n!date/picker','component/control','date/format','date/picker-xtpl']} }); /*Generated By KISSY Module Compiler*/ config({ -'date/popup-picker': {requires: ['date/picker/picker-xtpl','date/picker','component/extension/shim','component/extension/align']} +'date/popup-picker': {requires: ['date/picker-xtpl','date/picker','component/extension/shim','component/extension/align']} }); /*Generated By KISSY Module Compiler*/ config({ From 6cdd5d56f76a8132da66b155ef342047b8eba692 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 6 Jan 2014 15:43:50 +0800 Subject: [PATCH 20/80] add picker css --- build/date/picker-min.js | 2 +- build/date/picker.js | 2 +- build/date/picker/assets/dpl-min.css | 6 + build/date/picker/assets/dpl.css | 583 ++++++++++++++++++ .../{decade-panel.css => decade-panel.less} | 2 +- src/date/picker/assets/dpl.css | 578 +++++++++++++++++ src/date/picker/assets/dpl.less | 4 + .../{month-panel.css => month-panel.less} | 2 +- .../picker/assets/{picker.css => picker.less} | 0 .../{year-panel.css => year-panel.less} | 2 +- 10 files changed, 1176 insertions(+), 5 deletions(-) create mode 100644 build/date/picker/assets/dpl-min.css create mode 100644 build/date/picker/assets/dpl.css rename src/date/picker/assets/{decade-panel.css => decade-panel.less} (97%) create mode 100644 src/date/picker/assets/dpl.css create mode 100644 src/date/picker/assets/dpl.less rename src/date/picker/assets/{month-panel.css => month-panel.less} (98%) rename src/date/picker/assets/{picker.css => picker.less} (100%) rename src/date/picker/assets/{year-panel.css => year-panel.less} (98%) diff --git a/build/date/picker-min.js b/build/date/picker-min.js index 1e068f5dda..eb8f6c6a81 100644 --- a/build/date/picker-min.js +++ b/build/date/picker-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:32 +build time: Jan 6 15:43 */ KISSY.add("date/picker/render",["date/format","date/picker-xtpl","component/control"],function(k,g){function h(a){return"ks-date-picker-date-"+a.getYear()+"-"+a.getMonth()+"-"+a.getDayOfMonth()}function l(a,e){return a.getYear()===e.getYear()&&a.getMonth()===e.getMonth()&&a.getDayOfMonth()===e.getDayOfMonth()}function f(){return this.config.view.renderDates()}var a=g("date/format"),j=g("date/picker-xtpl");return g("component/control").getDefaultRender().extend({getMonthYearLabel:function(){var i= this.control,e=i.get("locale"),i=i.get("value"),c=i.getLocale();return(new a(e.monthYearFormat,c)).format(i)},getTodayTimeLabel:function(){var i=this.control,e=i.get("locale"),c=i.get("value"),i=c.getLocale(),c=c.clone();c.setTime(k.now());return(new a(e.dateFormat,i)).format(c)},beforeCreateDom:function(a,e,c){var b=this.control,d=b.get("locale"),h=b.get("value"),b=h.getLocale();k.mix(e,{monthSelectEl:"#ks-date-picker-month-select-{id}",monthSelectContentEl:"#ks-date-picker-month-select-content-{id}", diff --git a/build/date/picker.js b/build/date/picker.js index f4eadef935..94daf69e2e 100644 --- a/build/date/picker.js +++ b/build/date/picker.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:32 +build time: Jan 6 15:43 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/date/picker/assets/dpl-min.css b/build/date/picker/assets/dpl-min.css new file mode 100644 index 0000000000..54652f1217 --- /dev/null +++ b/build/date/picker/assets/dpl-min.css @@ -0,0 +1,6 @@ +/* +Copyright 2014, KISSY v1.41 +MIT Licensed +build time: Jan 6 15:43 +*/ +.ks-date-picker{box-shadow:1px 1px 0 #ccc;background:#fff;border:1px solid #9bc0e0;width:215px;outline:0;position:relative}.ks-popup-date-picker{position:absolute;left:-9999px;top:-9999px}.ks-date-picker-hidden{display:none}.ks-popup-date-picker-hidden{display:block;visibility:hidden;left:-9999px;top:-9999px}.ks-date-picker-prev-month-btn,.ks-date-picker-next-month-btn,.ks-date-picker-prev-year-btn,.ks-date-picker-next-year-btn,.ks-date-picker-header{background-image:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png')}.ks-ie6 .ks-date-picker-prev-month-btn,.ks-ie6 .ks-date-picker-next-month-btn,.ks-ie6 .ks-date-picker-prev-year-btn,.ks-ie6 .ks-date-picker-next-year-btn,.ks-ie6 .ks-date-picker-header{background-image:url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png')}.ks-date-picker-header{background-repeat:repeat-x;background-position:0 -240px;height:26px;line-height:26px;position:relative;text-align:center}.ks-date-picker-prev-month-btn,.ks-date-picker-next-month-btn,.ks-date-picker-prev-year-btn,.ks-date-picker-next-year-btn{width:19px;height:19px;position:absolute;top:2px}.ks-date-picker-prev-month-btn{background-position:0 -60px;left:24px}.ks-date-picker-prev-month-btn:hover{background-position:0 -80px}.ks-date-picker-prev-year-btn{background-position:0 -180px;left:0}.ks-date-picker-prev-year-btn:hover{background-position:0 -200px}.ks-date-picker-next-month-btn{background-position:0 0;right:24px}.ks-date-picker-next-month-btn:hover{background-position:0 -20px}.ks-date-picker-next-year-btn{background-position:0 -120px;right:0}.ks-date-picker-next-year-btn:hover{background-position:0 -140px}.ks-date-picker-month-select{color:#fff;line-height:26px;border:1px solid transparent}.ks-ie6 .ks-date-picker-month-select{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-ie7 .ks-date-picker-month-select,.ks-ie6 .ks-date-picker-month-select{position:relative;top:5px}.ks-date-picker-month-select-arrow{width:0;height:0;overflow:hidden;font-size:0;vertical-align:middle;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff;border-bottom-width:0}.ks-ie7 .ks-date-picker-month-select-arrow{padding-top:2px;vertical-align:bottom}.ks-ie6 .ks-date-picker-month-select-arrow{border-left-color:tomato;border-right-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-month-select:hover .ks-date-picker-month-select-arrow{border-top-color:#f0ff00}.ks-date-picker-month-select:hover{color:#f0ff00;border:1px solid #8cc6ff;background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png');background-position:0 -268px}.ks-date-picker-week-number-cell{text-align:center;line-height:22px}.ks-date-picker-week-number-header{text-indent:-9999px}.ks-date-picker-table{table-layout:fixed;width:100%;border-collapse:separate}.ks-date-picker-column-header{width:25px;color:black;font-weight:bold;text-align:center;padding:4px 0}.ks-date-picker-column-header-inner{display:block;padding-bottom:4px;border-bottom:1px dashed #c9c9c9}.ks-date-picker-cell{text-align:center}.ks-date-picker-date{color:#049;line-height:22px;text-decoration:none;display:block;border-radius:2px;border:1px solid transparent}.ks-ie6 .ks-date-picker-date{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-last-month-cell .ks-date-picker-date,.ks-date-picker-next-month-btn-day .ks-date-picker-date{color:#bfbfbf}.ks-date-picker-date:hover{background-color:#f3f9ff;border-color:#88b1ea}.ks-date-picker-disabled-cell .ks-date-picker-date{cursor:default}.ks-date-picker-disabled-cell .ks-date-picker-date:hover{border-color:transparent}.ks-ie6 .ks-date-picker-disabled-cell .ks-date-picker-date:hover{border-color:tomato;filter:chroma(color=#ff6347)}.ks-date-picker-today .ks-date-picker-date{color:#357c00;border-color:#7dba4e}.ks-date-picker-selected-day .ks-date-picker-date{color:#fff;background-color:#4187e7;border-color:#4187e7}.ks-date-picker-footer{padding:3px 0;background-color:#f5f5f5;text-align:center}.ks-date-picker-today-btn,.ks-date-picker-clear-btn{line-height:16px;height:16px;margin:0 3px 0 2px;border-radius:3px;padding:3px 3px 3px 3px;border-width:1px;border-style:solid;text-decoration:none;background-color:#4187e7;color:#fff;border-color:#3375cf;display:inline-block}.ks-ie6 .ks-date-picker-today-btn,.ks-ie6 .ks-date-picker-clear-btn{zoom:1}.ks-date-picker-today-btn:hover,.ks-date-picker-clear-btn:hover{color:#fff}.ks-date-picker-decade-panel{width:100%;height:100%;left:0;top:0;z-index:30;position:absolute;background:#fff;outline:0;border-bottom:1px solid #9bc0e0}.ks-ie6 .ks-date-picker-decade-panel{height:expression(this.parentNode.offsetHeight)}.ks-date-picker-decade-panel-hidden{display:none}.ks-date-picker-decade-panel-prev-century-btn,.ks-date-picker-decade-panel-next-century-btn,.ks-date-picker-decade-panel-header{background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png')}.ks-ie6 .ks-date-picker-decade-panel-prev-century-btn,.ks-ie6 .ks-date-picker-decade-panel-next-century-btn,.ks-ie6 .ks-date-picker-decade-panel-header{background-image:url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png')}.ks-date-picker-decade-panel-header{background-repeat:repeat-x;background-position:0 -240px;height:26px;position:relative;text-align:center}.ks-date-picker-decade-panel-prev-century-btn,.ks-date-picker-decade-panel-next-century-btn{width:19px;height:19px;position:absolute;top:2px}.ks-date-picker-decade-panel-prev-century-btn{background-position:0 -60px;left:0}.ks-date-picker-decade-panel-prev-century-btn:hover{background-position:0 -80px}.ks-date-picker-decade-panel-century{color:#fff;line-height:26px;text-decoration:none}.ks-date-picker-decade-panel-next-century-btn{background-position:0 0;right:0}.ks-date-picker-decade-panel-next-century-btn:hover{background-position:0 -20px}.ks-date-picker-decade-panel-table{table-layout:fixed;width:100%;border-collapse:separate}.ks-date-picker-decade-panel-cell{text-align:center;height:42px;vertical-align:middle}.ks-date-picker-decade-panel-decade{color:#049;text-decoration:none;display:block;border-radius:2px;border:1px solid transparent}.ks-ie6 .ks-date-picker-decade-panel-decade{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-decade-panel-decade:hover{background-color:#f3f9ff;border-color:#88b1ea}.ks-date-picker-decade-panel-selected-cell .ks-date-picker-decade-panel-decade{color:#fff;background-color:#4187e7;border-color:#4187e7}.ks-date-picker-decade-panel-last-century-cell .ks-date-picker-decade-panel-decade,.ks-date-picker-decade-panel-next-century-cell .ks-date-picker-decade-panel-decade{color:#bfbfbf}.ks-date-picker-month-panel{width:100%;height:100%;left:0;top:0;z-index:10;background:#fff;position:absolute;outline:0;border-bottom:1px solid #9bc0e0}.ks-ie6 .ks-date-picker-month-panel{height:expression(this.parentNode.offsetHeight)}.ks-date-picker-month-panel-hidden{display:none}.ks-date-picker-month-panel-prev-year-btn,.ks-date-picker-month-panel-next-year-btn,.ks-date-picker-month-panel-header{background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png')}.ks-ie6 .ks-date-picker-month-panel-prev-year-btn,.ks-ie6 .ks-date-picker-month-panel-next-year-btn,.ks-ie6 .ks-date-picker-month-panel-header{background-image:url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png')}.ks-date-picker-month-panel-header{background-repeat:repeat-x;background-position:0 -240px;height:26px;position:relative;text-align:center}.ks-date-picker-month-panel-prev-year-btn,.ks-date-picker-month-panel-next-year-btn{width:19px;height:19px;position:absolute;top:2px}.ks-date-picker-month-panel-prev-year-btn{background-position:0 -60px;left:0}.ks-date-picker-month-panel-prev-year-btn:hover{background-position:0 -80px}.ks-date-picker-month-panel-year-select{color:#fff;line-height:26px;text-decoration:none;border:1px solid transparent}.ks-ie7 .ks-date-picker-month-panel-year-select,.ks-ie6 .ks-date-picker-month-panel-year-select{position:relative;top:5px}.ks-ie6 .ks-date-picker-month-panel-year-select{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-month-panel-year-select-arrow{width:0;height:0;overflow:hidden;font-size:0;vertical-align:middle;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff}.ks-ie7 .ks-date-picker-month-panel-year-select-arrow{padding-top:2px;vertical-align:bottom}.ks-ie6 .ks-date-picker-month-panel-year-select-arrow{border-left-color:tomato;border-right-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-month-panel-year-select:hover .ks-date-picker-month-panel-year-select-arrow{border-top-color:#f0ff00}.ks-date-picker-month-panel-year-select:hover{color:#f0ff00;border:1px solid #8cc6ff;background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png') 0 -268px}.ks-date-picker-month-panel-next-year-btn{background-position:0 0;right:0}.ks-date-picker-month-panel-next-year-btn:hover{background-position:0 -20px}.ks-date-picker-month-panel-table{table-layout:fixed;width:100%;border-collapse:separate}.ks-date-picker-month-panel-cell{text-align:center}.ks-date-picker-month-panel-month{color:#049;line-height:42px;text-decoration:none;display:block;border-radius:2px;border:1px solid transparent}.ks-ie6 .ks-date-picker-month-panel-month{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-month-panel-month:hover{background-color:#f3f9ff;border-color:#88b1ea}.ks-date-picker-month-panel-selected-cell .ks-date-picker-month-panel-month{color:#fff;background-color:#4187e7;border-color:#4187e7}.ks-date-picker-year-panel{width:100%;height:100%;left:0;top:0;z-index:20;background:#fff;position:absolute;outline:0;border-bottom:1px solid #9bc0e0}.ks-ie6 .ks-date-picker-year-panel{height:expression(this.parentNode.offsetHeight)}.ks-date-picker-year-panel-hidden{display:none}.ks-date-picker-year-panel-prev-decade-btn,.ks-date-picker-year-panel-next-decade-btn,.ks-date-picker-year-panel-header{background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png')}.ks-ie6 .ks-date-picker-year-panel-prev-decade-btn,.ks-ie6 .ks-date-picker-year-panel-next-decade-btn,.ks-ie6 .ks-date-picker-year-panel-header{background-image:url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png')}.ks-date-picker-year-panel-header{background-repeat:repeat-x;background-position:0 -240px;height:26px;position:relative;text-align:center}.ks-date-picker-year-panel-prev-decade-btn,.ks-date-picker-year-panel-next-decade-btn{width:19px;height:19px;position:absolute;top:2px}.ks-date-picker-year-panel-prev-decade-btn{background-position:0 -60px;left:0}.ks-date-picker-year-panel-prev-decade-btn:hover{background-position:0 -80px}.ks-date-picker-year-panel-decade-select{color:#fff;line-height:26px;text-decoration:none}.ks-ie7 .ks-date-picker-year-panel-decade-select,.ks-ie6 .ks-date-picker-year-panel-decade-select{position:relative;top:5px}.ks-ie6 .ks-date-picker-year-panel-decade-select{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-year-panel-decade-select-arrow{width:0;height:0;overflow:hidden;font-size:0;vertical-align:middle;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #fff}.ks-ie7 .ks-date-picker-year-panel-decade-select-arrow{padding-top:2px;vertical-align:bottom}.ks-ie6 .ks-date-picker-year-panel-decade-select-arrow{border-left-color:tomato;border-right-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-year-panel-decade-select:hover .ks-date-picker-year-panel-decade-select-arrow{border-top-color:#f0ff00}.ks-date-picker-year-panel-decade-select:hover{color:#f0ff00;border:1px solid #8cc6ff;background:url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png');background-position:0 -268px}.ks-date-picker-year-panel-next-decade-btn{background-position:0 0;right:0}.ks-date-picker-year-panel-next-decade-btn:hover{background-position:0 -20px}.ks-date-picker-year-panel-table{table-layout:fixed;width:100%;border-collapse:separate}.ks-date-picker-year-panel-cell{text-align:center}.ks-date-picker-year-panel-year{color:#049;line-height:42px;text-decoration:none;display:block;border-radius:2px;border:1px solid transparent}.ks-ie6 .ks-date-picker-year-panel-year{border-color:tomato;zoom:1;filter:chroma(color=#ff6347)}.ks-date-picker-year-panel-year:hover{background-color:#f3f9ff;border-color:#88b1ea}.ks-date-picker-year-panel-selected-cell .ks-date-picker-year-panel-year{color:#fff;background-color:#4187e7;border-color:#4187e7}.ks-date-picker-year-panel-last-decade-cell .ks-date-picker-year-panel-year,.ks-date-picker-year-panel-next-decade-btn-cell .ks-date-picker-year-panel-year{color:#bfbfbf} diff --git a/build/date/picker/assets/dpl.css b/build/date/picker/assets/dpl.css new file mode 100644 index 0000000000..5422137cfe --- /dev/null +++ b/build/date/picker/assets/dpl.css @@ -0,0 +1,583 @@ +/* +Copyright 2014, KISSY v1.41 +MIT Licensed +build time: Jan 6 15:43 +*/ +.ks-date-picker { + box-shadow: 1px 1px 0 #ccc; + background: #ffffff; + border: 1px solid #9bc0e0; + width: 215px; + outline: none; + position: relative; +} +.ks-popup-date-picker { + position: absolute; + left: -9999px; + top: -9999px; +} +.ks-date-picker-hidden { + display: none; +} +.ks-popup-date-picker-hidden { + display: block; + visibility: hidden; + left: -9999px; + top: -9999px; +} +.ks-date-picker-prev-month-btn, +.ks-date-picker-next-month-btn, +.ks-date-picker-prev-year-btn, +.ks-date-picker-next-year-btn, +.ks-date-picker-header { + background-image: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-prev-month-btn, +.ks-ie6 .ks-date-picker-next-month-btn, +.ks-ie6 .ks-date-picker-prev-year-btn, +.ks-ie6 .ks-date-picker-next-year-btn, +.ks-ie6 .ks-date-picker-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + line-height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-prev-month-btn, +.ks-date-picker-next-month-btn, +.ks-date-picker-prev-year-btn, +.ks-date-picker-next-year-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-prev-month-btn { + background-position: 0 -60px; + left: 24px; +} +.ks-date-picker-prev-month-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-prev-year-btn { + background-position: 0 -180px; + left: 0; +} +.ks-date-picker-prev-year-btn:hover { + background-position: 0 -200px; +} +.ks-date-picker-next-month-btn { + background-position: 0 0; + right: 24px; +} +.ks-date-picker-next-month-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-next-year-btn { + background-position: 0 -120px; + right: 0; +} +.ks-date-picker-next-year-btn:hover { + background-position: 0 -140px; +} +.ks-date-picker-month-select { + color: #ffffff; + line-height: 26px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-month-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-ie7 .ks-date-picker-month-select, +.ks-ie6 .ks-date-picker-month-select { + position: relative; + top: 5px; +} +.ks-date-picker-month-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; + border-bottom-width: 0px; +} +.ks-ie7 .ks-date-picker-month-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-month-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-select:hover .ks-date-picker-month-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-month-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); + background-position: 0 -268px; +} +.ks-date-picker-week-number-cell { + text-align: center; + line-height: 22px; +} +.ks-date-picker-week-number-header { + text-indent: -9999px; +} +.ks-date-picker-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-column-header { + width: 25px; + color: black; + font-weight: bold; + text-align: center; + padding: 4px 0; +} +.ks-date-picker-column-header-inner { + display: block; + padding-bottom: 4px; + border-bottom: 1px dashed #c9c9c9; +} +.ks-date-picker-cell { + text-align: center; +} +.ks-date-picker-date { + color: #004499; + line-height: 22px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-date { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-last-month-cell .ks-date-picker-date, +.ks-date-picker-next-month-btn-day .ks-date-picker-date { + color: #bfbfbf; +} +.ks-date-picker-date:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-disabled-cell .ks-date-picker-date { + cursor: default; +} +.ks-date-picker-disabled-cell .ks-date-picker-date:hover { + border-color: transparent; +} +.ks-ie6 .ks-date-picker-disabled-cell .ks-date-picker-date:hover { + border-color: tomato; + filter: chroma(color=#ff6347); +} +.ks-date-picker-today .ks-date-picker-date { + color: #357c00; + border-color: #7dba4e; +} +.ks-date-picker-selected-day .ks-date-picker-date { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-footer { + padding: 3px 0; + background-color: #f5f5f5; + text-align: center; +} +.ks-date-picker-today-btn, +.ks-date-picker-clear-btn { + line-height: 16px; + height: 16px; + margin: 0 3px 0 2px; + border-radius: 3px; + padding: 3px 3px 3px 3px; + border-width: 1px; + border-style: solid; + text-decoration: none; + background-color: #4187e7; + color: #ffffff; + border-color: #3375cf; + display: inline-block; +} +.ks-ie6 .ks-date-picker-today-btn, +.ks-ie6 .ks-date-picker-clear-btn { + zoom: 1; +} +.ks-date-picker-today-btn:hover, +.ks-date-picker-clear-btn:hover { + color: #ffffff; +} +.ks-date-picker-decade-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 30; + position: absolute; + background: #ffffff; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-decade-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-decade-panel-hidden { + display: none; +} +.ks-date-picker-decade-panel-prev-century-btn, +.ks-date-picker-decade-panel-next-century-btn, +.ks-date-picker-decade-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-decade-panel-prev-century-btn, +.ks-ie6 .ks-date-picker-decade-panel-next-century-btn, +.ks-ie6 .ks-date-picker-decade-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-decade-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-decade-panel-prev-century-btn, +.ks-date-picker-decade-panel-next-century-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-decade-panel-prev-century-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-decade-panel-prev-century-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-decade-panel-century { + color: #ffffff; + line-height: 26px; + text-decoration: none; +} +.ks-date-picker-decade-panel-next-century-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-decade-panel-next-century-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-decade-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-decade-panel-cell { + text-align: center; + height: 42px; + vertical-align: middle; +} +.ks-date-picker-decade-panel-decade { + color: #004499; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-decade-panel-decade { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-decade-panel-decade:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-decade-panel-selected-cell .ks-date-picker-decade-panel-decade { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-decade-panel-last-century-cell .ks-date-picker-decade-panel-decade, +.ks-date-picker-decade-panel-next-century-cell .ks-date-picker-decade-panel-decade { + color: #bfbfbf; +} +.ks-date-picker-month-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 10; + background: #ffffff; + position: absolute; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-month-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-month-panel-hidden { + display: none; +} +.ks-date-picker-month-panel-prev-year-btn, +.ks-date-picker-month-panel-next-year-btn, +.ks-date-picker-month-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-month-panel-prev-year-btn, +.ks-ie6 .ks-date-picker-month-panel-next-year-btn, +.ks-ie6 .ks-date-picker-month-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-month-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-month-panel-prev-year-btn, +.ks-date-picker-month-panel-next-year-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-month-panel-prev-year-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-month-panel-prev-year-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-month-panel-year-select { + color: #ffffff; + line-height: 26px; + text-decoration: none; + border: 1px solid transparent; +} +.ks-ie7 .ks-date-picker-month-panel-year-select, +.ks-ie6 .ks-date-picker-month-panel-year-select { + position: relative; + top: 5px; +} +.ks-ie6 .ks-date-picker-month-panel-year-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-year-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; +} +.ks-ie7 .ks-date-picker-month-panel-year-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-month-panel-year-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-year-select:hover .ks-date-picker-month-panel-year-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-month-panel-year-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png') 0 -268px; +} +.ks-date-picker-month-panel-next-year-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-month-panel-next-year-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-month-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-month-panel-cell { + text-align: center; +} +.ks-date-picker-month-panel-month { + color: #004499; + line-height: 42px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-month-panel-month { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-month:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-month-panel-selected-cell .ks-date-picker-month-panel-month { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-year-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 20; + background: #ffffff; + position: absolute; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-year-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-year-panel-hidden { + display: none; +} +.ks-date-picker-year-panel-prev-decade-btn, +.ks-date-picker-year-panel-next-decade-btn, +.ks-date-picker-year-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-year-panel-prev-decade-btn, +.ks-ie6 .ks-date-picker-year-panel-next-decade-btn, +.ks-ie6 .ks-date-picker-year-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-year-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-year-panel-prev-decade-btn, +.ks-date-picker-year-panel-next-decade-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-year-panel-prev-decade-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-year-panel-prev-decade-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-year-panel-decade-select { + color: #ffffff; + line-height: 26px; + text-decoration: none; +} +.ks-ie7 .ks-date-picker-year-panel-decade-select, +.ks-ie6 .ks-date-picker-year-panel-decade-select { + position: relative; + top: 5px; +} +.ks-ie6 .ks-date-picker-year-panel-decade-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-decade-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; +} +.ks-ie7 .ks-date-picker-year-panel-decade-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-year-panel-decade-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-decade-select:hover .ks-date-picker-year-panel-decade-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-year-panel-decade-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); + background-position: 0 -268px; +} +.ks-date-picker-year-panel-next-decade-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-year-panel-next-decade-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-year-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-year-panel-cell { + text-align: center; +} +.ks-date-picker-year-panel-year { + color: #004499; + line-height: 42px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-year-panel-year { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-year:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-year-panel-selected-cell .ks-date-picker-year-panel-year { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-year-panel-last-decade-cell .ks-date-picker-year-panel-year, +.ks-date-picker-year-panel-next-decade-btn-cell .ks-date-picker-year-panel-year { + color: #bfbfbf; +} diff --git a/src/date/picker/assets/decade-panel.css b/src/date/picker/assets/decade-panel.less similarity index 97% rename from src/date/picker/assets/decade-panel.css rename to src/date/picker/assets/decade-panel.less index f8277029e5..79ae397116 100644 --- a/src/date/picker/assets/decade-panel.css +++ b/src/date/picker/assets/decade-panel.less @@ -11,7 +11,7 @@ } .ks-ie6 .ks-date-picker-decade-panel{ - height:expression(this.parentNode.offsetHeight) + height:~'expression(this.parentNode.offsetHeight)' } .ks-date-picker-decade-panel-hidden { diff --git a/src/date/picker/assets/dpl.css b/src/date/picker/assets/dpl.css new file mode 100644 index 0000000000..73522f071b --- /dev/null +++ b/src/date/picker/assets/dpl.css @@ -0,0 +1,578 @@ +.ks-date-picker { + box-shadow: 1px 1px 0 #ccc; + background: #ffffff; + border: 1px solid #9bc0e0; + width: 215px; + outline: none; + position: relative; +} +.ks-popup-date-picker { + position: absolute; + left: -9999px; + top: -9999px; +} +.ks-date-picker-hidden { + display: none; +} +.ks-popup-date-picker-hidden { + display: block; + visibility: hidden; + left: -9999px; + top: -9999px; +} +.ks-date-picker-prev-month-btn, +.ks-date-picker-next-month-btn, +.ks-date-picker-prev-year-btn, +.ks-date-picker-next-year-btn, +.ks-date-picker-header { + background-image: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-prev-month-btn, +.ks-ie6 .ks-date-picker-next-month-btn, +.ks-ie6 .ks-date-picker-prev-year-btn, +.ks-ie6 .ks-date-picker-next-year-btn, +.ks-ie6 .ks-date-picker-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + line-height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-prev-month-btn, +.ks-date-picker-next-month-btn, +.ks-date-picker-prev-year-btn, +.ks-date-picker-next-year-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-prev-month-btn { + background-position: 0 -60px; + left: 24px; +} +.ks-date-picker-prev-month-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-prev-year-btn { + background-position: 0 -180px; + left: 0; +} +.ks-date-picker-prev-year-btn:hover { + background-position: 0 -200px; +} +.ks-date-picker-next-month-btn { + background-position: 0 0; + right: 24px; +} +.ks-date-picker-next-month-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-next-year-btn { + background-position: 0 -120px; + right: 0; +} +.ks-date-picker-next-year-btn:hover { + background-position: 0 -140px; +} +.ks-date-picker-month-select { + color: #ffffff; + line-height: 26px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-month-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-ie7 .ks-date-picker-month-select, +.ks-ie6 .ks-date-picker-month-select { + position: relative; + top: 5px; +} +.ks-date-picker-month-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; + border-bottom-width: 0px; +} +.ks-ie7 .ks-date-picker-month-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-month-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-select:hover .ks-date-picker-month-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-month-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); + background-position: 0 -268px; +} +.ks-date-picker-week-number-cell { + text-align: center; + line-height: 22px; +} +.ks-date-picker-week-number-header { + text-indent: -9999px; +} +.ks-date-picker-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-column-header { + width: 25px; + color: black; + font-weight: bold; + text-align: center; + padding: 4px 0; +} +.ks-date-picker-column-header-inner { + display: block; + padding-bottom: 4px; + border-bottom: 1px dashed #c9c9c9; +} +.ks-date-picker-cell { + text-align: center; +} +.ks-date-picker-date { + color: #004499; + line-height: 22px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-date { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-last-month-cell .ks-date-picker-date, +.ks-date-picker-next-month-btn-day .ks-date-picker-date { + color: #bfbfbf; +} +.ks-date-picker-date:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-disabled-cell .ks-date-picker-date { + cursor: default; +} +.ks-date-picker-disabled-cell .ks-date-picker-date:hover { + border-color: transparent; +} +.ks-ie6 .ks-date-picker-disabled-cell .ks-date-picker-date:hover { + border-color: tomato; + filter: chroma(color=#ff6347); +} +.ks-date-picker-today .ks-date-picker-date { + color: #357c00; + border-color: #7dba4e; +} +.ks-date-picker-selected-day .ks-date-picker-date { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-footer { + padding: 3px 0; + background-color: #f5f5f5; + text-align: center; +} +.ks-date-picker-today-btn, +.ks-date-picker-clear-btn { + line-height: 16px; + height: 16px; + margin: 0 3px 0 2px; + border-radius: 3px; + padding: 3px 3px 3px 3px; + border-width: 1px; + border-style: solid; + text-decoration: none; + background-color: #4187e7; + color: #ffffff; + border-color: #3375cf; + display: inline-block; +} +.ks-ie6 .ks-date-picker-today-btn, +.ks-ie6 .ks-date-picker-clear-btn { + zoom: 1; +} +.ks-date-picker-today-btn:hover, +.ks-date-picker-clear-btn:hover { + color: #ffffff; +} +.ks-date-picker-decade-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 30; + position: absolute; + background: #ffffff; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-decade-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-decade-panel-hidden { + display: none; +} +.ks-date-picker-decade-panel-prev-century-btn, +.ks-date-picker-decade-panel-next-century-btn, +.ks-date-picker-decade-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-decade-panel-prev-century-btn, +.ks-ie6 .ks-date-picker-decade-panel-next-century-btn, +.ks-ie6 .ks-date-picker-decade-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-decade-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-decade-panel-prev-century-btn, +.ks-date-picker-decade-panel-next-century-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-decade-panel-prev-century-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-decade-panel-prev-century-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-decade-panel-century { + color: #ffffff; + line-height: 26px; + text-decoration: none; +} +.ks-date-picker-decade-panel-next-century-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-decade-panel-next-century-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-decade-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-decade-panel-cell { + text-align: center; + height: 42px; + vertical-align: middle; +} +.ks-date-picker-decade-panel-decade { + color: #004499; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-decade-panel-decade { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-decade-panel-decade:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-decade-panel-selected-cell .ks-date-picker-decade-panel-decade { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-decade-panel-last-century-cell .ks-date-picker-decade-panel-decade, +.ks-date-picker-decade-panel-next-century-cell .ks-date-picker-decade-panel-decade { + color: #bfbfbf; +} +.ks-date-picker-month-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 10; + background: #ffffff; + position: absolute; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-month-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-month-panel-hidden { + display: none; +} +.ks-date-picker-month-panel-prev-year-btn, +.ks-date-picker-month-panel-next-year-btn, +.ks-date-picker-month-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-month-panel-prev-year-btn, +.ks-ie6 .ks-date-picker-month-panel-next-year-btn, +.ks-ie6 .ks-date-picker-month-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-month-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-month-panel-prev-year-btn, +.ks-date-picker-month-panel-next-year-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-month-panel-prev-year-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-month-panel-prev-year-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-month-panel-year-select { + color: #ffffff; + line-height: 26px; + text-decoration: none; + border: 1px solid transparent; +} +.ks-ie7 .ks-date-picker-month-panel-year-select, +.ks-ie6 .ks-date-picker-month-panel-year-select { + position: relative; + top: 5px; +} +.ks-ie6 .ks-date-picker-month-panel-year-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-year-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; +} +.ks-ie7 .ks-date-picker-month-panel-year-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-month-panel-year-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-year-select:hover .ks-date-picker-month-panel-year-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-month-panel-year-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png') 0 -268px; +} +.ks-date-picker-month-panel-next-year-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-month-panel-next-year-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-month-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-month-panel-cell { + text-align: center; +} +.ks-date-picker-month-panel-month { + color: #004499; + line-height: 42px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-month-panel-month { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-month-panel-month:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-month-panel-selected-cell .ks-date-picker-month-panel-month { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-year-panel { + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 20; + background: #ffffff; + position: absolute; + outline: none; + border-bottom: 1px solid #9bc0e0; +} +.ks-ie6 .ks-date-picker-year-panel { + height: expression(this.parentNode.offsetHeight); +} +.ks-date-picker-year-panel-hidden { + display: none; +} +.ks-date-picker-year-panel-prev-decade-btn, +.ks-date-picker-year-panel-next-decade-btn, +.ks-date-picker-year-panel-header { + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); +} +.ks-ie6 .ks-date-picker-year-panel-prev-decade-btn, +.ks-ie6 .ks-date-picker-year-panel-next-decade-btn, +.ks-ie6 .ks-date-picker-year-panel-header { + background-image: url('http://img01.taobaocdn.com/tps/i1/T10.uJXc4bXXXXXXXX-19-300.png'); +} +.ks-date-picker-year-panel-header { + background-repeat: repeat-x; + background-position: 0 -240px; + height: 26px; + position: relative; + text-align: center; +} +.ks-date-picker-year-panel-prev-decade-btn, +.ks-date-picker-year-panel-next-decade-btn { + width: 19px; + height: 19px; + position: absolute; + top: 2px; +} +.ks-date-picker-year-panel-prev-decade-btn { + background-position: 0 -60px; + left: 0; +} +.ks-date-picker-year-panel-prev-decade-btn:hover { + background-position: 0 -80px; +} +.ks-date-picker-year-panel-decade-select { + color: #ffffff; + line-height: 26px; + text-decoration: none; +} +.ks-ie7 .ks-date-picker-year-panel-decade-select, +.ks-ie6 .ks-date-picker-year-panel-decade-select { + position: relative; + top: 5px; +} +.ks-ie6 .ks-date-picker-year-panel-decade-select { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-decade-select-arrow { + width: 0; + height: 0; + overflow: hidden; + font-size: 0; + vertical-align: middle; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #ffffff; +} +.ks-ie7 .ks-date-picker-year-panel-decade-select-arrow { + padding-top: 2px; + vertical-align: bottom; +} +.ks-ie6 .ks-date-picker-year-panel-decade-select-arrow { + border-left-color: tomato; + border-right-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-decade-select:hover .ks-date-picker-year-panel-decade-select-arrow { + border-top-color: #f0ff00; +} +.ks-date-picker-year-panel-decade-select:hover { + color: #f0ff00; + border: 1px solid #8cc6ff; + background: url('http://img03.taobaocdn.com/tps/i3/T1d4OJXkpxXXXXXXXX-19-300.png'); + background-position: 0 -268px; +} +.ks-date-picker-year-panel-next-decade-btn { + background-position: 0 0; + right: 0; +} +.ks-date-picker-year-panel-next-decade-btn:hover { + background-position: 0 -20px; +} +.ks-date-picker-year-panel-table { + table-layout: fixed; + width: 100%; + border-collapse: separate; +} +.ks-date-picker-year-panel-cell { + text-align: center; +} +.ks-date-picker-year-panel-year { + color: #004499; + line-height: 42px; + text-decoration: none; + display: block; + border-radius: 2px; + border: 1px solid transparent; +} +.ks-ie6 .ks-date-picker-year-panel-year { + border-color: tomato; + zoom: 1; + filter: chroma(color=#ff6347); +} +.ks-date-picker-year-panel-year:hover { + background-color: #f3f9ff; + border-color: #88b1ea; +} +.ks-date-picker-year-panel-selected-cell .ks-date-picker-year-panel-year { + color: #fff; + background-color: #4187e7; + border-color: #4187e7; +} +.ks-date-picker-year-panel-last-decade-cell .ks-date-picker-year-panel-year, +.ks-date-picker-year-panel-next-decade-btn-cell .ks-date-picker-year-panel-year { + color: #bfbfbf; +} diff --git a/src/date/picker/assets/dpl.less b/src/date/picker/assets/dpl.less new file mode 100644 index 0000000000..77156d38ab --- /dev/null +++ b/src/date/picker/assets/dpl.less @@ -0,0 +1,4 @@ +@import "./picker"; +@import "./decade-panel"; +@import "./month-panel"; +@import "./year-panel"; \ No newline at end of file diff --git a/src/date/picker/assets/month-panel.css b/src/date/picker/assets/month-panel.less similarity index 98% rename from src/date/picker/assets/month-panel.css rename to src/date/picker/assets/month-panel.less index cacefb0f57..3d2696c434 100644 --- a/src/date/picker/assets/month-panel.css +++ b/src/date/picker/assets/month-panel.less @@ -11,7 +11,7 @@ } .ks-ie6 .ks-date-picker-month-panel{ - height:expression(this.parentNode.offsetHeight) + height:~'expression(this.parentNode.offsetHeight)' } .ks-date-picker-month-panel-hidden { diff --git a/src/date/picker/assets/picker.css b/src/date/picker/assets/picker.less similarity index 100% rename from src/date/picker/assets/picker.css rename to src/date/picker/assets/picker.less diff --git a/src/date/picker/assets/year-panel.css b/src/date/picker/assets/year-panel.less similarity index 98% rename from src/date/picker/assets/year-panel.css rename to src/date/picker/assets/year-panel.less index af1abbbd70..4a515b6523 100644 --- a/src/date/picker/assets/year-panel.css +++ b/src/date/picker/assets/year-panel.less @@ -11,7 +11,7 @@ } .ks-ie6 .ks-date-picker-year-panel{ - height:expression(this.parentNode.offsetHeight) + height:~'expression(this.parentNode.offsetHeight)' } .ks-date-picker-year-panel-hidden { From 94ccc2cab88c24391a2900a9035a839442599192 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 13 Jan 2014 14:57:09 +0800 Subject: [PATCH 21/80] up --- .../plugin/flash-common/base-class-min.js | 11 +- .../editor/plugin/flash-common/base-class.js | 5 +- build/editor/plugin/image-min.js | 10 +- build/editor/plugin/image.js | 5 +- .../base-class/coverage/src/base-class.js | 251 +++++++------- .../flash-common/base-class/ke-meta/deps.js | 2 +- .../flash-common/base-class/src/base-class.js | 1 + .../plugin/image/coverage/src/image.js | 317 +++++++++--------- .../sub-modules/plugin/image/ke-meta/deps.js | 2 +- .../sub-modules/plugin/image/src/image.js | 1 + 10 files changed, 308 insertions(+), 297 deletions(-) diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js index ce8247e3d5..3285312731 100644 --- a/build/editor/plugin/flash-common/base-class-min.js +++ b/build/editor/plugin/flash-common/base-class-min.js @@ -1,9 +1,10 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:46 +build time: Jan 13 14:56 */ -KISSY.add("editor/plugin/flash-common/base-class",["./utils","base","editor","../dialog-loader","../bubble"],function(i,b){var e=b("./utils"),f=b("base"),k=b("editor"),l=i.Node,m=b("../dialog-loader");b("../bubble");return f.extend({initializer:function(){var a=this,d=a.get("cls"),c=a.get("editor"),b=c.get("prefixCls"),j=[],e=a.get("bubbleId"),f=a.get("contextMenuId"),g=a.get("contextMenuHandlers");i.each(g,function(a,c){j.push({content:c})});c.addContextMenu(f,"."+d,{width:"120px",children:j,listeners:{click:function(a){a= -a.target.get("content");g[a]&&g[a].call(this)}}});c.addBubble(e,function(a){return a.hasClass(d,void 0)&&a},{listeners:{afterRenderUI:function(){var d=this,h=d.get("contentEl");h.html(i.substitute(' {label} | \u7f16\u8f91 | \u5220\u9664',{label:a.get("label"),prefixCls:b}));var e= -h.one("."+b+"editor-bubble-url"),f=h.one("."+b+"editor-bubble-change"),g=h.one("."+b+"editor-bubble-remove");k.Utils.preventFocus(h);f.on("click",function(c){a.show(d.get("editorSelectedEl"));c.halt()});g.on("click",function(a){if(i.UA.webkit){var b=c.getSelection().getRanges();if(b=b&&b[0])b.collapse(!0),b.select()}d.get("editorSelectedEl").remove();d.hide();c.notifySelectionChange();a.halt()});d.on("show",function(){var b=d.get("editorSelectedEl");b&&a._updateTip(e,b)})}}});c.docReady(function(){c.get("document").on("dblclick", -a._dbClick,a)})},_getFlashUrl:function(a){return e.getUrl(a)},_updateTip:function(a,b){var c=this.get("editor").restoreRealElement(b);c&&(c=this._getFlashUrl(c),a.attr("href",c))},_dbClick:function(a){var b=new l(a.target);"img"===b.nodeName()&&b.hasClass(this.get("cls"),void 0)&&(this.show(b),a.halt())},show:function(a){var b=this.get("editor");m.useDialog(b,this.get("type"),this.get("pluginConfig"),a)}},{ATTRS:{cls:{},type:{},label:{value:"\u5728\u65b0\u7a97\u53e3\u67e5\u770b"},bubbleId:{},contextMenuId:{},contextMenuHandlers:{}}})}); +KISSY.add("editor/plugin/flash-common/base-class","./utils,base,editor,../dialog-loader,../bubble,../contextmenu".split(","),function(i,b){var e=b("./utils"),f=b("base"),k=b("editor"),l=i.Node,m=b("../dialog-loader");b("../bubble");b("../contextmenu");return f.extend({initializer:function(){var a=this,d=a.get("cls"),c=a.get("editor"),b=c.get("prefixCls"),j=[],e=a.get("bubbleId"),f=a.get("contextMenuId"),g=a.get("contextMenuHandlers");i.each(g,function(a,c){j.push({content:c})});c.addContextMenu(f, +"."+d,{width:"120px",children:j,listeners:{click:function(a){a=a.target.get("content");g[a]&&g[a].call(this)}}});c.addBubble(e,function(a){return a.hasClass(d,void 0)&&a},{listeners:{afterRenderUI:function(){var d=this,h=d.get("contentEl");h.html(i.substitute(' {label} | \u7f16\u8f91 | \u5220\u9664', +{label:a.get("label"),prefixCls:b}));var e=h.one("."+b+"editor-bubble-url"),f=h.one("."+b+"editor-bubble-change"),g=h.one("."+b+"editor-bubble-remove");k.Utils.preventFocus(h);f.on("click",function(c){a.show(d.get("editorSelectedEl"));c.halt()});g.on("click",function(a){if(i.UA.webkit){var b=c.getSelection().getRanges();if(b=b&&b[0]){b.collapse(true);b.select()}}d.get("editorSelectedEl").remove();d.hide();c.notifySelectionChange();a.halt()});d.on("show",function(){var b=d.get("editorSelectedEl"); +b&&a._updateTip(e,b)})}}});c.docReady(function(){c.get("document").on("dblclick",a._dbClick,a)})},_getFlashUrl:function(a){return e.getUrl(a)},_updateTip:function(a,b){var c=this.get("editor").restoreRealElement(b);if(c){c=this._getFlashUrl(c);a.attr("href",c)}},_dbClick:function(a){var b=new l(a.target);if(b.nodeName()==="img"&&b.hasClass(this.get("cls"),void 0)){this.show(b);a.halt()}},show:function(a){var b=this.get("editor");m.useDialog(b,this.get("type"),this.get("pluginConfig"),a)}},{ATTRS:{cls:{}, +type:{},label:{value:"\u5728\u65b0\u7a97\u53e3\u67e5\u770b"},bubbleId:{},contextMenuId:{},contextMenuHandlers:{}}})}); diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js index 9ff60e7ee5..8a7451ab50 100644 --- a/build/editor/plugin/flash-common/base-class.js +++ b/build/editor/plugin/flash-common/base-class.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:46 +build time: Jan 13 14:56 */ /* Combined processedModules by KISSY Module Compiler: @@ -9,13 +9,14 @@ build time: Jan 6 12:46 editor/plugin/flash-common/base-class */ -KISSY.add("editor/plugin/flash-common/base-class", ["./utils", "base", "editor", "../dialog-loader", "../bubble"], function(S, require) { +KISSY.add("editor/plugin/flash-common/base-class", ["./utils", "base", "editor", "../dialog-loader", "../bubble", "../contextmenu"], function(S, require) { var flashUtils = require("./utils"); var Base = require("base"); var Editor = require("editor"); var Node = S.Node; var DialogLoader = require("../dialog-loader"); require("../bubble"); + require("../contextmenu"); var tipHTML = " {label} | ' + ' \u7f16\u8f91 | ' + ' \u5220\u9664'; return Base.extend({initializer:function() { var self = this, cls = self.get("cls"), editor = self.get("editor"), prefixCls = editor.get("prefixCls"), children = [], bubbleId = self.get("bubbleId"), contextMenuId = self.get("contextMenuId"), contextMenuHandlers = self.get("contextMenuHandlers"); diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js index 17bd0d4d1d..07f7bfe3b3 100644 --- a/build/editor/plugin/image-min.js +++ b/build/editor/plugin/image-min.js @@ -1,10 +1,10 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:47 +build time: Jan 13 14:56 */ -KISSY.add("editor/plugin/image",["./button","editor","./bubble","./dialog-loader"],function(e,d){function f(b){this.config=b||{}}d("./button");var j=d("editor");d("./bubble");var n=d("./dialog-loader"),k=e.UA,o=KISSY.NodeList,h=e.all,g=function(b){b=h(b);if("img"===b.nodeName()&&!/(^|\s+)ke_/.test(b[0].className))return b};e.augment(f,{pluginRenderUI:function(b){function d(a){n.useDialog(b,"image",f.config,a)}var f=this,i=b.get("prefixCls");b.addButton("image",{tooltip:"\u63d2\u5165\u56fe\u7247",listeners:{click:function(){d(null)}}, -mode:j.Mode.WYSIWYG_MODE});var l=[{content:"\u56fe\u7247\u5c5e\u6027",fn:function(){var a=g(this.get("editorSelectedEl"));a&&(this.hide(),d(h(a)))}},{content:"\u63d2\u5165\u65b0\u884c",fn:function(){this.hide();var a=b.get("document")[0],c=new o(a.createElement("p"));k.ie||c._4eAppendBogus(void 0);a=new j.Range(a);a.setStartAfter(this.get("editorSelectedEl"));a.select();b.insertElement(c);a.moveToElementEditablePosition(c,1);a.select()}}],m=[];e.each(l,function(a){m.push({content:a.content})});b.addContextMenu("image",g,{width:120,children:m, -listeners:{click:function(a){var b=this,d=a.target.get("content");e.each(l,function(a){a.content===d&&a.fn.call(b)})}}});b.docReady(function(){b.get("document").on("dblclick",function(a){a.halt();a=h(a.target);g(a)&&d(a)})});b.addBubble("image",g,{listeners:{afterRenderUI:function(){var a=this,c=a.get("contentEl");c.html(e.substitute('\u5728\u65b0\u7a97\u53e3\u67e5\u770b | \u7f16\u8f91 | \u5220\u9664', -{prefixCls:i}));var f=c.one("."+i+"editor-bubble-url"),g=c.one("."+i+"editor-bubble-change"),h=c.one("."+i+"editor-bubble-remove");j.Utils.preventFocus(c);g.on("click",function(b){d(a.get("editorSelectedEl"));b.halt()});h.on("click",function(d){if(k.webkit){var c=b.getSelection().getRanges();c&&c[0]&&(c[0].collapse(),c[0].select())}a.get("editorSelectedEl").remove();a.hide();b.notifySelectionChange();d.halt()});a.on("show",function(){var b=a.get("editorSelectedEl");b&&(b=b.attr("_ke_saved_src")|| +KISSY.add("editor/plugin/image",["./button","editor","./bubble","./dialog-loader","./contextmenu"],function(e,c){function f(b){this.config=b||{}}c("./button");var j=c("editor");c("./bubble");var n=c("./dialog-loader");c("./contextmenu");var k=e.UA,o=KISSY.NodeList,h=e.all,g=function(b){b=h(b);if("img"===b.nodeName()&&!/(^|\s+)ke_/.test(b[0].className))return b};e.augment(f,{pluginRenderUI:function(b){function c(a){n.useDialog(b,"image",f.config,a)}var f=this,i=b.get("prefixCls");b.addButton("image", +{tooltip:"\u63d2\u5165\u56fe\u7247",listeners:{click:function(){c(null)}},mode:j.Mode.WYSIWYG_MODE});var l=[{content:"\u56fe\u7247\u5c5e\u6027",fn:function(){var a=g(this.get("editorSelectedEl"));a&&(this.hide(),c(h(a)))}},{content:"\u63d2\u5165\u65b0\u884c",fn:function(){this.hide();var a=b.get("document")[0],d=new o(a.createElement("p"));k.ie||d._4eAppendBogus(void 0);a=new j.Range(a);a.setStartAfter(this.get("editorSelectedEl"));a.select();b.insertElement(d);a.moveToElementEditablePosition(d,1);a.select()}}],m=[];e.each(l,function(a){m.push({content:a.content})}); +b.addContextMenu("image",g,{width:120,children:m,listeners:{click:function(a){var b=this,c=a.target.get("content");e.each(l,function(a){a.content===c&&a.fn.call(b)})}}});b.docReady(function(){b.get("document").on("dblclick",function(a){a.halt();a=h(a.target);g(a)&&c(a)})});b.addBubble("image",g,{listeners:{afterRenderUI:function(){var a=this,d=a.get("contentEl");d.html(e.substitute('\u5728\u65b0\u7a97\u53e3\u67e5\u770b | \u7f16\u8f91 | \u5220\u9664', +{prefixCls:i}));var f=d.one("."+i+"editor-bubble-url"),g=d.one("."+i+"editor-bubble-change"),h=d.one("."+i+"editor-bubble-remove");j.Utils.preventFocus(d);g.on("click",function(b){c(a.get("editorSelectedEl"));b.halt()});h.on("click",function(c){if(k.webkit){var d=b.getSelection().getRanges();d&&d[0]&&(d[0].collapse(),d[0].select())}a.get("editorSelectedEl").remove();a.hide();b.notifySelectionChange();c.halt()});a.on("show",function(){var b=a.get("editorSelectedEl");b&&(b=b.attr("_ke_saved_src")|| b.attr("src"),f.attr("href",b))})}}})}});return f}); diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js index 9d967b7951..5297c18b5d 100644 --- a/build/editor/plugin/image.js +++ b/build/editor/plugin/image.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:47 +build time: Jan 13 14:56 */ /* Combined processedModules by KISSY Module Compiler: @@ -9,11 +9,12 @@ build time: Jan 6 12:47 editor/plugin/image */ -KISSY.add("editor/plugin/image", ["./button", "editor", "./bubble", "./dialog-loader"], function(S, require) { +KISSY.add("editor/plugin/image", ["./button", "editor", "./bubble", "./dialog-loader", "./contextmenu"], function(S, require) { require("./button"); var Editor = require("editor"); require("./bubble"); var DialogLoader = require("./dialog-loader"); + require("./contextmenu"); var UA = S.UA, Node = KISSY.NodeList, $ = S.all, checkImg = function(node) { node = $(node); if(node.nodeName() === "img" && !/(^|\s+)ke_/.test(node[0].className)) { diff --git a/src/editor/sub-modules/plugin/flash-common/base-class/coverage/src/base-class.js b/src/editor/sub-modules/plugin/flash-common/base-class/coverage/src/base-class.js index 6701ec99bd..905a1a5f4c 100644 --- a/src/editor/sub-modules/plugin/flash-common/base-class/coverage/src/base-class.js +++ b/src/editor/sub-modules/plugin/flash-common/base-class/coverage/src/base-class.js @@ -236,52 +236,53 @@ if (! _$jscoverage['/base-class.js']) { _$jscoverage['/base-class.js'].lineData[10] = 0; _$jscoverage['/base-class.js'].lineData[11] = 0; _$jscoverage['/base-class.js'].lineData[12] = 0; - _$jscoverage['/base-class.js'].lineData[14] = 0; - _$jscoverage['/base-class.js'].lineData[21] = 0; - _$jscoverage['/base-class.js'].lineData[23] = 0; - _$jscoverage['/base-class.js'].lineData[32] = 0; + _$jscoverage['/base-class.js'].lineData[13] = 0; + _$jscoverage['/base-class.js'].lineData[15] = 0; + _$jscoverage['/base-class.js'].lineData[22] = 0; + _$jscoverage['/base-class.js'].lineData[24] = 0; _$jscoverage['/base-class.js'].lineData[33] = 0; - _$jscoverage['/base-class.js'].lineData[38] = 0; - _$jscoverage['/base-class.js'].lineData[43] = 0; + _$jscoverage['/base-class.js'].lineData[34] = 0; + _$jscoverage['/base-class.js'].lineData[39] = 0; _$jscoverage['/base-class.js'].lineData[44] = 0; _$jscoverage['/base-class.js'].lineData[45] = 0; - _$jscoverage['/base-class.js'].lineData[51] = 0; + _$jscoverage['/base-class.js'].lineData[46] = 0; _$jscoverage['/base-class.js'].lineData[52] = 0; - _$jscoverage['/base-class.js'].lineData[57] = 0; - _$jscoverage['/base-class.js'].lineData[59] = 0; - _$jscoverage['/base-class.js'].lineData[63] = 0; - _$jscoverage['/base-class.js'].lineData[68] = 0; - _$jscoverage['/base-class.js'].lineData[70] = 0; - _$jscoverage['/base-class.js'].lineData[72] = 0; + _$jscoverage['/base-class.js'].lineData[53] = 0; + _$jscoverage['/base-class.js'].lineData[58] = 0; + _$jscoverage['/base-class.js'].lineData[60] = 0; + _$jscoverage['/base-class.js'].lineData[64] = 0; + _$jscoverage['/base-class.js'].lineData[69] = 0; + _$jscoverage['/base-class.js'].lineData[71] = 0; _$jscoverage['/base-class.js'].lineData[73] = 0; - _$jscoverage['/base-class.js'].lineData[76] = 0; - _$jscoverage['/base-class.js'].lineData[78] = 0; + _$jscoverage['/base-class.js'].lineData[74] = 0; + _$jscoverage['/base-class.js'].lineData[77] = 0; _$jscoverage['/base-class.js'].lineData[79] = 0; - _$jscoverage['/base-class.js'].lineData[81] = 0; + _$jscoverage['/base-class.js'].lineData[80] = 0; _$jscoverage['/base-class.js'].lineData[82] = 0; _$jscoverage['/base-class.js'].lineData[83] = 0; - _$jscoverage['/base-class.js'].lineData[86] = 0; + _$jscoverage['/base-class.js'].lineData[84] = 0; _$jscoverage['/base-class.js'].lineData[87] = 0; _$jscoverage['/base-class.js'].lineData[88] = 0; _$jscoverage['/base-class.js'].lineData[89] = 0; - _$jscoverage['/base-class.js'].lineData[95] = 0; + _$jscoverage['/base-class.js'].lineData[90] = 0; _$jscoverage['/base-class.js'].lineData[96] = 0; _$jscoverage['/base-class.js'].lineData[97] = 0; _$jscoverage['/base-class.js'].lineData[98] = 0; - _$jscoverage['/base-class.js'].lineData[106] = 0; - _$jscoverage['/base-class.js'].lineData[108] = 0; - _$jscoverage['/base-class.js'].lineData[113] = 0; - _$jscoverage['/base-class.js'].lineData[118] = 0; - _$jscoverage['/base-class.js'].lineData[121] = 0; + _$jscoverage['/base-class.js'].lineData[99] = 0; + _$jscoverage['/base-class.js'].lineData[107] = 0; + _$jscoverage['/base-class.js'].lineData[109] = 0; + _$jscoverage['/base-class.js'].lineData[114] = 0; + _$jscoverage['/base-class.js'].lineData[119] = 0; _$jscoverage['/base-class.js'].lineData[122] = 0; - _$jscoverage['/base-class.js'].lineData[124] = 0; + _$jscoverage['/base-class.js'].lineData[123] = 0; _$jscoverage['/base-class.js'].lineData[125] = 0; - _$jscoverage['/base-class.js'].lineData[130] = 0; - _$jscoverage['/base-class.js'].lineData[132] = 0; + _$jscoverage['/base-class.js'].lineData[126] = 0; + _$jscoverage['/base-class.js'].lineData[131] = 0; _$jscoverage['/base-class.js'].lineData[133] = 0; _$jscoverage['/base-class.js'].lineData[134] = 0; - _$jscoverage['/base-class.js'].lineData[139] = 0; - _$jscoverage['/base-class.js'].lineData[141] = 0; + _$jscoverage['/base-class.js'].lineData[135] = 0; + _$jscoverage['/base-class.js'].lineData[140] = 0; + _$jscoverage['/base-class.js'].lineData[142] = 0; } if (! _$jscoverage['/base-class.js'].functionData) { _$jscoverage['/base-class.js'].functionData = []; @@ -302,59 +303,59 @@ if (! _$jscoverage['/base-class.js'].functionData) { } if (! _$jscoverage['/base-class.js'].branchData) { _$jscoverage['/base-class.js'].branchData = {}; - _$jscoverage['/base-class.js'].branchData['44'] = []; - _$jscoverage['/base-class.js'].branchData['44'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['52'] = []; - _$jscoverage['/base-class.js'].branchData['52'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['78'] = []; - _$jscoverage['/base-class.js'].branchData['78'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['80'] = []; - _$jscoverage['/base-class.js'].branchData['80'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['45'] = []; + _$jscoverage['/base-class.js'].branchData['45'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['53'] = []; + _$jscoverage['/base-class.js'].branchData['53'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['79'] = []; + _$jscoverage['/base-class.js'].branchData['79'][1] = new BranchData(); _$jscoverage['/base-class.js'].branchData['81'] = []; _$jscoverage['/base-class.js'].branchData['81'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['97'] = []; - _$jscoverage['/base-class.js'].branchData['97'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['121'] = []; - _$jscoverage['/base-class.js'].branchData['121'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['132'] = []; - _$jscoverage['/base-class.js'].branchData['132'][1] = new BranchData(); - _$jscoverage['/base-class.js'].branchData['132'][2] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['82'] = []; + _$jscoverage['/base-class.js'].branchData['82'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['98'] = []; + _$jscoverage['/base-class.js'].branchData['98'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['122'] = []; + _$jscoverage['/base-class.js'].branchData['122'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['133'] = []; + _$jscoverage['/base-class.js'].branchData['133'][1] = new BranchData(); + _$jscoverage['/base-class.js'].branchData['133'][2] = new BranchData(); } -_$jscoverage['/base-class.js'].branchData['132'][2].init(87, 22, 't.nodeName() === \'img\''); -function visit9_132_2(result) { - _$jscoverage['/base-class.js'].branchData['132'][2].ranCondition(result); +_$jscoverage['/base-class.js'].branchData['133'][2].init(87, 22, 't.nodeName() === \'img\''); +function visit9_133_2(result) { + _$jscoverage['/base-class.js'].branchData['133'][2].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['132'][1].init(87, 64, 't.nodeName() === \'img\' && t.hasClass(self.get(\'cls\'), undefined)'); -function visit8_132_1(result) { - _$jscoverage['/base-class.js'].branchData['132'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['133'][1].init(87, 64, 't.nodeName() === \'img\' && t.hasClass(self.get(\'cls\'), undefined)'); +function visit8_133_1(result) { + _$jscoverage['/base-class.js'].branchData['133'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['121'][1].init(153, 2, '!r'); -function visit7_121_1(result) { - _$jscoverage['/base-class.js'].branchData['121'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['122'][1].init(153, 2, '!r'); +function visit7_122_1(result) { + _$jscoverage['/base-class.js'].branchData['122'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['97'][1].init(109, 1, 'a'); -function visit6_97_1(result) { - _$jscoverage['/base-class.js'].branchData['97'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['98'][1].init(109, 1, 'a'); +function visit6_98_1(result) { + _$jscoverage['/base-class.js'].branchData['98'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['81'][1].init(176, 2, 'r0'); -function visit5_81_1(result) { - _$jscoverage['/base-class.js'].branchData['81'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['82'][1].init(176, 2, 'r0'); +function visit5_82_1(result) { + _$jscoverage['/base-class.js'].branchData['82'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['80'][1].init(87, 9, 'r && r[0]'); -function visit4_80_1(result) { - _$jscoverage['/base-class.js'].branchData['80'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['81'][1].init(87, 9, 'r && r[0]'); +function visit4_81_1(result) { + _$jscoverage['/base-class.js'].branchData['81'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['78'][1].init(93, 11, 'S.UA.webkit'); -function visit3_78_1(result) { - _$jscoverage['/base-class.js'].branchData['78'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['79'][1].init(93, 11, 'S.UA.webkit'); +function visit3_79_1(result) { + _$jscoverage['/base-class.js'].branchData['79'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['52'][1].init(24, 33, 'el.hasClass(cls, undefined) && el'); -function visit2_52_1(result) { - _$jscoverage['/base-class.js'].branchData['52'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['53'][1].init(24, 33, 'el.hasClass(cls, undefined) && el'); +function visit2_53_1(result) { + _$jscoverage['/base-class.js'].branchData['53'][1].ranCondition(result); return result; -}_$jscoverage['/base-class.js'].branchData['44'][1].init(92, 28, 'contextMenuHandlers[content]'); -function visit1_44_1(result) { - _$jscoverage['/base-class.js'].branchData['44'][1].ranCondition(result); +}_$jscoverage['/base-class.js'].branchData['45'][1].init(92, 28, 'contextMenuHandlers[content]'); +function visit1_45_1(result) { + _$jscoverage['/base-class.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/base-class.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -371,142 +372,144 @@ KISSY.add(function(S, require) { var DialogLoader = require('../dialog-loader'); _$jscoverage['/base-class.js'].lineData[12]++; require('../bubble'); - _$jscoverage['/base-class.js'].lineData[14]++; + _$jscoverage['/base-class.js'].lineData[13]++; + require('../contextmenu'); + _$jscoverage['/base-class.js'].lineData[15]++; var tipHTML = ' {label} | ' + ' \u7f16\u8f91 | ' + ' \u5220\u9664'; - _$jscoverage['/base-class.js'].lineData[21]++; + _$jscoverage['/base-class.js'].lineData[22]++; return Base.extend({ initializer: function() { _$jscoverage['/base-class.js'].functionData[1]++; - _$jscoverage['/base-class.js'].lineData[23]++; + _$jscoverage['/base-class.js'].lineData[24]++; var self = this, cls = self.get('cls'), editor = self.get('editor'), prefixCls = editor.get('prefixCls'), children = [], bubbleId = self.get('bubbleId'), contextMenuId = self.get('contextMenuId'), contextMenuHandlers = self.get('contextMenuHandlers'); - _$jscoverage['/base-class.js'].lineData[32]++; + _$jscoverage['/base-class.js'].lineData[33]++; S.each(contextMenuHandlers, function(h, content) { _$jscoverage['/base-class.js'].functionData[2]++; - _$jscoverage['/base-class.js'].lineData[33]++; + _$jscoverage['/base-class.js'].lineData[34]++; children.push({ content: content}); }); - _$jscoverage['/base-class.js'].lineData[38]++; + _$jscoverage['/base-class.js'].lineData[39]++; editor.addContextMenu(contextMenuId, '.' + cls, { width: '120px', children: children, listeners: { click: function(e) { _$jscoverage['/base-class.js'].functionData[3]++; - _$jscoverage['/base-class.js'].lineData[43]++; - var content = e.target.get('content'); _$jscoverage['/base-class.js'].lineData[44]++; - if (visit1_44_1(contextMenuHandlers[content])) { - _$jscoverage['/base-class.js'].lineData[45]++; + var content = e.target.get('content'); + _$jscoverage['/base-class.js'].lineData[45]++; + if (visit1_45_1(contextMenuHandlers[content])) { + _$jscoverage['/base-class.js'].lineData[46]++; contextMenuHandlers[content].call(this); } }}}); - _$jscoverage['/base-class.js'].lineData[51]++; + _$jscoverage['/base-class.js'].lineData[52]++; editor.addBubble(bubbleId, function(el) { _$jscoverage['/base-class.js'].functionData[4]++; - _$jscoverage['/base-class.js'].lineData[52]++; - return visit2_52_1(el.hasClass(cls, undefined) && el); + _$jscoverage['/base-class.js'].lineData[53]++; + return visit2_53_1(el.hasClass(cls, undefined) && el); }, { listeners: { afterRenderUI: function() { _$jscoverage['/base-class.js'].functionData[5]++; - _$jscoverage['/base-class.js'].lineData[57]++; + _$jscoverage['/base-class.js'].lineData[58]++; var bubble = this, el = bubble.get('contentEl'); - _$jscoverage['/base-class.js'].lineData[59]++; + _$jscoverage['/base-class.js'].lineData[60]++; el.html(S.substitute(tipHTML, { label: self.get('label'), prefixCls: prefixCls})); - _$jscoverage['/base-class.js'].lineData[63]++; + _$jscoverage['/base-class.js'].lineData[64]++; var tipUrlEl = el.one('.' + prefixCls + 'editor-bubble-url'), tipChangeEl = el.one('.' + prefixCls + 'editor-bubble-change'), tipRemoveEl = el.one('.' + prefixCls + 'editor-bubble-remove'); - _$jscoverage['/base-class.js'].lineData[68]++; + _$jscoverage['/base-class.js'].lineData[69]++; Editor.Utils.preventFocus(el); - _$jscoverage['/base-class.js'].lineData[70]++; + _$jscoverage['/base-class.js'].lineData[71]++; tipChangeEl.on('click', function(ev) { _$jscoverage['/base-class.js'].functionData[6]++; - _$jscoverage['/base-class.js'].lineData[72]++; - self.show(bubble.get('editorSelectedEl')); _$jscoverage['/base-class.js'].lineData[73]++; + self.show(bubble.get('editorSelectedEl')); + _$jscoverage['/base-class.js'].lineData[74]++; ev.halt(); }); - _$jscoverage['/base-class.js'].lineData[76]++; + _$jscoverage['/base-class.js'].lineData[77]++; tipRemoveEl.on('click', function(ev) { _$jscoverage['/base-class.js'].functionData[7]++; - _$jscoverage['/base-class.js'].lineData[78]++; - if (visit3_78_1(S.UA.webkit)) { - _$jscoverage['/base-class.js'].lineData[79]++; - var r = editor.getSelection().getRanges(), r0 = visit4_80_1(r && r[0]); - _$jscoverage['/base-class.js'].lineData[81]++; - if (visit5_81_1(r0)) { - _$jscoverage['/base-class.js'].lineData[82]++; - r0.collapse(true); + _$jscoverage['/base-class.js'].lineData[79]++; + if (visit3_79_1(S.UA.webkit)) { + _$jscoverage['/base-class.js'].lineData[80]++; + var r = editor.getSelection().getRanges(), r0 = visit4_81_1(r && r[0]); + _$jscoverage['/base-class.js'].lineData[82]++; + if (visit5_82_1(r0)) { _$jscoverage['/base-class.js'].lineData[83]++; + r0.collapse(true); + _$jscoverage['/base-class.js'].lineData[84]++; r0.select(); } } - _$jscoverage['/base-class.js'].lineData[86]++; - bubble.get('editorSelectedEl').remove(); _$jscoverage['/base-class.js'].lineData[87]++; - bubble.hide(); + bubble.get('editorSelectedEl').remove(); _$jscoverage['/base-class.js'].lineData[88]++; - editor.notifySelectionChange(); + bubble.hide(); _$jscoverage['/base-class.js'].lineData[89]++; + editor.notifySelectionChange(); + _$jscoverage['/base-class.js'].lineData[90]++; ev.halt(); }); - _$jscoverage['/base-class.js'].lineData[95]++; + _$jscoverage['/base-class.js'].lineData[96]++; bubble.on('show', function() { _$jscoverage['/base-class.js'].functionData[8]++; - _$jscoverage['/base-class.js'].lineData[96]++; - var a = bubble.get('editorSelectedEl'); _$jscoverage['/base-class.js'].lineData[97]++; - if (visit6_97_1(a)) { - _$jscoverage['/base-class.js'].lineData[98]++; + var a = bubble.get('editorSelectedEl'); + _$jscoverage['/base-class.js'].lineData[98]++; + if (visit6_98_1(a)) { + _$jscoverage['/base-class.js'].lineData[99]++; self._updateTip(tipUrlEl, a); } }); }}}); - _$jscoverage['/base-class.js'].lineData[106]++; + _$jscoverage['/base-class.js'].lineData[107]++; editor.docReady(function() { _$jscoverage['/base-class.js'].functionData[9]++; - _$jscoverage['/base-class.js'].lineData[108]++; + _$jscoverage['/base-class.js'].lineData[109]++; editor.get('document').on('dblclick', self._dbClick, self); }); }, _getFlashUrl: function(r) { _$jscoverage['/base-class.js'].functionData[10]++; - _$jscoverage['/base-class.js'].lineData[113]++; + _$jscoverage['/base-class.js'].lineData[114]++; return flashUtils.getUrl(r); }, _updateTip: function(tipUrlElEl, selectedFlash) { _$jscoverage['/base-class.js'].functionData[11]++; - _$jscoverage['/base-class.js'].lineData[118]++; + _$jscoverage['/base-class.js'].lineData[119]++; var self = this, editor = self.get('editor'), r = editor.restoreRealElement(selectedFlash); - _$jscoverage['/base-class.js'].lineData[121]++; - if (visit7_121_1(!r)) { - _$jscoverage['/base-class.js'].lineData[122]++; + _$jscoverage['/base-class.js'].lineData[122]++; + if (visit7_122_1(!r)) { + _$jscoverage['/base-class.js'].lineData[123]++; return; } - _$jscoverage['/base-class.js'].lineData[124]++; - var url = self._getFlashUrl(r); _$jscoverage['/base-class.js'].lineData[125]++; + var url = self._getFlashUrl(r); + _$jscoverage['/base-class.js'].lineData[126]++; tipUrlElEl.attr('href', url); }, _dbClick: function(ev) { _$jscoverage['/base-class.js'].functionData[12]++; - _$jscoverage['/base-class.js'].lineData[130]++; + _$jscoverage['/base-class.js'].lineData[131]++; var self = this, t = new Node(ev.target); - _$jscoverage['/base-class.js'].lineData[132]++; - if (visit8_132_1(visit9_132_2(t.nodeName() === 'img') && t.hasClass(self.get('cls'), undefined))) { - _$jscoverage['/base-class.js'].lineData[133]++; - self.show(t); + _$jscoverage['/base-class.js'].lineData[133]++; + if (visit8_133_1(visit9_133_2(t.nodeName() === 'img') && t.hasClass(self.get('cls'), undefined))) { _$jscoverage['/base-class.js'].lineData[134]++; + self.show(t); + _$jscoverage['/base-class.js'].lineData[135]++; ev.halt(); } }, show: function(selectedEl) { _$jscoverage['/base-class.js'].functionData[13]++; - _$jscoverage['/base-class.js'].lineData[139]++; + _$jscoverage['/base-class.js'].lineData[140]++; var self = this, editor = self.get('editor'); - _$jscoverage['/base-class.js'].lineData[141]++; + _$jscoverage['/base-class.js'].lineData[142]++; DialogLoader.useDialog(editor, self.get('type'), self.get('pluginConfig'), selectedEl); }}, { ATTRS: { diff --git a/src/editor/sub-modules/plugin/flash-common/base-class/ke-meta/deps.js b/src/editor/sub-modules/plugin/flash-common/base-class/ke-meta/deps.js index 7b37917552..fe30c4461a 100644 --- a/src/editor/sub-modules/plugin/flash-common/base-class/ke-meta/deps.js +++ b/src/editor/sub-modules/plugin/flash-common/base-class/ke-meta/deps.js @@ -1,4 +1,4 @@ /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/flash-common/base-class': {requires: ['editor/plugin/flash-common/utils','base','editor','editor/plugin/dialog-loader','editor/plugin/bubble']} +'editor/plugin/flash-common/base-class': {requires: ['editor/plugin/flash-common/utils','base','editor','editor/plugin/dialog-loader','editor/plugin/bubble','editor/plugin/contextmenu']} }); diff --git a/src/editor/sub-modules/plugin/flash-common/base-class/src/base-class.js b/src/editor/sub-modules/plugin/flash-common/base-class/src/base-class.js index a2de055b44..9c41c2379a 100644 --- a/src/editor/sub-modules/plugin/flash-common/base-class/src/base-class.js +++ b/src/editor/sub-modules/plugin/flash-common/base-class/src/base-class.js @@ -10,6 +10,7 @@ KISSY.add(function (S, require) { var Node = S.Node; var DialogLoader = require('../dialog-loader'); require('../bubble'); + require('../contextmenu'); var tipHTML = ' \u5728\u65b0\u7a97\u53e3\u67e5\u770b | ' + '\u7f16\u8f91 | ' + '\u5220\u9664'; - _$jscoverage['/image.js'].lineData[29]++; + _$jscoverage['/image.js'].lineData[30]++; function ImagePlugin(config) { _$jscoverage['/image.js'].functionData[2]++; - _$jscoverage['/image.js'].lineData[30]++; - this.config = visit3_30_1(config || {}); + _$jscoverage['/image.js'].lineData[31]++; + this.config = visit3_31_1(config || {}); } - _$jscoverage['/image.js'].lineData[33]++; + _$jscoverage['/image.js'].lineData[34]++; S.augment(ImagePlugin, { pluginRenderUI: function(editor) { _$jscoverage['/image.js'].functionData[3]++; - _$jscoverage['/image.js'].lineData[36]++; + _$jscoverage['/image.js'].lineData[37]++; var self = this; - _$jscoverage['/image.js'].lineData[38]++; + _$jscoverage['/image.js'].lineData[39]++; var prefixCls = editor.get('prefixCls'); - _$jscoverage['/image.js'].lineData[40]++; + _$jscoverage['/image.js'].lineData[41]++; function showImageEditor(selectedEl) { _$jscoverage['/image.js'].functionData[4]++; - _$jscoverage['/image.js'].lineData[41]++; + _$jscoverage['/image.js'].lineData[42]++; DialogLoader.useDialog(editor, 'image', self.config, selectedEl); } - _$jscoverage['/image.js'].lineData[47]++; + _$jscoverage['/image.js'].lineData[48]++; editor.addButton('image', { tooltip: '\u63d2\u5165\u56fe\u7247', listeners: { click: function() { _$jscoverage['/image.js'].functionData[5]++; - _$jscoverage['/image.js'].lineData[51]++; + _$jscoverage['/image.js'].lineData[52]++; showImageEditor(null); }}, mode: Editor.Mode.WYSIWYG_MODE}); - _$jscoverage['/image.js'].lineData[58]++; + _$jscoverage['/image.js'].lineData[59]++; var handlers = [{ content: '\u56fe\u7247\u5c5e\u6027', fn: function() { _$jscoverage['/image.js'].functionData[6]++; - _$jscoverage['/image.js'].lineData[62]++; - var img = checkImg(this.get('editorSelectedEl')); _$jscoverage['/image.js'].lineData[63]++; - if (visit4_63_1(img)) { - _$jscoverage['/image.js'].lineData[65]++; - this.hide(); + var img = checkImg(this.get('editorSelectedEl')); + _$jscoverage['/image.js'].lineData[64]++; + if (visit4_64_1(img)) { _$jscoverage['/image.js'].lineData[66]++; + this.hide(); + _$jscoverage['/image.js'].lineData[67]++; showImageEditor($(img)); } }}, { content: '\u63d2\u5165\u65b0\u884c', fn: function() { _$jscoverage['/image.js'].functionData[7]++; - _$jscoverage['/image.js'].lineData[73]++; - this.hide(); _$jscoverage['/image.js'].lineData[74]++; + this.hide(); + _$jscoverage['/image.js'].lineData[75]++; var doc = editor.get('document')[0], p = new Node(doc.createElement('p')); - _$jscoverage['/image.js'].lineData[76]++; - if (visit5_76_1(!UA.ie)) { - _$jscoverage['/image.js'].lineData[77]++; + _$jscoverage['/image.js'].lineData[77]++; + if (visit5_77_1(!UA.ie)) { + _$jscoverage['/image.js'].lineData[78]++; p._4eAppendBogus(undefined); } - _$jscoverage['/image.js'].lineData[79]++; - var r = new Editor.Range(doc); _$jscoverage['/image.js'].lineData[80]++; - r.setStartAfter(this.get('editorSelectedEl')); + var r = new Editor.Range(doc); _$jscoverage['/image.js'].lineData[81]++; - r.select(); + r.setStartAfter(this.get('editorSelectedEl')); _$jscoverage['/image.js'].lineData[82]++; - editor.insertElement(p); + r.select(); _$jscoverage['/image.js'].lineData[83]++; - r.moveToElementEditablePosition(p, 1); + editor.insertElement(p); _$jscoverage['/image.js'].lineData[84]++; + r.moveToElementEditablePosition(p, 1); + _$jscoverage['/image.js'].lineData[85]++; r.select(); }}]; - _$jscoverage['/image.js'].lineData[89]++; + _$jscoverage['/image.js'].lineData[90]++; var children = []; - _$jscoverage['/image.js'].lineData[91]++; + _$jscoverage['/image.js'].lineData[92]++; S.each(handlers, function(h) { _$jscoverage['/image.js'].functionData[8]++; - _$jscoverage['/image.js'].lineData[92]++; + _$jscoverage['/image.js'].lineData[93]++; children.push({ content: h.content}); }); - _$jscoverage['/image.js'].lineData[97]++; + _$jscoverage['/image.js'].lineData[98]++; editor.addContextMenu('image', checkImg, { width: 120, children: children, listeners: { click: function(e) { _$jscoverage['/image.js'].functionData[9]++; - _$jscoverage['/image.js'].lineData[102]++; - var self = this, content = e.target.get('content'); _$jscoverage['/image.js'].lineData[103]++; + var self = this, content = e.target.get('content'); + _$jscoverage['/image.js'].lineData[104]++; S.each(handlers, function(h) { _$jscoverage['/image.js'].functionData[10]++; - _$jscoverage['/image.js'].lineData[104]++; - if (visit6_104_1(h.content === content)) { - _$jscoverage['/image.js'].lineData[105]++; + _$jscoverage['/image.js'].lineData[105]++; + if (visit6_105_1(h.content === content)) { + _$jscoverage['/image.js'].lineData[106]++; h.fn.call(self); } }); }}}); - _$jscoverage['/image.js'].lineData[113]++; + _$jscoverage['/image.js'].lineData[114]++; editor.docReady(function() { _$jscoverage['/image.js'].functionData[11]++; - _$jscoverage['/image.js'].lineData[114]++; + _$jscoverage['/image.js'].lineData[115]++; editor.get('document').on('dblclick', function(ev) { _$jscoverage['/image.js'].functionData[12]++; - _$jscoverage['/image.js'].lineData[115]++; - ev.halt(); _$jscoverage['/image.js'].lineData[116]++; - var t = $(ev.target); + ev.halt(); _$jscoverage['/image.js'].lineData[117]++; - if (visit7_117_1(checkImg(t))) { - _$jscoverage['/image.js'].lineData[118]++; + var t = $(ev.target); + _$jscoverage['/image.js'].lineData[118]++; + if (visit7_118_1(checkImg(t))) { + _$jscoverage['/image.js'].lineData[119]++; showImageEditor(t); } }); }); - _$jscoverage['/image.js'].lineData[123]++; + _$jscoverage['/image.js'].lineData[124]++; editor.addBubble('image', checkImg, { listeners: { afterRenderUI: function() { _$jscoverage['/image.js'].functionData[13]++; - _$jscoverage['/image.js'].lineData[126]++; + _$jscoverage['/image.js'].lineData[127]++; var bubble = this, el = bubble.get('contentEl'); - _$jscoverage['/image.js'].lineData[128]++; + _$jscoverage['/image.js'].lineData[129]++; el.html(S.substitute(tipHTML, { prefixCls: prefixCls})); - _$jscoverage['/image.js'].lineData[131]++; + _$jscoverage['/image.js'].lineData[132]++; var tipUrlEl = el.one('.' + prefixCls + 'editor-bubble-url'), tipChangeEl = el.one('.' + prefixCls + 'editor-bubble-change'), tipRemoveEl = el.one('.' + prefixCls + 'editor-bubble-remove'); - _$jscoverage['/image.js'].lineData[134]++; - Editor.Utils.preventFocus(el); _$jscoverage['/image.js'].lineData[135]++; + Editor.Utils.preventFocus(el); + _$jscoverage['/image.js'].lineData[136]++; tipChangeEl.on('click', function(ev) { _$jscoverage['/image.js'].functionData[14]++; - _$jscoverage['/image.js'].lineData[136]++; - showImageEditor(bubble.get('editorSelectedEl')); _$jscoverage['/image.js'].lineData[137]++; + showImageEditor(bubble.get('editorSelectedEl')); + _$jscoverage['/image.js'].lineData[138]++; ev.halt(); }); - _$jscoverage['/image.js'].lineData[139]++; + _$jscoverage['/image.js'].lineData[140]++; tipRemoveEl.on('click', function(ev) { _$jscoverage['/image.js'].functionData[15]++; - _$jscoverage['/image.js'].lineData[140]++; - if (visit8_140_1(UA.webkit)) { - _$jscoverage['/image.js'].lineData[141]++; - var r = editor.getSelection().getRanges(); + _$jscoverage['/image.js'].lineData[141]++; + if (visit8_141_1(UA.webkit)) { _$jscoverage['/image.js'].lineData[142]++; - if (visit9_142_1(r && r[0])) { - _$jscoverage['/image.js'].lineData[143]++; - r[0].collapse(); + var r = editor.getSelection().getRanges(); + _$jscoverage['/image.js'].lineData[143]++; + if (visit9_143_1(r && r[0])) { _$jscoverage['/image.js'].lineData[144]++; + r[0].collapse(); + _$jscoverage['/image.js'].lineData[145]++; r[0].select(); } } - _$jscoverage['/image.js'].lineData[147]++; - bubble.get('editorSelectedEl').remove(); _$jscoverage['/image.js'].lineData[148]++; - bubble.hide(); + bubble.get('editorSelectedEl').remove(); _$jscoverage['/image.js'].lineData[149]++; - editor.notifySelectionChange(); + bubble.hide(); _$jscoverage['/image.js'].lineData[150]++; + editor.notifySelectionChange(); + _$jscoverage['/image.js'].lineData[151]++; ev.halt(); }); - _$jscoverage['/image.js'].lineData[152]++; + _$jscoverage['/image.js'].lineData[153]++; bubble.on('show', function() { _$jscoverage['/image.js'].functionData[16]++; - _$jscoverage['/image.js'].lineData[153]++; - var a = bubble.get('editorSelectedEl'); _$jscoverage['/image.js'].lineData[154]++; - if (visit10_154_1(a)) { - _$jscoverage['/image.js'].lineData[155]++; - var src = visit11_155_1(a.attr('_ke_saved_src') || a.attr('src')); + var a = bubble.get('editorSelectedEl'); + _$jscoverage['/image.js'].lineData[155]++; + if (visit10_155_1(a)) { _$jscoverage['/image.js'].lineData[156]++; + var src = visit11_156_1(a.attr('_ke_saved_src') || a.attr('src')); + _$jscoverage['/image.js'].lineData[157]++; tipUrlEl.attr('href', src); } }); }}}); }}); - _$jscoverage['/image.js'].lineData[165]++; + _$jscoverage['/image.js'].lineData[166]++; return ImagePlugin; }); diff --git a/src/editor/sub-modules/plugin/image/ke-meta/deps.js b/src/editor/sub-modules/plugin/image/ke-meta/deps.js index 86d3e4bfee..8bce47a8e2 100644 --- a/src/editor/sub-modules/plugin/image/ke-meta/deps.js +++ b/src/editor/sub-modules/plugin/image/ke-meta/deps.js @@ -1,4 +1,4 @@ /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/image': {requires: ['editor/plugin/button','editor','editor/plugin/bubble','editor/plugin/dialog-loader']} +'editor/plugin/image': {requires: ['editor/plugin/button','editor','editor/plugin/bubble','editor/plugin/dialog-loader','editor/plugin/contextmenu']} }); diff --git a/src/editor/sub-modules/plugin/image/src/image.js b/src/editor/sub-modules/plugin/image/src/image.js index 8ab9523958..6c31de9b81 100644 --- a/src/editor/sub-modules/plugin/image/src/image.js +++ b/src/editor/sub-modules/plugin/image/src/image.js @@ -8,6 +8,7 @@ KISSY.add(function (S,require) { var Editor=require('editor'); require('./bubble'); var DialogLoader = require('./dialog-loader'); + require('./contextmenu'); var UA = S.UA, Node = KISSY.NodeList, From b46e81a32adc6ca27207f1ad6770295f7add7b6b Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 13 Jan 2014 14:58:08 +0800 Subject: [PATCH 22/80] rebuild editor --- build/editor-min.js | 30 ++++++++++++++-------------- build/editor.js | 6 +++--- src/editor/src/editor/plugin-meta.js | 4 ++-- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build/editor-min.js b/build/editor-min.js index 0eea11b59c..81f717cfe1 100644 --- a/build/editor-min.js +++ b/build/editor-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:52 +build time: Jan 13 14:57 */ KISSY.add("editor/iframe-content-tpl",[],'\n\n{doctype}\n {title}\n {style}\n {links}\n \n\n{data}\n{script}\n \n'); KISSY.add("editor/render-xtpl",[],function(){return function(a){var d,t=this;d=this.config.utils;var u=d.runBlockCommand,p=d.renderOutput,x=d.getProperty,r=d.getPropertyOrRunCommand;d='
\n\n
\n\n<\!--\nhttp://johanbrook.com/browsers/native-momentum-scrolling-ios-5/\nios \u4e0d\u80fd\u653e\u5728 iframe \u4e0a\uff01\n--\>\n\n
]*>)[ \t\r\n]*/gi,"$1"),h=h.replace(/([ \t\n\r]+| )/g," "),h=h.replace(/]*>/gi,"\n"),M.ie?(i=i[0].ownerDocument.createElement("div"),i.appendChild(f[0]),f.outerHtml("
"+h+"
"),f=new e(i.firstChild),f._4eRemove()):f.html(h)):h?f=s(z(d),f):d._4eMoveChildren(f);d[0].parentNode.replaceChild(f[0],d[0]);if(g&&(d=f,g=void 0, diff --git a/build/editor.js b/build/editor.js index 39407467bf..adce7902f7 100644 --- a/build/editor.js +++ b/build/editor.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 12:52 +build time: Jan 13 14:57 */ /* Combined processedModules by KISSY Module Compiler: @@ -3217,7 +3217,7 @@ KISSY.add("editor/plugin-meta", [], function() { config({"editor/plugin/element-path":{requires:["editor"]}}); config({"editor/plugin/fake-objects":{requires:["editor", "html-parser"]}}); config({"editor/plugin/flash-bridge":{requires:["editor", "swf", "event"]}}); - config({"editor/plugin/flash-common/base-class":{requires:["editor/plugin/flash-common/utils", "base", "editor", "editor/plugin/dialog-loader", "editor/plugin/bubble"]}}); + config({"editor/plugin/flash-common/base-class":{requires:["editor/plugin/flash-common/utils", "base", "editor", "editor/plugin/dialog-loader", "editor/plugin/bubble", "editor/plugin/contextmenu"]}}); config({"editor/plugin/flash-common/utils":{requires:["swf"]}}); config({"editor/plugin/flash":{requires:["editor", "editor/plugin/flash-common/base-class", "editor/plugin/flash-common/utils", "editor/plugin/fake-objects", "editor/plugin/button"]}}); config({"editor/plugin/flash/dialog":{requires:["editor", "editor/plugin/flash-common/utils", "editor/plugin/dialog", "editor/plugin/menubutton"]}}); @@ -3232,7 +3232,7 @@ KISSY.add("editor/plugin-meta", [], function() { config({"editor/plugin/fore-color/cmd":{requires:["editor/plugin/color/cmd"]}}); config({"editor/plugin/heading":{requires:["editor/plugin/menubutton", "editor", "editor/plugin/heading/cmd"]}}); config({"editor/plugin/heading/cmd":{requires:["editor"]}}); - config({"editor/plugin/image":{requires:["editor/plugin/button", "editor", "editor/plugin/bubble", "editor/plugin/dialog-loader"]}}); + config({"editor/plugin/image":{requires:["editor/plugin/button", "editor", "editor/plugin/bubble", "editor/plugin/dialog-loader", "editor/plugin/contextmenu"]}}); config({"editor/plugin/image/dialog":{requires:["editor", "io", "editor/plugin/dialog", "tabs", "editor/plugin/menubutton"]}}); config({"editor/plugin/indent":{requires:["editor", "editor/plugin/indent/cmd", "editor/plugin/button"]}}); config({"editor/plugin/indent/cmd":{requires:["editor/plugin/dent-cmd"]}}); diff --git a/src/editor/src/editor/plugin-meta.js b/src/editor/src/editor/plugin-meta.js index 1a6f084d72..eb92f6926c 100644 --- a/src/editor/src/editor/plugin-meta.js +++ b/src/editor/src/editor/plugin-meta.js @@ -88,7 +88,7 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/flash-common/base-class': {requires: ['editor/plugin/flash-common/utils','base','editor','editor/plugin/dialog-loader','editor/plugin/bubble']} +'editor/plugin/flash-common/base-class': {requires: ['editor/plugin/flash-common/utils','base','editor','editor/plugin/dialog-loader','editor/plugin/bubble','editor/plugin/contextmenu']} }); /*Generated By KISSY Module Compiler*/ config({ @@ -148,7 +148,7 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'editor/plugin/image': {requires: ['editor/plugin/button','editor','editor/plugin/bubble','editor/plugin/dialog-loader']} +'editor/plugin/image': {requires: ['editor/plugin/button','editor','editor/plugin/bubble','editor/plugin/dialog-loader','editor/plugin/contextmenu']} }); /*Generated By KISSY Module Compiler*/ config({ From 957287c230b859f56ebcc450a9c414642b31c3b8 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 21 Jan 2014 11:49:51 +0800 Subject: [PATCH 23/80] anti-alias for scroll-view.Fixes #554 --- build/scroll-view/base-min.js | 24 +- build/scroll-view/base.js | 10 +- .../base/coverage/src/base/render.js | 238 +++++++++--------- .../sub-modules/base/src/base/render.js | 9 +- 4 files changed, 141 insertions(+), 140 deletions(-) diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index b28cabbb8d..26ea17c793 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,15 +1,15 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:17 +build time: Jan 21 11:48 */ -KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(i,j){var p=j("component/container"),q=j("component/extension/content-render"),o=i.Features,l,n={syncUI:function(){var a=this.control,f=a.el,e=a.contentEl,h=a.$contentEl,b=e.offsetHeight,e=e.offsetWidth,c=f.clientHeight,d=f.clientWidth;a.scrollHeight=b;a.scrollWidth=e;a.clientHeight=c;a.clientWidth=d;f=a.allowScroll={};b>c&&(f.top=1);e>d&&(f.left=1);a.minScroll={left:0,top:0};var r,g;a.maxScroll= -{left:r=e-d,top:g=b-c};delete a.scrollStep;c=a.get("snap");b=a.get("scrollLeft");e=a.get("scrollTop");if(c){var m=h.offset(),h=a.pages="string"===typeof c?h.all(c):h.children(),c=a.get("pageIndex"),k=a.pagesOffset=[];h.each(function(b,c){var d=b.offset(),a=d.left-m.left,d=d.top-m.top;a<=r&&d<=g&&(k[c]={left:a,top:d,index:c})});if(c){a.scrollToPage(c);return}}a.scrollToWithBounds({left:b,top:e})},_onSetScrollLeft:function(a){this.control.contentEl.style.left=-a+"px"},_onSetScrollTop:function(a){this.control.contentEl.style.top= --a+"px"}};o.isTransform3dSupported()&&(l=o.getTransformProperty(),n._onSetScrollLeft=function(a){var f=this.control;f.contentEl.style[l]=i.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:-a,translateY:-f.get("scrollTop")})},n._onSetScrollTop=function(a){var f=this.control;f.contentEl.style[l]=i.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:-f.get("scrollLeft"),translateY:-a})});return p.getDefaultRender().extend([q],n,{name:"ScrollViewRender"})}); -KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(i,j){function p(){var b=this.el,c=b.scrollTop,d=b.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));d&&this.set("scrollLeft",d+this.get("scrollLeft"));b.scrollTop=b.scrollLeft=0}function q(b,c){b.scrollView.set(c.prop,c.val)}var o=j("node"),l=j("anim"),n=j("component/container"),a=j("./base/render"),f=i.all,e=i.Features.isTouchEventSupported(),h=o.KeyCode;return n.extend({initializer:function(){this.scrollAnims= -[]},bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",p,this)},handleKeyDownInternal:function(b){var c=f(b.target),d=c.nodeName();if(!("input"===d||"textarea"===d||"select"===d||c.hasAttr("contenteditable"))){var b=b.keyCode,c=this.getScrollStep(),a,d=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,m=this.clientHeight,k=this.get("scrollTop");b===h.DOWN?(this.scrollToWithBounds({top:k+g}),a=!0):b===h.UP?(this.scrollToWithBounds({top:k-g}),a=!0):b===h.PAGE_DOWN? -(this.scrollToWithBounds({top:k+m}),a=!0):b===h.PAGE_UP&&(this.scrollToWithBounds({top:k-m}),a=!0)}d&&(c=c.left,d=this.get("scrollLeft"),b===h.RIGHT?(this.scrollToWithBounds({left:d+c}),a=!0):b===h.LEFT&&(this.scrollToWithBounds({left:d-c}),a=!0));return a}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var b=f(this.get("el")[0].ownerDocument),c=this.clientHeight,d=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/b.height(),20),left:Math.max(0.7*d*d/b.width(),20)}}, -handleMouseWheel:function(b){if(!this.get("disabled")){var c,d,a=this.getScrollStep(),g,f=this.maxScroll,h=this.minScroll;if((g=b.deltaY)&&this.allowScroll.top){var e=this.get("scrollTop");c=f.top;d=h.top;e<=d&&0=c&&0>g||(this.scrollToWithBounds({top:e-b.deltaY*a.top}),b.preventDefault())}if((g=b.deltaX)&&this.allowScroll.left)e=this.get("scrollLeft"),c=f.left,d=h.left,e<=d&&0=c&&0>g||(this.scrollToWithBounds({left:e-b.deltaX*a.left}),b.preventDefault())}},isAxisEnabled:function(b){return this.allowScroll["x"=== -b?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&&(i.each(this.scrollAnims,function(b){b.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(b){this.scrollToPage(b)},_getPageIndexFromXY:function(b,c,d){var a=this.pagesOffset.concat([]),g=c?"left":"top";a.sort(function(b,c){return b[g]-c[g]});if(0=b)return d.index}else for(c=a.length-1;0<=c;c--)if(d=a[c],d[g]<= -b)return d.index},scrollToPage:function(b,c){var d;if((d=this.pagesOffset)&&d[b])this.set("pageIndex",b),this.scrollTo(d[b],c)},scrollToWithBounds:function(b,c){var d=this.maxScroll,a=this.minScroll;b.left&&(b.left=Math.min(Math.max(b.left,a.left),d.left));b.top&&(b.top=Math.min(Math.max(b.top,a.top),d.top));this.scrollTo(b,c)},scrollTo:function(b,c){var a=b.left,e=b.top;if(c){var g={},f={};void 0!==a&&(f.scrollLeft=a,g.scrollLeft=this.get("scrollLeft"));void 0!==e&&(f.scrollTop=e,g.scrollTop=this.get("scrollTop")); -c.frame=q;c.node=g;c.to=f;this.scrollAnims.push(a=new l(c));a.scrollView=this;a.run()}else void 0!==a&&this.set("scrollLeft",a),void 0!==e&&this.set("scrollTop",e)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!e},allowTextSelection:{value:!0},handleMouseEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:a}},xclass:"scroll-view"})}); +KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,k){var q=k("component/container"),r=k("component/extension/content-render"),p=j.Features,l=Math.floor,m,o={syncUI:function(){var d=this.control,e=d.el,f=d.contentEl,a=d.$contentEl,c=f.offsetHeight,f=f.offsetWidth,b=e.clientHeight,h=e.clientWidth;d.scrollHeight=c;d.scrollWidth=f;d.clientHeight=b;d.clientWidth=h;e=d.allowScroll={};c>b&&(e.top=1);f>h&&(e.left=1);d.minScroll={left:0,top:0};var g, +n;d.maxScroll={left:g=f-h,top:n=c-b};delete d.scrollStep;b=d.get("snap");c=d.get("scrollLeft");f=d.get("scrollTop");if(b){var s=a.offset(),a=d.pages="string"===typeof b?a.all(b):a.children(),b=d.get("pageIndex"),i=d.pagesOffset=[];a.each(function(a,b){var c=a.offset(),d=c.left-s.left,c=c.top-s.top;d<=g&&c<=n&&(i[b]={left:d,top:c,index:b})});if(b){d.scrollToPage(b);return}}d.scrollToWithBounds({left:c,top:f})},_onSetScrollLeft:function(d){this.control.contentEl.style.left=-d+"px"},_onSetScrollTop:function(d){this.control.contentEl.style.top= +-d+"px"}};p.isTransform3dSupported()&&(m=p.getTransformProperty(),o._onSetScrollLeft=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-d),translateY:l(-e.get("scrollTop"))})},o._onSetScrollTop=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-e.get("scrollLeft")),translateY:l(-d)})});return q.getDefaultRender().extend([r],o,{name:"ScrollViewRender"})}); +KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,k){function q(){var a=this.el,c=a.scrollTop,b=a.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));b&&this.set("scrollLeft",b+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function r(a,c){a.scrollView.set(c.prop,c.val)}var p=k("node"),l=k("anim"),m=k("component/container"),o=k("./base/render"),d=j.all,e=j.Features.isTouchEventSupported(),f=p.KeyCode;return m.extend({initializer:function(){this.scrollAnims= +[]},bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",q,this)},handleKeyDownInternal:function(a){var c=d(a.target),b=c.nodeName();if(!("input"===b||"textarea"===b||"select"===b||c.hasAttr("contenteditable"))){var a=a.keyCode,c=this.getScrollStep(),h,b=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,n=this.clientHeight,e=this.get("scrollTop");a===f.DOWN?(this.scrollToWithBounds({top:e+g}),h=!0):a===f.UP?(this.scrollToWithBounds({top:e-g}),h=!0):a===f.PAGE_DOWN? +(this.scrollToWithBounds({top:e+n}),h=!0):a===f.PAGE_UP&&(this.scrollToWithBounds({top:e-n}),h=!0)}b&&(c=c.left,b=this.get("scrollLeft"),a===f.RIGHT?(this.scrollToWithBounds({left:b+c}),h=!0):a===f.LEFT&&(this.scrollToWithBounds({left:b-c}),h=!0));return h}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var a=d(this.get("el")[0].ownerDocument),c=this.clientHeight,b=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/a.height(),20),left:Math.max(0.7*b*b/a.width(),20)}}, +handleMouseWheel:function(a){if(!this.get("disabled")){var c,b,d=this.getScrollStep(),g,e=this.maxScroll,f=this.minScroll;if((g=a.deltaY)&&this.allowScroll.top){var i=this.get("scrollTop");c=e.top;b=f.top;i<=b&&0=c&&0>g||(this.scrollToWithBounds({top:i-a.deltaY*d.top}),a.preventDefault())}if((g=a.deltaX)&&this.allowScroll.left)i=this.get("scrollLeft"),c=e.left,b=f.left,i<=b&&0=c&&0>g||(this.scrollToWithBounds({left:i-a.deltaX*d.left}),a.preventDefault())}},isAxisEnabled:function(a){return this.allowScroll["x"=== +a?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&&(j.each(this.scrollAnims,function(a){a.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(a){this.scrollToPage(a)},_getPageIndexFromXY:function(a,c,b){var d=this.pagesOffset.concat([]),e=c?"left":"top";d.sort(function(a,b){return a[e]-b[e]});if(0=a)return b.index}else for(c=d.length-1;0<=c;c--)if(b=d[c],b[e]<= +a)return b.index},scrollToPage:function(a,c){var b;if((b=this.pagesOffset)&&b[a])this.set("pageIndex",a),this.scrollTo(b[a],c)},scrollToWithBounds:function(a,c){var b=this.maxScroll,d=this.minScroll;a.left&&(a.left=Math.min(Math.max(a.left,d.left),b.left));a.top&&(a.top=Math.min(Math.max(a.top,d.top),b.top));this.scrollTo(a,c)},scrollTo:function(a,c){var b=a.left,d=a.top;if(c){var e={},f={};void 0!==b&&(f.scrollLeft=b,e.scrollLeft=this.get("scrollLeft"));void 0!==d&&(f.scrollTop=d,e.scrollTop=this.get("scrollTop")); +c.frame=r;c.node=e;c.to=f;this.scrollAnims.push(b=new l(c));b.scrollView=this;b.run()}else void 0!==b&&this.set("scrollLeft",b),void 0!==d&&this.set("scrollTop",d)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!e},allowTextSelection:{value:!0},handleMouseEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:o}},xclass:"scroll-view"})}); diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index d3ab46d2d9..53150477cf 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:17 +build time: Jan 21 11:48 */ /* Combined processedModules by KISSY Module Compiler: @@ -14,7 +14,7 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio var Container = require("component/container"); var ContentRenderExtension = require("component/extension/content-render"); var translateTpl = "translate3d({translateX}px,{translateY}px,0)"; - var Features = S.Features, supportTransform3d = Features.isTransform3dSupported(), transformProperty; + var Features = S.Features, floor = Math.floor, supportTransform3d = Features.isTransform3dSupported(), transformProperty; var methods = {syncUI:function() { var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; var scrollHeight = contentEl.offsetHeight, scrollWidth = contentEl.offsetWidth; @@ -59,11 +59,11 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio transformProperty = Features.getTransformProperty(); methods._onSetScrollLeft = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:-v, translateY:-control.get("scrollTop")}) + control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:floor(-v), translateY:floor(-control.get("scrollTop"))}) }; methods._onSetScrollTop = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:-control.get("scrollLeft"), translateY:-v}) + control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:floor(-control.get("scrollLeft")), translateY:floor(-v)}) } } return Container.getDefaultRender().extend([ContentRenderExtension], methods, {name:"ScrollViewRender"}) diff --git a/src/scroll-view/sub-modules/base/coverage/src/base/render.js b/src/scroll-view/sub-modules/base/coverage/src/base/render.js index a452df56f2..75021a5ceb 100644 --- a/src/scroll-view/sub-modules/base/coverage/src/base/render.js +++ b/src/scroll-view/sub-modules/base/coverage/src/base/render.js @@ -234,46 +234,46 @@ if (! _$jscoverage['/base/render.js']) { _$jscoverage['/base/render.js'].lineData[8] = 0; _$jscoverage['/base/render.js'].lineData[9] = 0; _$jscoverage['/base/render.js'].lineData[12] = 0; - _$jscoverage['/base/render.js'].lineData[31] = 0; - _$jscoverage['/base/render.js'].lineData[33] = 0; - _$jscoverage['/base/render.js'].lineData[44] = 0; - _$jscoverage['/base/render.js'].lineData[47] = 0; - _$jscoverage['/base/render.js'].lineData[51] = 0; + _$jscoverage['/base/render.js'].lineData[32] = 0; + _$jscoverage['/base/render.js'].lineData[34] = 0; + _$jscoverage['/base/render.js'].lineData[45] = 0; + _$jscoverage['/base/render.js'].lineData[48] = 0; _$jscoverage['/base/render.js'].lineData[52] = 0; _$jscoverage['/base/render.js'].lineData[53] = 0; _$jscoverage['/base/render.js'].lineData[54] = 0; - _$jscoverage['/base/render.js'].lineData[56] = 0; - _$jscoverage['/base/render.js'].lineData[58] = 0; + _$jscoverage['/base/render.js'].lineData[55] = 0; + _$jscoverage['/base/render.js'].lineData[57] = 0; _$jscoverage['/base/render.js'].lineData[59] = 0; - _$jscoverage['/base/render.js'].lineData[61] = 0; + _$jscoverage['/base/render.js'].lineData[60] = 0; _$jscoverage['/base/render.js'].lineData[62] = 0; - _$jscoverage['/base/render.js'].lineData[65] = 0; - _$jscoverage['/base/render.js'].lineData[70] = 0; - _$jscoverage['/base/render.js'].lineData[73] = 0; - _$jscoverage['/base/render.js'].lineData[78] = 0; - _$jscoverage['/base/render.js'].lineData[80] = 0; - _$jscoverage['/base/render.js'].lineData[84] = 0; + _$jscoverage['/base/render.js'].lineData[63] = 0; + _$jscoverage['/base/render.js'].lineData[66] = 0; + _$jscoverage['/base/render.js'].lineData[71] = 0; + _$jscoverage['/base/render.js'].lineData[74] = 0; + _$jscoverage['/base/render.js'].lineData[79] = 0; + _$jscoverage['/base/render.js'].lineData[81] = 0; _$jscoverage['/base/render.js'].lineData[85] = 0; _$jscoverage['/base/render.js'].lineData[86] = 0; - _$jscoverage['/base/render.js'].lineData[91] = 0; + _$jscoverage['/base/render.js'].lineData[87] = 0; _$jscoverage['/base/render.js'].lineData[92] = 0; - _$jscoverage['/base/render.js'].lineData[95] = 0; + _$jscoverage['/base/render.js'].lineData[93] = 0; _$jscoverage['/base/render.js'].lineData[96] = 0; - _$jscoverage['/base/render.js'].lineData[103] = 0; + _$jscoverage['/base/render.js'].lineData[97] = 0; _$jscoverage['/base/render.js'].lineData[104] = 0; _$jscoverage['/base/render.js'].lineData[105] = 0; - _$jscoverage['/base/render.js'].lineData[110] = 0; - _$jscoverage['/base/render.js'].lineData[117] = 0; - _$jscoverage['/base/render.js'].lineData[121] = 0; - _$jscoverage['/base/render.js'].lineData[125] = 0; + _$jscoverage['/base/render.js'].lineData[106] = 0; + _$jscoverage['/base/render.js'].lineData[111] = 0; + _$jscoverage['/base/render.js'].lineData[118] = 0; + _$jscoverage['/base/render.js'].lineData[122] = 0; _$jscoverage['/base/render.js'].lineData[126] = 0; - _$jscoverage['/base/render.js'].lineData[128] = 0; + _$jscoverage['/base/render.js'].lineData[127] = 0; _$jscoverage['/base/render.js'].lineData[129] = 0; _$jscoverage['/base/render.js'].lineData[130] = 0; - _$jscoverage['/base/render.js'].lineData[136] = 0; + _$jscoverage['/base/render.js'].lineData[131] = 0; _$jscoverage['/base/render.js'].lineData[137] = 0; _$jscoverage['/base/render.js'].lineData[138] = 0; - _$jscoverage['/base/render.js'].lineData[145] = 0; + _$jscoverage['/base/render.js'].lineData[139] = 0; + _$jscoverage['/base/render.js'].lineData[146] = 0; } if (! _$jscoverage['/base/render.js'].functionData) { _$jscoverage['/base/render.js'].functionData = []; @@ -287,58 +287,58 @@ if (! _$jscoverage['/base/render.js'].functionData) { } if (! _$jscoverage['/base/render.js'].branchData) { _$jscoverage['/base/render.js'].branchData = {}; - _$jscoverage['/base/render.js'].branchData['58'] = []; - _$jscoverage['/base/render.js'].branchData['58'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['61'] = []; - _$jscoverage['/base/render.js'].branchData['61'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['84'] = []; - _$jscoverage['/base/render.js'].branchData['84'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['86'] = []; - _$jscoverage['/base/render.js'].branchData['86'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['95'] = []; - _$jscoverage['/base/render.js'].branchData['95'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['95'][2] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['95'][3] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['103'] = []; - _$jscoverage['/base/render.js'].branchData['103'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['125'] = []; - _$jscoverage['/base/render.js'].branchData['125'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['59'] = []; + _$jscoverage['/base/render.js'].branchData['59'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['62'] = []; + _$jscoverage['/base/render.js'].branchData['62'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['85'] = []; + _$jscoverage['/base/render.js'].branchData['85'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['87'] = []; + _$jscoverage['/base/render.js'].branchData['87'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['96'] = []; + _$jscoverage['/base/render.js'].branchData['96'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['96'][2] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['96'][3] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['104'] = []; + _$jscoverage['/base/render.js'].branchData['104'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['126'] = []; + _$jscoverage['/base/render.js'].branchData['126'][1] = new BranchData(); } -_$jscoverage['/base/render.js'].branchData['125'][1].init(4025, 18, 'supportTransform3d'); -function visit9_125_1(result) { - _$jscoverage['/base/render.js'].branchData['125'][1].ranCondition(result); +_$jscoverage['/base/render.js'].branchData['126'][1].init(4173, 18, 'supportTransform3d'); +function visit9_126_1(result) { + _$jscoverage['/base/render.js'].branchData['126'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['103'][1].init(862, 9, 'pageIndex'); -function visit8_103_1(result) { - _$jscoverage['/base/render.js'].branchData['103'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['104'][1].init(881, 9, 'pageIndex'); +function visit8_104_1(result) { + _$jscoverage['/base/render.js'].branchData['104'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['95'][3].init(212, 19, 'top <= maxScrollTop'); -function visit7_95_3(result) { - _$jscoverage['/base/render.js'].branchData['95'][3].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['96'][3].init(216, 19, 'top <= maxScrollTop'); +function visit7_96_3(result) { + _$jscoverage['/base/render.js'].branchData['96'][3].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['95'][2].init(187, 21, 'left <= maxScrollLeft'); -function visit6_95_2(result) { - _$jscoverage['/base/render.js'].branchData['95'][2].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['96'][2].init(191, 21, 'left <= maxScrollLeft'); +function visit6_96_2(result) { + _$jscoverage['/base/render.js'].branchData['96'][2].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['95'][1].init(187, 44, 'left <= maxScrollLeft && top <= maxScrollTop'); -function visit5_95_1(result) { - _$jscoverage['/base/render.js'].branchData['95'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['96'][1].init(191, 44, 'left <= maxScrollLeft && top <= maxScrollTop'); +function visit5_96_1(result) { + _$jscoverage['/base/render.js'].branchData['96'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['86'][1].init(97, 24, 'typeof snap === \'string\''); -function visit4_86_1(result) { - _$jscoverage['/base/render.js'].branchData['86'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['87'][1].init(99, 24, 'typeof snap === \'string\''); +function visit4_87_1(result) { + _$jscoverage['/base/render.js'].branchData['87'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['84'][1].init(1715, 4, 'snap'); -function visit3_84_1(result) { - _$jscoverage['/base/render.js'].branchData['84'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['85'][1].init(1767, 4, 'snap'); +function visit3_85_1(result) { + _$jscoverage['/base/render.js'].branchData['85'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['61'][1].init(1083, 25, 'scrollWidth > clientWidth'); -function visit2_61_1(result) { - _$jscoverage['/base/render.js'].branchData['61'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['62'][1].init(1112, 25, 'scrollWidth > clientWidth'); +function visit2_62_1(result) { + _$jscoverage['/base/render.js'].branchData['62'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['58'][1].init(985, 27, 'scrollHeight > clientHeight'); -function visit1_58_1(result) { - _$jscoverage['/base/render.js'].branchData['58'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['59'][1].init(1011, 27, 'scrollHeight > clientHeight'); +function visit1_59_1(result) { + _$jscoverage['/base/render.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/base/render.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -350,120 +350,120 @@ KISSY.add(function(S, require) { _$jscoverage['/base/render.js'].lineData[9]++; var translateTpl = 'translate3d({translateX}px,{translateY}px,0)'; _$jscoverage['/base/render.js'].lineData[12]++; - var Features = S.Features, supportTransform3d = Features.isTransform3dSupported(), transformProperty; - _$jscoverage['/base/render.js'].lineData[31]++; + var Features = S.Features, floor = Math.floor, supportTransform3d = Features.isTransform3dSupported(), transformProperty; + _$jscoverage['/base/render.js'].lineData[32]++; var methods = { syncUI: function() { _$jscoverage['/base/render.js'].functionData[1]++; - _$jscoverage['/base/render.js'].lineData[33]++; + _$jscoverage['/base/render.js'].lineData[34]++; var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; - _$jscoverage['/base/render.js'].lineData[44]++; + _$jscoverage['/base/render.js'].lineData[45]++; var scrollHeight = contentEl.offsetHeight, scrollWidth = contentEl.offsetWidth; - _$jscoverage['/base/render.js'].lineData[47]++; + _$jscoverage['/base/render.js'].lineData[48]++; var clientHeight = el.clientHeight, allowScroll, clientWidth = el.clientWidth; - _$jscoverage['/base/render.js'].lineData[51]++; - control.scrollHeight = scrollHeight; _$jscoverage['/base/render.js'].lineData[52]++; - control.scrollWidth = scrollWidth; + control.scrollHeight = scrollHeight; _$jscoverage['/base/render.js'].lineData[53]++; - control.clientHeight = clientHeight; + control.scrollWidth = scrollWidth; _$jscoverage['/base/render.js'].lineData[54]++; + control.clientHeight = clientHeight; + _$jscoverage['/base/render.js'].lineData[55]++; control.clientWidth = clientWidth; - _$jscoverage['/base/render.js'].lineData[56]++; + _$jscoverage['/base/render.js'].lineData[57]++; allowScroll = control.allowScroll = {}; - _$jscoverage['/base/render.js'].lineData[58]++; - if (visit1_58_1(scrollHeight > clientHeight)) { - _$jscoverage['/base/render.js'].lineData[59]++; + _$jscoverage['/base/render.js'].lineData[59]++; + if (visit1_59_1(scrollHeight > clientHeight)) { + _$jscoverage['/base/render.js'].lineData[60]++; allowScroll.top = 1; } - _$jscoverage['/base/render.js'].lineData[61]++; - if (visit2_61_1(scrollWidth > clientWidth)) { - _$jscoverage['/base/render.js'].lineData[62]++; + _$jscoverage['/base/render.js'].lineData[62]++; + if (visit2_62_1(scrollWidth > clientWidth)) { + _$jscoverage['/base/render.js'].lineData[63]++; allowScroll.left = 1; } - _$jscoverage['/base/render.js'].lineData[65]++; + _$jscoverage['/base/render.js'].lineData[66]++; control.minScroll = { left: 0, top: 0}; - _$jscoverage['/base/render.js'].lineData[70]++; + _$jscoverage['/base/render.js'].lineData[71]++; var maxScrollLeft, maxScrollTop; - _$jscoverage['/base/render.js'].lineData[73]++; + _$jscoverage['/base/render.js'].lineData[74]++; control.maxScroll = { left: maxScrollLeft = scrollWidth - clientWidth, top: maxScrollTop = scrollHeight - clientHeight}; - _$jscoverage['/base/render.js'].lineData[78]++; + _$jscoverage['/base/render.js'].lineData[79]++; delete control.scrollStep; - _$jscoverage['/base/render.js'].lineData[80]++; + _$jscoverage['/base/render.js'].lineData[81]++; var snap = control.get('snap'), scrollLeft = control.get('scrollLeft'), scrollTop = control.get('scrollTop'); - _$jscoverage['/base/render.js'].lineData[84]++; - if (visit3_84_1(snap)) { - _$jscoverage['/base/render.js'].lineData[85]++; - var elOffset = $contentEl.offset(); + _$jscoverage['/base/render.js'].lineData[85]++; + if (visit3_85_1(snap)) { _$jscoverage['/base/render.js'].lineData[86]++; - var pages = control.pages = visit4_86_1(typeof snap === 'string') ? $contentEl.all(snap) : $contentEl.children(), pageIndex = control.get('pageIndex'), pagesOffset = control.pagesOffset = []; - _$jscoverage['/base/render.js'].lineData[91]++; + var elOffset = $contentEl.offset(); + _$jscoverage['/base/render.js'].lineData[87]++; + var pages = control.pages = visit4_87_1(typeof snap === 'string') ? $contentEl.all(snap) : $contentEl.children(), pageIndex = control.get('pageIndex'), pagesOffset = control.pagesOffset = []; + _$jscoverage['/base/render.js'].lineData[92]++; pages.each(function(p, i) { _$jscoverage['/base/render.js'].functionData[2]++; - _$jscoverage['/base/render.js'].lineData[92]++; + _$jscoverage['/base/render.js'].lineData[93]++; var offset = p.offset(), left = offset.left - elOffset.left, top = offset.top - elOffset.top; - _$jscoverage['/base/render.js'].lineData[95]++; - if (visit5_95_1(visit6_95_2(left <= maxScrollLeft) && visit7_95_3(top <= maxScrollTop))) { - _$jscoverage['/base/render.js'].lineData[96]++; + _$jscoverage['/base/render.js'].lineData[96]++; + if (visit5_96_1(visit6_96_2(left <= maxScrollLeft) && visit7_96_3(top <= maxScrollTop))) { + _$jscoverage['/base/render.js'].lineData[97]++; pagesOffset[i] = { left: left, top: top, index: i}; } }); - _$jscoverage['/base/render.js'].lineData[103]++; - if (visit8_103_1(pageIndex)) { - _$jscoverage['/base/render.js'].lineData[104]++; - control.scrollToPage(pageIndex); + _$jscoverage['/base/render.js'].lineData[104]++; + if (visit8_104_1(pageIndex)) { _$jscoverage['/base/render.js'].lineData[105]++; + control.scrollToPage(pageIndex); + _$jscoverage['/base/render.js'].lineData[106]++; return; } } - _$jscoverage['/base/render.js'].lineData[110]++; + _$jscoverage['/base/render.js'].lineData[111]++; control.scrollToWithBounds({ left: scrollLeft, top: scrollTop}); }, '_onSetScrollLeft': function(v) { _$jscoverage['/base/render.js'].functionData[3]++; - _$jscoverage['/base/render.js'].lineData[117]++; + _$jscoverage['/base/render.js'].lineData[118]++; this.control.contentEl.style.left = -v + 'px'; }, '_onSetScrollTop': function(v) { _$jscoverage['/base/render.js'].functionData[4]++; - _$jscoverage['/base/render.js'].lineData[121]++; + _$jscoverage['/base/render.js'].lineData[122]++; this.control.contentEl.style.top = -v + 'px'; }}; - _$jscoverage['/base/render.js'].lineData[125]++; - if (visit9_125_1(supportTransform3d)) { - _$jscoverage['/base/render.js'].lineData[126]++; + _$jscoverage['/base/render.js'].lineData[126]++; + if (visit9_126_1(supportTransform3d)) { + _$jscoverage['/base/render.js'].lineData[127]++; transformProperty = Features.getTransformProperty(); - _$jscoverage['/base/render.js'].lineData[128]++; + _$jscoverage['/base/render.js'].lineData[129]++; methods._onSetScrollLeft = function(v) { _$jscoverage['/base/render.js'].functionData[5]++; - _$jscoverage['/base/render.js'].lineData[129]++; - var control = this.control; _$jscoverage['/base/render.js'].lineData[130]++; + var control = this.control; + _$jscoverage['/base/render.js'].lineData[131]++; control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: -v, - translateY: -control.get('scrollTop')}); + translateX: floor(-v), + translateY: floor(-control.get('scrollTop'))}); }; - _$jscoverage['/base/render.js'].lineData[136]++; + _$jscoverage['/base/render.js'].lineData[137]++; methods._onSetScrollTop = function(v) { _$jscoverage['/base/render.js'].functionData[6]++; - _$jscoverage['/base/render.js'].lineData[137]++; - var control = this.control; _$jscoverage['/base/render.js'].lineData[138]++; + var control = this.control; + _$jscoverage['/base/render.js'].lineData[139]++; control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: -control.get('scrollLeft'), - translateY: -v}); + translateX: floor(-control.get('scrollLeft')), + translateY: floor(-v)}); }; } - _$jscoverage['/base/render.js'].lineData[145]++; + _$jscoverage['/base/render.js'].lineData[146]++; return Container.getDefaultRender().extend([ContentRenderExtension], methods, { name: 'ScrollViewRender'}); }); diff --git a/src/scroll-view/sub-modules/base/src/base/render.js b/src/scroll-view/sub-modules/base/src/base/render.js index 17b484fae0..8d6c68a775 100644 --- a/src/scroll-view/sub-modules/base/src/base/render.js +++ b/src/scroll-view/sub-modules/base/src/base/render.js @@ -10,6 +10,7 @@ KISSY.add(function (S, require) { // http://www.html5rocks.com/en/tutorials/speed/html5/ var Features = S.Features, + floor = Math.floor, // MARKER_CLS = 'ks-scrollview-marker', supportTransform3d = Features.isTransform3dSupported(), transformProperty; @@ -128,16 +129,16 @@ KISSY.add(function (S, require) { methods._onSetScrollLeft = function (v) { var control = this.control; control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: -v, - translateY: -control.get('scrollTop') + translateX: floor(-v), + translateY: floor(-control.get('scrollTop')) }); }; methods._onSetScrollTop = function (v) { var control = this.control; control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: -control.get('scrollLeft'), - translateY: -v + translateX: floor(-control.get('scrollLeft')), + translateY: floor(-v) }); }; } From 7d1a38d29b36a8ad8da3813d6fbbfc09727a8952 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 10 Feb 2014 14:00:49 +0800 Subject: [PATCH 24/80] adjust cacheFile for xtemplate/nodejs --- build/xtemplate/nodejs-min.js | 6 +++--- build/xtemplate/nodejs.js | 6 +++--- package.json | 2 +- src/xtemplate/sub-modules/nodejs/coverage/src/nodejs.js | 4 ++-- src/xtemplate/sub-modules/nodejs/src/nodejs.js | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build/xtemplate/nodejs-min.js b/build/xtemplate/nodejs-min.js index 2b41f91025..712f3af08b 100644 --- a/build/xtemplate/nodejs-min.js +++ b/build/xtemplate/nodejs-min.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:19 +build time: Feb 10 14:00 */ -KISSY.add("xtemplate/nodejs",["xtemplate"],function(d,g){function h(b){var a=b.cacheFile,c=b.extname;return function(b){if(a&&f[b])return f[b];var e=new d.Loader.Module({name:b,type:c,runtime:d}),e=i.readFileSync((new d.Uri(e.getFullPath())).getPath(),{encoding:"utf-8"});a&&(f[b]=e);return e}}var i=requireNode("fs"),j=g("xtemplate"),f={};return{loadFromModuleName:function(b,a){a=d.merge(a,{cacheFile:1});a.extname=a.extname||"html";var c=h(a);a.name=b;a.loader=c;c=c(b);delete a.extname;return new j(c, +KISSY.add("xtemplate/nodejs",["xtemplate"],function(d,g){function h(b){var a=b.cacheFile,c=b.extname;return function(b){if(a&&f[b])return f[b];var e=new d.Loader.Module({name:b,type:c,runtime:d}),e=i.readFileSync((new d.Uri(e.getFullPath())).getPath(),{encoding:"utf-8"});a&&(f[b]=e);return e}}var i=requireNode("fs"),j=g("xtemplate"),f={};return{loadFromModuleName:function(b,a){a=d.merge({cacheFile:1},a);a.extname=a.extname||"html";var c=h(a);a.name=b;a.loader=c;c=c(b);delete a.extname;return new j(c, a)}}}); diff --git a/build/xtemplate/nodejs.js b/build/xtemplate/nodejs.js index 4c86be2167..3da625c404 100644 --- a/build/xtemplate/nodejs.js +++ b/build/xtemplate/nodejs.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:19 +build time: Feb 10 14:00 */ /* Combined processedModules by KISSY Module Compiler: @@ -14,7 +14,7 @@ KISSY.add("xtemplate/nodejs", ["xtemplate"], function(S, require) { var XTemplate = require("xtemplate"); var cached = {}; return{loadFromModuleName:function(moduleName, config) { - config = S.merge(config, {cacheFile:1}); + config = S.merge({cacheFile:1}, config); config.extname = config.extname || "html"; var loader = getLoader(config); config.name = moduleName; diff --git a/package.json b/package.json index 1113ecc7cd..3f04c884fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kissy", - "version": "1.4.1-3", + "version": "1.4.1-4", "description": "KISSY", "author": "yiminghe ", "homepage": "http://docs.kissyui.com", diff --git a/src/xtemplate/sub-modules/nodejs/coverage/src/nodejs.js b/src/xtemplate/sub-modules/nodejs/coverage/src/nodejs.js index a6906a1077..d1ae6765ad 100644 --- a/src/xtemplate/sub-modules/nodejs/coverage/src/nodejs.js +++ b/src/xtemplate/sub-modules/nodejs/coverage/src/nodejs.js @@ -296,8 +296,8 @@ KISSY.add(function(S, require) { loadFromModuleName: function(moduleName, config) { _$jscoverage['/nodejs.js'].functionData[1]++; _$jscoverage['/nodejs.js'].lineData[25]++; - config = S.merge(config, { - cacheFile: 1}); + config = S.merge({ + cacheFile: 1}, config); _$jscoverage['/nodejs.js'].lineData[28]++; config.extname = visit1_28_1(config.extname || 'html'); _$jscoverage['/nodejs.js'].lineData[29]++; diff --git a/src/xtemplate/sub-modules/nodejs/src/nodejs.js b/src/xtemplate/sub-modules/nodejs/src/nodejs.js index 49e49ec3cf..345908ef3b 100644 --- a/src/xtemplate/sub-modules/nodejs/src/nodejs.js +++ b/src/xtemplate/sub-modules/nodejs/src/nodejs.js @@ -22,9 +22,9 @@ KISSY.add(function (S, require) { * @returns {KISSY.XTemplate} xtemplate instance */ loadFromModuleName: function (moduleName, config) { - config = S.merge(config, { + config = S.merge({ cacheFile: 1 - }); + }, config); config.extname = config.extname || 'html'; var loader = getLoader(config); config.name = moduleName; From 693ec5c5c957c245f4ba5d134bfd175efce0e3a4 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 10 Feb 2014 18:43:06 +0800 Subject: [PATCH 25/80] update xtemplate cli --- bin/kissy-xtemplate.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/kissy-xtemplate.js b/bin/kissy-xtemplate.js index 4ff83e03a9..9684507d8e 100755 --- a/bin/kissy-xtemplate.js +++ b/bin/kissy-xtemplate.js @@ -60,8 +60,8 @@ S.use('xtemplate/compiler', function (S, XTemplateCompiler) { function process(filePath) { var modulePath; - if (S.endsWith(filePath, '.xtpl.html')) { - modulePath = filePath.replace(/\.xtpl\.html$/, '-xtpl.js'); + if (S.endsWith(filePath, '.xtpl.html')||S.endsWith(filePath, '-xtpl.html')) { + modulePath = filePath.replace(/[.-]xtpl\.html$/, '-xtpl.js'); compile(filePath, modulePath); } else if (S.endsWith(filePath, '.tpl.html')) { modulePath = filePath.replace(/\.tpl\.html$/, '-tpl.js'); diff --git a/package.json b/package.json index 3f04c884fb..4f084549fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kissy", - "version": "1.4.1-4", + "version": "1.4.1-5", "description": "KISSY", "author": "yiminghe ", "homepage": "http://docs.kissyui.com", From b19549d3be1f99ca376aa9b5886d66c516d04a1b Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 11 Feb 2014 16:33:57 +0800 Subject: [PATCH 26/80] return array for query --- build/dom/base-min.js | 34 +- build/dom/base.js | 18 +- .../base/coverage/src/base/selector.js | 981 +++++++++--------- src/dom/sub-modules/base/src/base/selector.js | 90 +- 4 files changed, 557 insertions(+), 566 deletions(-) diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 4000393940..f387009a1f 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,17 +1,17 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 19 17:24 +build time: Feb 11 16:30 */ KISSY.add("dom/base/api",[],function(h){var m=h.Env.host||{},n=m.document,q=h.UA,b={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e={isCustomDomain:function(b){var b=b||m,b=e.get(b),g=b.document.domain,b=b.location.hostname;return g!==b&&g!=="["+b+"]"},getEmptyIframeSrc:function(b){b=b||m;b=e.get(b);return q.ie&&e.isCustomDomain(b)? "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+b.document.domain+'";document.close();')+"}())":""},NodeType:b,getWindow:function(l){if(!l)return m;l=e.get(l);if(h.isWindow(l))return l;var g=l;g.nodeType!==b.DOCUMENT_NODE&&(g=l.ownerDocument);return g.defaultView||g.parentWindow},getDocument:function(l){if(!l)return n;l=e.get(l);return h.isWindow(l)?l.document:l.nodeType===b.DOCUMENT_NODE?l:l.ownerDocument},isDomNodeList:function(b){return b&&!b.nodeType&&b.item&& !b.setTimeout},nodeName:function(b){var g=e.get(b),b=g.nodeName.toLowerCase();q.ie&&(g=g.scopeName)&&"HTML"!==g&&(b=g.toLowerCase()+":"+b);return b},_RE_NUM_NO_PX:RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i")};h.mix(e,b);return e}); KISSY.add("dom/base/attr",["./api"],function(h,m){function n(a){return null==a?"":a+""}function q(a,c){var c=i[c]||c,b=s[c];return b&&b.get?b.get(a,c):a[c]}var b=m("./api"),e=h.Env.host.document,l=b.NodeType,e=e&&e.documentElement,g=b.nodeName,a=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,j=/^(?:button|input|object|select|textarea)$/i,k=/^a(?:rea)?$/i,d=/:|^on/,c=/\r/g,f={},r={val:1,css:1,html:1,text:1,data:1,width:1, -height:1,offset:1,scrollTop:1,scrollLeft:1},t={tabindex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):j.test(a.nodeName)||k.test(a.nodeName)&&a.href?0:void 0}}},i={hidefocus:"hideFocus",tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},w= +height:1,offset:1,scrollTop:1,scrollLeft:1},t={tabindex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):j.test(a.nodeName)||k.test(a.nodeName)&&a.href?0:void 0}}},i={hidefocus:"hideFocus",tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},v= {get:function(a,c){return b.prop(a,c)?c.toLowerCase():void 0},set:function(a,c,f){!1===c?b.removeAttr(a,f):(c=i[f]||f,c in a&&(a[c]=!0),a.setAttribute(f,f.toLowerCase()));return f}},s={},p={},x={select:{get:function(a){var c=a.selectedIndex,f=a.options,d;if(0>c)return null;if("select-one"===""+a.type)return b.val(f[c]);a=[];c=0;for(d=f.length;c"+a+"
";return f.lastChild}function b(a,c){if(c)if(s&&c.canHaveChildren&&"removeNode"in a){if(a.firstChild)a:{try{a.innerHTML="";break a}catch(f){}for(var d;d=a.lastChild;)b(d,a)}a.removeNode(!1)}else c.removeChild(a)}function e(a,c,f){var d=c.nodeType;if(d===k.DOCUMENT_FRAGMENT_NODE){c=c.childNodes;f=f.childNodes;for(d= 0;c[d];)f[d]&&e(a,c[d],f[d]),d++}else if(d===k.ELEMENT_NODE){c=c.getElementsByTagName("*");f=f.getElementsByTagName("*");for(d=0;c[d];)f[d]&&a(c[d],f[d]),d++}}function l(c,d){var f=h.require("event/dom"),b,o;if(d.nodeType!==k.ELEMENT_NODE||a.hasData(c)){b=a.data(c);for(o in b)a.data(d,o,b[o]);f&&f.clone(c,d)}}function g(a){var c=null,d,f;if(a&&(a.push||a.item)&&a[0]){c=a[0].ownerDocument;c=c.createDocumentFragment();a=h.makeArray(a);d=0;for(f=a.length;d]*)\/>/ig,t=/<([\w:]+)/,i=/^\s+/,w=/\s+$/,s=!!(d&&9>d),p=s,x=/<|&#?\w+;/,H=j&&"outerHTML"in j.documentElement,D=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;h.mix(a,{create:function(d,f,b,e){var o=null;if(!d)return o;if(d.nodeType)return a.clone(d);if("string"!==typeof d)return o;void 0===e&&(e=!0);e&&(d=h.trim(d));var e=a._creators, -G,C,b=b||j,J,A=c;if(x.test(d))if(J=D.exec(d))o=b.createElement(J[1]);else{d=d.replace(r,"<$1>");if((J=t.exec(d))&&(G=J[1]))A=G.toLowerCase();G=(e[A]||q)(d,b);p&&(C=d.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(d)&&(C=d.match(w))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):d+" : create node error"}else o=b.createTextNode(d);d=o;h.isPlainObject(f)&&(d.nodeType===k.ELEMENT_NODE?a.attr(d,f, +a+" to fragment.";return c}var a=m("./api"),j=h.Env.host.document,k=a.NodeType,d=h.UA.ieMode,c="div",f=j&&j.createElement(c),r=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,t=/<([\w:]+)/,i=/^\s+/,v=/\s+$/,s=!!(d&&9>d),p=s,x=/<|&#?\w+;/,H=j&&"outerHTML"in j.documentElement,D=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;h.mix(a,{create:function(d,f,b,e){var o=null;if(!d)return o;if(d.nodeType)return a.clone(d);if("string"!==typeof d)return o;void 0===e&&(e=!0);e&&(d=h.trim(d));var e=a._creators, +G,C,b=b||j,J,A=c;if(x.test(d))if(J=D.exec(d))o=b.createElement(J[1]);else{d=d.replace(r,"<$1>");if((J=t.exec(d))&&(G=J[1]))A=G.toLowerCase();G=(e[A]||q)(d,b);p&&(C=d.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(d)&&(C=d.match(v))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):d+" : create node error"}else o=b.createTextNode(d);d=o;h.isPlainObject(f)&&(d.nodeType===k.ELEMENT_NODE?a.attr(d,f, !0):d.nodeType===k.DOCUMENT_FRAGMENT_NODE&&a.attr(d.childNodes,f,!0));return d},_fixCloneAttributes:function(c,d){"textarea"===a.nodeName(c)&&(d.defaultValue=c.defaultValue,d.value=c.value)},_creators:{div:q},_defaultCreator:q,html:function(c,d,f){var c=a.query(c),b=c[0],o=!1,e,g;if(!b)return null;if(void 0===d)return b.nodeType===k.ELEMENT_NODE?b.innerHTML:b.nodeType===k.DOCUMENT_FRAGMENT_NODE?(f=n(b.ownerDocument),f.appendChild(b),f.innerHTML):null;d+="";if(!d.match(/<(?:script|style|link)/i)&& (!p||!d.match(i))&&!y[(d.match(t)||["",""])[1].toLowerCase()])try{for(e=c.length-1;0<=e;e--)g=c[e],g.nodeType===k.ELEMENT_NODE&&(a.cleanData(g.getElementsByTagName("*")),g.innerHTML=d);o=!0}catch(h){}o||(d=a.create(d,0,b.ownerDocument,0),a.empty(c),a.append(d,c,f))},outerHtml:function(c,d,f){var c=a.query(c),b=c.length,o=c[0];if(!o)return null;if(void 0===d){if(H&&o.nodeType!==a.DOCUMENT_FRAGMENT_NODE)return o.outerHTML;d=n(o.ownerDocument);d.appendChild(a.clone(o,!0));return d.innerHTML}d+="";if(!d.match(/<(?:script|style|link)/i)&& H)for(f=b-1;0<=f;f--)o=c[f],o.nodeType===k.ELEMENT_NODE&&(a.cleanData(o,1),o.outerHTML=d);else d=a.create(d,0,o.ownerDocument,0),a.insertBefore(d,c,f),a.remove(c)},remove:function(c,d){var f,e=a.query(c),o,i=h.require("event/dom"),g;for(g=e.length-1;0<=g;g--)f=e[g],!d&&f.nodeType===k.ELEMENT_NODE&&(o=h.makeArray(f.getElementsByTagName("*")),o.push(f),a.removeData(o),i&&i.detach(o)),b(f,f.parentNode)},clone:function(c,d,f,b){"object"===typeof d&&(b=d.deepWithDataAndEvent,f=d.withDataAndEvent,d=d.deep); @@ -31,22 +31,22 @@ KISSY.add("dom/base/data",["./api"],function(h,m){var n=m("./api"),q=h.Env.host, q)return j.removeData(l,c);var f=a[b];if(void 0!==c)delete f[c],h.isEmptyObject(f)&&j.removeData(a);else try{delete a[b]}catch(e){a[b]=void 0}}},k={hasData:function(d,c){var f=d[b];return!f?!1:a.hasData(e[f],c)},data:function(a,c,f){if(!g[a.nodeName.toLowerCase()]){var r=a[b];if(!r){if(void 0!==c&&void 0===f)return;r=a[b]=h.guid()}a=e[r];if(void 0!==f)a=e[r]=e[r]||{},a[c]=f;else return void 0!==c?a&&a[c]:a=e[r]=e[r]||{}}},removeData:function(a,c){var f=a[b],g;if(f)if(g=e[f],void 0!==c)delete g[c], h.isEmptyObject(g)&&k.removeData(a);else{delete e[f];try{delete a[b]}catch(j){a[b]=void 0}a.removeAttribute&&a.removeAttribute(b)}}};h.mix(n,{__EXPANDO:b,hasData:function(a,c){for(var f=!1,b=n.query(a),e=0;em||0m?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+d)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,v.top+m):b.scrollTop(e,v.top+d);if(j)if(q){if(0>n||0n?b.scrollLeft(e,v.left+n):b.scrollLeft(e,v.left+l)}else void 0===g||g?b.scrollLeft(e,v.left+n):b.scrollLeft(e,v.left+l)}},docWidth:0,docHeight:0,viewportHeight:0,viewportWidth:0,scrollTop:0,scrollLeft:0});h.each(["Left","Top"],function(c,d){var f="scroll"+c;b[f]=function(g,h){if("number"===typeof g)return arguments.callee(e,g);var g=b.get(g),j,l,n,m;g&&g.nodeType===a.ELEMENT_NODE?void 0!==h?g[f]=parseFloat(h):j=g[f]:(m=k(g),void 0!==h?(h=parseFloat(h),l="Left"===c?h:b.scrollLeft(m),n= +(e=b.get(e));e||(e=m.ownerDocument);e.nodeType===a.DOCUMENT_NODE&&(e=k(e));h.isPlainObject(g)&&(j=g.allowHorizontalScroll,q=g.onlyScrollIfNeeded,g=g.alignWithTop);j=void 0===j?!0:j;n=h.isWindow(e);var d=b.offset(m),r=b.outerHeight(m);l=b.outerWidth(m);var t,z,u,w;n?(n=e,t=b.height(n),z=b.width(n),w={left:b.scrollLeft(n),top:b.scrollTop(n)},n=d[c]-w[c],m=d[f]-w[f],l=d[c]+l-(w[c]+z),d=d[f]+r-(w[f]+t)):(t=b.offset(e),z=e.clientHeight,u=e.clientWidth,w={left:b.scrollLeft(e),top:b.scrollTop(e)},n=d[c]- +(t[c]+(parseFloat(b.css(e,"borderLeftWidth"))||0)),m=d[f]-(t[f]+(parseFloat(b.css(e,"borderTopWidth"))||0)),l=d[c]+l-(t[c]+u+(parseFloat(b.css(e,"borderRightWidth"))||0)),d=d[f]+r-(t[f]+z+(parseFloat(b.css(e,"borderBottomWidth"))||0)));if(q){if(0>m||0m?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d);if(j)if(q){if(0>n||0n?b.scrollLeft(e,w.left+n):b.scrollLeft(e,w.left+l)}else void 0===g||g?b.scrollLeft(e,w.left+n):b.scrollLeft(e,w.left+l)}},docWidth:0,docHeight:0,viewportHeight:0,viewportWidth:0,scrollTop:0,scrollLeft:0});h.each(["Left","Top"],function(c,d){var f="scroll"+c;b[f]=function(g,h){if("number"===typeof g)return arguments.callee(e,g);var g=b.get(g),j,l,n,m;g&&g.nodeType===a.ELEMENT_NODE?void 0!==h?g[f]=parseFloat(h):j=g[f]:(m=k(g),void 0!==h?(h=parseFloat(h),l="Left"===c?h:b.scrollLeft(m),n= "Top"===c?h:b.scrollTop(m),m.scrollTo(l,n)):(j=m["page"+(d?"Y":"X")+"Offset"],"number"!==typeof j&&(l=m.document,j=l.documentElement[f],"number"!==typeof j&&(j=l.body[f]))));return j}});h.each(["Width","Height"],function(a){b["doc"+a]=function(c){c=b.get(c);c=b.getDocument(c);return d(c.documentElement["scroll"+a],c.body["scroll"+a],b["viewport"+a](c))};b["viewport"+a]=function(c){var c=b.get(c),d=k(c),c=d["inner"+a];if(l.mobile&&c)return c;var c="client"+a,d=d.document,e=d.body,f=d.documentElement[c]; return"CSS1Compat"===d.compatMode&&f||e&&e[c]||f}});return b}); -KISSY.add("dom/base/style",["./api"],function(h,m){function n(a,c){return c.toUpperCase()}function q(a){return a.replace(s,"ms-").replace(y,n)}function b(a,c,d){var b={},e=a.style,f;for(f in c)b[f]=e[f],e[f]=c[f];d.call(a);for(f in c)e[f]=b[f]}function e(a,c,d){var b,e,f;if(!(3===a.nodeType||8===a.nodeType||!(b=a.style)))if(c=q(c),f=D[c],c=B[c]||c,void 0!==d){null===d||d===p?d=p:!isNaN(Number(d))&&!w[c]&&(d+=x);f&&f.set&&(d=f.set(a,d));if(void 0!==d){try{b[c]=d}catch(g){"css set error:"+g}d===p&& +KISSY.add("dom/base/style",["./api"],function(h,m){function n(a,c){return c.toUpperCase()}function q(a){return a.replace(s,"ms-").replace(y,n)}function b(a,c,d){var b={},e=a.style,f;for(f in c)b[f]=e[f],e[f]=c[f];d.call(a);for(f in c)e[f]=b[f]}function e(a,c,d){var b,e,f;if(!(3===a.nodeType||8===a.nodeType||!(b=a.style)))if(c=q(c),f=D[c],c=B[c]||c,void 0!==d){null===d||d===p?d=p:!isNaN(Number(d))&&!v[c]&&(d+=x);f&&f.set&&(d=f.set(a,d));if(void 0!==d){try{b[c]=d}catch(g){"css set error:"+g}d===p&& b.removeAttribute&&b.removeAttribute(c)}b.cssText||a.removeAttribute("style")}else{if(!f||!("get"in f&&void 0!==(e=f.get(a,!1))))e=b[c];return void 0===e?"":e}}function l(a){var c,d=arguments;0!==a.offsetWidth?c=g.apply(void 0,d):b(a,L,function(){c=g.apply(void 0,d)});return c}function g(c,d,b){if(h.isWindow(c))return d===t?a.viewportWidth(c):a.viewportHeight(c);if(9===c.nodeType)return d===t?a.docWidth(c):a.docHeight(c);var e=d===t?["Left","Right"]:["Top","Bottom"],f=d===t?c.offsetWidth:c.offsetHeight; if(0Number(f))f=c.style[d]||0;f=parseFloat(f)||0;b&&h.each(e,function(d){f+=parseFloat(a.css(c,"padding"+d))||0;"padding"!==b&&(f+=parseFloat(a.css(c,"border"+d+"Width"))||0);"margin"===b&&(f+=parseFloat(a.css(c,b+d))||0)});return f}var a=m("./api"),j=h.Env.host,k=h.UA,d=h.Features, -c=a.nodeName,f=j.document,r=/^margin/,t="width",i="display"+h.now(),w={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},s=/^-ms-/,p="",x="px",H=/\d(?!px)[a-z%]+$/i,D={},B={"float":"cssFloat"},F={},y=/-([a-z])/ig,z=f&&f.documentElement.style||{},u;h.each(["","Webkit","Moz","O","ms"],function(a){a=a?a+"UserSelect":"userSelect";void 0===u&&a in z&&(u=a)});if(d.isTransformSupported()){var v;v=B.transform=d.getTransformProperty();B.transformOrigin=v+"Origin"}d.isTransitionSupported()&& +c=a.nodeName,f=j.document,r=/^margin/,t="width",i="display"+h.now(),v={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},s=/^-ms-/,p="",x="px",H=/\d(?!px)[a-z%]+$/i,D={},B={"float":"cssFloat"},F={},y=/-([a-z])/ig,z=f&&f.documentElement.style||{},u;h.each(["","Webkit","Moz","O","ms"],function(a){a=a?a+"UserSelect":"userSelect";void 0===u&&a in z&&(u=a)});if(d.isTransformSupported()){var w;w=B.transform=d.getTransformProperty();B.transformOrigin=w+"Origin"}d.isTransitionSupported()&& (B.transition=d.getTransitionProperty());h.mix(a,{_camelCase:q,_cssHooks:D,_cssProps:B,_getComputedStyle:function(c,d){var b="",e,f,g,h,i;f=c.ownerDocument;d=B[d]||d;if(e=f.defaultView.getComputedStyle(c,null))b=e.getPropertyValue(d)||e[d];b===""&&!a.contains(f,c)&&(b=c.style[d]);if(a._RE_NUM_NO_PX.test(b)&&r.test(d)){i=c.style;f=i.width;g=i.minWidth;h=i.maxWidth;i.minWidth=i.maxWidth=i.width=b;b=e.width;i.width=f;i.minWidth=g;i.maxWidth=h}return b},style:function(c,d,b){var c=a.query(c),f,g=c[0]; if(h.isPlainObject(d))for(f in d)for(g=c.length-1;g>=0;g--)e(c[g],f,d[f]);else{if(b===void 0){f="";g&&(f=e(g,d,b));return f}for(g=c.length-1;g>=0;g--)e(c[g],d,b)}},css:function(c,d,b){var c=a.query(c),f=c[0],g;if(h.isPlainObject(d))for(g in d)for(f=c.length-1;f>=0;f--)e(c[f],g,d[g]);else{d=q(d);g=D[d];if(b===void 0){b="";if(f&&(!g||!("get"in g&&(b=g.get(f,true))!==void 0)))b=a._getComputedStyle(f,d);return typeof b==="undefined"?"":b}for(f=c.length-1;f>=0;f--)e(c[f],d,b)}},show:function(c){var c= a.query(c),d,b,e;for(e=c.length-1;e>=0;e--){b=c[e];b.style.display=a.data(b,i)||p;if(a.css(b,"display")==="none"){d=b.tagName.toLowerCase();var g=void 0,h=F[d],j=void 0;if(!F[d]){g=f.body||f.documentElement;j=f.createElement(d);a.prepend(j,g);h=a.css(j,"display");g.removeChild(j);F[d]=h}d=h;a.data(b,i,d);b.style.display=d}}},hide:function(c){var c=a.query(c),d,b;for(b=c.length-1;b>=0;b--){d=c[b];var e=d.style,f=e.display;if(f!=="none"){f&&a.data(d,i,f);e.display="none"}}},toggle:function(c){var c= @@ -55,11 +55,11 @@ b.getElementsByTagName("*");b.setAttribute("unselectable","on");for(g=["iframe", return e};D[c]={get:function(a,d){var b;d&&(b=l(a,c)+"px");return b}}});var L={position:"absolute",visibility:"hidden",display:"block"};h.each(["left","top"],function(c){D[c]={get:function(d,b){var e,g,h;if(b){h=a.css(d,"position");if(h==="static")return"auto";e=a._getComputedStyle(d,c);if((g=e==="auto")&&h==="relative")return"0px";if(g||H.test(e)){h={top:0,left:0};if(a.css(d,"position")==="fixed")g=d.getBoundingClientRect();else{for(e=d.offsetParent||(d.ownerDocument||f).body;e&&!M.test(e.nodeName)&& a.css(e,"position")==="static";)e=e.offsetParent;g=a.offset(d);h=a.offset(e);h.top=h.top+(parseFloat(a.css(e,"borderTopWidth"))||0);h.left=h.left+(parseFloat(a.css(e,"borderLeftWidth"))||0)}g.top=g.top-(parseFloat(a.css(d,"marginTop"))||0);g.left=g.left-(parseFloat(a.css(d,"marginLeft"))||0);e={top:g.top-h.top,left:g.left-h.left}[c]+"px"}}return e}}});var M=/^(?:body|html)$/i;return a}); KISSY.add("dom/base/selector",["./api"],function(h,m){function n(a){var c=this.length,d;for(d=0;d|\||\$|\^|\*|\(|\)|[\w-]+\.[\w-]+|[\w-]+#[\w-]+/)&&t){j=a.split(/\s+/);var p=m,A,y;k=0;for(o=j.length;k< -o;k++){A=j;y=k;var E;E=j[k];var I=E.charAt(0);E="#"===I?b(q(E)):"."===I?e(q(E)):l(E);A[y]=E}k=0;for(o=j.length;k|\||\$|\^|\*|\(|\)|[\w-]+\.[\w-]+|[\w-]+#[\w-]+/)&&t){j=a.split(/\s+/);var p=m,A,y;k=0;for(o= +j.length;k -1'); -function visit368_220_1(result) { - _$jscoverage['/base/selector.js'].branchData['220'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['217'][1].init(64, 20, 'ret && ret.specified'); +function visit370_217_1(result) { + _$jscoverage['/base/selector.js'].branchData['217'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['219'][1].init(25, 127, '(className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); -function visit367_219_1(result) { - _$jscoverage['/base/selector.js'].branchData['219'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['216'][1].init(19, 31, 'el && el.getAttributeNode(name)'); +function visit369_216_1(result) { + _$jscoverage['/base/selector.js'].branchData['216'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['218'][1].init(92, 153, 'className && (className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); -function visit366_218_1(result) { - _$jscoverage['/base/selector.js'].branchData['218'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['212'][1].init(66, 60, '(SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); +function visit368_212_1(result) { + _$jscoverage['/base/selector.js'].branchData['212'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['217'][1].init(49, 26, 'el && getAttr(el, \'class\')'); -function visit365_217_1(result) { - _$jscoverage['/base/selector.js'].branchData['217'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['211'][2].init(163, 127, '(className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); +function visit367_211_2(result) { + _$jscoverage['/base/selector.js'].branchData['211'][2].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['200'][1].init(29, 35, 'Dom._contains(contexts[ci], tmp[i])'); -function visit364_200_1(result) { - _$jscoverage['/base/selector.js'].branchData['200'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['211'][1].init(149, 141, 'className && (className = className.replace(/[\\r\\t\\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1'); +function visit366_211_1(result) { + _$jscoverage['/base/selector.js'].branchData['211'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['199'][1].init(34, 16, 'ci < contextsLen'); -function visit363_199_1(result) { - _$jscoverage['/base/selector.js'].branchData['199'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['210'][1].init(106, 26, 'el && getAttr(el, \'class\')'); +function visit365_210_1(result) { + _$jscoverage['/base/selector.js'].branchData['210'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['198'][1].init(148, 7, 'i < len'); -function visit362_198_1(result) { - _$jscoverage['/base/selector.js'].branchData['198'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['192'][1].init(29, 35, 'Dom._contains(contexts[ci], tmp[i])'); +function visit364_192_1(result) { + _$jscoverage['/base/selector.js'].branchData['192'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['193'][1].init(923, 14, '!simpleContext'); -function visit361_193_1(result) { - _$jscoverage['/base/selector.js'].branchData['193'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['191'][1].init(34, 16, 'ci < contextsLen'); +function visit363_191_1(result) { + _$jscoverage['/base/selector.js'].branchData['191'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['187'][1].init(768, 23, 'isDomNodeList(selector)'); -function visit360_187_1(result) { - _$jscoverage['/base/selector.js'].branchData['187'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['190'][1].init(148, 7, 'i < len'); +function visit362_190_1(result) { + _$jscoverage['/base/selector.js'].branchData['190'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['179'][1].init(465, 17, 'isArray(selector)'); -function visit359_179_1(result) { - _$jscoverage['/base/selector.js'].branchData['179'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['185'][1].init(1023, 14, '!simpleContext'); +function visit361_185_1(result) { + _$jscoverage['/base/selector.js'].branchData['185'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['173'][1].init(257, 20, 'selector.getDOMNodes'); -function visit358_173_1(result) { - _$jscoverage['/base/selector.js'].branchData['173'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['174'][1].init(636, 23, 'isDomNodeList(selector)'); +function visit360_174_1(result) { + _$jscoverage['/base/selector.js'].branchData['174'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['169'][1].init(98, 40, 'selector.nodeType || selector.setTimeout'); -function visit357_169_1(result) { +}_$jscoverage['/base/selector.js'].branchData['169'][1].init(445, 17, 'isArray(selector)'); +function visit359_169_1(result) { _$jscoverage['/base/selector.js'].branchData['169'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['160'][3].init(260, 15, 'contextsLen > 1'); -function visit356_160_3(result) { - _$jscoverage['/base/selector.js'].branchData['160'][3].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['166'][1].init(302, 20, 'selector.getDOMNodes'); +function visit358_166_1(result) { + _$jscoverage['/base/selector.js'].branchData['166'][1].ranCondition(result); + return result; +}_$jscoverage['/base/selector.js'].branchData['164'][1].init(199, 41, 'selector.nodeType || S.isWindow(selector)'); +function visit357_164_1(result) { + _$jscoverage['/base/selector.js'].branchData['164'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['160'][2].init(242, 14, 'ret.length > 1'); -function visit355_160_2(result) { - _$jscoverage['/base/selector.js'].branchData['160'][2].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['155'][3].init(260, 15, 'contextsLen > 1'); +function visit356_155_3(result) { + _$jscoverage['/base/selector.js'].branchData['155'][3].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['160'][1].init(242, 33, 'ret.length > 1 && contextsLen > 1'); -function visit354_160_1(result) { - _$jscoverage['/base/selector.js'].branchData['160'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['155'][2].init(242, 14, 'ret.length > 1'); +function visit355_155_2(result) { + _$jscoverage['/base/selector.js'].branchData['155'][2].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['156'][1].init(55, 15, 'i < contextsLen'); -function visit353_156_1(result) { - _$jscoverage['/base/selector.js'].branchData['156'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['155'][1].init(242, 33, 'ret.length > 1 && contextsLen > 1'); +function visit354_155_1(result) { + _$jscoverage['/base/selector.js'].branchData['155'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['154'][1].init(2385, 4, '!ret'); -function visit352_154_1(result) { - _$jscoverage['/base/selector.js'].branchData['154'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['151'][1].init(55, 15, 'i < contextsLen'); +function visit353_151_1(result) { + _$jscoverage['/base/selector.js'].branchData['151'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['150'][2].init(1139, 18, 'parents.length > 1'); -function visit351_150_2(result) { - _$jscoverage['/base/selector.js'].branchData['150'][2].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['149'][1].init(2342, 4, '!ret'); +function visit352_149_1(result) { + _$jscoverage['/base/selector.js'].branchData['149'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['150'][1].init(1128, 29, 'parents && parents.length > 1'); -function visit350_150_1(result) { - _$jscoverage['/base/selector.js'].branchData['150'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['145'][2].init(1180, 18, 'parents.length > 1'); +function visit351_145_2(result) { + _$jscoverage['/base/selector.js'].branchData['145'][2].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['146'][1].init(558, 15, '!parents.length'); -function visit349_146_1(result) { - _$jscoverage['/base/selector.js'].branchData['146'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['145'][1].init(1169, 29, 'parents && parents.length > 1'); +function visit350_145_1(result) { + _$jscoverage['/base/selector.js'].branchData['145'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['139'][1].init(79, 24, 'parentIndex < parentsLen'); -function visit348_139_1(result) { - _$jscoverage['/base/selector.js'].branchData['139'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['141'][1].init(555, 15, '!parents.length'); +function visit349_141_1(result) { + _$jscoverage['/base/selector.js'].branchData['141'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['133'][1].init(422, 12, 'i < partsLen'); -function visit347_133_1(result) { - _$jscoverage['/base/selector.js'].branchData['133'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['134'][1].init(79, 24, 'parentIndex < parentsLen'); +function visit348_134_1(result) { + _$jscoverage['/base/selector.js'].branchData['134'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['129'][1].init(265, 12, 'i < partsLen'); -function visit346_129_1(result) { - _$jscoverage['/base/selector.js'].branchData['129'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['128'][1].init(466, 12, 'i < partsLen'); +function visit347_128_1(result) { + _$jscoverage['/base/selector.js'].branchData['128'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['122'][1].init(1015, 59, 'isSimpleSelector(selector) && supportGetElementsByClassName'); -function visit345_122_1(result) { - _$jscoverage['/base/selector.js'].branchData['122'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['124'][1].init(309, 12, 'i < partsLen'); +function visit346_124_1(result) { + _$jscoverage['/base/selector.js'].branchData['124'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['118'][1].init(838, 27, 'rTagSelector.test(selector)'); -function visit344_118_1(result) { - _$jscoverage['/base/selector.js'].branchData['118'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['116'][1].init(931, 59, 'isSimpleSelector(selector) && supportGetElementsByClassName'); +function visit345_116_1(result) { + _$jscoverage['/base/selector.js'].branchData['116'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['113'][1].init(628, 26, 'rIdSelector.test(selector)'); -function visit343_113_1(result) { +}_$jscoverage['/base/selector.js'].branchData['113'][1].init(772, 27, 'rTagSelector.test(selector)'); +function visit344_113_1(result) { _$jscoverage['/base/selector.js'].branchData['113'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['110'][2].init(95, 39, 'el.nodeName.toLowerCase() === RegExp.$1'); -function visit342_110_2(result) { - _$jscoverage['/base/selector.js'].branchData['110'][2].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['109'][1].init(574, 26, 'rIdSelector.test(selector)'); +function visit343_109_1(result) { + _$jscoverage['/base/selector.js'].branchData['109'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['110'][1].init(89, 45, 'el && el.nodeName.toLowerCase() === RegExp.$1'); -function visit341_110_1(result) { - _$jscoverage['/base/selector.js'].branchData['110'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['108'][2].init(125, 39, 'el.nodeName.toLowerCase() === RegExp.$1'); +function visit342_108_2(result) { + _$jscoverage['/base/selector.js'].branchData['108'][2].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['108'][1].init(381, 29, 'rTagIdSelector.test(selector)'); -function visit340_108_1(result) { +}_$jscoverage['/base/selector.js'].branchData['108'][1].init(119, 45, 'el && el.nodeName.toLowerCase() === RegExp.$1'); +function visit341_108_1(result) { _$jscoverage['/base/selector.js'].branchData['108'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['104'][1].init(180, 62, 'rClassSelector.test(selector) && supportGetElementsByClassName'); -function visit339_104_1(result) { - _$jscoverage['/base/selector.js'].branchData['104'][1].ranCondition(result); +}_$jscoverage['/base/selector.js'].branchData['105'][1].init(336, 29, 'rTagIdSelector.test(selector)'); +function visit340_105_1(result) { + _$jscoverage['/base/selector.js'].branchData['105'][1].ranCondition(result); + return result; +}_$jscoverage['/base/selector.js'].branchData['102'][1].init(138, 62, 'rClassSelector.test(selector) && supportGetElementsByClassName'); +function visit339_102_1(result) { + _$jscoverage['/base/selector.js'].branchData['102'][1].ranCondition(result); return result; }_$jscoverage['/base/selector.js'].branchData['100'][1].init(49, 19, 'selector === \'body\''); function visit338_100_1(result) { @@ -827,11 +826,11 @@ function visit329_49_1(result) { function visit328_41_1(result) { _$jscoverage['/base/selector.js'].branchData['41'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['33'][1].init(17, 22, 'f(els[i], i) === false'); +}_$jscoverage['/base/selector.js'].branchData['33'][1].init(17, 23, 'f(self[i], i) === false'); function visit327_33_1(result) { _$jscoverage['/base/selector.js'].branchData['33'][1].ranCondition(result); return result; -}_$jscoverage['/base/selector.js'].branchData['32'][1].init(88, 5, 'i < l'); +}_$jscoverage['/base/selector.js'].branchData['32'][1].init(90, 5, 'i < l'); function visit326_32_1(result) { _$jscoverage['/base/selector.js'].branchData['32'][1].ranCondition(result); return result; @@ -862,11 +861,11 @@ KISSY.add(function(S, require) { function queryEach(f) { _$jscoverage['/base/selector.js'].functionData[1]++; _$jscoverage['/base/selector.js'].lineData[29]++; - var els = this, l = els.length, i; + var self = this, l = self.length, i; _$jscoverage['/base/selector.js'].lineData[32]++; for (i = 0; visit326_32_1(i < l); i++) { _$jscoverage['/base/selector.js'].lineData[33]++; - if (visit327_33_1(f(els[i], i) === false)) { + if (visit327_33_1(f(self[i], i) === false)) { _$jscoverage['/base/selector.js'].lineData[34]++; break; } @@ -966,60 +965,60 @@ KISSY.add(function(S, require) { _$jscoverage['/base/selector.js'].lineData[101]++; ret = [doc.body]; } else { - _$jscoverage['/base/selector.js'].lineData[104]++; - if (visit339_104_1(rClassSelector.test(selector) && supportGetElementsByClassName)) { - _$jscoverage['/base/selector.js'].lineData[105]++; - ret = doc.getElementsByClassName(RegExp.$1); + _$jscoverage['/base/selector.js'].lineData[102]++; + if (visit339_102_1(rClassSelector.test(selector) && supportGetElementsByClassName)) { + _$jscoverage['/base/selector.js'].lineData[104]++; + ret = makeArray(doc.getElementsByClassName(RegExp.$1)); } else { - _$jscoverage['/base/selector.js'].lineData[108]++; - if (visit340_108_1(rTagIdSelector.test(selector))) { - _$jscoverage['/base/selector.js'].lineData[109]++; + _$jscoverage['/base/selector.js'].lineData[105]++; + if (visit340_105_1(rTagIdSelector.test(selector))) { + _$jscoverage['/base/selector.js'].lineData[107]++; el = Dom._getElementById(RegExp.$2, doc); - _$jscoverage['/base/selector.js'].lineData[110]++; - ret = visit341_110_1(el && visit342_110_2(el.nodeName.toLowerCase() === RegExp.$1)) ? [el] : []; + _$jscoverage['/base/selector.js'].lineData[108]++; + ret = visit341_108_1(el && visit342_108_2(el.nodeName.toLowerCase() === RegExp.$1)) ? [el] : []; } else { - _$jscoverage['/base/selector.js'].lineData[113]++; - if (visit343_113_1(rIdSelector.test(selector))) { - _$jscoverage['/base/selector.js'].lineData[114]++; + _$jscoverage['/base/selector.js'].lineData[109]++; + if (visit343_109_1(rIdSelector.test(selector))) { + _$jscoverage['/base/selector.js'].lineData[111]++; el = Dom._getElementById(selector.substr(1), doc); - _$jscoverage['/base/selector.js'].lineData[115]++; + _$jscoverage['/base/selector.js'].lineData[112]++; ret = el ? [el] : []; } else { - _$jscoverage['/base/selector.js'].lineData[118]++; - if (visit344_118_1(rTagSelector.test(selector))) { - _$jscoverage['/base/selector.js'].lineData[119]++; - ret = doc.getElementsByTagName(selector); + _$jscoverage['/base/selector.js'].lineData[113]++; + if (visit344_113_1(rTagSelector.test(selector))) { + _$jscoverage['/base/selector.js'].lineData[115]++; + ret = makeArray(doc.getElementsByTagName(selector)); } else { - _$jscoverage['/base/selector.js'].lineData[122]++; - if (visit345_122_1(isSimpleSelector(selector) && supportGetElementsByClassName)) { - _$jscoverage['/base/selector.js'].lineData[123]++; + _$jscoverage['/base/selector.js'].lineData[116]++; + if (visit345_116_1(isSimpleSelector(selector) && supportGetElementsByClassName)) { + _$jscoverage['/base/selector.js'].lineData[118]++; var parts = selector.split(/\s+/), partsLen, parents = contexts, parentIndex, parentsLen; - _$jscoverage['/base/selector.js'].lineData[129]++; - for (i = 0 , partsLen = parts.length; visit346_129_1(i < partsLen); i++) { - _$jscoverage['/base/selector.js'].lineData[130]++; + _$jscoverage['/base/selector.js'].lineData[124]++; + for (i = 0 , partsLen = parts.length; visit346_124_1(i < partsLen); i++) { + _$jscoverage['/base/selector.js'].lineData[125]++; parts[i] = makeMatch(parts[i]); } - _$jscoverage['/base/selector.js'].lineData[133]++; - for (i = 0 , partsLen = parts.length; visit347_133_1(i < partsLen); i++) { - _$jscoverage['/base/selector.js'].lineData[134]++; + _$jscoverage['/base/selector.js'].lineData[128]++; + for (i = 0 , partsLen = parts.length; visit347_128_1(i < partsLen); i++) { + _$jscoverage['/base/selector.js'].lineData[129]++; var part = parts[i], newParents = [], matches; - _$jscoverage['/base/selector.js'].lineData[138]++; - for (parentIndex = 0 , parentsLen = parents.length; visit348_139_1(parentIndex < parentsLen); parentIndex++) { - _$jscoverage['/base/selector.js'].lineData[141]++; + _$jscoverage['/base/selector.js'].lineData[133]++; + for (parentIndex = 0 , parentsLen = parents.length; visit348_134_1(parentIndex < parentsLen); parentIndex++) { + _$jscoverage['/base/selector.js'].lineData[136]++; matches = part(parents[parentIndex]); - _$jscoverage['/base/selector.js'].lineData[142]++; - newParents.push.apply(newParents, S.makeArray(matches)); + _$jscoverage['/base/selector.js'].lineData[137]++; + newParents.push.apply(newParents, makeArray(matches)); } - _$jscoverage['/base/selector.js'].lineData[145]++; + _$jscoverage['/base/selector.js'].lineData[140]++; parents = newParents; - _$jscoverage['/base/selector.js'].lineData[146]++; - if (visit349_146_1(!parents.length)) { - _$jscoverage['/base/selector.js'].lineData[147]++; + _$jscoverage['/base/selector.js'].lineData[141]++; + if (visit349_141_1(!parents.length)) { + _$jscoverage['/base/selector.js'].lineData[142]++; break; } } - _$jscoverage['/base/selector.js'].lineData[150]++; - ret = visit350_150_1(parents && visit351_150_2(parents.length > 1)) ? Dom.unique(parents) : parents; + _$jscoverage['/base/selector.js'].lineData[145]++; + ret = visit350_145_1(parents && visit351_145_2(parents.length > 1)) ? Dom.unique(parents) : parents; } } } @@ -1027,63 +1026,63 @@ KISSY.add(function(S, require) { } } } - _$jscoverage['/base/selector.js'].lineData[154]++; - if (visit352_154_1(!ret)) { - _$jscoverage['/base/selector.js'].lineData[155]++; + _$jscoverage['/base/selector.js'].lineData[149]++; + if (visit352_149_1(!ret)) { + _$jscoverage['/base/selector.js'].lineData[150]++; ret = []; - _$jscoverage['/base/selector.js'].lineData[156]++; - for (i = 0; visit353_156_1(i < contextsLen); i++) { - _$jscoverage['/base/selector.js'].lineData[157]++; + _$jscoverage['/base/selector.js'].lineData[151]++; + for (i = 0; visit353_151_1(i < contextsLen); i++) { + _$jscoverage['/base/selector.js'].lineData[152]++; push.apply(ret, Dom._selectInternal(selector, contexts[i])); } - _$jscoverage['/base/selector.js'].lineData[160]++; - if (visit354_160_1(visit355_160_2(ret.length > 1) && visit356_160_3(contextsLen > 1))) { - _$jscoverage['/base/selector.js'].lineData[161]++; + _$jscoverage['/base/selector.js'].lineData[155]++; + if (visit354_155_1(visit355_155_2(ret.length > 1) && visit356_155_3(contextsLen > 1))) { + _$jscoverage['/base/selector.js'].lineData[156]++; Dom.unique(ret); } } } else { - _$jscoverage['/base/selector.js'].lineData[169]++; - if (visit357_169_1(selector.nodeType || selector.setTimeout)) { - _$jscoverage['/base/selector.js'].lineData[170]++; + _$jscoverage['/base/selector.js'].lineData[164]++; + if (visit357_164_1(selector.nodeType || S.isWindow(selector))) { + _$jscoverage['/base/selector.js'].lineData[165]++; ret = [selector]; } else { - _$jscoverage['/base/selector.js'].lineData[173]++; - if (visit358_173_1(selector.getDOMNodes)) { - _$jscoverage['/base/selector.js'].lineData[174]++; + _$jscoverage['/base/selector.js'].lineData[166]++; + if (visit358_166_1(selector.getDOMNodes)) { + _$jscoverage['/base/selector.js'].lineData[168]++; ret = selector.getDOMNodes(); } else { - _$jscoverage['/base/selector.js'].lineData[179]++; - if (visit359_179_1(isArray(selector))) { - _$jscoverage['/base/selector.js'].lineData[180]++; + _$jscoverage['/base/selector.js'].lineData[169]++; + if (visit359_169_1(isArray(selector))) { + _$jscoverage['/base/selector.js'].lineData[173]++; ret = selector; } else { - _$jscoverage['/base/selector.js'].lineData[187]++; - if (visit360_187_1(isDomNodeList(selector))) { - _$jscoverage['/base/selector.js'].lineData[188]++; + _$jscoverage['/base/selector.js'].lineData[174]++; + if (visit360_174_1(isDomNodeList(selector))) { + _$jscoverage['/base/selector.js'].lineData[180]++; ret = makeArray(selector); } else { - _$jscoverage['/base/selector.js'].lineData[190]++; + _$jscoverage['/base/selector.js'].lineData[182]++; ret = [selector]; } } } } - _$jscoverage['/base/selector.js'].lineData[193]++; - if (visit361_193_1(!simpleContext)) { - _$jscoverage['/base/selector.js'].lineData[194]++; + _$jscoverage['/base/selector.js'].lineData[185]++; + if (visit361_185_1(!simpleContext)) { + _$jscoverage['/base/selector.js'].lineData[186]++; var tmp = ret, ci, len = tmp.length; - _$jscoverage['/base/selector.js'].lineData[197]++; + _$jscoverage['/base/selector.js'].lineData[189]++; ret = []; - _$jscoverage['/base/selector.js'].lineData[198]++; - for (i = 0; visit362_198_1(i < len); i++) { - _$jscoverage['/base/selector.js'].lineData[199]++; - for (ci = 0; visit363_199_1(ci < contextsLen); ci++) { - _$jscoverage['/base/selector.js'].lineData[200]++; - if (visit364_200_1(Dom._contains(contexts[ci], tmp[i]))) { - _$jscoverage['/base/selector.js'].lineData[201]++; + _$jscoverage['/base/selector.js'].lineData[190]++; + for (i = 0; visit362_190_1(i < len); i++) { + _$jscoverage['/base/selector.js'].lineData[191]++; + for (ci = 0; visit363_191_1(ci < contextsLen); ci++) { + _$jscoverage['/base/selector.js'].lineData[192]++; + if (visit364_192_1(Dom._contains(contexts[ci], tmp[i]))) { + _$jscoverage['/base/selector.js'].lineData[193]++; ret.push(tmp[i]); - _$jscoverage['/base/selector.js'].lineData[202]++; + _$jscoverage['/base/selector.js'].lineData[194]++; break; } } @@ -1091,60 +1090,60 @@ KISSY.add(function(S, require) { } } } - _$jscoverage['/base/selector.js'].lineData[210]++; + _$jscoverage['/base/selector.js'].lineData[202]++; ret.each = queryEach; - _$jscoverage['/base/selector.js'].lineData[212]++; + _$jscoverage['/base/selector.js'].lineData[204]++; return ret; } - _$jscoverage['/base/selector.js'].lineData[215]++; + _$jscoverage['/base/selector.js'].lineData[207]++; function hasSingleClass(el, cls) { _$jscoverage['/base/selector.js'].functionData[12]++; - _$jscoverage['/base/selector.js'].lineData[217]++; - var className = visit365_217_1(el && getAttr(el, 'class')); - _$jscoverage['/base/selector.js'].lineData[218]++; - return visit366_218_1(className && visit367_219_1((className = className.replace(/[\r\t\n]/g, SPACE)) && visit368_220_1((SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1))); + _$jscoverage['/base/selector.js'].lineData[210]++; + var className = visit365_210_1(el && getAttr(el, 'class')); + _$jscoverage['/base/selector.js'].lineData[211]++; + return visit366_211_1(className && visit367_211_2((className = className.replace(/[\r\t\n]/g, SPACE)) && visit368_212_1((SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1))); } - _$jscoverage['/base/selector.js'].lineData[223]++; + _$jscoverage['/base/selector.js'].lineData[215]++; function getAttr(el, name) { _$jscoverage['/base/selector.js'].functionData[13]++; - _$jscoverage['/base/selector.js'].lineData[224]++; - var ret = visit369_224_1(el && el.getAttributeNode(name)); - _$jscoverage['/base/selector.js'].lineData[225]++; - if (visit370_225_1(ret && ret.specified)) { - _$jscoverage['/base/selector.js'].lineData[226]++; + _$jscoverage['/base/selector.js'].lineData[216]++; + var ret = visit369_216_1(el && el.getAttributeNode(name)); + _$jscoverage['/base/selector.js'].lineData[217]++; + if (visit370_217_1(ret && ret.specified)) { + _$jscoverage['/base/selector.js'].lineData[218]++; return ret.nodeValue; } - _$jscoverage['/base/selector.js'].lineData[228]++; + _$jscoverage['/base/selector.js'].lineData[220]++; return undefined; } - _$jscoverage['/base/selector.js'].lineData[231]++; + _$jscoverage['/base/selector.js'].lineData[223]++; function isTag(el, value) { _$jscoverage['/base/selector.js'].functionData[14]++; - _$jscoverage['/base/selector.js'].lineData[232]++; - return visit371_232_1(visit372_232_2(value === '*') || visit373_232_3(el.nodeName.toLowerCase() === value.toLowerCase())); + _$jscoverage['/base/selector.js'].lineData[224]++; + return visit371_224_1(visit372_224_2(value === '*') || visit373_224_3(el.nodeName.toLowerCase() === value.toLowerCase())); } - _$jscoverage['/base/selector.js'].lineData[235]++; + _$jscoverage['/base/selector.js'].lineData[227]++; S.mix(Dom, { _compareNodeOrder: function(a, b) { _$jscoverage['/base/selector.js'].functionData[15]++; - _$jscoverage['/base/selector.js'].lineData[243]++; - if (visit374_243_1(!a.compareDocumentPosition || !b.compareDocumentPosition)) { - _$jscoverage['/base/selector.js'].lineData[244]++; + _$jscoverage['/base/selector.js'].lineData[235]++; + if (visit374_235_1(!a.compareDocumentPosition || !b.compareDocumentPosition)) { + _$jscoverage['/base/selector.js'].lineData[236]++; return a.compareDocumentPosition ? -1 : 1; } - _$jscoverage['/base/selector.js'].lineData[246]++; + _$jscoverage['/base/selector.js'].lineData[238]++; var bit = a.compareDocumentPosition(b) & 4; - _$jscoverage['/base/selector.js'].lineData[247]++; + _$jscoverage['/base/selector.js'].lineData[239]++; return bit ? -1 : 1; }, _getElementsByTagName: function(name, context) { _$jscoverage['/base/selector.js'].functionData[16]++; - _$jscoverage['/base/selector.js'].lineData[252]++; - return S.makeArray(context.querySelectorAll(name)); + _$jscoverage['/base/selector.js'].lineData[244]++; + return makeArray(context.querySelectorAll(name)); }, _getElementById: function(id, doc) { _$jscoverage['/base/selector.js'].functionData[17]++; - _$jscoverage['/base/selector.js'].lineData[256]++; + _$jscoverage['/base/selector.js'].lineData[248]++; return doc.getElementById(id); }, _getSimpleAttr: getAttr, @@ -1152,148 +1151,148 @@ KISSY.add(function(S, require) { _hasSingleClass: hasSingleClass, _matchesInternal: function(str, seeds) { _$jscoverage['/base/selector.js'].functionData[18]++; - _$jscoverage['/base/selector.js'].lineData[266]++; + _$jscoverage['/base/selector.js'].lineData[258]++; var ret = [], i = 0, n, len = seeds.length; - _$jscoverage['/base/selector.js'].lineData[270]++; - for (; visit375_270_1(i < len); i++) { - _$jscoverage['/base/selector.js'].lineData[271]++; + _$jscoverage['/base/selector.js'].lineData[262]++; + for (; visit375_262_1(i < len); i++) { + _$jscoverage['/base/selector.js'].lineData[263]++; n = seeds[i]; - _$jscoverage['/base/selector.js'].lineData[272]++; - if (visit376_272_1(matches.call(n, str))) { - _$jscoverage['/base/selector.js'].lineData[273]++; + _$jscoverage['/base/selector.js'].lineData[264]++; + if (visit376_264_1(matches.call(n, str))) { + _$jscoverage['/base/selector.js'].lineData[265]++; ret.push(n); } } - _$jscoverage['/base/selector.js'].lineData[276]++; + _$jscoverage['/base/selector.js'].lineData[268]++; return ret; }, _selectInternal: function(str, context) { _$jscoverage['/base/selector.js'].functionData[19]++; - _$jscoverage['/base/selector.js'].lineData[280]++; + _$jscoverage['/base/selector.js'].lineData[272]++; return makeArray(context.querySelectorAll(str)); }, query: query, get: function(selector, context) { _$jscoverage['/base/selector.js'].functionData[20]++; - _$jscoverage['/base/selector.js'].lineData[305]++; - return visit377_305_1(query(selector, context)[0] || null); + _$jscoverage['/base/selector.js'].lineData[298]++; + return visit377_298_1(query(selector, context)[0] || null); }, unique: (function() { _$jscoverage['/base/selector.js'].functionData[21]++; - _$jscoverage['/base/selector.js'].lineData[317]++; + _$jscoverage['/base/selector.js'].lineData[310]++; var hasDuplicate, baseHasDuplicate = true; - _$jscoverage['/base/selector.js'].lineData[324]++; + _$jscoverage['/base/selector.js'].lineData[317]++; [0, 0].sort(function() { _$jscoverage['/base/selector.js'].functionData[22]++; - _$jscoverage['/base/selector.js'].lineData[325]++; + _$jscoverage['/base/selector.js'].lineData[318]++; baseHasDuplicate = false; - _$jscoverage['/base/selector.js'].lineData[326]++; + _$jscoverage['/base/selector.js'].lineData[319]++; return 0; }); - _$jscoverage['/base/selector.js'].lineData[329]++; + _$jscoverage['/base/selector.js'].lineData[322]++; function sortOrder(a, b) { _$jscoverage['/base/selector.js'].functionData[23]++; - _$jscoverage['/base/selector.js'].lineData[330]++; - if (visit378_330_1(a === b)) { - _$jscoverage['/base/selector.js'].lineData[331]++; + _$jscoverage['/base/selector.js'].lineData[323]++; + if (visit378_323_1(a === b)) { + _$jscoverage['/base/selector.js'].lineData[324]++; hasDuplicate = true; - _$jscoverage['/base/selector.js'].lineData[332]++; + _$jscoverage['/base/selector.js'].lineData[325]++; return 0; } - _$jscoverage['/base/selector.js'].lineData[335]++; + _$jscoverage['/base/selector.js'].lineData[328]++; return Dom._compareNodeOrder(a, b); } - _$jscoverage['/base/selector.js'].lineData[339]++; + _$jscoverage['/base/selector.js'].lineData[332]++; return function(elements) { _$jscoverage['/base/selector.js'].functionData[24]++; - _$jscoverage['/base/selector.js'].lineData[341]++; + _$jscoverage['/base/selector.js'].lineData[334]++; hasDuplicate = baseHasDuplicate; - _$jscoverage['/base/selector.js'].lineData[342]++; + _$jscoverage['/base/selector.js'].lineData[335]++; elements.sort(sortOrder); - _$jscoverage['/base/selector.js'].lineData[344]++; - if (visit379_344_1(hasDuplicate)) { - _$jscoverage['/base/selector.js'].lineData[345]++; + _$jscoverage['/base/selector.js'].lineData[337]++; + if (visit379_337_1(hasDuplicate)) { + _$jscoverage['/base/selector.js'].lineData[338]++; var i = 1, len = elements.length; - _$jscoverage['/base/selector.js'].lineData[346]++; - while (visit380_346_1(i < len)) { - _$jscoverage['/base/selector.js'].lineData[347]++; - if (visit381_347_1(elements[i] === elements[i - 1])) { - _$jscoverage['/base/selector.js'].lineData[348]++; + _$jscoverage['/base/selector.js'].lineData[339]++; + while (visit380_339_1(i < len)) { + _$jscoverage['/base/selector.js'].lineData[340]++; + if (visit381_340_1(elements[i] === elements[i - 1])) { + _$jscoverage['/base/selector.js'].lineData[341]++; elements.splice(i, 1); - _$jscoverage['/base/selector.js'].lineData[349]++; + _$jscoverage['/base/selector.js'].lineData[342]++; --len; } else { - _$jscoverage['/base/selector.js'].lineData[351]++; + _$jscoverage['/base/selector.js'].lineData[344]++; i++; } } } - _$jscoverage['/base/selector.js'].lineData[356]++; + _$jscoverage['/base/selector.js'].lineData[349]++; return elements; }; })(), filter: function(selector, filter, context) { _$jscoverage['/base/selector.js'].functionData[25]++; - _$jscoverage['/base/selector.js'].lineData[369]++; + _$jscoverage['/base/selector.js'].lineData[362]++; var elems = query(selector, context), id, tag, match, cls, ret = []; - _$jscoverage['/base/selector.js'].lineData[376]++; - if (visit382_376_1(visit383_376_2(typeof filter === 'string') && visit384_377_1((filter = trim(filter)) && (match = rSimpleSelector.exec(filter))))) { - _$jscoverage['/base/selector.js'].lineData[379]++; + _$jscoverage['/base/selector.js'].lineData[369]++; + if (visit382_369_1(visit383_369_2(typeof filter === 'string') && visit384_370_1((filter = trim(filter)) && (match = rSimpleSelector.exec(filter))))) { + _$jscoverage['/base/selector.js'].lineData[372]++; id = match[1]; - _$jscoverage['/base/selector.js'].lineData[380]++; + _$jscoverage['/base/selector.js'].lineData[373]++; tag = match[2]; - _$jscoverage['/base/selector.js'].lineData[381]++; + _$jscoverage['/base/selector.js'].lineData[374]++; cls = match[3]; - _$jscoverage['/base/selector.js'].lineData[382]++; - if (visit385_382_1(!id)) { - _$jscoverage['/base/selector.js'].lineData[383]++; + _$jscoverage['/base/selector.js'].lineData[375]++; + if (visit385_375_1(!id)) { + _$jscoverage['/base/selector.js'].lineData[376]++; filter = function(elem) { _$jscoverage['/base/selector.js'].functionData[26]++; - _$jscoverage['/base/selector.js'].lineData[384]++; + _$jscoverage['/base/selector.js'].lineData[377]++; var tagRe = true, clsRe = true; - _$jscoverage['/base/selector.js'].lineData[388]++; - if (visit386_388_1(tag)) { - _$jscoverage['/base/selector.js'].lineData[389]++; + _$jscoverage['/base/selector.js'].lineData[381]++; + if (visit386_381_1(tag)) { + _$jscoverage['/base/selector.js'].lineData[382]++; tagRe = isTag(elem, tag); } - _$jscoverage['/base/selector.js'].lineData[393]++; - if (visit387_393_1(cls)) { - _$jscoverage['/base/selector.js'].lineData[394]++; + _$jscoverage['/base/selector.js'].lineData[386]++; + if (visit387_386_1(cls)) { + _$jscoverage['/base/selector.js'].lineData[387]++; clsRe = hasSingleClass(elem, cls); } - _$jscoverage['/base/selector.js'].lineData[397]++; - return visit388_397_1(clsRe && tagRe); + _$jscoverage['/base/selector.js'].lineData[390]++; + return visit388_390_1(clsRe && tagRe); }; } else { - _$jscoverage['/base/selector.js'].lineData[399]++; - if (visit389_399_1(id && visit390_399_2(!tag && !cls))) { - _$jscoverage['/base/selector.js'].lineData[400]++; + _$jscoverage['/base/selector.js'].lineData[392]++; + if (visit389_392_1(id && visit390_392_2(!tag && !cls))) { + _$jscoverage['/base/selector.js'].lineData[393]++; filter = function(elem) { _$jscoverage['/base/selector.js'].functionData[27]++; - _$jscoverage['/base/selector.js'].lineData[401]++; - return visit391_401_1(getAttr(elem, 'id') === id); + _$jscoverage['/base/selector.js'].lineData[394]++; + return visit391_394_1(getAttr(elem, 'id') === id); }; } } } - _$jscoverage['/base/selector.js'].lineData[406]++; - if (visit392_406_1(typeof filter === 'function')) { - _$jscoverage['/base/selector.js'].lineData[407]++; + _$jscoverage['/base/selector.js'].lineData[399]++; + if (visit392_399_1(typeof filter === 'function')) { + _$jscoverage['/base/selector.js'].lineData[400]++; ret = S.filter(elems, filter); } else { - _$jscoverage['/base/selector.js'].lineData[409]++; + _$jscoverage['/base/selector.js'].lineData[402]++; ret = Dom._matchesInternal(filter, elems); } - _$jscoverage['/base/selector.js'].lineData[412]++; + _$jscoverage['/base/selector.js'].lineData[405]++; return ret; }, test: function(selector, filter, context) { _$jscoverage['/base/selector.js'].functionData[28]++; - _$jscoverage['/base/selector.js'].lineData[424]++; + _$jscoverage['/base/selector.js'].lineData[417]++; var elements = query(selector, context); - _$jscoverage['/base/selector.js'].lineData[425]++; - return visit393_425_1(elements.length && (visit394_425_2(Dom.filter(elements, filter, context).length === elements.length))); + _$jscoverage['/base/selector.js'].lineData[418]++; + return visit393_418_1(elements.length && (visit394_418_2(Dom.filter(elements, filter, context).length === elements.length))); }}); - _$jscoverage['/base/selector.js'].lineData[429]++; + _$jscoverage['/base/selector.js'].lineData[422]++; return Dom; }); diff --git a/src/dom/sub-modules/base/src/base/selector.js b/src/dom/sub-modules/base/src/base/selector.js index 2bc72debb0..d7f17c7de8 100644 --- a/src/dom/sub-modules/base/src/base/selector.js +++ b/src/dom/sub-modules/base/src/base/selector.js @@ -26,11 +26,11 @@ KISSY.add(function (S, require) { trim = S.trim; function queryEach(f) { - var els = this, - l = els.length, + var self = this, + l = self.length, i; for (i = 0; i < l; i++) { - if (f(els[i], i) === false) { + if (f(self[i], i) === false) { break; } } @@ -58,7 +58,7 @@ KISSY.add(function (S, require) { function makeIdMatch(id) { return function (elem) { var match = Dom._getElementById(id, doc); - return match && Dom._contains(elem, match) ? [ match ] : [ ]; + return match && Dom._contains(elem, match) ? [match] : []; }; } @@ -98,28 +98,23 @@ KISSY.add(function (S, require) { if (simpleContext) { // shortcut if (selector === 'body') { - ret = [ doc.body ]; - } - // .cls - else if (rClassSelector.test(selector) && supportGetElementsByClassName) { - ret = doc.getElementsByClassName(RegExp.$1); - } - // tag#id - else if (rTagIdSelector.test(selector)) { + ret = [doc.body]; + } else if (rClassSelector.test(selector) && supportGetElementsByClassName) { + // .cls + ret = makeArray(doc.getElementsByClassName(RegExp.$1)); + } else if (rTagIdSelector.test(selector)) { + // tag#id el = Dom._getElementById(RegExp.$2, doc); ret = el && el.nodeName.toLowerCase() === RegExp.$1 ? [el] : []; - } - // #id - else if (rIdSelector.test(selector)) { + } else if (rIdSelector.test(selector)) { + // #id el = Dom._getElementById(selector.substr(1), doc); ret = el ? [el] : []; - } - // tag - else if (rTagSelector.test(selector)) { - ret = doc.getElementsByTagName(selector); - } - // #id tag, #id .cls... - else if (isSimpleSelector(selector) && supportGetElementsByClassName) { + } else if (rTagSelector.test(selector)) { + // tag + ret = makeArray(doc.getElementsByTagName(selector)); + } else if (isSimpleSelector(selector) && supportGetElementsByClassName) { + // #id tag, #id .cls... var parts = selector.split(/\s+/), partsLen, parents = contexts, @@ -132,14 +127,14 @@ KISSY.add(function (S, require) { for (i = 0, partsLen = parts.length; i < partsLen; i++) { var part = parts[i], - newParents = [ ], + newParents = [], matches; for (parentIndex = 0, parentsLen = parents.length; parentIndex < parentsLen; parentIndex++) { matches = part(parents[parentIndex]); - newParents.push.apply(newParents, S.makeArray(matches)); + newParents.push.apply(newParents, makeArray(matches)); } parents = newParents; @@ -161,33 +156,30 @@ KISSY.add(function (S, require) { Dom.unique(ret); } } - } - // 不写 context,就是包装一下 - else { + } else { + // 不写 context,就是包装一下 // 1.常见的单个元素 // Dom.query(document.getElementById('xx')) - if (selector.nodeType || selector.setTimeout) { + // do not pass form.elements to this function ie678 bug + if (selector.nodeType || S.isWindow(selector)) { ret = [selector]; - } - // 2.KISSY NodeList 特殊点直接返回,提高性能 - else if (selector.getDOMNodes) { + } else if (selector.getDOMNodes) { + // 2.KISSY NodeList 特殊点直接返回,提高性能 ret = selector.getDOMNodes(); - } - // 3.常见的数组 - // var x=Dom.query('.l'); - // Dom.css(x,'color','red'); - else if (isArray(selector)) { + } else if (isArray(selector)) { + // 3.常见的数组 + // var x=Dom.query('.l'); + // Dom.css(x,'color','red'); ret = selector; - } - // 4.selector.item - // Dom.query(document.getElementsByTagName('a')) - // note: - // document.createElement('select').item 已经在 1 处理了 - // S.all().item 已经在 2 处理了 - else if (isDomNodeList(selector)) { + } else if (isDomNodeList(selector)) { + // 4.selector.item + // Dom.query(document.getElementsByTagName('a')) + // note: + // document.createElement('select').item 已经在 1 处理了 + // S.all().item 已经在 2 处理了 ret = makeArray(selector); } else { - ret = [ selector ]; + ret = [selector]; } if (!simpleContext) { @@ -214,9 +206,9 @@ KISSY.add(function (S, require) { function hasSingleClass(el, cls) { // consider xml + // https://github.com/kissyteam/kissy/issues/532 var className = el && getAttr(el, 'class'); - return className && - (className = className.replace(/[\r\t\n]/g, SPACE)) && + return className && (className = className.replace(/[\r\t\n]/g, SPACE)) && (SPACE + className + SPACE).indexOf(SPACE + cls + SPACE) > -1; } @@ -249,7 +241,7 @@ KISSY.add(function (S, require) { _getElementsByTagName: function (name, context) { // can not use getElementsByTagName for fragment - return S.makeArray(context.querySelectorAll(name)); + return makeArray(context.querySelectorAll(name)); }, _getElementById: function (id, doc) { @@ -282,6 +274,7 @@ KISSY.add(function (S, require) { /** * Accepts a string containing a CSS selector which is then used to match a set of elements. + * Note: do not pass form.elements to this function * @param {String|HTMLElement[]} selector * A string containing a selector expression. * or @@ -434,5 +427,4 @@ KISSY.add(function (S, require) { * - http://jsperf.com/queryselctor-vs-getelementbyclassname2 * yiminghe@gmail.com - 2013-03-26 * - refactor to use own css3 selector engine - */ - + */ \ No newline at end of file From fe06c246687b2e0cf972e8d3e65c611779410f6d Mon Sep 17 00:00:00 2001 From: yiminghe Date: Fri, 14 Feb 2014 16:48:46 +0800 Subject: [PATCH 27/80] fix scroll-view --- build/scroll-view/base-min.js | 9 +++++---- build/scroll-view/base.js | 4 ++-- .../sub-modules/base/coverage/src/base/render.js | 10 +++++----- src/scroll-view/sub-modules/base/src/base/render.js | 4 ++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index 26ea17c793..1b0af4a5bb 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,11 +1,12 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 21 11:48 +build time: Feb 14 16:48 */ -KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,k){var q=k("component/container"),r=k("component/extension/content-render"),p=j.Features,l=Math.floor,m,o={syncUI:function(){var d=this.control,e=d.el,f=d.contentEl,a=d.$contentEl,c=f.offsetHeight,f=f.offsetWidth,b=e.clientHeight,h=e.clientWidth;d.scrollHeight=c;d.scrollWidth=f;d.clientHeight=b;d.clientWidth=h;e=d.allowScroll={};c>b&&(e.top=1);f>h&&(e.left=1);d.minScroll={left:0,top:0};var g, -n;d.maxScroll={left:g=f-h,top:n=c-b};delete d.scrollStep;b=d.get("snap");c=d.get("scrollLeft");f=d.get("scrollTop");if(b){var s=a.offset(),a=d.pages="string"===typeof b?a.all(b):a.children(),b=d.get("pageIndex"),i=d.pagesOffset=[];a.each(function(a,b){var c=a.offset(),d=c.left-s.left,c=c.top-s.top;d<=g&&c<=n&&(i[b]={left:d,top:c,index:b})});if(b){d.scrollToPage(b);return}}d.scrollToWithBounds({left:c,top:f})},_onSetScrollLeft:function(d){this.control.contentEl.style.left=-d+"px"},_onSetScrollTop:function(d){this.control.contentEl.style.top= --d+"px"}};p.isTransform3dSupported()&&(m=p.getTransformProperty(),o._onSetScrollLeft=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-d),translateY:l(-e.get("scrollTop"))})},o._onSetScrollTop=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-e.get("scrollLeft")),translateY:l(-d)})});return q.getDefaultRender().extend([r],o,{name:"ScrollViewRender"})}); +KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,k){var q=k("component/container"),r=k("component/extension/content-render"),p=j.Features,l=Math.floor,m,o={syncUI:function(){var d=this.control,e=d.el,f=d.contentEl,a=d.$contentEl,c=Math.max(f.offsetHeight,f.scrollHeight),f=Math.max(f.offsetWidth,f.scrollWidth),b=e.clientHeight,h=e.clientWidth;d.scrollHeight=c;d.scrollWidth=f;d.clientHeight=b;d.clientWidth=h;e=d.allowScroll={};c>b&&(e.top=1); +f>h&&(e.left=1);d.minScroll={left:0,top:0};var g,n;d.maxScroll={left:g=f-h,top:n=c-b};delete d.scrollStep;b=d.get("snap");c=d.get("scrollLeft");f=d.get("scrollTop");if(b){var s=a.offset(),a=d.pages="string"===typeof b?a.all(b):a.children(),b=d.get("pageIndex"),i=d.pagesOffset=[];a.each(function(a,b){var c=a.offset(),d=c.left-s.left,c=c.top-s.top;d<=g&&c<=n&&(i[b]={left:d,top:c,index:b})});if(b){d.scrollToPage(b);return}}d.scrollToWithBounds({left:c,top:f})},_onSetScrollLeft:function(d){this.control.contentEl.style.left= +-d+"px"},_onSetScrollTop:function(d){this.control.contentEl.style.top=-d+"px"}};p.isTransform3dSupported()&&(m=p.getTransformProperty(),o._onSetScrollLeft=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-d),translateY:l(-e.get("scrollTop"))})},o._onSetScrollTop=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-e.get("scrollLeft")),translateY:l(-d)})}); +return q.getDefaultRender().extend([r],o,{name:"ScrollViewRender"})}); KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,k){function q(){var a=this.el,c=a.scrollTop,b=a.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));b&&this.set("scrollLeft",b+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function r(a,c){a.scrollView.set(c.prop,c.val)}var p=k("node"),l=k("anim"),m=k("component/container"),o=k("./base/render"),d=j.all,e=j.Features.isTouchEventSupported(),f=p.KeyCode;return m.extend({initializer:function(){this.scrollAnims= []},bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",q,this)},handleKeyDownInternal:function(a){var c=d(a.target),b=c.nodeName();if(!("input"===b||"textarea"===b||"select"===b||c.hasAttr("contenteditable"))){var a=a.keyCode,c=this.getScrollStep(),h,b=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,n=this.clientHeight,e=this.get("scrollTop");a===f.DOWN?(this.scrollToWithBounds({top:e+g}),h=!0):a===f.UP?(this.scrollToWithBounds({top:e-g}),h=!0):a===f.PAGE_DOWN? (this.scrollToWithBounds({top:e+n}),h=!0):a===f.PAGE_UP&&(this.scrollToWithBounds({top:e-n}),h=!0)}b&&(c=c.left,b=this.get("scrollLeft"),a===f.RIGHT?(this.scrollToWithBounds({left:b+c}),h=!0):a===f.LEFT&&(this.scrollToWithBounds({left:b-c}),h=!0));return h}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var a=d(this.get("el")[0].ownerDocument),c=this.clientHeight,b=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/a.height(),20),left:Math.max(0.7*b*b/a.width(),20)}}, diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index 53150477cf..1faaade5ae 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 21 11:48 +build time: Feb 14 16:48 */ /* Combined processedModules by KISSY Module Compiler: @@ -17,7 +17,7 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio var Features = S.Features, floor = Math.floor, supportTransform3d = Features.isTransform3dSupported(), transformProperty; var methods = {syncUI:function() { var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; - var scrollHeight = contentEl.offsetHeight, scrollWidth = contentEl.offsetWidth; + var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); var clientHeight = el.clientHeight, allowScroll, clientWidth = el.clientWidth; control.scrollHeight = scrollHeight; control.scrollWidth = scrollWidth; diff --git a/src/scroll-view/sub-modules/base/coverage/src/base/render.js b/src/scroll-view/sub-modules/base/coverage/src/base/render.js index 75021a5ceb..77f43d7939 100644 --- a/src/scroll-view/sub-modules/base/coverage/src/base/render.js +++ b/src/scroll-view/sub-modules/base/coverage/src/base/render.js @@ -304,7 +304,7 @@ if (! _$jscoverage['/base/render.js'].branchData) { _$jscoverage['/base/render.js'].branchData['126'] = []; _$jscoverage['/base/render.js'].branchData['126'][1] = new BranchData(); } -_$jscoverage['/base/render.js'].branchData['126'][1].init(4173, 18, 'supportTransform3d'); +_$jscoverage['/base/render.js'].branchData['126'][1].init(4240, 18, 'supportTransform3d'); function visit9_126_1(result) { _$jscoverage['/base/render.js'].branchData['126'][1].ranCondition(result); return result; @@ -328,15 +328,15 @@ function visit5_96_1(result) { function visit4_87_1(result) { _$jscoverage['/base/render.js'].branchData['87'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['85'][1].init(1767, 4, 'snap'); +}_$jscoverage['/base/render.js'].branchData['85'][1].init(1834, 4, 'snap'); function visit3_85_1(result) { _$jscoverage['/base/render.js'].branchData['85'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['62'][1].init(1112, 25, 'scrollWidth > clientWidth'); +}_$jscoverage['/base/render.js'].branchData['62'][1].init(1179, 25, 'scrollWidth > clientWidth'); function visit2_62_1(result) { _$jscoverage['/base/render.js'].branchData['62'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['59'][1].init(1011, 27, 'scrollHeight > clientHeight'); +}_$jscoverage['/base/render.js'].branchData['59'][1].init(1078, 27, 'scrollHeight > clientHeight'); function visit1_59_1(result) { _$jscoverage['/base/render.js'].branchData['59'][1].ranCondition(result); return result; @@ -358,7 +358,7 @@ KISSY.add(function(S, require) { _$jscoverage['/base/render.js'].lineData[34]++; var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; _$jscoverage['/base/render.js'].lineData[45]++; - var scrollHeight = contentEl.offsetHeight, scrollWidth = contentEl.offsetWidth; + var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); _$jscoverage['/base/render.js'].lineData[48]++; var clientHeight = el.clientHeight, allowScroll, clientWidth = el.clientWidth; _$jscoverage['/base/render.js'].lineData[52]++; diff --git a/src/scroll-view/sub-modules/base/src/base/render.js b/src/scroll-view/sub-modules/base/src/base/render.js index 8d6c68a775..fa2049a88f 100644 --- a/src/scroll-view/sub-modules/base/src/base/render.js +++ b/src/scroll-view/sub-modules/base/src/base/render.js @@ -42,8 +42,8 @@ KISSY.add(function (S, require) { // or else // relative is weird, should math.max(contentEl.scrollHeight,el.scrollHeight) // will affect pull to refresh - var scrollHeight = contentEl.offsetHeight, - scrollWidth = contentEl.offsetWidth; + var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), + scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); var clientHeight = el.clientHeight, allowScroll, From acc663eb1c28ff92f236372302fd919727095270 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Wed, 19 Feb 2014 17:22:26 +0800 Subject: [PATCH 28/80] update import-style --- build/import-style-min.js | 10 +- build/import-style.js | 8 +- src/import-style/coverage/src/import-style.js | 244 +++++++++--------- src/import-style/src/import-style.js | 4 +- 4 files changed, 140 insertions(+), 126 deletions(-) diff --git a/build/import-style-min.js b/build/import-style-min.js index 5e2bb1aea0..6bc5ae4b5b 100644 --- a/build/import-style-min.js +++ b/build/import-style-min.js @@ -1,8 +1,8 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:16 +build time: Feb 19 17:22 */ -(function(c){function s(a,f,d,g,b,i){var e=a.getName();if(l&&b[e])"circular dependencies found: "+d;else if(!i[e])if(i[e]=1,"css"===a.getType())g[e]||(a.status=4,f.push(a),g[e]=1);else if(a=a.getRequiredMods(),l&&(b[e]=1,d.push(e)),c.each(a,function(a){s(a,f,d,g,b,i)}),l)d.pop(),delete b[e]}var l;c.importStyle=function(a){var f=c.Loader.Utils,a=f.getModNamesAsArray(a),a=f.normalizeModNames(c,a),d=[],g=c.Env.host.document,b=c.Config,i={},e=[],t={},u={};l=b.debug;c.each(a,function(a){a=c.Loader.Utils.createModuleInfo(c, -a);s(a,d,e,i,t,u)});if(d.length)if(b.combine){for(var a=b.comboPrefix,f=b.comboSep,v=b.comboMaxFileNum,b=b.comboMaxUrlLength,m="",n="",j=[],h=[],o=0;o');else if(k=k.slice(r.length).replace(/\?.*$/,""),j.push(q),h.push(k),1===j.length)m=r+a,n="?t="+encodeURIComponent(p.getTag())+".css";else if(h.length>v||m.length+h.join(f).length+ -n.length>b||j[0].getPackage()!==p)j.pop(),h.pop(),g.writeln(''),j=[],h=[],o--}h.length&&g.writeln('')}else c.each(d,function(a){g.writeln('')})}})(KISSY); +(function(c){function s(a,f,d,g,b,i){var e=a.getName();if(m&&b[e])"circular dependencies found: "+d;else if(!i[e])if(i[e]=1,"css"===a.getType())g[e]||(a.status=4,f.push(a),g[e]=1);else if(a=a.getRequiredMods(),m&&(b[e]=1,d.push(e)),c.each(a,function(a){s(a,f,d,g,b,i)}),m)d.pop(),delete b[e]}var m;c.importStyle=function(a){var f=c.Loader.Utils,a=f.getModNamesAsArray(a),a=f.normalizeModNames(c,a),d=[],g=c.Env.host.document,b=c.Config,i={},e=[],t={},u={};m=b.debug;c.each(a,function(a){a=c.Loader.Utils.createModuleInfo(c, +a);s(a,d,e,i,t,u)});if(d.length)if(b.combine){for(var a=b.comboPrefix,f=b.comboSep,v=b.comboMaxFileNum,b=b.comboMaxUrlLength,n="",o="",j=[],h=[],p=0;p');else if(l=l.slice(r.length).replace(/\?.*$/,""),j.push(q),h.push(l),1===j.length)n=r+a,k.getTag()&&(o="?t="+encodeURIComponent(k.getTag())+".css");else if(h.length>v||n.length+ +h.join(f).length+o.length>b||j[0].getPackage()!==k)j.pop(),h.pop(),g.writeln(''),j=[],h=[],p--}h.length&&g.writeln('')}else c.each(d,function(a){g.writeln('')})}})(KISSY); diff --git a/build/import-style.js b/build/import-style.js index ab96097471..8c192ad6d4 100644 --- a/build/import-style.js +++ b/build/import-style.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:16 +build time: Feb 19 17:22 */ /** * use document.write to load external css files in block loading ways. @@ -60,7 +60,9 @@ build time: Dec 4 22:16 combinedUrl.push(path); if (combined.length === 1) { prefix = packagePath + comboPrefix; - suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + if (currentPackage.getTag()) { + suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + } } else { if ((combinedUrl.length > maxFileNum) || (prefix.length + combinedUrl.join(comboSep).length + diff --git a/src/import-style/coverage/src/import-style.js b/src/import-style/coverage/src/import-style.js index b02c320c46..074fbb67ea 100644 --- a/src/import-style/coverage/src/import-style.js +++ b/src/import-style/coverage/src/import-style.js @@ -261,41 +261,42 @@ if (! _$jscoverage['/import-style.js']) { _$jscoverage['/import-style.js'].lineData[56] = 0; _$jscoverage['/import-style.js'].lineData[57] = 0; _$jscoverage['/import-style.js'].lineData[58] = 0; - _$jscoverage['/import-style.js'].lineData[60] = 0; - _$jscoverage['/import-style.js'].lineData[64] = 0; - _$jscoverage['/import-style.js'].lineData[65] = 0; + _$jscoverage['/import-style.js'].lineData[59] = 0; + _$jscoverage['/import-style.js'].lineData[62] = 0; _$jscoverage['/import-style.js'].lineData[66] = 0; - _$jscoverage['/import-style.js'].lineData[69] = 0; - _$jscoverage['/import-style.js'].lineData[70] = 0; + _$jscoverage['/import-style.js'].lineData[67] = 0; + _$jscoverage['/import-style.js'].lineData[68] = 0; _$jscoverage['/import-style.js'].lineData[71] = 0; - _$jscoverage['/import-style.js'].lineData[75] = 0; - _$jscoverage['/import-style.js'].lineData[76] = 0; - _$jscoverage['/import-style.js'].lineData[81] = 0; - _$jscoverage['/import-style.js'].lineData[82] = 0; - _$jscoverage['/import-style.js'].lineData[88] = 0; - _$jscoverage['/import-style.js'].lineData[89] = 0; + _$jscoverage['/import-style.js'].lineData[72] = 0; + _$jscoverage['/import-style.js'].lineData[73] = 0; + _$jscoverage['/import-style.js'].lineData[77] = 0; + _$jscoverage['/import-style.js'].lineData[78] = 0; + _$jscoverage['/import-style.js'].lineData[83] = 0; + _$jscoverage['/import-style.js'].lineData[84] = 0; _$jscoverage['/import-style.js'].lineData[90] = 0; _$jscoverage['/import-style.js'].lineData[91] = 0; _$jscoverage['/import-style.js'].lineData[92] = 0; + _$jscoverage['/import-style.js'].lineData[93] = 0; _$jscoverage['/import-style.js'].lineData[94] = 0; - _$jscoverage['/import-style.js'].lineData[95] = 0; + _$jscoverage['/import-style.js'].lineData[96] = 0; _$jscoverage['/import-style.js'].lineData[97] = 0; - _$jscoverage['/import-style.js'].lineData[98] = 0; _$jscoverage['/import-style.js'].lineData[99] = 0; _$jscoverage['/import-style.js'].lineData[100] = 0; _$jscoverage['/import-style.js'].lineData[101] = 0; _$jscoverage['/import-style.js'].lineData[102] = 0; + _$jscoverage['/import-style.js'].lineData[103] = 0; _$jscoverage['/import-style.js'].lineData[104] = 0; _$jscoverage['/import-style.js'].lineData[106] = 0; - _$jscoverage['/import-style.js'].lineData[107] = 0; _$jscoverage['/import-style.js'].lineData[108] = 0; _$jscoverage['/import-style.js'].lineData[109] = 0; + _$jscoverage['/import-style.js'].lineData[110] = 0; _$jscoverage['/import-style.js'].lineData[111] = 0; - _$jscoverage['/import-style.js'].lineData[112] = 0; + _$jscoverage['/import-style.js'].lineData[113] = 0; _$jscoverage['/import-style.js'].lineData[114] = 0; - _$jscoverage['/import-style.js'].lineData[115] = 0; _$jscoverage['/import-style.js'].lineData[116] = 0; - _$jscoverage['/import-style.js'].lineData[120] = 0; + _$jscoverage['/import-style.js'].lineData[117] = 0; + _$jscoverage['/import-style.js'].lineData[118] = 0; + _$jscoverage['/import-style.js'].lineData[122] = 0; } if (! _$jscoverage['/import-style.js'].functionData) { _$jscoverage['/import-style.js'].functionData = []; @@ -318,76 +319,82 @@ if (! _$jscoverage['/import-style.js'].branchData) { _$jscoverage['/import-style.js'].branchData['49'][1] = new BranchData(); _$jscoverage['/import-style.js'].branchData['56'] = []; _$jscoverage['/import-style.js'].branchData['56'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['60'] = []; - _$jscoverage['/import-style.js'].branchData['60'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['60'][2] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['61'] = []; - _$jscoverage['/import-style.js'].branchData['61'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['61'][2] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['58'] = []; + _$jscoverage['/import-style.js'].branchData['58'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['62'] = []; + _$jscoverage['/import-style.js'].branchData['62'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['62'][2] = new BranchData(); _$jscoverage['/import-style.js'].branchData['63'] = []; _$jscoverage['/import-style.js'].branchData['63'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['75'] = []; - _$jscoverage['/import-style.js'].branchData['75'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['90'] = []; - _$jscoverage['/import-style.js'].branchData['90'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['94'] = []; - _$jscoverage['/import-style.js'].branchData['94'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['98'] = []; - _$jscoverage['/import-style.js'].branchData['98'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['99'] = []; - _$jscoverage['/import-style.js'].branchData['99'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['107'] = []; - _$jscoverage['/import-style.js'].branchData['107'][1] = new BranchData(); - _$jscoverage['/import-style.js'].branchData['114'] = []; - _$jscoverage['/import-style.js'].branchData['114'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['63'][2] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['65'] = []; + _$jscoverage['/import-style.js'].branchData['65'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['77'] = []; + _$jscoverage['/import-style.js'].branchData['77'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['92'] = []; + _$jscoverage['/import-style.js'].branchData['92'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['96'] = []; + _$jscoverage['/import-style.js'].branchData['96'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['100'] = []; + _$jscoverage['/import-style.js'].branchData['100'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['101'] = []; + _$jscoverage['/import-style.js'].branchData['101'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['109'] = []; + _$jscoverage['/import-style.js'].branchData['109'][1] = new BranchData(); + _$jscoverage['/import-style.js'].branchData['116'] = []; + _$jscoverage['/import-style.js'].branchData['116'][1] = new BranchData(); } -_$jscoverage['/import-style.js'].branchData['114'][1].init(764, 7, 'isDebug'); -function visit17_114_1(result) { - _$jscoverage['/import-style.js'].branchData['114'][1].ranCondition(result); +_$jscoverage['/import-style.js'].branchData['116'][1].init(764, 7, 'isDebug'); +function visit18_116_1(result) { + _$jscoverage['/import-style.js'].branchData['116'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['107'][1].init(539, 7, 'isDebug'); -function visit16_107_1(result) { - _$jscoverage['/import-style.js'].branchData['107'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['109'][1].init(539, 7, 'isDebug'); +function visit17_109_1(result) { + _$jscoverage['/import-style.js'].branchData['109'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['99'][1].init(17, 15, '!cssCache[name]'); -function visit15_99_1(result) { - _$jscoverage['/import-style.js'].branchData['99'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['101'][1].init(17, 15, '!cssCache[name]'); +function visit16_101_1(result) { + _$jscoverage['/import-style.js'].branchData['101'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['98'][1].init(272, 23, 'mod.getType() === \'css\''); -function visit14_98_1(result) { - _$jscoverage['/import-style.js'].branchData['98'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['100'][1].init(272, 23, 'mod.getType() === \'css\''); +function visit15_100_1(result) { + _$jscoverage['/import-style.js'].branchData['100'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['94'][1].init(182, 15, 'processed[name]'); -function visit13_94_1(result) { - _$jscoverage['/import-style.js'].branchData['94'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['96'][1].init(182, 15, 'processed[name]'); +function visit14_96_1(result) { + _$jscoverage['/import-style.js'].branchData['96'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['90'][1].init(47, 27, 'isDebug && stackCache[name]'); -function visit12_90_1(result) { - _$jscoverage['/import-style.js'].branchData['90'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['92'][1].init(47, 27, 'isDebug && stackCache[name]'); +function visit13_92_1(result) { + _$jscoverage['/import-style.js'].branchData['92'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['75'][1].init(2151, 18, 'combinedUrl.length'); -function visit11_75_1(result) { - _$jscoverage['/import-style.js'].branchData['75'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['77'][1].init(2236, 18, 'combinedUrl.length'); +function visit12_77_1(result) { + _$jscoverage['/import-style.js'].branchData['77'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['63'][1].init(144, 43, 'combined[0].getPackage() !== currentPackage'); -function visit10_63_1(result) { - _$jscoverage['/import-style.js'].branchData['63'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['65'][1].init(144, 43, 'combined[0].getPackage() !== currentPackage'); +function visit11_65_1(result) { + _$jscoverage['/import-style.js'].branchData['65'][1].ranCondition(result); + return result; +}_$jscoverage['/import-style.js'].branchData['63'][2].init(97, 112, 'prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength'); +function visit10_63_2(result) { + _$jscoverage['/import-style.js'].branchData['63'][2].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['61'][2].init(97, 112, 'prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength'); -function visit9_61_2(result) { - _$jscoverage['/import-style.js'].branchData['61'][2].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['63'][1].init(64, 188, '(prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength) || combined[0].getPackage() !== currentPackage'); +function visit9_63_1(result) { + _$jscoverage['/import-style.js'].branchData['63'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['61'][1].init(64, 188, '(prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength) || combined[0].getPackage() !== currentPackage'); -function visit8_61_1(result) { - _$jscoverage['/import-style.js'].branchData['61'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['62'][2].init(30, 31, 'combinedUrl.length > maxFileNum'); +function visit8_62_2(result) { + _$jscoverage['/import-style.js'].branchData['62'][2].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['60'][2].init(30, 31, 'combinedUrl.length > maxFileNum'); -function visit7_60_2(result) { - _$jscoverage['/import-style.js'].branchData['60'][2].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['62'][1].init(30, 253, '(combinedUrl.length > maxFileNum) || (prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength) || combined[0].getPackage() !== currentPackage'); +function visit7_62_1(result) { + _$jscoverage['/import-style.js'].branchData['62'][1].ranCondition(result); return result; -}_$jscoverage['/import-style.js'].branchData['60'][1].init(30, 253, '(combinedUrl.length > maxFileNum) || (prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength) || combined[0].getPackage() !== currentPackage'); -function visit6_60_1(result) { - _$jscoverage['/import-style.js'].branchData['60'][1].ranCondition(result); +}_$jscoverage['/import-style.js'].branchData['58'][1].init(89, 23, 'currentPackage.getTag()'); +function visit6_58_1(result) { + _$jscoverage['/import-style.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/import-style.js'].branchData['56'][1].init(743, 21, 'combined.length === 1'); function visit5_56_1(result) { @@ -477,96 +484,99 @@ function visit1_33_1(result) { _$jscoverage['/import-style.js'].lineData[57]++; prefix = packagePath + comboPrefix; _$jscoverage['/import-style.js'].lineData[58]++; - suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + if (visit6_58_1(currentPackage.getTag())) { + _$jscoverage['/import-style.js'].lineData[59]++; + suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + } } else { - _$jscoverage['/import-style.js'].lineData[60]++; - if (visit6_60_1((visit7_60_2(combinedUrl.length > maxFileNum)) || visit8_61_1((visit9_61_2(prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength)) || visit10_63_1(combined[0].getPackage() !== currentPackage)))) { - _$jscoverage['/import-style.js'].lineData[64]++; + _$jscoverage['/import-style.js'].lineData[62]++; + if (visit7_62_1((visit8_62_2(combinedUrl.length > maxFileNum)) || visit9_63_1((visit10_63_2(prefix.length + combinedUrl.join(comboSep).length + suffix.length > maxUrlLength)) || visit11_65_1(combined[0].getPackage() !== currentPackage)))) { + _$jscoverage['/import-style.js'].lineData[66]++; combined.pop(); - _$jscoverage['/import-style.js'].lineData[65]++; + _$jscoverage['/import-style.js'].lineData[67]++; combinedUrl.pop(); - _$jscoverage['/import-style.js'].lineData[66]++; + _$jscoverage['/import-style.js'].lineData[68]++; doc.writeln(''); - _$jscoverage['/import-style.js'].lineData[69]++; + _$jscoverage['/import-style.js'].lineData[71]++; combined = []; - _$jscoverage['/import-style.js'].lineData[70]++; + _$jscoverage['/import-style.js'].lineData[72]++; combinedUrl = []; - _$jscoverage['/import-style.js'].lineData[71]++; + _$jscoverage['/import-style.js'].lineData[73]++; i--; } } } - _$jscoverage['/import-style.js'].lineData[75]++; - if (visit11_75_1(combinedUrl.length)) { - _$jscoverage['/import-style.js'].lineData[76]++; + _$jscoverage['/import-style.js'].lineData[77]++; + if (visit12_77_1(combinedUrl.length)) { + _$jscoverage['/import-style.js'].lineData[78]++; doc.writeln(''); } } else { - _$jscoverage['/import-style.js'].lineData[81]++; + _$jscoverage['/import-style.js'].lineData[83]++; S.each(cssList, function(css) { _$jscoverage['/import-style.js'].functionData[3]++; - _$jscoverage['/import-style.js'].lineData[82]++; + _$jscoverage['/import-style.js'].lineData[84]++; doc.writeln(''); }); } } } - _$jscoverage['/import-style.js'].lineData[88]++; + _$jscoverage['/import-style.js'].lineData[90]++; function collectCss(mod, cssList, stack, cssCache, stackCache, processed) { _$jscoverage['/import-style.js'].functionData[4]++; - _$jscoverage['/import-style.js'].lineData[89]++; + _$jscoverage['/import-style.js'].lineData[91]++; var name = mod.getName(); - _$jscoverage['/import-style.js'].lineData[90]++; - if (visit12_90_1(isDebug && stackCache[name])) { - _$jscoverage['/import-style.js'].lineData[91]++; + _$jscoverage['/import-style.js'].lineData[92]++; + if (visit13_92_1(isDebug && stackCache[name])) { + _$jscoverage['/import-style.js'].lineData[93]++; S.error('circular dependencies found: ' + stack); - _$jscoverage['/import-style.js'].lineData[92]++; + _$jscoverage['/import-style.js'].lineData[94]++; return; } - _$jscoverage['/import-style.js'].lineData[94]++; - if (visit13_94_1(processed[name])) { - _$jscoverage['/import-style.js'].lineData[95]++; + _$jscoverage['/import-style.js'].lineData[96]++; + if (visit14_96_1(processed[name])) { + _$jscoverage['/import-style.js'].lineData[97]++; return; } - _$jscoverage['/import-style.js'].lineData[97]++; + _$jscoverage['/import-style.js'].lineData[99]++; processed[name] = 1; - _$jscoverage['/import-style.js'].lineData[98]++; - if (visit14_98_1(mod.getType() === 'css')) { - _$jscoverage['/import-style.js'].lineData[99]++; - if (visit15_99_1(!cssCache[name])) { - _$jscoverage['/import-style.js'].lineData[100]++; + _$jscoverage['/import-style.js'].lineData[100]++; + if (visit15_100_1(mod.getType() === 'css')) { + _$jscoverage['/import-style.js'].lineData[101]++; + if (visit16_101_1(!cssCache[name])) { + _$jscoverage['/import-style.js'].lineData[102]++; mod.status = 4; - _$jscoverage['/import-style.js'].lineData[101]++; + _$jscoverage['/import-style.js'].lineData[103]++; cssList.push(mod); - _$jscoverage['/import-style.js'].lineData[102]++; + _$jscoverage['/import-style.js'].lineData[104]++; cssCache[name] = 1; } - _$jscoverage['/import-style.js'].lineData[104]++; + _$jscoverage['/import-style.js'].lineData[106]++; return; } - _$jscoverage['/import-style.js'].lineData[106]++; + _$jscoverage['/import-style.js'].lineData[108]++; var requires = mod.getRequiredMods(); - _$jscoverage['/import-style.js'].lineData[107]++; - if (visit16_107_1(isDebug)) { - _$jscoverage['/import-style.js'].lineData[108]++; + _$jscoverage['/import-style.js'].lineData[109]++; + if (visit17_109_1(isDebug)) { + _$jscoverage['/import-style.js'].lineData[110]++; stackCache[name] = 1; - _$jscoverage['/import-style.js'].lineData[109]++; + _$jscoverage['/import-style.js'].lineData[111]++; stack.push(name); } - _$jscoverage['/import-style.js'].lineData[111]++; + _$jscoverage['/import-style.js'].lineData[113]++; S.each(requires, function(r) { _$jscoverage['/import-style.js'].functionData[5]++; - _$jscoverage['/import-style.js'].lineData[112]++; + _$jscoverage['/import-style.js'].lineData[114]++; collectCss(r, cssList, stack, cssCache, stackCache, processed); }); - _$jscoverage['/import-style.js'].lineData[114]++; - if (visit17_114_1(isDebug)) { - _$jscoverage['/import-style.js'].lineData[115]++; + _$jscoverage['/import-style.js'].lineData[116]++; + if (visit18_116_1(isDebug)) { + _$jscoverage['/import-style.js'].lineData[117]++; stack.pop(); - _$jscoverage['/import-style.js'].lineData[116]++; + _$jscoverage['/import-style.js'].lineData[118]++; delete stackCache[name]; } } - _$jscoverage['/import-style.js'].lineData[120]++; + _$jscoverage['/import-style.js'].lineData[122]++; S.importStyle = importStyle; })(KISSY); diff --git a/src/import-style/src/import-style.js b/src/import-style/src/import-style.js index ee0c57cf8a..2730984bac 100644 --- a/src/import-style/src/import-style.js +++ b/src/import-style/src/import-style.js @@ -55,7 +55,9 @@ combinedUrl.push(path); if (combined.length === 1) { prefix = packagePath + comboPrefix; - suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + if (currentPackage.getTag()) { + suffix = '?t=' + encodeURIComponent(currentPackage.getTag()) + '.css'; + } } else { if ((combinedUrl.length > maxFileNum) || (prefix.length + combinedUrl.join(comboSep).length + From 834e8177d14066f258a43d2bd35cf5bc51c655b4 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 16:02:28 +0800 Subject: [PATCH 29/80] for 1.4.2 --- build/component/control-min.js | 54 +- build/component/control.js | 8 +- .../extension/delegate-children-min.js | 10 +- .../component/extension/delegate-children.js | 8 +- build/event/dom/touch-min.js | 59 +- build/event/dom/touch.js | 225 ++-- build/kissy-nodejs-min.js | 182 +-- build/kissy-nodejs.js | 55 +- build/scroll-view/base-min.js | 24 +- build/scroll-view/base.js | 19 +- build/scroll-view/drag-min.js | 24 +- build/scroll-view/drag.js | 27 +- build/seed-min.js | 184 +-- build/seed.js | 55 +- build/xtemplate/nodejs-min.js | 2 +- build/xtemplate/nodejs.js | 2 +- .../control/coverage/src/control.js | 924 +++++++------- .../sub-modules/control/src/control.js | 8 +- .../coverage/src/delegate-children.js | 44 +- .../src/delegate-children.js | 8 +- .../sub-modules/touch/coverage/src/touch.js | 31 +- .../touch/coverage/src/touch/double-tap.js | 398 ------ .../touch/coverage/src/touch/handle.js | 1130 +++++++++-------- .../touch/coverage/src/touch/multi-touch.js | 32 +- .../touch/coverage/src/touch/pinch.js | 62 +- .../touch/coverage/src/touch/rotate.js | 66 +- .../touch/coverage/src/touch/swipe.js | 170 +-- .../touch/coverage/src/touch/tap-hold.js | 332 ----- .../touch/coverage/src/touch/tap.js | 365 ++++-- .../dom/sub-modules/touch/src/touch.js | 2 +- .../sub-modules/touch/src/touch/double-tap.js | 94 -- .../dom/sub-modules/touch/src/touch/handle.js | 27 +- .../dom/sub-modules/touch/src/touch/pinch.js | 22 +- .../dom/sub-modules/touch/src/touch/rotate.js | 20 +- .../dom/sub-modules/touch/src/touch/swipe.js | 3 +- .../sub-modules/touch/src/touch/tap-hold.js | 53 - .../dom/sub-modules/touch/src/touch/tap.js | 162 ++- .../sub-modules/base/coverage/src/base.js | 890 ++++++------- .../base/coverage/src/base/render.js | 259 ++-- src/scroll-view/sub-modules/base/src/base.js | 6 +- .../sub-modules/base/src/base/render.js | 27 +- .../sub-modules/drag/coverage/src/drag.js | 1028 ++++++++------- src/scroll-view/sub-modules/drag/src/drag.js | 30 +- .../plugin/scrollbar/src/scrollbar/control.js | 84 +- .../plugin/scrollbar/src/scrollbar/render.js | 9 +- src/seed/coverage/src/features.js | 275 ++-- src/seed/coverage/src/kissy.js | 112 +- src/seed/coverage/src/lang/array.js | 204 +-- src/seed/coverage/src/lang/escape.js | 94 +- src/seed/coverage/src/lang/function.js | 60 +- src/seed/coverage/src/lang/lang.js | 178 +-- src/seed/coverage/src/lang/object.js | 170 +-- src/seed/coverage/src/lang/set-immediate.js | 28 +- src/seed/coverage/src/lang/string.js | 38 +- src/seed/coverage/src/lang/type.js | 54 +- src/seed/coverage/src/loader/combo-loader.js | 202 +-- src/seed/coverage/src/loader/configs.js | 54 +- src/seed/coverage/src/loader/css-onload.js | 36 +- .../coverage/src/loader/data-structure.js | 100 +- .../coverage/src/loader/get-script-nodejs.js | 20 +- src/seed/coverage/src/loader/get-script.js | 76 +- src/seed/coverage/src/loader/init.js | 60 +- src/seed/coverage/src/loader/loader.js | 40 +- src/seed/coverage/src/loader/utils.js | 192 +-- src/seed/coverage/src/meta/base.js | 4 +- src/seed/coverage/src/meta/modules.js | 13 +- src/seed/coverage/src/path.js | 110 +- src/seed/coverage/src/ua.js | 174 +-- src/seed/coverage/src/uri.js | 142 +-- src/seed/coverage/src/web.js | 106 +- src/seed/src/features.js | 43 + src/seed/src/meta/modules.js | 4 - src/xtemplate/sub-modules/nodejs/build.xml | 4 + src/xtemplate/sub-modules/nodejs/meta/deps.js | 4 - 74 files changed, 4795 insertions(+), 5026 deletions(-) delete mode 100644 src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/double-tap.js delete mode 100644 src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap-hold.js delete mode 100644 src/event/sub-modules/dom/sub-modules/touch/src/touch/double-tap.js delete mode 100644 src/event/sub-modules/dom/sub-modules/touch/src/touch/tap-hold.js delete mode 100644 src/xtemplate/sub-modules/nodejs/meta/deps.js diff --git a/build/component/control-min.js b/build/component/control-min.js index d554d91073..095ba8b08a 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,33 +1,33 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 10 01:30 +build time: Feb 25 15:53 */ -KISSY.add("component/control/process",["base","promise"],function(g,b){function h(b){b.fire("beforeSyncUI");b.syncUI();b.__callPluginsMethod("pluginSyncUI");b.fire("afterSyncUI")}var m=b("base"),k=b("promise").Defer,d=m.prototype.__getHook,c=g.noop,j=m.extend({bindInternal:c,syncInternal:c,initializer:function(){this._renderedDefer=new k},renderUI:c,syncUI:c,bindUI:c,onRendered:function(b){return this._renderedDefer.promise.then(b)},create:function(){this.get("created")||(this.fire("beforeCreateDom"), -this.createInternal(),this.__callPluginsMethod("pluginCreateDom"),this.fire("afterCreateDom"),this.setInternal("created",!0));return this},createInternal:function(){this.createDom()},render:function(){this.get("rendered")||(this.create(),this.fire("beforeRenderUI"),this.renderUI(),this.__callPluginsMethod("pluginRenderUI"),this.fire("afterRenderUI"),this.fire("beforeBindUI"),j.superclass.bindInternal.call(this),this.bindUI(),this.__callPluginsMethod("pluginBindUI"),this.fire("afterBindUI"),j.superclass.syncInternal.call(this), -h(this),this.setInternal("rendered",!0));return this},sync:function(){h(this)},plug:function(b){var c=this.get("plugins");this.callSuper(b);b=c[c.length-1];this.get("rendered")?(b.pluginCreateDom&&b.pluginCreateDom(this),b.pluginRenderUI&&b.pluginCreateDom(this),b.pluginBindUI&&b.pluginBindUI(this),b.pluginSyncUI&&b.pluginSyncUI(this)):this.get("created")&&b.pluginCreateDom&&b.pluginCreateDom(this);return this}},{__hooks__:{createDom:d("__createDom"),renderUI:d("__renderUI"),bindUI:d("__bindUI"), -syncUI:d("__syncUI")},name:"ComponentProcess",ATTRS:{rendered:{value:!1,setter:function(b){b&&this._renderedDefer.resolve(this)}},created:{value:!1}}});return j}); -KISSY.add("component/control/render-xtpl",[],function(){return function(g){var b,h=this;b=this.config.utils;var m=b.runBlockCommand,k=b.renderOutput,d=b.getProperty,c=b.runInlineCommand,j=b.getPropertyOrRunCommand;b='
'}}); -KISSY.add("component/control/render",["node","xtemplate/runtime","./process","./render-xtpl","component/manager"],function(g,b){function h(e){"number"===typeof e&&(e+="px");return e}function m(e){e||(e=[""]);"string"===typeof e&&(e=e.split(/\s+/));return e}function k(e,a,b){for(var c="",f=0,g=b.length,a=e+a;fs.ieMode&&(g.hideFocus="true"),g.tabindex=d?"-1":"0")},createDom:function(){this.beforeCreateDom(this.renderData={},this.childrenElSelectors= -{},this.renderCommands={getBaseCssClasses:c,getBaseCssClass:j});var e=this.control,a;a=this.renderTpl(o)+this.renderTpl(this.get("contentTpl"))+"
";e.setInternal("el",this.$el=r(a));this.el=this.$el[0];this.fillChildrenElsBySelectors()},decorateDom:function(a){var b=this.control;a.attr("id")||a.attr("id",b.get("id"));var c=this.constructor.HTML_PARSER,f,d;for(f in c)d=c[f],"function"===typeof d?(d=d.call(this,a),void 0!==d&&b.setInternal(f,d)):"string"===typeof d?b.setInternal(f,a.one(d)):g.isArray(d)&& -d[0]&&b.setInternal(f,a.all(d[0]));b.setInternal("el",this.$el=a);this.el=a[0]},renderUI:function(){var a=this.control,b=this.$el;if(!a.get("srcNode")){var c=a.get("render");(a=a.get("elBefore"))?b.insertBefore(a,void 0):c?b.appendTo(c,void 0):b.appendTo(t.body,void 0)}},bindUI:function(){var a=this.control,b=a.getAttrs(),c,h;for(c in b){h=b[c];var i=g.ucfirst(c),k=this[f+i];if(h.view&&k)a.on("after"+i+"Change",d,this)}},destructor:function(){this.$el&&this.$el.remove()},$:function(a){return this.$el.all(a)}, -fillChildrenElsBySelectors:function(a){var b=this.$el,c=this.control,f,d,a=a||this.childrenElSelectors;for(f in a)d=a[f],"function"===typeof d?c.setInternal(f,d(b)):c.setInternal(f,this.$(g.substitute(d,this.renderData))),delete a[f]},renderTpl:function(a,b,c){b=b||this.renderData;c=c||this.renderCommands;return(new (this.get("xtemplate"))(a,{control:this.control,view:this,commands:c})).render(b)},getComponentConstructorByNode:function(b,c){var f=c[0].className;return f?(f=f.replace(RegExp("\\b"+ -b,"ig"),""),a.getConstructorByXClass(f)):null},getComponentCssClasses:function(){if(this.componentCssClasses)return this.componentCssClasses;for(var a=this.control.constructor,b,c=[];a&&!a.prototype.hasOwnProperty("isControl");)(b=a.xclass)&&c.push(b),a=a.superclass&&a.superclass.constructor;return this.componentCssClasses=c},getBaseCssClasses:function(a){for(var a=m(a),b=this.getComponentCssClasses(),c=0,f=this.get("control"),d="",g=b.length,f=f.get("prefixCls");c'}}); +KISSY.add("component/control/render",["node","xtemplate/runtime","./process","./render-xtpl","component/manager"],function(e,b){function g(k){"number"===typeof k&&(k+="px");return k}function n(k){k||(k=[""]);"string"===typeof k&&(k=k.split(/\s+/));return k}function m(k,a,b){for(var d="",f=0,c=b.length,a=k+a;ft.ieMode&&(e.hideFocus="true"),e.tabindex=h?"-1":"0")},createDom:function(){this.beforeCreateDom(this.renderData={},this.childrenElSelectors= +{},this.renderCommands={getBaseCssClasses:c,getBaseCssClass:i});var b=this.control,p;p=this.renderTpl(a)+this.renderTpl(this.get("contentTpl"))+"
";b.setInternal("el",this.$el=s(p));this.el=this.$el[0];this.fillChildrenElsBySelectors()},decorateDom:function(a){var b=this.control;a.attr("id")||a.attr("id",b.get("id"));var d=this.constructor.HTML_PARSER,c,f;for(c in d)f=d[c],"function"===typeof f?(f=f.call(this,a),void 0!==f&&b.setInternal(c,f)):"string"===typeof f?b.setInternal(c,a.one(f)):e.isArray(f)&& +f[0]&&b.setInternal(c,a.all(f[0]));b.setInternal("el",this.$el=a);this.el=a[0]},renderUI:function(){var a=this.control,b=this.$el;if(!a.get("srcNode")){var d=a.get("render");(a=a.get("elBefore"))?b.insertBefore(a,void 0):d?b.appendTo(d,void 0):b.appendTo(u.body,void 0)}},bindUI:function(){var a=this.control,b=a.getAttrs(),d,c;for(d in b){c=b[d];var f=e.ucfirst(d),g=this[q+f];if(c.view&&g)a.on("after"+f+"Change",h,this)}},destructor:function(){this.$el&&this.$el.remove()},$:function(a){return this.$el.all(a)}, +fillChildrenElsBySelectors:function(a){var b=this.$el,d=this.control,c,f,a=a||this.childrenElSelectors;for(c in a)f=a[c],"function"===typeof f?d.setInternal(c,f(b)):d.setInternal(c,this.$(e.substitute(f,this.renderData))),delete a[c]},renderTpl:function(a,b,d){b=b||this.renderData;d=d||this.renderCommands;return(new (this.get("xtemplate"))(a,{control:this.control,view:this,commands:d})).render(b)},getComponentConstructorByNode:function(a,b){var c=b[0].className;return c?(c=c.replace(RegExp("\\b"+ +a,"ig"),""),d.getConstructorByXClass(c)):null},getComponentCssClasses:function(){if(this.componentCssClasses)return this.componentCssClasses;for(var a=this.control.constructor,b,d=[];a&&!a.prototype.hasOwnProperty("isControl");)(b=a.xclass)&&d.push(b),a=a.superclass&&a.superclass.constructor;return this.componentCssClasses=d},getBaseCssClasses:function(a){for(var a=n(a),b=this.getComponentCssClasses(),d=0,c=this.get("control"),f="",e=b.length,c=c.get("prefixCls");dj)a.on("dblclick",this.handleDblClick,this)}},sync:function(){this.fire("beforeSyncUI");this.syncUI();this.view.sync();this.__callPluginsMethod("pluginSyncUI");this.fire("afterSyncUI")},createComponent:function(a,b){return d.createComponent(a,b||this)},_onSetFocused:function(a){var b= +KISSY.add("component/control",["node","./control/process","component/manager","./control/render"],function(e,b){function g(){var a,b=this;do a=b.ATTRS,b=b.superclass;while(!a||!a.xrender);return a.xrender.value}var n=b("node"),m=b("./control/process"),h=b("component/manager"),c=b("./control/render"),i=e.UA.ieMode,j=e.Features,l=n.Gesture,o=j.isTouchGestureSupported();j.isTouchEventSupported();c=m.extend({isControl:!0,createDom:function(){var a=this.get("xrender"),b=this.get("view"),c=this.get("id"); +b?b.set("control",this):this.set("view",this.view=b=new a({control:this}));b.create();a=b.getKeyEventTarget();this.get("allowTextSelection")||a.unselectable();h.addComponent(c,this)},renderUI:function(){this.view.render()},bindUI:function(){var a=this.view.getKeyEventTarget();if(this.get("focusable"))a.on("focus",this.handleFocus,this).on("blur",this.handleBlur,this).on("keydown",this.handleKeydown,this);if(this.get("handleMouseEvents")){a=this.$el;a.on("mouseenter",this.handleMouseEnter,this).on("mouseleave", +this.handleMouseLeave,this).on("contextmenu",this.handleContextMenu,this);a.on(l.start,this.handleMouseDown,this).on(l.end,this.handleMouseUp,this).on(l.tap,this.handleClick,this);if(l.cancel)a.on(l.cancel,this.handleMouseUp,this);if(9>i)a.on("dblclick",this.handleDblClick,this)}},sync:function(){this.fire("beforeSyncUI");this.syncUI();this.view.sync();this.__callPluginsMethod("pluginSyncUI");this.fire("afterSyncUI")},createComponent:function(a,b){return h.createComponent(a,b||this)},_onSetFocused:function(a){var b= this.view.getKeyEventTarget()[0];a?b.focus():b.ownerDocument.activeElement===b&&b.ownerDocument.body.focus()},_onSetX:function(a){this.$el.offset({left:a})},_onSetY:function(a){this.$el.offset({top:a})},_onSetVisible:function(a){this.fire(a?"show":"hide")},show:function(){this.render();this.set("visible",!0);return this},hide:function(){this.set("visible",!1);return this},focus:function(){this.get("focusable")&&this.set("focused",!0)},blur:function(){this.get("focusable")&&this.set("focused",!1)}, move:function(a,b){this.set({x:a,y:b})},handleDblClick:function(a){this.get("disabled")||this.handleDblClickInternal(a)},handleDblClickInternal:function(a){this.handleClickInternal(a)},handleMouseEnter:function(a){this.get("disabled")||this.handleMouseEnterInternal(a)},handleMouseEnterInternal:function(a){this.set("highlighted",!!a)},handleMouseLeave:function(a){this.get("disabled")||this.handleMouseLeaveInternal(a)},handleMouseLeaveInternal:function(a){this.set("active",!1);this.set("highlighted", -!a)},handleMouseDown:function(a){this.get("disabled")||this.handleMouseDownInternal(a)},handleMouseDownInternal:function(a){var b;if(1===a.which||n)this.get("activeable")&&this.set("active",!0),this.get("focusable")&&this.focus(),this.get("allowTextSelection")||(b=(b=a.target.nodeName)&&b.toLowerCase(),"input"!==b&&"textarea"!==b&&a.preventDefault())},handleMouseUp:function(a){this.get("disabled")||this.handleMouseUpInternal(a)},handleMouseUpInternal:function(a){this.get("active")&&(1===a.which|| -n)&&this.set("active",!1)},handleContextMenu:function(a){this.get("disabled")||this.handleContextMenuInternal(a)},handleContextMenuInternal:function(){},handleFocus:function(){this.get("disabled")||this.handleFocusInternal()},handleFocusInternal:function(){this.focus();this.fire("focus")},handleBlur:function(){this.get("disabled")||this.handleBlurInternal()},handleBlurInternal:function(){this.blur();this.fire("blur")},handleKeydown:function(a){if(!this.get("disabled")&&this.handleKeyDownInternal(a))return a.halt(), -!0},handleKeyDownInternal:function(a){if(a.keyCode===m.KeyCode.ENTER)return this.handleClickInternal(a)},handleClick:function(a){this.get("disabled")||this.handleClickInternal(a)},handleClickInternal:function(){this.get("focusable")&&this.focus()},destructor:function(){d.removeComponent(this.get("id"));this.view?this.view.destroy():this.get("srcNode")&&this.get("srcNode").remove()}},{name:"control",ATTRS:{id:{view:1,valueFn:function(){return g.guid("ks-component")}},content:{view:1,value:""},width:{view:1}, -height:{view:1},elCls:{view:1,value:[],setter:function(a){"string"===typeof a&&(a=a.split(/\s+/));return a||[]}},elStyle:{view:1,value:{}},elAttrs:{view:1,value:{}},elBefore:{},el:{setter:function(a){this.$el=a;this.el=a[0]}},x:{},y:{},xy:{setter:function(a){var b=g.makeArray(a);b.length&&(void 0!==b[0]&&this.set("x",b[0]),void 0!==b[1]&&this.set("y",b[1]));return a},getter:function(){return[this.get("x"),this.get("y")]}},zIndex:{view:1},render:{},visible:{sync:0,value:!0,view:1},srcNode:{setter:function(a){return m.all(a)}}, -handleMouseEvents:{value:!0},focusable:{value:!0,view:1},allowTextSelection:{value:!1},activeable:{value:!0},focused:{view:1},active:{view:1,value:!1},highlighted:{view:1,value:!1},prefixCls:{view:1,value:g.config("component/prefixCls")||"ks-"},prefixXClass:{},parent:{setter:function(a,b){(b=this.get("parent"))&&this.removeTarget(b);a&&this.addTarget(a)}},disabled:{view:1,value:!1},xrender:{value:c},view:{setter:function(a){this.view=a}}}});c.getDefaultRender=h;c.extend=function f(b,c,i){var j=g.makeArray(arguments), -e,l=j[j.length-1];if(e=l.xclass)l.name=e;j=k.extend.apply(this,j);e&&d.setConstructorByXClass(e,j);j.extend=f;j.getDefaultRender=h;return j};return c}); +!a)},handleMouseDown:function(a){this.get("disabled")||this.handleMouseDownInternal(a)},handleMouseDownInternal:function(a){var b;if(1===a.which||o)this.get("activeable")&&this.set("active",!0),this.get("focusable")&&this.focus(),this.get("allowTextSelection")||(b=(b=a.target.nodeName)&&b.toLowerCase(),"input"!==b&&"textarea"!==b&&a.preventDefault())},handleMouseUp:function(a){this.get("disabled")||this.handleMouseUpInternal(a)},handleMouseUpInternal:function(a){this.get("active")&&(1===a.which|| +o)&&this.set("active",!1)},handleContextMenu:function(a){this.get("disabled")||this.handleContextMenuInternal(a)},handleContextMenuInternal:function(){},handleFocus:function(){this.get("disabled")||this.handleFocusInternal()},handleFocusInternal:function(){this.focus();this.fire("focus")},handleBlur:function(){this.get("disabled")||this.handleBlurInternal()},handleBlurInternal:function(){this.blur();this.fire("blur")},handleKeydown:function(a){if(!this.get("disabled")&&this.handleKeyDownInternal(a))return a.halt(), +!0},handleKeyDownInternal:function(a){if(a.keyCode===n.KeyCode.ENTER)return this.handleClickInternal(a)},handleClick:function(a){this.get("disabled")||this.handleClickInternal(a)},handleClickInternal:function(){this.get("focusable")&&this.focus()},destructor:function(){h.removeComponent(this.get("id"));this.view?this.view.destroy():this.get("srcNode")&&this.get("srcNode").remove()}},{name:"control",ATTRS:{id:{view:1,valueFn:function(){return e.guid("ks-component")}},content:{view:1,value:""},width:{view:1}, +height:{view:1},elCls:{view:1,value:[],setter:function(a){"string"===typeof a&&(a=a.split(/\s+/));return a||[]}},elStyle:{view:1,value:{}},elAttrs:{view:1,value:{}},elBefore:{},el:{setter:function(a){this.$el=a;this.el=a[0]}},x:{},y:{},xy:{setter:function(a){var b=e.makeArray(a);b.length&&(void 0!==b[0]&&this.set("x",b[0]),void 0!==b[1]&&this.set("y",b[1]));return a},getter:function(){return[this.get("x"),this.get("y")]}},zIndex:{view:1},render:{},visible:{sync:0,value:!0,view:1},srcNode:{setter:function(a){return n.all(a)}}, +handleMouseEvents:{value:!0},focusable:{value:!0,view:1},allowTextSelection:{value:!1},activeable:{value:!0},focused:{view:1},active:{view:1,value:!1},highlighted:{view:1,value:!1},prefixCls:{view:1,value:e.config("component/prefixCls")||"ks-"},prefixXClass:{},parent:{setter:function(a,b){(b=this.get("parent"))&&this.removeTarget(b);a&&this.addTarget(a)}},disabled:{view:1,value:!1},xrender:{value:c},view:{setter:function(a){this.view=a}}}});c.getDefaultRender=g;c.extend=function d(b,c,j){var i=e.makeArray(arguments), +l,k=i[i.length-1];if(l=k.xclass)k.name=l;i=m.extend.apply(this,i);l&&h.setConstructorByXClass(l,i);i.extend=d;i.getDefaultRender=g;return i};return c}); diff --git a/build/component/control.js b/build/component/control.js index f407f15d15..a1daf37e89 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 10 01:30 +build time: Feb 25 15:53 */ /* Combined processedModules by KISSY Module Compiler: @@ -462,9 +462,7 @@ KISSY.add("component/control", ["node", "./control/process", "component/manager" } if(self.get("handleMouseEvents")) { el = self.$el; - if(!isTouchEventSupported) { - el.on("mouseenter", self.handleMouseEnter, self).on("mouseleave", self.handleMouseLeave, self).on("contextmenu", self.handleContextMenu, self) - } + el.on("mouseenter", self.handleMouseEnter, self).on("mouseleave", self.handleMouseLeave, self).on("contextmenu", self.handleContextMenu, self); el.on(Gesture.start, self.handleMouseDown, self).on(Gesture.end, self.handleMouseUp, self).on(Gesture.tap, self.handleClick, self); if(Gesture.cancel) { el.on(Gesture.cancel, self.handleMouseUp, self) diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js index 7a8aecd298..72efaf6a80 100644 --- a/build/component/extension/delegate-children-min.js +++ b/build/component/extension/delegate-children-min.js @@ -1,8 +1,8 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:05 +build time: Feb 25 15:53 */ -KISSY.add("component/extension/delegate-children",["node","component/manager"],function(d,e){function h(a){a.target===this&&a.component.$el.addClass(this.__childClsTag)}function i(a){a.target===this&&(a=a.component.$el)&&a.removeClass(this.__childClsTag)}function f(){this.__childClsTag=d.guid("ks-component-child");this.on("afterRenderChild",h,this).on("afterRemoveChild",i,this)}var j=e("node"),k=e("component/manager"),g=d.UA.ieMode,c=j.Gesture,l=d.Features.isTouchEventSupported();d.augment(f,{handleChildrenEvents:function(a){if(!this.get("disabled")){var b= -this.getOwnerControl(a);if(b&&!b.get("disabled"))switch(a.stopPropagation(),a.type){case c.start:b.handleMouseDown(a);break;case c.end:b.handleMouseUp(a);break;case c.tap:b.handleClick(a);break;case "mouseenter":b.handleMouseEnter(a);break;case "mouseleave":b.handleMouseLeave(a);break;case "contextmenu":b.handleContextMenu(a);break;case "dblclick":b.handleDblClick(a);break;default:a.type+" unhandled!"}}},__bindUI:function(){var a=c.start+" "+c.end+" "+c.tap;c.cancel&&(a+=" "+c.cancel);l||(a+=" mouseenter mouseleave contextmenu "+ -(g&&9>g?"dblclick ":""));this.$el.delegate(a,"."+this.__childClsTag,this.handleChildrenEvents,this)},getOwnerControl:function(a){return k.getComponent(a.currentTarget.id)}});return f}); +KISSY.add("component/extension/delegate-children",["node","component/manager"],function(d,e){function h(a){a.target===this&&a.component.$el.addClass(this.__childClsTag)}function i(a){a.target===this&&(a=a.component.$el)&&a.removeClass(this.__childClsTag)}function f(){this.__childClsTag=d.guid("ks-component-child");this.on("afterRenderChild",h,this).on("afterRemoveChild",i,this)}var j=e("node"),k=e("component/manager"),g=d.UA.ieMode,c=j.Gesture;d.Features.isTouchEventSupported();d.augment(f,{handleChildrenEvents:function(a){if(!this.get("disabled")){var b= +this.getOwnerControl(a);if(b&&!b.get("disabled"))switch(a.stopPropagation(),a.type){case c.start:b.handleMouseDown(a);break;case c.end:b.handleMouseUp(a);break;case c.tap:b.handleClick(a);break;case "mouseenter":b.handleMouseEnter(a);break;case "mouseleave":b.handleMouseLeave(a);break;case "contextmenu":b.handleContextMenu(a);break;case "dblclick":b.handleDblClick(a);break;default:a.type+" unhandled!"}}},__bindUI:function(){var a=c.start+" "+c.end+" "+c.tap;c.cancel&&(a+=" "+c.cancel);a+=" mouseenter mouseleave contextmenu "+ +(g&&9>g?"dblclick ":"");this.$el.delegate(a,"."+this.__childClsTag,this.handleChildrenEvents,this)},getOwnerControl:function(a){return k.getComponent(a.currentTarget.id)}});return f}); diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js index 0f85eb53d9..63114d797e 100644 --- a/build/component/extension/delegate-children.js +++ b/build/component/extension/delegate-children.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 4 22:05 +build time: Feb 25 15:53 */ /* Combined processedModules by KISSY Module Compiler: @@ -68,9 +68,7 @@ KISSY.add("component/extension/delegate-children", ["node", "component/manager"] if(Gesture.cancel) { events += " " + Gesture.cancel } - if(!isTouchEventSupported) { - events += " mouseenter mouseleave contextmenu " + (ie && ie < 9 ? "dblclick " : "") - } + events += " mouseenter mouseleave contextmenu " + (ie && ie < 9 ? "dblclick " : ""); self.$el.delegate(events, "." + self.__childClsTag, self.handleChildrenEvents, self) }, getOwnerControl:function(e) { return Manager.getComponent(e.currentTarget.id) diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index 6a18c697af..b4feab3533 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,33 +1,32 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 13 19:28 +build time: Feb 25 15:53 */ -KISSY.add("event/dom/touch/handle-map",[],function(){return{}});KISSY.add("event/dom/touch/single-touch",[],function(e){function a(){}a.prototype={constructor:a,requiredTouchCount:1,onTouchStart:function(a){if(a.touches.length!==this.requiredTouchCount)return!1;a=this.lastTouches=a.touches;this.lastXY={pageX:a[0].pageX,pageY:a[0].pageY}},onTouchMove:e.noop,onTouchEnd:e.noop};return a}); -KISSY.add("event/dom/touch/tap",["./handle-map","event/dom/base","./single-touch"],function(e,a){function c(d){d.preventDefault()}function h(){h.superclass.constructor.apply(this,arguments)}var g=a("./handle-map"),i=a("event/dom/base"),f=a("./single-touch"),k=i.Object;e.extend(h,f,{onTouchMove:function(d){var a=this.lastXY,d=d.changedTouches[0];if(!d||5Math.max(j,r))return;r>j?b.isHorizontal=0:b.isVertical=0}}else if(b.isVertical&&rq?"left":"right";else if(b.isVertical)q=0>m?"up":"down",j=r;else return!1;i.fire(a.target, -f?d:k,{originalEvent:a.originalEvent,pageX:g.pageX,pageY:g.pageY,which:1,touch:g,direction:q,distance:j,duration:(a.timeStamp-b.startTime)/1E3})}function h(){}var g=a("./handle-map"),i=a("event/dom/base"),f=a("./single-touch"),k="swipe",d="swiping",l=50;e.extend(h,f,{onTouchStart:function(b){if(!1===h.superclass.onTouchStart.apply(this,arguments))return!1;var a=b.touches[0];this.startTime=b.timeStamp;this.isVertical=this.isHorizontal=1;this.startX=a.pageX;this.startY=a.pageY;-1!==b.type.indexOf("mouse")&& -b.preventDefault()},onTouchMove:function(b){var a=b.changedTouches[0],d=a.pageY-this.startY,a=Math.abs(a.pageX-this.startX),d=Math.abs(d);if(1E3c)){this.lastEndTime=0;g.fire(e,"doubleTap",{touch:b,duration:c/1E3});return}c=d-this.startTime;300i&&this.end(a)},onTouchEnd:function(a){this.end(a)},start:function(){this.isTracking||(this.isTracking=!0,this.isStarted=!1)},fireEnd:e.noop,getCommonTarget:function(a){var c=a.touches,a=c[0].target,c=c[1].target;if(a===c||h.contains(a,c))return a;for(;;){if(h.contains(c, -a))return c;c=c.parentNode}"getCommonTarget error!"},end:function(a){this.isTracking&&(this.isTracking=!1,this.isStarted&&(this.isStarted=!1,this.fireEnd(a)))}};return c}); -KISSY.add("event/dom/touch/pinch",["./handle-map","event/dom/base","./multi-touch"],function(e,a){function c(){}function h(a){2===a.touches.length&&a.preventDefault()}var g=a("./handle-map"),i=a("event/dom/base"),f=a("./multi-touch");e.extend(c,f,{onTouchMove:function(a){if(this.isTracking){var d=a.touches;if(0-1&&c.splice(a,1)},2500)}},isEventSimulatedFromTouch:function(a){for(var c= -this.lastTouches,b=a.clientX,a=a.clientY,d=0,e=c.length,f;dj)){this.lastEndTime=0;l.fire(g,"doubleTap",{touch:c,pageX:b.pageX,pageY:b.pageY,which:1,duration:j/1E3});return}j=e-this.startTime;300Math.max(q,r))return;r>q?g.isHorizontal=0:g.isVertical=0}}else if(g.isVertical&&rd?"left":"right";else if(g.isVertical)d=0>p?"up":"down",q=r;else return!1;l.fire(c.target, +f?e:m,{originalEvent:c.originalEvent,pageX:a.pageX,pageY:a.pageY,which:1,touch:a,direction:d,distance:q,duration:(c.timeStamp-g.startTime)/1E3})}function h(){}var c=a("./handle-map"),l=a("event/dom/base"),i=a("./single-touch"),m="swipe",e="swiping",b=50;f.extend(h,i,{onTouchStart:function(g){if(!1===h.superclass.onTouchStart.apply(this,arguments))return!1;var e=g.touches[0];this.startTime=g.timeStamp;this.isVertical=this.isHorizontal=1;this.startX=e.pageX;this.startY=e.pageY;-1!==g.type.toLowerCase().indexOf("mouse")&& +g.preventDefault()},onTouchMove:function(e){var b=e.changedTouches[0],c=b.pageY-this.startY,b=Math.abs(b.pageX-this.startX),c=Math.abs(c);if(1E3a&&this.end(c)},onTouchEnd:function(c){this.end(c)},start:function(){this.isTracking||(this.isTracking=!0,this.isStarted=!1)},fireEnd:f.noop,getCommonTarget:function(c){var a=c.touches,c=a[0].target,a=a[1].target;if(c===a||h.contains(c,a))return c;for(;;){if(h.contains(a, +c))return a;a=a.parentNode}"getCommonTarget error!"},end:function(a){this.isTracking&&(this.isTracking=!1,this.isStarted&&(this.isStarted=!1,this.fireEnd(a)))}};return k}); +KISSY.add("event/dom/touch/pinch",["./handle-map","event/dom/base","./multi-touch"],function(f,a){function k(){}function h(a){2===a.targetTouches.length&&a.preventDefault()}var c=a("./handle-map"),l=a("event/dom/base"),i=a("./multi-touch");f.extend(k,i,{onTouchMove:function(a){if(this.isTracking){var e=a.touches;if(0-1&&a.splice(d,1)},2500)}},isEventSimulatedFromTouch:function(d){for(var a=this.lastTouches,c=d.clientX,d=d.clientY,e=0,b=a.length,f;e sensitivity || Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity) { + if(!currentTouch || Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY || Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY) { return false } return undefined }, onTouchEnd:function(e) { - var touch = e.changedTouches[0]; + var self = this, lastXY; + if(!(lastXY = self.lastXY)) { + return + } var target = e.target; - var eventObject = new DomEventObject({type:event, target:target, currentTarget:target}); - S.mix(eventObject, {pageX:touch.pageX, pageY:touch.pageY, originalEvent:e.originalEvent, which:1, touch:touch}); - DomEvent.fire(target, event, eventObject); - if(eventObject.isDefaultPrevented()) { - DomEvent.on(target, "click", {fn:preventDefault, once:1}) + var touch = e.changedTouches[0]; + if(self.tapHoldTimer) { + clearTimeout(self.tapHoldTimer); + self.tapHoldTimer = 0 + } + var eventObject = new DomEventObject(e.originalEvent); + S.mix(eventObject, {type:TAP_EVENT, which:1, pageX:lastXY.pageX, pageY:lastXY.pageY, target:target, currentTarget:target}); + eventObject.touch = touch; + DomEvent.fire(target, TAP_EVENT, eventObject); + if(eventObject.isDefaultPrevented() && S.UA.mobile) { + if(S.UA.ios) { + e.preventDefault() + }else { + DomEvent.on(target.ownerDocument || target, "click", {fn:preventDefault, once:1}) + } + } + var lastEndTime = self.lastEndTime, time = e.timeStamp, duration; + self.lastEndTime = time; + if(lastEndTime) { + duration = time - lastEndTime; + if(duration < SINGLE_TAP_DELAY) { + self.lastEndTime = 0; + DomEvent.fire(target, DOUBLE_TAP_EVENT, {touch:touch, pageX:lastXY.pageX, pageY:lastXY.pageY, which:1, duration:duration / 1E3}); + return + } + } + duration = time - self.startTime; + if(duration > SINGLE_TAP_DELAY) { + DomEvent.fire(target, SINGLE_TAP_EVENT, {touch:touch, pageX:lastXY.pageX, pageY:lastXY.pageY, which:1, duration:duration / 1E3}) + }else { + self.singleTapTimer = setTimeout(function() { + DomEvent.fire(target, SINGLE_TAP_EVENT, {touch:touch, pageX:lastXY.pageX, pageY:lastXY.pageY, which:1, duration:duration / 1E3}) + }, SINGLE_TAP_DELAY) } }}); - eventHandleMap[event] = {handle:new Tap}; + eventHandleMap[TAP_EVENT] = eventHandleMap[DOUBLE_TAP_EVENT] = eventHandleMap[SINGLE_TAP_EVENT] = eventHandleMap[TAP_HOLD_EVENT] = {handle:new Tap}; return Tap }); KISSY.add("event/dom/touch/swipe", ["./handle-map", "event/dom/base", "./single-touch"], function(S, require) { @@ -122,7 +172,7 @@ KISSY.add("event/dom/touch/swipe", ["./handle-map", "event/dom/base", "./single- self.isVertical = 1; self.startX = touch.pageX; this.startY = touch.pageY; - if(e.type.indexOf("mouse") !== -1) { + if(e.type.toLowerCase().indexOf("mouse") !== -1) { e.preventDefault() } return undefined @@ -148,48 +198,6 @@ KISSY.add("event/dom/touch/swipe", ["./handle-map", "event/dom/base", "./single- eventHandleMap[event] = eventHandleMap[ingEvent] = {handle:new Swipe}; return Swipe }); -KISSY.add("event/dom/touch/double-tap", ["./handle-map", "event/dom/base", "./single-touch"], function(S, require) { - var eventHandleMap = require("./handle-map"); - var DomEvent = require("event/dom/base"); - var SingleTouch = require("./single-touch"); - var SINGLE_TAP = "singleTap", DOUBLE_TAP = "doubleTap", MAX_DURATION = 300; - function DoubleTap() { - } - S.extend(DoubleTap, SingleTouch, {onTouchStart:function(e) { - var self = this; - if(DoubleTap.superclass.onTouchStart.apply(self, arguments) === false) { - return false - } - self.startTime = e.timeStamp; - if(self.singleTapTimer) { - clearTimeout(self.singleTapTimer); - self.singleTapTimer = 0 - } - }, onTouchMove:function() { - return false - }, onTouchEnd:function(e) { - var self = this, lastEndTime = self.lastEndTime, time = e.timeStamp, target = e.target, touch = e.changedTouches[0], duration = time - self.startTime; - self.lastEndTime = time; - if(lastEndTime) { - duration = time - lastEndTime; - if(duration < MAX_DURATION) { - self.lastEndTime = 0; - DomEvent.fire(target, DOUBLE_TAP, {touch:touch, duration:duration / 1E3}); - return - } - } - duration = time - self.startTime; - if(duration > MAX_DURATION) { - DomEvent.fire(target, SINGLE_TAP, {touch:touch, pageX:touch.pageX, which:1, pageY:touch.pageY, duration:duration / 1E3}) - }else { - self.singleTapTimer = setTimeout(function() { - DomEvent.fire(target, SINGLE_TAP, {touch:touch, pageX:touch.pageX, which:1, pageY:touch.pageY, duration:duration / 1E3}) - }, MAX_DURATION) - } - }}); - eventHandleMap[SINGLE_TAP] = eventHandleMap[DOUBLE_TAP] = {handle:new DoubleTap}; - return DoubleTap -}); KISSY.add("event/dom/touch/multi-touch", ["dom"], function(S, require) { var Dom = require("dom"); function MultiTouch() { @@ -276,43 +284,20 @@ KISSY.add("event/dom/touch/pinch", ["./handle-map", "event/dom/base", "./multi-t var p = new Pinch; eventHandleMap[PINCH_START] = eventHandleMap[PINCH_END] = {handle:p}; function prevent(e) { - if(e.touches.length === 2) { + if(e.targetTouches.length === 2) { e.preventDefault() } } - eventHandleMap[PINCH] = {handle:p, setup:function() { - DomEvent.on(this, "touchmove", prevent) - }, tearDown:function() { - DomEvent.detach(this, "touchmove", prevent) - }}; - return Pinch -}); -KISSY.add("event/dom/touch/tap-hold", ["./handle-map", "event/dom/base", "./single-touch"], function(S, require) { - var eventHandleMap = require("./handle-map"); - var DomEvent = require("event/dom/base"); - var SingleTouch = require("./single-touch"); - var event = "tapHold"; - var duration = 1E3; - function TapHold() { - } - S.extend(TapHold, SingleTouch, {onTouchStart:function(e) { - var self = this; - if(TapHold.superclass.onTouchStart.call(self, e) === false) { - return false + var config = eventHandleMap[PINCH] = {handle:p}; + if(S.Feature.isTouchEventSupported()) { + config.setup = function() { + this.addEventListener("touchmove", prevent, false) + }; + config.tearDown = function() { + this.removeEventListener("touchmove", prevent, false) } - self.timer = setTimeout(function() { - var touch = e.touches[0]; - DomEvent.fire(e.target, event, {touch:touch, pageX:touch.pageX, pageY:touch.pageY, which:1, duration:(S.now() - e.timeStamp) / 1E3}) - }, duration); - return undefined - }, onTouchMove:function() { - clearTimeout(this.timer); - return false - }, onTouchEnd:function() { - clearTimeout(this.timer) - }}); - eventHandleMap[event] = {handle:new TapHold}; - return TapHold + } + return Pinch }); KISSY.add("event/dom/touch/rotate", ["./handle-map", "event/dom/base", "./multi-touch"], function(S, require) { var eventHandleMap = require("./handle-map"); @@ -358,30 +343,32 @@ KISSY.add("event/dom/touch/rotate", ["./handle-map", "event/dom/base", "./multi- DomEvent.fire(self.target, ROTATE_END, S.mix(e, {touches:self.lastTouches})) }}); function prevent(e) { - if(e.touches.length === 2) { + if(e.targetTouches.length === 2) { e.preventDefault() } } var r = new Rotate; eventHandleMap[ROTATE_END] = eventHandleMap[ROTATE_START] = {handle:r}; - eventHandleMap[ROTATE] = {handle:r, setup:function() { - DomEvent.on(this, "touchmove", prevent) - }, tearDown:function() { - DomEvent.detach(this, "touchmove", prevent) - }}; + var config = eventHandleMap[ROTATE] = {handle:r}; + if(S.Feature.isTouchEventSupported()) { + config.setup = function() { + this.addEventListener("touchmove", prevent, false) + }; + config.tearDown = function() { + this.removeEventListener("touchmove", prevent, false) + } + } return Rotate }); -KISSY.add("event/dom/touch/handle", ["dom", "./handle-map", "event/dom/base", "./tap", "./swipe", "./double-tap", "./pinch", "./tap-hold", "./rotate"], function(S, require) { +KISSY.add("event/dom/touch/handle", ["dom", "./handle-map", "event/dom/base", "./tap", "./swipe", "./pinch", "./rotate"], function(S, require) { var Dom = require("dom"); var eventHandleMap = require("./handle-map"); var DomEvent = require("event/dom/base"); require("./tap"); require("./swipe"); - require("./double-tap"); require("./pinch"); - require("./tap-hold"); require("./rotate"); - var key = S.guid("touch-handle"), Features = S.Features, gestureStartEvent, gestureMoveEvent, gestureEndEvent; + var key = S.guid("touch-handle"), Feature = S.Feature, gestureStartEvent, gestureMoveEvent, gestureEndEvent; function isTouchEvent(type) { return S.startsWith(type, "touch") } @@ -393,7 +380,7 @@ KISSY.add("event/dom/touch/handle", ["dom", "./handle-map", "event/dom/base", ". } var DUP_TIMEOUT = 2500; var DUP_DIST = 25; - if(Features.isTouchEventSupported()) { + if(Feature.isTouchEventSupported()) { if(S.UA.ios) { gestureEndEvent = "touchend touchcancel"; gestureStartEvent = "touchstart"; @@ -404,12 +391,12 @@ KISSY.add("event/dom/touch/handle", ["dom", "./handle-map", "event/dom/base", ". gestureMoveEvent = "touchmove mousemove" } }else { - if(Features.isPointerSupported()) { + if(Feature.isPointerSupported()) { gestureStartEvent = "pointerdown"; gestureMoveEvent = "pointermove"; gestureEndEvent = "pointerup pointercancel" }else { - if(Features.isMsPointerSupported()) { + if(Feature.isMsPointerSupported()) { gestureStartEvent = "MSPointerDown"; gestureMoveEvent = "MSPointerMove"; gestureEndEvent = "MSPointerUp MSPointerCancel" @@ -489,18 +476,27 @@ KISSY.add("event/dom/touch/handle", ["dom", "./handle-map", "event/dom/base", ". } return 0 }, normalize:function(e) { - var type = e.type, notUp, touchList; - if(isTouchEvent(type)) { + var type = e.type, notUp, touchEvent, touchList; + if(touchEvent = isTouchEvent(type)) { touchList = type === "touchend" || type === "touchcancel" ? e.changedTouches : e.touches; - if(touchList.length === 1) { - e.which = 1; - e.pageX = touchList[0].pageX; - e.pageY = touchList[0].pageY - } - return e + e.isTouch = 1 }else { + if(isPointerEvent(type)) { + var pointerType = e.originalEvent.pointerType; + if(pointerType === "touch") { + e.isTouch = 1 + } + } touchList = this.touches } + if(touchList && touchList.length === 1) { + e.which = 1; + e.pageX = touchList[0].pageX; + e.pageY = touchList[0].pageY + } + if(touchEvent) { + return e + } notUp = !type.match(/(up|cancel)$/i); e.touches = notUp ? touchList : []; e.targetTouches = notUp ? touchList : []; @@ -646,6 +642,7 @@ KISSY.add("event/dom/touch", ["event/dom/base", "./touch/handle-map", "./touch/h var moveEvent = Gesture.move = "KSPointerMove"; var endEvent = Gesture.end = "KSPointerUp"; Gesture.tap = "tap"; + Gesture.singleTap = "singleTap"; Gesture.doubleTap = "doubleTap"; eventHandleMap[startEvent] = {handle:{isActive:1, onTouchStart:function(e) { DomEvent.fire(e.target, startEvent, e) diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index ab7e2f3ff0..f77146fe85 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,103 +1,103 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:21 +build time: Feb 25 16:01 */ -var KISSY=function(a){function g(a){var e={},g;for(g in j)(function(b,d){b[d]=function(b){return f.log(b,d,a)}})(e,g);return e}var f,i=0,j={debug:10,info:20,warn:30,error:40};f={__BUILD_TIME:"20140106132044",Env:{host:this},Config:{debug:"",fns:{}},version:"1.41",config:function(c,e){var g,b,d=this,l,h=f.Config,q=h.fns;f.isObject(c)?f.each(c,function(a,b){(l=q[b])?l.call(d,a):h[b]=a}):(g=q[c],e===a?b=g?g.call(d):h[c]:g?b=g.call(d,e):h[c]=e);return b},log:function(){return a},getLogger:function(a){return g(a)}, -error:function(){},guid:function(a){return(a||"")+i++},Logger:{}};f.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return f}(); -(function(a,g){function f(){}function i(d,k,b,h,l,e){if(!k||!d)return d;var f,t,s,o;k[c]=d;e.push(k);s=a.keys(k);o=s.length;for(f=0;f=c)throw new TypeError;}while(1)}for(;k","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,l=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in e)m[e[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(i(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(l,"\\$&")},unEscapeHtml:function(a){return a.replace(j(),function(a,b){return e[a]||String.fromCharCode(+b)})},param:function(b,d,k,e){d=d||"&";k=k||"=";e===g&&(e=!0);var l=[],r,j,i,t,s,o= -a.urlEncode;for(r in b)if(s=b[r],r=o(r),f(s))l.push(r),s!==g&&l.push(k,o(s+c)),l.push(d);else if(a.isArray(s)&&s.length){j=0;for(t=s.length;jg&&(c=e,f.apply(j||this,arguments))}},buffer:function(g,i,j){function c(){c.stop();e=a.later(g,i,0,j||this,arguments)}i=i||150;if(-1===i)return function(){g.apply(j||this,arguments)};var e=null;c.stop=function(){e&&(e.cancel(),e=0)};return c}})})(KISSY); -(function(a,g){function f(b,d,l){var h=b,g,k,j,i;if(!b)return h;if(b[e])return l[b[e]].destination;if("object"===typeof b){i=b.constructor;if(a.inArray(i,[Boolean,String,Number,Date,RegExp]))h=new i(b.valueOf());else if(g=a.isArray(b))h=d?a.filter(b,d):b.concat();else if(k=a.isPlainObject(b))h={};b[e]=i=a.guid("c");l[i]={destination:h,input:b}}if(g)for(b=0;b".replace("{{version}}",e),07)},isTransitionSupported:function(){return l!== -g},isTransformSupported:function(){return h!==g},isTransform3dSupported:function(){return q},isClassListSupported:function(){return p},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&r},isIELessThan:function(a){return!!(v&&v=k},!0))?c.push(l[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=h?e[a]=!0:f!==q?e[a]=!1:p.checkModsLoadRecursively(g.getNormalizedRequires(),b,d,c,e)?(g.status=h,e[a]=!0):e[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; -d.status>=k||(d.status=k,d.cjs||p.attachModsRecursively(d.getNormalizedRequires(),b),p.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:p.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=l},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return p.unalias(a, -p.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,f,h=0,l,i=a.Env.mods;!h;){h=1;for(c=d.length-1;0<=c;c--)if((e=i[d[c]])&&"alias"in e){h=0;f=e.alias;"string"===typeof f&&(f=[f]);for(l=f.length-1;0<=l;l--)f[l]||f.splice(l,1);d.splice.apply(d,[c,1].concat(g(f)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,f;if(b){e=0;for(f=b.length;e=c)throw new TypeError;}while(1)}for(;l","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,k=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in e)m[e[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(j(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(k,"\\$&")},unEscapeHtml:function(a){return a.replace(i(),function(a,b){return e[a]||String.fromCharCode(+b)})},param:function(b,d,l,e){d=d||"&";l=l||"=";e===f&&(e=!0);var k=[],i,j,m,r,p,n= +a.urlEncode;for(i in b)if(p=b[i],i=n(i),h(p))k.push(i),p!==f&&k.push(l,n(p+c)),k.push(d);else if(a.isArray(p)&&p.length){j=0;for(r=p.length;jj&&(c=e,f.apply(i||this,arguments))}},buffer:function(f,j,i){function c(){c.stop();e=a.later(f,j,0,i||this,arguments)}j=j||150;if(-1===j)return function(){f.apply(i||this,arguments)};var e=null;c.stop=function(){e&&(e.cancel(),e=0)};return c}})})(KISSY); +(function(a,f){function h(b,d,k){var g=b,f,l,i,j;if(!b)return g;if(b[e])return k[b[e]].destination;if("object"===typeof b){j=b.constructor;if(a.inArray(j,[Boolean,String,Number,Date,RegExp]))g=new j(b.valueOf());else if(f=a.isArray(b))g=d?a.filter(b,d):b.concat();else if(l=a.isPlainObject(b))g={};b[e]=j=a.guid("c");k[j]={destination:g,input:b}}if(f)for(b=0;b".replace("{{version}}",e),07)},isTransitionSupported:function(){return g!==f},isTransformSupported:function(){return u!==f},isTransform3dSupported:function(){return l},isClassListSupported:function(){return s},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&t},isIELessThan:function(a){return!!(r&&r=l},!0))?c.push(h[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=g?e[a]=!0:f!==u?e[a]=!1:q.checkModsLoadRecursively(k.getNormalizedRequires(),b,d,c,e)?(k.status=g,e[a]=!0):e[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; +d.status>=l||(d.status=l,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=k},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, +q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,g,k=0,h,i=a.Env.mods;!k;){k=1;for(c=d.length-1;0<=c;c--)if((e=i[d[c]])&&"alias"in e){k=0;g=e.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);d.splice.apply(d,[c,1].concat(f(g)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,g;if(b){e=0;for(g=b.length;ec.length&&(c=e); b=this.packageInfo=b[c]||m}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=e.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return e.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,f=this.requires;if(!f||0===f.length)return f||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=e.normalizeModNames(this.runtime,f,this.name)}};j.Module=i;var m=new f({name:"",runtime:a})})(KISSY); -(function(a){function g(a,d){var c=0;if(j.webkit)a.sheet&&("webkit css poll loaded: "+d,c=1);else if(a.sheet)try{a.sheet.cssRules&&("same domain css poll loaded: "+d,c=1)}catch(e){var f=e.name;"css poll exception: "+f+" "+e.code+" "+d;"NS_ERROR_DOM_SECURITY_ERR"===f&&("css poll exception: "+f+"loaded : "+d,c=1)}return c}function f(){for(var b in m){var d=m[b],c=d.node;g(c,b)&&(d.callback&&d.callback.call(c),delete m[b])}a.isEmptyObject(m)?("clear css poll timer",e=0):e=setTimeout(f,i)}var i=30,j= -a.UA,c=a.Loader.Utils,e=0,m={};c.pollCss=function(a,d){var c;c=m[a.href]={};c.node=a;c.callback=d;e||("start css poll timer",f())};c.isCssLoaded=g})(KISSY); -(function(a){var g=require("fs"),f=require("vm");a.getScript=function(i,j,c){var e;a.isPlainObject(j)&&(c=j.charset,e=j.error,j=j.success);if(a.startsWith(a.Path.extname(i).toLowerCase(),".css"))"node js can not load css: "+i,"warn",j&&j();else{var m=(new a.Uri(i)).getPath();try{var b=g.readFileSync(m,c);f.runInThisContext("(function(KISSY,requireNode){"+b+"})",i)(a,require);j&&j()}catch(d){"in file: "+i,"error",d.stack,"error",e&&e(d)}}}})(KISSY); -(function(a,g){function f(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");e?b=e.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var i=a.Loader,j=i.Utils,c=a.Env.host.location,e,m,b=a.Config.fns;if(!a.UA.nodejs&&c&&(m=c.href))e=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,j=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=f(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;j[c]?j[c].reset(b):j[c]=new i.Package(b)}),g):!1===b?(e.packages={},g):j};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var e=j.createModuleInfo(c,d,b);e.status===i.Status.INIT&&a.mix(e,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=f(a);b.base=a.toString();b.baseUri=a;return g}})(KISSY); -(function(a,g){function f(b,c,f,h,i){var l=c&&c.length,j=[],k=[];a.each(c,function(c){var s,m={timeout:i,success:function(){k.push(c);s&&r&&("standard browser get mod name after load : "+s.name,d.registerModule(b,s.name,r.factory,r.config),r=g);--l||f(k,j)},error:function(){j.push(c);--l||f(k,j)},charset:h};c.combine||(s=c.mods[0],"css"===s.getType()?s=g:e&&(u=s.name,v=a.now(),m.attrs={"data-mod-name":s.name}));a.Config.loadModsFn(c,m)})}function i(b,d){a.mix(this,{runtime:b,waitingModules:d})}function j(a, -b){if(!a&&"function"===typeof b&&1a.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,l=d.getHash,h=b.LOADING,q=b.LOADED,k=b.READY_TO_ATTACH,n=b.ERROR,p=a.now();i.groupTag=p;var r,u,v;i.add=function(b,c,f,h,i){if(3===i&&a.isArray(c))var l= -c,c=f,f={requires:l,cjs:1};if("function"===typeof b||1===i)if(f=c,c=b,f=j(f,c),e){for(var b=a.Env.host.document.getElementsByTagName("script"),k,i=b.length-1;0<=i;i--)if(l=b[i],"interactive"===l.readyState){k=l;break}k?k=k.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+u,k=u);d.registerModule(h,k,c,f);u=null;v=0}else r={factory:c,config:f};else e?(u=null,v=0):r=g,f=j(f,c),d.registerModule(h,b,c,f)};a.augment(i,{use:function(b){var c= -a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){f(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){f(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| -(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var e,f,g,i,l=this.waitingModules,j=this.runtime,c=c||{},b=b||{};for(e=0;e=k||(i!==q&&!l.contains(f)&&(i!==h&&(g.status=h,c[f]=1),g.wait(function(a){l.remove(a.name);l.notifyAll()}),l.add(f)),this.calculate(g.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= -{},g,h=this.runtime,i=0,l=b.length,k,j,m,u,v,q,n,r,G;ie||q+j.join(d).length+u>b)j.pop(),k.pop(),H(),j=[],k=[],B--}else p.push({combine:0,fullpath:C,mods:[A]})}j.length&&H()}}return g}});m.ComboLoader=i})(KISSY); -(function(a,g){function f(b){a.mix(this,{fn:b,waitMods:{}})}var i=a.Loader,j=a.Env,c=i.Utils,e=a.setImmediate,m=i.ComboLoader;f.prototype={constructor:f,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};i.WaitingModules=f;a.mix(a,{add:function(b,c,e){m.add(b,c,e,a,arguments.length)},use:function(b,d){function i(){++p;var f=[],m=a.now(), -s;s=c.checkModsLoadRecursively(h,a,g,f);p+" check duration "+(a.now()-m);s?(c.attachModsRecursively(h,a),d&&(n?r():e(r))):f.length?k&&(n?k.apply(a,f):e(function(){k.apply(a,f)})):(p+" reload "+b,u.fn=i,j.use(h))}var h,j,k,n,p=0,r,u=new f(i);a.isPlainObject(d)&&(n=d.sync,k=d.error,d=d.success);r=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);h=c.unalias(a,b);j=new m(a,u);n?u.notifyAll():e(function(){u.notifyAll()});return a},require:function(b, -d){if(b){var e=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(e,a);return c.getModules(a,e)[1]}}});j.mods={}})(KISSY); -(function(a){function g(f){var g=f.src||"";if(!g.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},i=f.comboPrefix||e,k=f.comboSep||m,n,p=g.indexOf(i);-1===p?n=g.replace(b,"$1"):(n=g.substring(0,p),"/"!==n.charAt(n.length-1)&&(n+="/"),i=g.substring(p+i.length).split(k),a.each(i,function(a){if(a.match(d))return n+=a.replace(b,"$1"),!1}));"tag"in f||(i=g.lastIndexOf("?t="),-1!==i&&(g=g.substring(i+1),f.tag=j.getHash(c+g)));f.base=f.base||n;return f}function f(){var a= -i.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=g(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var i=a.Env.host&&a.Env.host.document,j=a.Loader.Utils,c="20140106132044",e="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:e,comboSep:m,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}): -i&&i.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},f()))})(KISSY);KISSY.add("i18n",{alias:function(a,g){return g+"/i18n/"+a.Config.lang}}); -(function(a,g){function f(){if(!b){c&&!j.nodejs&&p(i,k,f);b=1;for(var e=0;ea.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,k=d.getHash,g=b.LOADING,u=b.LOADED,l=b.READY_TO_ATTACH,o=b.ERROR,q=a.now();j.groupTag=q;var s,t,v;j.add=function(b,c,g,h,k){if(3===k&&a.isArray(c))var j= +c,c=g,g={requires:j,cjs:1};if("function"===typeof b||1===k)if(g=c,c=b,g=i(g,c),e){for(var b=a.Env.host.document.getElementsByTagName("script"),l,k=b.length-1;0<=k;k--)if(j=b[k],"interactive"===j.readyState){l=j;break}l?l=l.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+t,l=t);d.registerModule(h,l,c,g);t=null;v=0}else s={factory:c,config:g};else e?(t=null,v=0):s=f,g=i(g,c),d.registerModule(h,b,c,g)};a.augment(j,{use:function(b){var c= +a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){h(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=o;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){h(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| +(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=o);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var e,f,h,k,i=this.waitingModules,j=this.runtime,c=c||{},b=b||{};for(e=0;e=l||(k!==u&&!i.contains(f)&&(k!==g&&(h.status=g,c[f]=1),h.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(f)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= +{},g,h=this.runtime,k=0,i=b.length,j,l,m,t,v,u,o,s,G;ke||o+j.join(d).length+t>b)j.pop(),l.pop(),H(),j=[],l=[],B--}else s.push({combine:0,fullpath:C,mods:[A]})}j.length&&H()}}return g}});m.ComboLoader=j})(KISSY); +(function(a,f){function h(b){a.mix(this,{fn:b,waitMods:{}})}var j=a.Loader,i=a.Env,c=j.Utils,e=a.setImmediate,m=j.ComboLoader;h.prototype={constructor:h,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};j.WaitingModules=h;a.mix(a,{add:function(b,c,e){m.add(b,c,e,a,arguments.length)},use:function(b,d){function k(){++q;var h=[],m=a.now(), +p;p=c.checkModsLoadRecursively(g,a,f,h);q+" check duration "+(a.now()-m);p?(c.attachModsRecursively(g,a),d&&(o?s():e(s))):h.length?j&&(o?j.apply(a,h):e(function(){j.apply(a,h)})):(q+" reload "+b,t.fn=k,i.use(g))}var g,i,j,o,q=0,s,t=new h(k);a.isPlainObject(d)&&(o=d.sync,j=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);g=c.unalias(a,b);i=new m(a,t);o?t.notifyAll():e(function(){t.notifyAll()});return a},require:function(b, +d){if(b){var e=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(e,a);return c.getModules(a,e)[1]}}});i.mods={}})(KISSY); +(function(a){function f(f){var g=f.src||"";if(!g.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},h=f.comboPrefix||e,j=f.comboSep||m,o,q=g.indexOf(h);-1===q?o=g.replace(b,"$1"):(o=g.substring(0,q),"/"!==o.charAt(o.length-1)&&(o+="/"),h=g.substring(q+h.length).split(j),a.each(h,function(a){if(a.match(d))return o+=a.replace(b,"$1"),!1}));"tag"in f||(h=g.lastIndexOf("?t="),-1!==h&&(g=g.substring(h+1),f.tag=i.getHash(c+g)));f.base=f.base||o;return f}function h(){var a= +j.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var j=a.Env.host&&a.Env.host.document,i=a.Loader.Utils,c="20140225160104",e="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:e,comboSep:m,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}): +j&&j.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},h()))})(KISSY);KISSY.add("i18n",{alias:function(a,f){return f+"/i18n/"+a.Config.lang}}); +(function(a,f){function h(){if(!b){c&&!i.nodejs&&q(j,l,h);b=1;for(var e=0;eg.ieMode&&(i=null);if(i)a.add("json",function(){return a.JSON=i}),a.parseJson=function(a){return i.parse(a)};else{var j=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,e=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&j.test(b.replace(e,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +a({"xtemplate/runtime":{requires:["path"]}})})(function(a){KISSY.config("modules",a)},KISSY.Features,KISSY.UA); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var f=a.UA,h=a.Env.host,j=(f.nodejs&&"object"===typeof global?global:h).JSON;9>f.ieMode&&(j=null);if(j)a.add("json",function(){return a.JSON=j}),a.parseJson=function(a){return j.parse(a)};else{var i=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,e=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&i.test(b.replace(e,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/kissy-nodejs.js b/build/kissy-nodejs.js index 01938ed3e5..c0d6afe303 100644 --- a/build/kissy-nodejs.js +++ b/build/kissy-nodejs.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:21 +build time: Feb 25 16:01 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20140106132044' will replace with current timestamp when compressing. + * NOTICE: '20140225160104' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20140106132044', + __BUILD_TIME: '20140225160104', /** * KISSY Environment. @@ -3411,6 +3411,41 @@ var KISSY = (function (undefined) { } } + var vendorInfos = {}; + // return prefixed css prefix name + function getVendorInfo(name) { + if (vendorInfos[name]) { + return vendorInfos[name]; + } + // if already prefixed or need not to prefix + if (!documentElementStyle || name in documentElementStyle) { + vendorInfos[name] = { + name: name, + prefix: '' + }; + } else { + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), + vendorName, + i = VENDORS.length; + + while (i--) { + vendorName = VENDORS[i] + upperFirstName; + if (vendorName in documentElementStyle) { + vendorInfos[name] = { + name: vendorName, + prefix: VENDORS[i] + }; + } + } + + vendorInfos[name] = vendorInfos[name] || { + name: name, + prefix: false + }; + } + return vendorInfos[name]; + } + /** * browser features detection * @class KISSY.Features @@ -3549,6 +3584,14 @@ var KISSY = (function (undefined) { */ 'getTransformProperty': function () { return transformProperty; + }, + + getVendorCssPropPrefix: function (name) { + return getVendorInfo(name).prefix; + }, + + getVendorCssPropName: function (name) { + return getVendorInfo(name).name; } }; })(KISSY);/** @@ -5414,7 +5457,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140106132044'; + var TIMESTAMP = '20140225160104'; var defaultComboPrefix = '??'; var defaultComboSep = ','; @@ -6105,10 +6148,6 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'xtemplate/nodejs': {requires: ['xtemplate']} -}); -/*Generated By KISSY Module Compiler*/ -config({ 'xtemplate/runtime': {requires: ['path']} }); diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index 1b0af4a5bb..21962c8fee 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,16 +1,16 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Feb 14 16:48 +build time: Feb 25 15:54 */ -KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,k){var q=k("component/container"),r=k("component/extension/content-render"),p=j.Features,l=Math.floor,m,o={syncUI:function(){var d=this.control,e=d.el,f=d.contentEl,a=d.$contentEl,c=Math.max(f.offsetHeight,f.scrollHeight),f=Math.max(f.offsetWidth,f.scrollWidth),b=e.clientHeight,h=e.clientWidth;d.scrollHeight=c;d.scrollWidth=f;d.clientHeight=b;d.clientWidth=h;e=d.allowScroll={};c>b&&(e.top=1); -f>h&&(e.left=1);d.minScroll={left:0,top:0};var g,n;d.maxScroll={left:g=f-h,top:n=c-b};delete d.scrollStep;b=d.get("snap");c=d.get("scrollLeft");f=d.get("scrollTop");if(b){var s=a.offset(),a=d.pages="string"===typeof b?a.all(b):a.children(),b=d.get("pageIndex"),i=d.pagesOffset=[];a.each(function(a,b){var c=a.offset(),d=c.left-s.left,c=c.top-s.top;d<=g&&c<=n&&(i[b]={left:d,top:c,index:b})});if(b){d.scrollToPage(b);return}}d.scrollToWithBounds({left:c,top:f})},_onSetScrollLeft:function(d){this.control.contentEl.style.left= --d+"px"},_onSetScrollTop:function(d){this.control.contentEl.style.top=-d+"px"}};p.isTransform3dSupported()&&(m=p.getTransformProperty(),o._onSetScrollLeft=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-d),translateY:l(-e.get("scrollTop"))})},o._onSetScrollTop=function(d){var e=this.control;e.contentEl.style[m]=j.substitute("translate3d({translateX}px,{translateY}px,0)",{translateX:l(-e.get("scrollLeft")),translateY:l(-d)})}); -return q.getDefaultRender().extend([r],o,{name:"ScrollViewRender"})}); -KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,k){function q(){var a=this.el,c=a.scrollTop,b=a.scrollLeft;c&&this.set("scrollTop",c+this.get("scrollTop"));b&&this.set("scrollLeft",b+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function r(a,c){a.scrollView.set(c.prop,c.val)}var p=k("node"),l=k("anim"),m=k("component/container"),o=k("./base/render"),d=j.all,e=j.Features.isTouchEventSupported(),f=p.KeyCode;return m.extend({initializer:function(){this.scrollAnims= -[]},bindUI:function(){this.$el.on("mousewheel",this.handleMouseWheel,this).on("scroll",q,this)},handleKeyDownInternal:function(a){var c=d(a.target),b=c.nodeName();if(!("input"===b||"textarea"===b||"select"===b||c.hasAttr("contenteditable"))){var a=a.keyCode,c=this.getScrollStep(),h,b=this.allowScroll.left;if(this.allowScroll.top){var g=c.top,n=this.clientHeight,e=this.get("scrollTop");a===f.DOWN?(this.scrollToWithBounds({top:e+g}),h=!0):a===f.UP?(this.scrollToWithBounds({top:e-g}),h=!0):a===f.PAGE_DOWN? -(this.scrollToWithBounds({top:e+n}),h=!0):a===f.PAGE_UP&&(this.scrollToWithBounds({top:e-n}),h=!0)}b&&(c=c.left,b=this.get("scrollLeft"),a===f.RIGHT?(this.scrollToWithBounds({left:b+c}),h=!0):a===f.LEFT&&(this.scrollToWithBounds({left:b-c}),h=!0));return h}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var a=d(this.get("el")[0].ownerDocument),c=this.clientHeight,b=this.clientWidth;return this.scrollStep={top:Math.max(0.7*c*c/a.height(),20),left:Math.max(0.7*b*b/a.width(),20)}}, -handleMouseWheel:function(a){if(!this.get("disabled")){var c,b,d=this.getScrollStep(),g,e=this.maxScroll,f=this.minScroll;if((g=a.deltaY)&&this.allowScroll.top){var i=this.get("scrollTop");c=e.top;b=f.top;i<=b&&0=c&&0>g||(this.scrollToWithBounds({top:i-a.deltaY*d.top}),a.preventDefault())}if((g=a.deltaX)&&this.allowScroll.left)i=this.get("scrollLeft"),c=e.left,b=f.left,i<=b&&0=c&&0>g||(this.scrollToWithBounds({left:i-a.deltaX*d.left}),a.preventDefault())}},isAxisEnabled:function(a){return this.allowScroll["x"=== -a?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&&(j.each(this.scrollAnims,function(a){a.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(a){this.scrollToPage(a)},_getPageIndexFromXY:function(a,c,b){var d=this.pagesOffset.concat([]),e=c?"left":"top";d.sort(function(a,b){return a[e]-b[e]});if(0=a)return b.index}else for(c=d.length-1;0<=c;c--)if(b=d[c],b[e]<= -a)return b.index},scrollToPage:function(a,c){var b;if((b=this.pagesOffset)&&b[a])this.set("pageIndex",a),this.scrollTo(b[a],c)},scrollToWithBounds:function(a,c){var b=this.maxScroll,d=this.minScroll;a.left&&(a.left=Math.min(Math.max(a.left,d.left),b.left));a.top&&(a.top=Math.min(Math.max(a.top,d.top),b.top));this.scrollTo(a,c)},scrollTo:function(a,c){var b=a.left,d=a.top;if(c){var e={},f={};void 0!==b&&(f.scrollLeft=b,e.scrollLeft=this.get("scrollLeft"));void 0!==d&&(f.scrollTop=d,e.scrollTop=this.get("scrollTop")); -c.frame=r;c.node=e;c.to=f;this.scrollAnims.push(b=new l(c));b.scrollView=this;b.run()}else void 0!==b&&this.set("scrollLeft",b),void 0!==d&&this.set("scrollTop",d)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!e},allowTextSelection:{value:!0},handleMouseEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:o}},xclass:"scroll-view"})}); +KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,f){var o=f("component/container"),p=f("component/extension/content-render"),q=j.Feature,k=Math.floor,m,n=j.Feature.isTransform3dSupported(),l={syncUI:function(){var c=this.control,a=c.el,b=c.contentEl,d=c.$contentEl,g=Math.max(b.offsetHeight,b.scrollHeight),b=Math.max(b.offsetWidth,b.scrollWidth),e=a.clientHeight,i=a.clientWidth;c.scrollHeight=g;c.scrollWidth=b;c.clientHeight=e;c.clientWidth= +i;a=c.allowScroll={};g>e&&(a.top=1);b>i&&(a.left=1);c.minScroll={left:0,top:0};var h,r;c.maxScroll={left:h=b-i,top:r=g-e};delete c.scrollStep;e=c.get("snap");g=c.get("scrollLeft");b=c.get("scrollTop");if(e){var f=d.offset(),d=c.pages="string"===typeof e?d.all(e):d.children(),e=c.get("pageIndex"),j=c.pagesOffset=[];d.each(function(a,b){var d=a.offset(),c=d.left-f.left,d=d.top-f.top;c<=h&&d<=r&&(j[b]={left:c,top:d,index:b})});if(e){c.scrollToPage(e);return}}c.scrollToWithBounds({left:g,top:b})},_onSetScrollLeft:function(c){this.control.contentEl.style.left= +-c+"px"},_onSetScrollTop:function(c){this.control.contentEl.style.top=-c+"px"}};!1!==j.Feature.getVendorCssPropPrefix("transform")&&(m=q.getVendorCssPropName("transform"),l._onSetScrollLeft=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-c)+"px) translateY("+k(-a.get("scrollTop"))+"px)"+(n?" translateZ(0)":"")},l._onSetScrollTop=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-a.get("scrollLeft"))+"px) translateY("+k(-c)+"px)"+(n?" translateZ(0)":"")});return o.getDefaultRender().extend([p], +l,{name:"ScrollViewRender"})}); +KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,f){function o(){var a=this.el,b=a.scrollTop,d=a.scrollLeft;b&&this.set("scrollTop",b+this.get("scrollTop"));d&&this.set("scrollLeft",d+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function p(a,b){a.scrollView.set(b.prop,b.val)}var q=f("node"),k=f("anim"),m=f("component/container"),n=f("./base/render"),l=j.all,c=q.KeyCode;return m.extend({initializer:function(){this.scrollAnims=[]},bindUI:function(){this.$el.on("mousewheel", +this.handleMouseWheel,this).on("scroll",o,this)},handleKeyDownInternal:function(a){var b=l(a.target),d=b.nodeName();if(!("input"===d||"textarea"===d||"select"===d||b.hasAttr("contenteditable"))){var a=a.keyCode,b=this.getScrollStep(),g,d=this.allowScroll.left;if(this.allowScroll.top){var e=b.top,i=this.clientHeight,h=this.get("scrollTop");a===c.DOWN?(this.scrollToWithBounds({top:h+e}),g=!0):a===c.UP?(this.scrollToWithBounds({top:h-e}),g=!0):a===c.PAGE_DOWN?(this.scrollToWithBounds({top:h+i}),g=!0): +a===c.PAGE_UP&&(this.scrollToWithBounds({top:h-i}),g=!0)}d&&(b=b.left,d=this.get("scrollLeft"),a===c.RIGHT?(this.scrollToWithBounds({left:d+b}),g=!0):a===c.LEFT&&(this.scrollToWithBounds({left:d-b}),g=!0));return g}},getScrollStep:function(){if(this.scrollStep)return this.scrollStep;var a=l(this.get("el")[0].ownerDocument),b=this.clientHeight,d=this.clientWidth;return this.scrollStep={top:Math.max(0.7*b*b/a.height(),20),left:Math.max(0.7*d*d/a.width(),20)}},handleMouseWheel:function(a){if(!this.get("disabled")){var b, +d,c=this.getScrollStep(),e,i=this.maxScroll,h=this.minScroll;if((e=a.deltaY)&&this.allowScroll.top){var f=this.get("scrollTop");b=i.top;d=h.top;f<=d&&0=b&&0>e||(this.scrollToWithBounds({top:f-a.deltaY*c.top}),a.preventDefault())}if((e=a.deltaX)&&this.allowScroll.left)f=this.get("scrollLeft"),b=i.left,d=h.left,f<=d&&0=b&&0>e||(this.scrollToWithBounds({left:f-a.deltaX*c.left}),a.preventDefault())}},isAxisEnabled:function(a){return this.allowScroll["x"===a?"left":"top"]},stopAnimation:function(){this.scrollAnims.length&& +(j.each(this.scrollAnims,function(a){a.stop()}),this.scrollAnims=[]);this.scrollToWithBounds({left:this.get("scrollLeft"),top:this.get("scrollTop")})},_uiSetPageIndex:function(a){this.scrollToPage(a)},_getPageIndexFromXY:function(a,b,d){var c=this.pagesOffset.concat([]),e=b?"left":"top";c.sort(function(a,b){return a[e]-b[e]});if(0=a)return d.index}else for(b=c.length-1;0<=b;b--)if(d=c[b],d[e]<=a)return d.index},scrollToPage:function(a,b){var d;if((d=this.pagesOffset)&& +d[a])this.set("pageIndex",a),this.scrollTo(d[a],b)},scrollToWithBounds:function(a,b){var d=this.maxScroll,c=this.minScroll;a.left&&(a.left=Math.min(Math.max(a.left,c.left),d.left));a.top&&(a.top=Math.min(Math.max(a.top,c.top),d.top));this.scrollTo(a,b)},scrollTo:function(a,b){var d=a.left,c=a.top;if(b){var e={},f={};void 0!==d&&(f.scrollLeft=d,e.scrollLeft=this.get("scrollLeft"));void 0!==c&&(f.scrollTop=c,e.scrollTop=this.get("scrollTop"));b.frame=p;b.node=e;b.to=f;this.scrollAnims.push(d=new k(b)); +d.scrollView=this;d.run()}else void 0!==d&&this.set("scrollLeft",d),void 0!==c&&this.set("scrollTop",c)}},{ATTRS:{contentEl:{},scrollLeft:{view:1,value:0},scrollTop:{view:1,value:0},focusable:{value:!0},allowTextSelection:{value:!0},handleGestureEvents:{value:!1},snap:{value:!1},pageIndex:{value:0},xrender:{value:n}},xclass:"scroll-view"})}); diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index 1faaade5ae..6512d95001 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Feb 14 16:48 +build time: Feb 25 15:54 */ /* Combined processedModules by KISSY Module Compiler: @@ -13,8 +13,9 @@ build time: Feb 14 16:48 KISSY.add("scroll-view/base/render", ["component/container", "component/extension/content-render"], function(S, require) { var Container = require("component/container"); var ContentRenderExtension = require("component/extension/content-render"); - var translateTpl = "translate3d({translateX}px,{translateY}px,0)"; - var Features = S.Features, floor = Math.floor, supportTransform3d = Features.isTransform3dSupported(), transformProperty; + var Feature = S.Feature, floor = Math.floor, transformProperty; + var isTransform3dSupported = S.Feature.isTransform3dSupported(); + var supportCss3 = S.Feature.getVendorCssPropPrefix("transform") !== false; var methods = {syncUI:function() { var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); @@ -55,15 +56,15 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio }, _onSetScrollTop:function(v) { this.control.contentEl.style.top = -v + "px" }}; - if(supportTransform3d) { - transformProperty = Features.getTransformProperty(); + if(supportCss3) { + transformProperty = Feature.getVendorCssPropName("transform"); methods._onSetScrollLeft = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:floor(-v), translateY:floor(-control.get("scrollTop"))}) + control.contentEl.style[transformProperty] = "translateX(" + floor(-v) + "px)" + " translateY(" + floor(-control.get("scrollTop")) + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") }; methods._onSetScrollTop = function(v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, {translateX:floor(-control.get("scrollLeft")), translateY:floor(-v)}) + control.contentEl.style[transformProperty] = "translateX(" + floor(-control.get("scrollLeft")) + "px)" + " translateY(" + floor(-v) + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") } } return Container.getDefaultRender().extend([ContentRenderExtension], methods, {name:"ScrollViewRender"}) @@ -73,7 +74,7 @@ KISSY.add("scroll-view/base", ["node", "anim", "component/container", "./base/re var Anim = require("anim"); var Container = require("component/container"); var Render = require("./base/render"); - var $ = S.all, isTouchEventSupported = S.Features.isTouchEventSupported(), KeyCode = Node.KeyCode; + var $ = S.all, KeyCode = Node.KeyCode; function onElScroll() { var self = this, el = self.el, scrollTop = el.scrollTop, scrollLeft = el.scrollLeft; if(scrollTop) { @@ -249,6 +250,6 @@ KISSY.add("scroll-view/base", ["node", "anim", "component/container", "./base/re self.set("scrollTop", top) } } - }}, {ATTRS:{contentEl:{}, scrollLeft:{view:1, value:0}, scrollTop:{view:1, value:0}, focusable:{value:!isTouchEventSupported}, allowTextSelection:{value:true}, handleMouseEvents:{value:false}, snap:{value:false}, pageIndex:{value:0}, xrender:{value:Render}}, xclass:"scroll-view"}) + }}, {ATTRS:{contentEl:{}, scrollLeft:{view:1, value:0}, scrollTop:{view:1, value:0}, focusable:{value:true}, allowTextSelection:{value:true}, handleGestureEvents:{value:false}, snap:{value:false}, pageIndex:{value:0}, xrender:{value:Render}}, xclass:"scroll-view"}) }); diff --git a/build/scroll-view/drag-min.js b/build/scroll-view/drag-min.js index 8988a12001..e2047ca1f7 100644 --- a/build/scroll-view/drag-min.js +++ b/build/scroll-view/drag-min.js @@ -1,15 +1,15 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 19 17:25 +build time: Feb 25 15:54 */ -KISSY.add("scroll-view/drag",["./base","node","anim"],function(l,w){function y(b,c,a){var c=c.timeStamp,e=b.get("scroll"+l.ucfirst(a));b.startScroll[a]=e;b.swipe[a].startTime=c;b.swipe[a].scroll=e}function z(b,c,a,e){if(!A(b,a)){var f={pageX:c.touches[0].pageX,pageY:c.touches[0].pageY},d="left"===a?"pageX":"pageY",g=b.lastPageXY,h,k=b.startScroll[a]-(f[d]-e[d]),e=c.timeStamp,n=b.minScroll,p=b.maxScroll,i=b.lastDirection,j=b.swipe,m;g[d]&&(h=f[d]===g[d],m=0p[a]&&(f=k-p[a],f*=B,k=p[a]+f);f=e-j[a].startTime;if(!h&&void 0!==i[a]&&i[a]!==m||f>I)j[a].startTime=e,j[a].scroll=k;b.set("scroll"+l.ucfirst(a),k);i[a]=m;g[d]=c[d]}}function A(b,c){return!b.allowScroll[c]&&b.get("left"===c?"lockX":"lockY")?1:0}function C(b,c,a,e){if(A(b,a))e();else{var f="scroll"+l.ucfirst(a),d=b.get(f),g=b.minScroll,h=b.maxScroll,k=c.timeStamp,c=b.swipe,n;dh[a]&&(n=h[a]);void 0!==n?(d={},d[a]=n,b.scrollTo(d,{duration:b.get("bounceDuration"), -easing:b.get("bounceEasing"),queue:!1,complete:e})):b.pagesOffset?e():(n=k-c[a].startTime,c=d-c[a].scroll,0===n||0===c?e():(n=Math.min(Math.max(c/n,-D),D),e={node:{},to:{},duration:9999,queue:!1,complete:e,frame:J(b,n,d,f,h[a],g[a])},e.node[a]=d,e.to[a]=null,b.scrollAnims.push((new K(e)).run())))}}function J(b,c,a,e,f,d){var g=c*x,h=1,k=0;return function(c,p){var i=l.now(),j;if(h){j=i-c.startTime;var m=Math.exp(j*L);j=parseInt(a+g*(1-m)/-E,10);j>d&&jm?i.push(t):0>f&&t.leftl&&mg,k=a.allowScroll.top&&Math.abs(d)>g;C(a,b,"left",c);C(a,b,"top",c)}function F(b){b.lastPageXY={};b.lastDirection={};b.swipe={left:{},top:{}};b.startMousePos=null;b.startScroll={};b.dragInitDirection=null}function Q(b){b.preventDefault()}var R=w("./base"),H=w("node"),K=w("anim"),B=0.5,u=H.Gesture,I=300,D=6,G=H.all(document),x=20,E=Math.log(0.95),L=E/x,M=0.3,v=function(b){var c=b.touches,a=this.startMousePos; -if(a){var c={pageX:c[0].pageX,pageY:c[0].pageY},e=Math.abs(c.pageX-a.pageX),f=Math.abs(c.pageY-a.pageY);if(!(3>Math.max(e,f))){this.isScrolling||(this.fire("scrollStart",c),this.isScrolling=1);var d=this.get("lockX"),g=this.get("lockY");if(d||g){var h;if(!(h=this.dragInitDirection))this.dragInitDirection=h=e>f?"left":"top";if(d&&"left"===h&&!this.allowScroll[h]){this.isScrolling=0;this.get("preventDefaultX")&&b.preventDefault();return}if(g&&"top"===h&&!this.allowScroll[h]){this.isScrolling=0;this.get("preventDefaultY")&& -b.preventDefault();return}}l.Features.isTouchEventSupported()&&b.preventDefault();z(this,b,"left",a);z(this,b,"top",a);this.fire("scrollMove",c)}}};l.UA.ie&&(v=l.throttle(v,30));return R.extend({initializer:function(){this._snapThresholdCfg=this.get("snapThreshold");this._snapDurationCfg=this.get("snapDuration");this._snapEasingCfg=this.get("snapEasing");this.publish("dragend",{defaultFn:P})},bindUI:function(){this.$contentEl.on("dragstart",Q).on(u.start,N,this)},syncUI:function(){F(this)},destructor:function(){this.stopAnimation()}, -stopAnimation:function(){this.callSuper();this.isScrolling=0}},{ATTRS:{lockX:{value:!0},preventDefaultX:{value:!0},lockY:{value:!1},preventDefaultY:{value:!1},snapDuration:{value:0.3},snapEasing:{value:"easeOut"},snapThreshold:{value:5},bounce:{value:!0},bounceDuration:{value:0.4},bounceEasing:{value:"easeOut"}}})}); +KISSY.add("scroll-view/drag",["./base","node","anim"],function(l,v){function x(b,c,a){var c=c.timeStamp,e=b.get("scroll"+l.ucfirst(a));b.startScroll[a]=e;b.swipe[a].startTime=c;b.swipe[a].scroll=e}function y(b,c,a,e){if(!z(b,a)){var f={pageX:c.pageX,pageY:c.pageY},d="left"===a?"pageX":"pageY",g=b.lastPageXY,h,k=b.startScroll[a]-(f[d]-e[d]),e=c.timeStamp,n=b.minScroll,q=b.maxScroll,i=b.lastDirection,j=b.swipe,m;g[d]&&(h=f[d]===g[d],m=0q[a]&&(f=k-q[a],f*=A,k=q[a]+f);f=e-j[a].startTime;if(!h&&void 0!==i[a]&&i[a]!==m||f>I)j[a].startTime=e,j[a].scroll=k;b.set("scroll"+l.ucfirst(a),k);i[a]=m;g[d]=c[d]}}function z(b,c){return!b.allowScroll[c]&&b.get("left"===c?"lockX":"lockY")?1:0}function B(b,c,a,e){if(z(b,a))e();else{var f="scroll"+l.ucfirst(a),d=b.get(f),g=b.minScroll,h=b.maxScroll,k=c.timeStamp,c=b.swipe,n;dh[a]&&(n=h[a]);void 0!==n?(d={},d[a]=n,b.scrollTo(d,{duration:b.get("bounceDuration"), +easing:b.get("bounceEasing"),queue:!1,complete:e})):b.pagesOffset?e():(n=k-c[a].startTime,c=d-c[a].scroll,0===n||0===c?e():(n=Math.min(Math.max(c/n,-C),C),e={node:{},to:{},duration:9999,queue:!1,complete:e,frame:J(b,n,d,f,h[a],g[a])},e.node[a]=d,e.to[a]=null,b.scrollAnims.push((new K(e)).run())))}}function J(b,c,a,e,f,d){var g=c*w,h=1,k=0;return function(c,q){var i=l.now(),j;if(h){j=i-c.startTime;var m=Math.exp(j*L);j=parseInt(a+g*(1-m)/-D,10);j>d&&jm?i.push(t):0>f&&t.leftl&&mg,k=a.allowScroll.top&&Math.abs(d)>g;B(a,b,"left",c);B(a,b,"top",c)}function E(b){b.lastPageXY={};b.lastDirection={};b.swipe={left:{},top:{}};b.startMousePos=null;b.startScroll={};b.dragInitDirection=null}function P(b){b.preventDefault()}var Q=v("./base"),H=v("node"),K=v("anim"),A=0.5,p=H.Gesture,I=300,C=6,F=H.all(document),w=20,D=Math.log(0.95),L=D/w,M=0.3,u=function(b){if(b.isTouch){var c= +this.startMousePos;if(c){var a={pageX:b.pageX,pageY:b.pageY},e=Math.abs(a.pageX-c.pageX),f=Math.abs(a.pageY-c.pageY);if(!(3>Math.max(e,f))){this.isScrolling||(this.fire("scrollStart",a),this.isScrolling=1);var d=this.get("lockX"),g=this.get("lockY");if(d||g){var h;if(!(h=this.dragInitDirection))this.dragInitDirection=h=e>f?"left":"top";if(d&&"left"===h&&!this.allowScroll[h]){this.isScrolling=0;this.get("preventDefaultX")&&b.preventDefault();return}if(g&&"top"===h&&!this.allowScroll[h]){this.isScrolling= +0;this.get("preventDefaultY")&&b.preventDefault();return}}l.Feature.isTouchEventSupported()&&b.preventDefault();y(this,b,"left",c);y(this,b,"top",c);this.fire("scrollMove",a)}}}};l.UA.ie&&(u=l.throttle(u,30));return Q.extend({initializer:function(){this._snapThresholdCfg=this.get("snapThreshold");this._snapDurationCfg=this.get("snapDuration");this._snapEasingCfg=this.get("snapEasing");this.publish("dragend",{defaultFn:O,defaultTargetOnly:!0})},bindUI:function(){this.$contentEl.on("dragstart",P).on(p.start, +N,this)},syncUI:function(){E(this)},destructor:function(){this.stopAnimation()},stopAnimation:function(){this.callSuper();this.isScrolling=0}},{ATTRS:{lockX:{value:!0},preventDefaultX:{value:!0},lockY:{value:!1},preventDefaultY:{value:!1},snapDuration:{value:0.3},snapEasing:{value:"easeOut"},snapThreshold:{value:5},bounce:{value:!0},bounceDuration:{value:0.4},bounceEasing:{value:"easeOut"}}})}); diff --git a/build/scroll-view/drag.js b/build/scroll-view/drag.js index 25b0db8944..88ce1fc037 100644 --- a/build/scroll-view/drag.js +++ b/build/scroll-view/drag.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2014, KISSY v1.41 MIT Licensed -build time: Dec 19 17:25 +build time: Feb 25 15:54 */ /* Combined processedModules by KISSY Module Compiler: @@ -29,7 +29,7 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { if(forbidDrag(self, scrollType)) { return } - var pos = {pageX:e.touches[0].pageX, pageY:e.touches[0].pageY}; + var pos = {pageX:e.pageX, pageY:e.pageY}; var pageOffsetProperty = scrollType === "left" ? "pageX" : "pageY", lastPageXY = self.lastPageXY; var diff = pos[pageOffsetProperty] - startMousePos[pageOffsetProperty], eqWithLastPoint, scroll = self.startScroll[scrollType] - diff, bound, now = e.timeStamp, minScroll = self.minScroll, maxScroll = self.maxScroll, lastDirection = self.lastDirection, swipe = self.swipe, direction; if(lastPageXY[pageOffsetProperty]) { @@ -142,12 +142,15 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { } } function onDragStartHandler(e) { + if(!e.isTouch) { + return + } var self = this, touches = e.touches; if(self.get("disabled")) { return } self.stopAnimation(); - var pos = {pageX:e.touches[0].pageX, pageY:e.touches[0].pageY}; + var pos = {pageX:e.pageX, pageY:e.pageY}; var isScrolling = self.isScrolling; if(isScrolling) { var pageIndex = self.get("pageIndex"); @@ -163,11 +166,14 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { $document.on(Gesture.move, onDragHandler, self).on(Gesture.end, onDragEndHandler, self) } var onDragHandler = function(e) { - var self = this, touches = e.touches, startMousePos = self.startMousePos; + if(!e.isTouch) { + return + } + var self = this, startMousePos = self.startMousePos; if(!startMousePos) { return } - var pos = {pageX:touches[0].pageX, pageY:touches[0].pageY}; + var pos = {pageX:e.pageX, pageY:e.pageY}; var xDiff = Math.abs(pos.pageX - startMousePos.pageX); var yDiff = Math.abs(pos.pageY - startMousePos.pageY); if(Math.max(xDiff, yDiff) < PIXEL_THRESH) { @@ -199,7 +205,7 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { return } } - if(S.Features.isTouchEventSupported()) { + if(S.Feature.isTouchEventSupported()) { e.preventDefault() } onDragScroll(self, e, "left", startMousePos); @@ -210,9 +216,12 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { onDragHandler = S.throttle(onDragHandler, 30) } function onDragEndHandler(e) { + if(!e.isTouch) { + return + } var self = this; var startMousePos = self.startMousePos; - $document.detach(Gesture.move, onDragHandler, self); + $document.detach(Gesture.move, onDragHandler, self).detach(Gesture.end, onDragEndHandler, self); if(!startMousePos || !self.isScrolling) { return } @@ -331,7 +340,7 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { self._snapThresholdCfg = self.get("snapThreshold"); self._snapDurationCfg = self.get("snapDuration"); self._snapEasingCfg = self.get("snapEasing"); - self.publish("dragend", {defaultFn:defaultDragEndFn}) + self.publish("dragend", {defaultFn:defaultDragEndFn, defaultTargetOnly:true}) }, bindUI:function() { var self = this; self.$contentEl.on("dragstart", preventDefault).on(Gesture.start, onDragStartHandler, self) diff --git a/build/seed-min.js b/build/seed-min.js index 2e7f9587e3..a527ddab66 100644 --- a/build/seed-min.js +++ b/build/seed-min.js @@ -1,104 +1,104 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:21 +build time: Feb 25 16:01 */ -var KISSY=function(a){function g(a){var h={},g;for(g in k)(function(b,d){b[d]=function(b){return f.log(b,d,a)}})(h,g);return h}var f,i=0,k={debug:10,info:20,warn:30,error:40};f={__BUILD_TIME:"20140106132044",Env:{host:this},Config:{debug:"",fns:{}},version:"1.41",config:function(c,h){var g,b,d=this,m,e=f.Config,r=e.fns;f.isObject(c)?f.each(c,function(a,b){(m=r[b])?m.call(d,a):e[b]=a}):(g=r[c],h===a?b=g?g.call(d):e[c]:g?b=g.call(d,h):e[c]=h);return b},log:function(){return a},getLogger:function(a){return g(a)}, -error:function(){},guid:function(a){return(a||"")+i++},Logger:{}};f.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return f}(); -(function(a,g){function f(){}function i(d,j,b,e,m,h){if(!j||!d)return d;var f,t,u,p;j[c]=d;h.push(j);u=a.keys(j);p=u.length;for(f=0;f=c)throw new TypeError;}while(1)}for(;j","<":"<","`":"`","/":"/",""":'"',"'":"'"},l={},b,d,m=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in h)l[h[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(i(),function(a){return l[a]})},escapeRegExp:function(a){return a.replace(m,"\\$&")},unEscapeHtml:function(a){return a.replace(k(),function(a,b){return h[a]||String.fromCharCode(+b)})},param:function(b,d,j,m){d=d||"&";j=j||"=";m===g&&(m=!0);var h=[],s,k,i,t,u,p= -a.urlEncode;for(s in b)if(u=b[s],s=p(s),f(u))h.push(s),u!==g&&h.push(j,p(u+c)),h.push(d);else if(a.isArray(u)&&u.length){k=0;for(t=u.length;kg&&(c=h,f.apply(k||this,arguments))}},buffer:function(f,g,k){function c(){c.stop();h=a.later(f,g,0,k||this,arguments)}g=g||150;if(-1===g)return function(){f.apply(k||this,arguments)};var h=null;c.stop=function(){h&&(h.cancel(),h=0)};return c}})})(KISSY); -(function(a,g){function f(b,d,g){var e=b,k,j,n,l;if(!b)return e;if(b[h])return g[b[h]].destination;if("object"===typeof b){l=b.constructor;if(a.inArray(l,[Boolean,String,Number,Date,RegExp]))e=new l(b.valueOf());else if(k=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(j=a.isPlainObject(b))e={};b[h]=l=a.guid("c");g[l]={destination:e,input:b}}if(k)for(b=0;b=c)throw new TypeError;}while(1)}for(;l","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,d,j=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in g)m[g[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(k(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(j,"\\$&")},unEscapeHtml:function(a){return a.replace(i(),function(a,b){return g[a]||String.fromCharCode(+b)})},param:function(b,d,l,g){d=d||"&";l=l||"=";g===f&&(g=!0);var j=[],s,i,m,t,u,r= +a.urlEncode;for(s in b)if(u=b[s],s=r(s),h(u))j.push(s),u!==f&&j.push(l,r(u+c)),j.push(d);else if(a.isArray(u)&&u.length){i=0;for(t=u.length;ik&&(c=g,f.apply(i||this,arguments))}},buffer:function(f,k,i){function c(){c.stop();g=a.later(f,k,0,i||this,arguments)}k=k||150;if(-1===k)return function(){f.apply(i||this,arguments)};var g=null;c.stop=function(){g&&(g.cancel(),g=0)};return c}})})(KISSY); +(function(a,f){function h(b,d,j){var e=b,f,l,i,m;if(!b)return e;if(b[g])return j[b[g]].destination;if("object"===typeof b){m=b.constructor;if(a.inArray(m,[Boolean,String,Number,Date,RegExp]))e=new m(b.valueOf());else if(f=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(l=a.isPlainObject(b))e={};b[g]=m=a.guid("c");j[m]={destination:e,input:b}}if(f)for(b=0;b".replace("{{version}}",e),07)},isTransitionSupported:function(){return m!== -g},isTransformSupported:function(){return e!==g},isTransform3dSupported:function(){return r},isClassListSupported:function(){return q},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&s},isIELessThan:function(a){return!!(v&&v=j},!0))?c.push(m[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=e?f[a]=!0:g!==r?f[a]=!1:q.checkModsLoadRecursively(h.getNormalizedRequires(),b,d,c,f)?(h.status=e,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; -d.status>=j||(d.status=j,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=m},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, -q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,f,h=0,m,j=a.Env.mods;!h;){h=1;for(c=d.length-1;0<=c;c--)if((e=j[d[c]])&&"alias"in e){h=0;f=e.alias;"string"===typeof f&&(f=[f]);for(m=f.length-1;0<=m;m--)f[m]||f.splice(m,1);d.splice.apply(d,[c,1].concat(g(f)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,f;if(b){e=0;for(f=b.length;e".replace("{{version}}",e),07)},isTransitionSupported:function(){return e!==f},isTransformSupported:function(){return p!==f},isTransform3dSupported:function(){return l},isClassListSupported:function(){return s},isQuerySelectorSupported:function(){return!a.config("dom/selector")&&o},isIELessThan:function(a){return!!(t&&t=l},!0))?c.push(h[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=e?f[a]=!0:g!==p?f[a]=!1:q.checkModsLoadRecursively(j.getNormalizedRequires(),b,d,c,f)?(j.status=e,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a]; +d.status>=l||(d.status=l,d.cjs||q.attachModsRecursively(d.getNormalizedRequires(),b),q.attachMod(b,d))},attachMod:function(b,d){var c=d.factory;if("function"===typeof c){var e;d.requires&&d.requires.length&&(e=a.bind(d.require,d));c=c.apply(d,d.cjs?[b,e,d.exports,d]:q.getModules(b,d.getRequiresWithAlias()));void 0!==c&&(d.exports=c)}else d.exports=c;d.status=j},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return q.unalias(a, +q.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d=[].concat(b),c,e,g,j=0,h,i=a.Env.mods;!j;){j=1;for(c=d.length-1;0<=c;c--)if((e=i[d[c]])&&"alias"in e){j=0;g=e.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);d.splice.apply(d,[c,1].concat(f(g)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,g;if(b){e=0;for(g=b.length;ec.length&&(c=e); -b=this.packageInfo=b[c]||l}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=h.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return h.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=h.normalizeModNames(this.runtime,e,this.name)}};k.Module=i;var l=new f({name:"",runtime:a})})(KISSY); -(function(a){function g(a,d){var c=0;if(k.webkit)a.sheet&&("webkit css poll loaded: "+d,c=1);else if(a.sheet)try{a.sheet.cssRules&&("same domain css poll loaded: "+d,c=1)}catch(e){var f=e.name;"css poll exception: "+f+" "+e.code+" "+d;"NS_ERROR_DOM_SECURITY_ERR"===f&&("css poll exception: "+f+"loaded : "+d,c=1)}return c}function f(){for(var b in l){var d=l[b],c=d.node;g(c,b)&&(d.callback&&d.callback.call(c),delete l[b])}a.isEmptyObject(l)?("clear css poll timer",h=0):h=setTimeout(f,i)}var i=30,k= -a.UA,c=a.Loader.Utils,h=0,l={};c.pollCss=function(a,d){var c;c=l[a.href]={};c.node=a;c.callback=d;h||("start css poll timer",f())};c.isCssLoaded=g})(KISSY); -(function(a){var g=a.Env.host.document,f=a.Loader.Utils,i=a.Path,k={},c,h=a.UA;a.getScript=function(l,b,d){function m(){var a=o.readyState;if(!a||"loaded"===a||"complete"===a)o.onreadystatechange=o.onload=null,v(0)}var e=b,r=0,j,n,q,s;a.startsWith(i.extname(l).toLowerCase(),".css")&&(r=1);a.isPlainObject(e)&&(b=e.success,j=e.error,n=e.timeout,d=e.charset,q=e.attrs);e=k[l]=k[l]||[];e.push([b,j]);if(1h.webkit;r&&d&&b&&(b=!1);b?(o.onload=m,o.onerror=function(){o.onerror=null;v(1)}):r?f.pollCss(o,function(){v(0)}):o.onreadystatechange=m;n&&(s=a.later(function(){v(1)},1E3*n));c||(c=f.docHead());r?c.appendChild(o):c.insertBefore(o,c.firstChild);return o}})(KISSY); -(function(a,g){function f(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");h?b=h.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var i=a.Loader,k=i.Utils,c=a.Env.host.location,h,l,b=a.Config.fns;if(!a.UA.nodejs&&c&&(l=c.href))h=new a.Uri(l);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,h=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=f(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;h[c]?h[c].reset(b):h[c]=new i.Package(b)}),g):!1===b?(e.packages={},g):h};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=k.createModuleInfo(c,d,b);f.status===i.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=f(a);b.base=a.toString();b.baseUri=a;return g}})(KISSY); -(function(a,g){function f(b,c,e,f,j){var i=c&&c.length,m=[],k=[];a.each(c,function(c){var l,u={timeout:j,success:function(){k.push(c);l&&s&&("standard browser get mod name after load : "+l.name,d.registerModule(b,l.name,s.factory,s.config),s=g);--i||e(k,m)},error:function(){m.push(c);--i||e(k,m)},charset:f};c.combine||(l=c.mods[0],"css"===l.getType()?l=g:h&&(o=l.name,v=a.now(),u.attrs={"data-mod-name":l.name}));a.Config.loadModsFn(c,u)})}function i(b,d){a.mix(this,{runtime:b,waitingModules:d})}function k(a, -b){if(!a&&"function"===typeof b&&1a.UA.ieMode,l=a.Loader,b=l.Status,d=l.Utils,m=d.getHash,e=b.LOADING,r=b.LOADED,j=b.READY_TO_ATTACH,n=b.ERROR,q=a.now();i.groupTag=q;var s,o,v;i.add=function(b,c,e,f,j){if(3===j&&a.isArray(c))var i= -c,c=e,e={requires:i,cjs:1};if("function"===typeof b||1===j)if(e=c,c=b,e=k(e,c),h){for(var b=a.Env.host.document.getElementsByTagName("script"),m,j=b.length-1;0<=j;j--)if(i=b[j],"interactive"===i.readyState){m=i;break}m?m=m.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+o,m=o);d.registerModule(f,m,c,e);o=null;v=0}else s={factory:c,config:e};else h?(o=null,v=0):s=g,e=k(e,c),d.registerModule(f,b,c,e)};a.augment(i,{use:function(b){var c= -a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){f(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){f(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| -(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,h,m,i=this.waitingModules,k=this.runtime,c=c||{},b=b||{};for(f=0;f=j||(m!==r&&!i.contains(g)&&(m!==e&&(h.status=e,c[g]=1),h.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(g)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= -{},g,h=this.runtime,m=0,i=b.length,j,k,l,o,n,v,r,s,G;me||v+i.join(d).length+o>b)i.pop(),k.pop(),H(),i=[],k=[],B--}else q.push({combine:0,fullpath:C,mods:[A]})}i.length&&H()}}return g}});l.ComboLoader=i})(KISSY); -(function(a,g){function f(b){a.mix(this,{fn:b,waitMods:{}})}var i=a.Loader,k=a.Env,c=i.Utils,h=a.setImmediate,l=i.ComboLoader;f.prototype={constructor:f,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};i.WaitingModules=f;a.mix(a,{add:function(b,c,f){l.add(b,c,f,a,arguments.length)},use:function(b,d){function i(){++q;var f=[],l=a.now(), -u;u=c.checkModsLoadRecursively(e,a,g,f);q+" check duration "+(a.now()-l);u?(c.attachModsRecursively(e,a),d&&(n?s():h(s))):f.length?j&&(n?j.apply(a,f):h(function(){j.apply(a,f)})):(q+" reload "+b,o.fn=i,k.use(e))}var e,k,j,n,q=0,s,o=new f(i);a.isPlainObject(d)&&(n=d.sync,j=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);k=new l(a,o);n?o.notifyAll():h(function(){o.notifyAll()});return a},require:function(b, -d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});k.mods={}})(KISSY); -(function(a){function g(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},g=f.comboPrefix||h,i=f.comboSep||l,n,q=e.indexOf(g);-1===q?n=e.replace(b,"$1"):(n=e.substring(0,q),"/"!==n.charAt(n.length-1)&&(n+="/"),g=e.substring(q+g.length).split(i),a.each(g,function(a){if(a.match(d))return n+=a.replace(b,"$1"),!1}));"tag"in f||(g=e.lastIndexOf("?t="),-1!==g&&(e=e.substring(g+1),f.tag=k.getHash(c+e)));f.base=f.base||n;return f}function f(){var a= -i.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=g(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var i=a.Env.host&&a.Env.host.document,k=a.Loader.Utils,c="20140106132044",h="??",l=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:h,comboSep:l,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}): -i&&i.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},f()))})(KISSY);KISSY.add("i18n",{alias:function(a,g){return g+"/i18n/"+a.Config.lang}}); -(function(a,g){function f(){if(!b){c&&!k.nodejs&&q(i,j,f);b=1;for(var e=0;eg.webkit;p&&d&&b&&(b=!1);b?(o.onload=j,o.onerror=function(){o.onerror=null;v(1)}):p?h.pollCss(o,function(){v(0)}):o.onreadystatechange=j;n&&(s=a.later(function(){v(1)},1E3*n));c||(c=h.docHead());p?c.appendChild(o):c.insertBefore(o,c.firstChild);return o}})(KISSY); +(function(a,f){function h(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");g?b=g.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var k=a.Loader,i=k.Utils,c=a.Env.host.location,g,m,b=a.Config.fns;if(!a.UA.nodejs&&c&&(m=c.href))g=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,g=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=h(b.base||b.path);b.name=c;b.base=e.toString(); +b.baseUri=e;b.runtime=a;delete b.path;g[c]?g[c].reset(b):g[c]=new k.Package(b)}),f):!1===b?(e.packages={},f):g};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=i.createModuleInfo(c,d,b);f.status===k.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=h(a);b.base=a.toString();b.baseUri=a;return f}})(KISSY); +(function(a,f){function h(b,c,e,h,j){var i=c&&c.length,l=[],k=[];a.each(c,function(c){var m,u={timeout:j,success:function(){k.push(c);m&&s&&("standard browser get mod name after load : "+m.name,d.registerModule(b,m.name,s.factory,s.config),s=f);--i||e(k,l)},error:function(){l.push(c);--i||e(k,l)},charset:h};c.combine||(m=c.mods[0],"css"===m.getType()?m=f:g&&(o=m.name,v=a.now(),u.attrs={"data-mod-name":m.name}));a.Config.loadModsFn(c,u)})}function k(b,d){a.mix(this,{runtime:b,waitingModules:d})}function i(a, +b){if(!a&&"function"===typeof b&&1a.UA.ieMode,m=a.Loader,b=m.Status,d=m.Utils,j=d.getHash,e=b.LOADING,p=b.LOADED,l=b.READY_TO_ATTACH,n=b.ERROR,q=a.now();k.groupTag=q;var s,o,v;k.add=function(b,c,e,h,j){if(3===j&&a.isArray(c))var l= +c,c=e,e={requires:l,cjs:1};if("function"===typeof b||1===j)if(e=c,c=b,e=i(e,c),g){for(var b=a.Env.host.document.getElementsByTagName("script"),k,j=b.length-1;0<=j;j--)if(l=b[j],"interactive"===l.readyState){k=l;break}k?k=k.getAttribute("data-mod-name"):("can not find interactive script,time diff : "+(a.now()-v),"old_ie get mod name from cache : "+o,k=o);d.registerModule(h,k,c,e);o=null;v=0}else s={factory:c,config:e};else g?(o=null,v=0):s=f,e=i(e,c),d.registerModule(h,b,c,e)};a.augment(k,{use:function(b){var c= +a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){h(e,b,function(b,c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.name+" is not loaded! can not find module in path : "+b.fullpath;"error";a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){h(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory|| +(a.name+" is not loaded! can not find module in path : "+b.fullpath,"error",a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,h,j,i=this.waitingModules,k=this.runtime,c=c||{},b=b||{};for(f=0;f=l||(j!==p&&!i.contains(g)&&(j!==e&&(h.status=e,c[g]=1),h.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(g)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f= +{},g,h=this.runtime,j=0,i=b.length,k,l,m,o,n,v,p,s,G;je||p+l.join(d).length+o>b)l.pop(),k.pop(),H(),l=[],k=[],B--}else s.push({combine:0,fullpath:C,mods:[A]})}l.length&&H()}}return f}});m.ComboLoader=k})(KISSY); +(function(a,f){function h(b){a.mix(this,{fn:b,waitMods:{}})}var k=a.Loader,i=a.Env,c=k.Utils,g=a.setImmediate,m=k.ComboLoader;h.prototype={constructor:h,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};k.WaitingModules=h;a.mix(a,{add:function(b,c,f){m.add(b,c,f,a,arguments.length)},use:function(b,d){function j(){++q;var h=[],m=a.now(), +u;u=c.checkModsLoadRecursively(e,a,f,h);q+" check duration "+(a.now()-m);u?(c.attachModsRecursively(e,a),d&&(k?s():g(s))):h.length?l&&(k?l.apply(a,h):g(function(){l.apply(a,h)})):(q+" reload "+b,o.fn=j,i.use(e))}var e,i,l,k,q=0,s,o=new h(j);a.isPlainObject(d)&&(k=d.sync,l=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);i=new m(a,o);k?o.notifyAll():g(function(){o.notifyAll()});return a},require:function(b, +d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a,[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});i.mods={}})(KISSY); +(function(a){function f(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},h=f.comboPrefix||g,k=f.comboSep||m,n,q=e.indexOf(h);-1===q?n=e.replace(b,"$1"):(n=e.substring(0,q),"/"!==n.charAt(n.length-1)&&(n+="/"),h=e.substring(q+h.length).split(k),a.each(h,function(a){if(a.match(d))return n+=a.replace(b,"$1"),!1}));"tag"in f||(h=e.lastIndexOf("?t="),-1!==h&&(e=e.substring(h+1),f.tag=i.getHash(c+e)));f.base=f.base||n;return f}function h(){var a= +k.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;"must load kissy by file name in browser environment: seed.js or seed-min.js";"error";return null}var k=a.Env.host&&a.Env.host.document,i=a.Loader.Utils,c="20140225160104",g="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:g,comboSep:m,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}): +k&&k.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},h()))})(KISSY);KISSY.add("i18n",{alias:function(a,f){return f+"/i18n/"+a.Config.lang}}); +(function(a,f){function h(){if(!b){c&&!i.nodejs&&q(k,l,h);b=1;for(var e=0;eg.ieMode&&(i=null);if(i)a.add("json",function(){return a.JSON=i}),a.parseJson=function(a){return i.parse(a)};else{var k=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,h=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,l=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&k.test(b.replace(h,"@").replace(l,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +a({"xtemplate/runtime":{requires:["path"]}})})(function(a){KISSY.config("modules",a)},KISSY.Features,KISSY.UA); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var f=a.UA,h=a.Env.host,k=(f.nodejs&&"object"===typeof global?global:h).JSON;9>f.ieMode&&(k=null);if(k)a.add("json",function(){return a.JSON=k}),a.parseJson=function(a){return k.parse(a)};else{var i=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,g=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&i.test(b.replace(g,"@").replace(m,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/seed.js b/build/seed.js index c67b3ffda8..8d1ccc10aa 100644 --- a/build/seed.js +++ b/build/seed.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Jan 6 13:21 +build time: Feb 25 16:01 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20140106132044' will replace with current timestamp when compressing. + * NOTICE: '20140225160104' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20140106132044', + __BUILD_TIME: '20140225160104', /** * KISSY Environment. @@ -3411,6 +3411,41 @@ var KISSY = (function (undefined) { } } + var vendorInfos = {}; + // return prefixed css prefix name + function getVendorInfo(name) { + if (vendorInfos[name]) { + return vendorInfos[name]; + } + // if already prefixed or need not to prefix + if (!documentElementStyle || name in documentElementStyle) { + vendorInfos[name] = { + name: name, + prefix: '' + }; + } else { + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), + vendorName, + i = VENDORS.length; + + while (i--) { + vendorName = VENDORS[i] + upperFirstName; + if (vendorName in documentElementStyle) { + vendorInfos[name] = { + name: vendorName, + prefix: VENDORS[i] + }; + } + } + + vendorInfos[name] = vendorInfos[name] || { + name: name, + prefix: false + }; + } + return vendorInfos[name]; + } + /** * browser features detection * @class KISSY.Features @@ -3549,6 +3584,14 @@ var KISSY = (function (undefined) { */ 'getTransformProperty': function () { return transformProperty; + }, + + getVendorCssPropPrefix: function (name) { + return getVendorInfo(name).prefix; + }, + + getVendorCssPropName: function (name) { + return getVendorInfo(name).name; } }; })(KISSY);/** @@ -5546,7 +5589,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140106132044'; + var TIMESTAMP = '20140225160104'; var defaultComboPrefix = '??'; var defaultComboSep = ','; @@ -6237,10 +6280,6 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'xtemplate/nodejs': {requires: ['xtemplate']} -}); -/*Generated By KISSY Module Compiler*/ -config({ 'xtemplate/runtime': {requires: ['path']} }); diff --git a/build/xtemplate/nodejs-min.js b/build/xtemplate/nodejs-min.js index 712f3af08b..a177e48654 100644 --- a/build/xtemplate/nodejs-min.js +++ b/build/xtemplate/nodejs-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Feb 10 14:00 +build time: Feb 25 16:00 */ KISSY.add("xtemplate/nodejs",["xtemplate"],function(d,g){function h(b){var a=b.cacheFile,c=b.extname;return function(b){if(a&&f[b])return f[b];var e=new d.Loader.Module({name:b,type:c,runtime:d}),e=i.readFileSync((new d.Uri(e.getFullPath())).getPath(),{encoding:"utf-8"});a&&(f[b]=e);return e}}var i=requireNode("fs"),j=g("xtemplate"),f={};return{loadFromModuleName:function(b,a){a=d.merge({cacheFile:1},a);a.extname=a.extname||"html";var c=h(a);a.name=b;a.loader=c;c=c(b);delete a.extname;return new j(c, a)}}}); diff --git a/build/xtemplate/nodejs.js b/build/xtemplate/nodejs.js index 3da625c404..f9fdc98638 100644 --- a/build/xtemplate/nodejs.js +++ b/build/xtemplate/nodejs.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.41 MIT Licensed -build time: Feb 10 14:00 +build time: Feb 25 16:00 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/src/component/sub-modules/control/coverage/src/control.js b/src/component/sub-modules/control/coverage/src/control.js index 48f535811b..72036e2723 100644 --- a/src/component/sub-modules/control/coverage/src/control.js +++ b/src/component/sub-modules/control/coverage/src/control.js @@ -251,136 +251,135 @@ if (! _$jscoverage['/control.js']) { _$jscoverage['/control.js'].lineData[83] = 0; _$jscoverage['/control.js'].lineData[86] = 0; _$jscoverage['/control.js'].lineData[87] = 0; - _$jscoverage['/control.js'].lineData[89] = 0; - _$jscoverage['/control.js'].lineData[92] = 0; + _$jscoverage['/control.js'].lineData[91] = 0; + _$jscoverage['/control.js'].lineData[96] = 0; + _$jscoverage['/control.js'].lineData[97] = 0; _$jscoverage['/control.js'].lineData[98] = 0; - _$jscoverage['/control.js'].lineData[99] = 0; - _$jscoverage['/control.js'].lineData[100] = 0; - _$jscoverage['/control.js'].lineData[105] = 0; - _$jscoverage['/control.js'].lineData[106] = 0; + _$jscoverage['/control.js'].lineData[103] = 0; + _$jscoverage['/control.js'].lineData[104] = 0; + _$jscoverage['/control.js'].lineData[110] = 0; + _$jscoverage['/control.js'].lineData[111] = 0; _$jscoverage['/control.js'].lineData[112] = 0; _$jscoverage['/control.js'].lineData[113] = 0; _$jscoverage['/control.js'].lineData[114] = 0; _$jscoverage['/control.js'].lineData[115] = 0; - _$jscoverage['/control.js'].lineData[116] = 0; - _$jscoverage['/control.js'].lineData[117] = 0; - _$jscoverage['/control.js'].lineData[121] = 0; + _$jscoverage['/control.js'].lineData[119] = 0; + _$jscoverage['/control.js'].lineData[123] = 0; + _$jscoverage['/control.js'].lineData[124] = 0; _$jscoverage['/control.js'].lineData[125] = 0; - _$jscoverage['/control.js'].lineData[126] = 0; - _$jscoverage['/control.js'].lineData[127] = 0; - _$jscoverage['/control.js'].lineData[131] = 0; - _$jscoverage['/control.js'].lineData[132] = 0; - _$jscoverage['/control.js'].lineData[138] = 0; - _$jscoverage['/control.js'].lineData[144] = 0; - _$jscoverage['/control.js'].lineData[151] = 0; + _$jscoverage['/control.js'].lineData[129] = 0; + _$jscoverage['/control.js'].lineData[130] = 0; + _$jscoverage['/control.js'].lineData[136] = 0; + _$jscoverage['/control.js'].lineData[142] = 0; + _$jscoverage['/control.js'].lineData[149] = 0; + _$jscoverage['/control.js'].lineData[157] = 0; + _$jscoverage['/control.js'].lineData[158] = 0; _$jscoverage['/control.js'].lineData[159] = 0; _$jscoverage['/control.js'].lineData[160] = 0; - _$jscoverage['/control.js'].lineData[161] = 0; - _$jscoverage['/control.js'].lineData[162] = 0; + _$jscoverage['/control.js'].lineData[168] = 0; + _$jscoverage['/control.js'].lineData[169] = 0; _$jscoverage['/control.js'].lineData[170] = 0; - _$jscoverage['/control.js'].lineData[171] = 0; - _$jscoverage['/control.js'].lineData[172] = 0; - _$jscoverage['/control.js'].lineData[176] = 0; - _$jscoverage['/control.js'].lineData[177] = 0; - _$jscoverage['/control.js'].lineData[182] = 0; - _$jscoverage['/control.js'].lineData[183] = 0; - _$jscoverage['/control.js'].lineData[188] = 0; - _$jscoverage['/control.js'].lineData[195] = 0; - _$jscoverage['/control.js'].lineData[196] = 0; - _$jscoverage['/control.js'].lineData[208] = 0; - _$jscoverage['/control.js'].lineData[212] = 0; - _$jscoverage['/control.js'].lineData[213] = 0; - _$jscoverage['/control.js'].lineData[223] = 0; - _$jscoverage['/control.js'].lineData[227] = 0; - _$jscoverage['/control.js'].lineData[228] = 0; + _$jscoverage['/control.js'].lineData[174] = 0; + _$jscoverage['/control.js'].lineData[175] = 0; + _$jscoverage['/control.js'].lineData[180] = 0; + _$jscoverage['/control.js'].lineData[181] = 0; + _$jscoverage['/control.js'].lineData[186] = 0; + _$jscoverage['/control.js'].lineData[193] = 0; + _$jscoverage['/control.js'].lineData[194] = 0; + _$jscoverage['/control.js'].lineData[206] = 0; + _$jscoverage['/control.js'].lineData[210] = 0; + _$jscoverage['/control.js'].lineData[211] = 0; + _$jscoverage['/control.js'].lineData[221] = 0; + _$jscoverage['/control.js'].lineData[225] = 0; + _$jscoverage['/control.js'].lineData[226] = 0; + _$jscoverage['/control.js'].lineData[236] = 0; + _$jscoverage['/control.js'].lineData[237] = 0; _$jscoverage['/control.js'].lineData[238] = 0; - _$jscoverage['/control.js'].lineData[239] = 0; - _$jscoverage['/control.js'].lineData[240] = 0; - _$jscoverage['/control.js'].lineData[244] = 0; - _$jscoverage['/control.js'].lineData[245] = 0; - _$jscoverage['/control.js'].lineData[258] = 0; + _$jscoverage['/control.js'].lineData[242] = 0; + _$jscoverage['/control.js'].lineData[243] = 0; + _$jscoverage['/control.js'].lineData[256] = 0; + _$jscoverage['/control.js'].lineData[259] = 0; + _$jscoverage['/control.js'].lineData[260] = 0; _$jscoverage['/control.js'].lineData[261] = 0; - _$jscoverage['/control.js'].lineData[262] = 0; _$jscoverage['/control.js'].lineData[263] = 0; - _$jscoverage['/control.js'].lineData[265] = 0; + _$jscoverage['/control.js'].lineData[264] = 0; _$jscoverage['/control.js'].lineData[266] = 0; - _$jscoverage['/control.js'].lineData[268] = 0; - _$jscoverage['/control.js'].lineData[271] = 0; + _$jscoverage['/control.js'].lineData[269] = 0; + _$jscoverage['/control.js'].lineData[270] = 0; _$jscoverage['/control.js'].lineData[272] = 0; - _$jscoverage['/control.js'].lineData[274] = 0; - _$jscoverage['/control.js'].lineData[275] = 0; - _$jscoverage['/control.js'].lineData[282] = 0; - _$jscoverage['/control.js'].lineData[283] = 0; + _$jscoverage['/control.js'].lineData[273] = 0; + _$jscoverage['/control.js'].lineData[280] = 0; + _$jscoverage['/control.js'].lineData[281] = 0; + _$jscoverage['/control.js'].lineData[293] = 0; _$jscoverage['/control.js'].lineData[295] = 0; - _$jscoverage['/control.js'].lineData[297] = 0; - _$jscoverage['/control.js'].lineData[298] = 0; - _$jscoverage['/control.js'].lineData[303] = 0; - _$jscoverage['/control.js'].lineData[304] = 0; - _$jscoverage['/control.js'].lineData[316] = 0; - _$jscoverage['/control.js'].lineData[317] = 0; - _$jscoverage['/control.js'].lineData[326] = 0; - _$jscoverage['/control.js'].lineData[327] = 0; - _$jscoverage['/control.js'].lineData[331] = 0; - _$jscoverage['/control.js'].lineData[332] = 0; - _$jscoverage['/control.js'].lineData[341] = 0; - _$jscoverage['/control.js'].lineData[342] = 0; + _$jscoverage['/control.js'].lineData[296] = 0; + _$jscoverage['/control.js'].lineData[301] = 0; + _$jscoverage['/control.js'].lineData[302] = 0; + _$jscoverage['/control.js'].lineData[314] = 0; + _$jscoverage['/control.js'].lineData[315] = 0; + _$jscoverage['/control.js'].lineData[324] = 0; + _$jscoverage['/control.js'].lineData[325] = 0; + _$jscoverage['/control.js'].lineData[329] = 0; + _$jscoverage['/control.js'].lineData[330] = 0; + _$jscoverage['/control.js'].lineData[339] = 0; + _$jscoverage['/control.js'].lineData[340] = 0; + _$jscoverage['/control.js'].lineData[344] = 0; + _$jscoverage['/control.js'].lineData[345] = 0; _$jscoverage['/control.js'].lineData[346] = 0; _$jscoverage['/control.js'].lineData[347] = 0; - _$jscoverage['/control.js'].lineData[348] = 0; _$jscoverage['/control.js'].lineData[349] = 0; - _$jscoverage['/control.js'].lineData[351] = 0; - _$jscoverage['/control.js'].lineData[360] = 0; + _$jscoverage['/control.js'].lineData[358] = 0; + _$jscoverage['/control.js'].lineData[359] = 0; _$jscoverage['/control.js'].lineData[361] = 0; - _$jscoverage['/control.js'].lineData[363] = 0; - _$jscoverage['/control.js'].lineData[367] = 0; - _$jscoverage['/control.js'].lineData[368] = 0; + _$jscoverage['/control.js'].lineData[365] = 0; + _$jscoverage['/control.js'].lineData[366] = 0; + _$jscoverage['/control.js'].lineData[376] = 0; + _$jscoverage['/control.js'].lineData[377] = 0; _$jscoverage['/control.js'].lineData[378] = 0; - _$jscoverage['/control.js'].lineData[379] = 0; - _$jscoverage['/control.js'].lineData[380] = 0; + _$jscoverage['/control.js'].lineData[386] = 0; _$jscoverage['/control.js'].lineData[388] = 0; + _$jscoverage['/control.js'].lineData[389] = 0; _$jscoverage['/control.js'].lineData[390] = 0; _$jscoverage['/control.js'].lineData[391] = 0; _$jscoverage['/control.js'].lineData[392] = 0; - _$jscoverage['/control.js'].lineData[393] = 0; - _$jscoverage['/control.js'].lineData[394] = 0; - _$jscoverage['/control.js'].lineData[405] = 0; - _$jscoverage['/control.js'].lineData[469] = 0; + _$jscoverage['/control.js'].lineData[403] = 0; + _$jscoverage['/control.js'].lineData[467] = 0; + _$jscoverage['/control.js'].lineData[468] = 0; _$jscoverage['/control.js'].lineData[470] = 0; - _$jscoverage['/control.js'].lineData[472] = 0; - _$jscoverage['/control.js'].lineData[522] = 0; - _$jscoverage['/control.js'].lineData[523] = 0; + _$jscoverage['/control.js'].lineData[520] = 0; + _$jscoverage['/control.js'].lineData[521] = 0; + _$jscoverage['/control.js'].lineData[566] = 0; _$jscoverage['/control.js'].lineData[568] = 0; + _$jscoverage['/control.js'].lineData[569] = 0; _$jscoverage['/control.js'].lineData[570] = 0; - _$jscoverage['/control.js'].lineData[571] = 0; _$jscoverage['/control.js'].lineData[572] = 0; - _$jscoverage['/control.js'].lineData[574] = 0; - _$jscoverage['/control.js'].lineData[575] = 0; - _$jscoverage['/control.js'].lineData[578] = 0; - _$jscoverage['/control.js'].lineData[581] = 0; - _$jscoverage['/control.js'].lineData[648] = 0; - _$jscoverage['/control.js'].lineData[797] = 0; + _$jscoverage['/control.js'].lineData[573] = 0; + _$jscoverage['/control.js'].lineData[576] = 0; + _$jscoverage['/control.js'].lineData[579] = 0; + _$jscoverage['/control.js'].lineData[646] = 0; + _$jscoverage['/control.js'].lineData[795] = 0; + _$jscoverage['/control.js'].lineData[796] = 0; _$jscoverage['/control.js'].lineData[798] = 0; - _$jscoverage['/control.js'].lineData[800] = 0; - _$jscoverage['/control.js'].lineData[801] = 0; - _$jscoverage['/control.js'].lineData[837] = 0; - _$jscoverage['/control.js'].lineData[843] = 0; + _$jscoverage['/control.js'].lineData[799] = 0; + _$jscoverage['/control.js'].lineData[835] = 0; + _$jscoverage['/control.js'].lineData[841] = 0; + _$jscoverage['/control.js'].lineData[842] = 0; _$jscoverage['/control.js'].lineData[844] = 0; + _$jscoverage['/control.js'].lineData[845] = 0; _$jscoverage['/control.js'].lineData[846] = 0; - _$jscoverage['/control.js'].lineData[847] = 0; _$jscoverage['/control.js'].lineData[848] = 0; - _$jscoverage['/control.js'].lineData[850] = 0; - _$jscoverage['/control.js'].lineData[853] = 0; + _$jscoverage['/control.js'].lineData[851] = 0; + _$jscoverage['/control.js'].lineData[872] = 0; _$jscoverage['/control.js'].lineData[874] = 0; - _$jscoverage['/control.js'].lineData[876] = 0; - _$jscoverage['/control.js'].lineData[883] = 0; - _$jscoverage['/control.js'].lineData[884] = 0; + _$jscoverage['/control.js'].lineData[881] = 0; + _$jscoverage['/control.js'].lineData[882] = 0; + _$jscoverage['/control.js'].lineData[885] = 0; _$jscoverage['/control.js'].lineData[887] = 0; - _$jscoverage['/control.js'].lineData[889] = 0; - _$jscoverage['/control.js'].lineData[890] = 0; - _$jscoverage['/control.js'].lineData[893] = 0; + _$jscoverage['/control.js'].lineData[888] = 0; + _$jscoverage['/control.js'].lineData[891] = 0; + _$jscoverage['/control.js'].lineData[892] = 0; _$jscoverage['/control.js'].lineData[894] = 0; - _$jscoverage['/control.js'].lineData[896] = 0; - _$jscoverage['/control.js'].lineData[899] = 0; + _$jscoverage['/control.js'].lineData[897] = 0; } if (! _$jscoverage['/control.js'].functionData) { _$jscoverage['/control.js'].functionData = []; @@ -441,260 +440,254 @@ if (! _$jscoverage['/control.js'].branchData) { _$jscoverage['/control.js'].branchData['78'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['86'] = []; _$jscoverage['/control.js'].branchData['86'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['89'] = []; - _$jscoverage['/control.js'].branchData['89'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['99'] = []; - _$jscoverage['/control.js'].branchData['99'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['105'] = []; - _$jscoverage['/control.js'].branchData['105'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['121'] = []; - _$jscoverage['/control.js'].branchData['121'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['126'] = []; - _$jscoverage['/control.js'].branchData['126'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['131'] = []; - _$jscoverage['/control.js'].branchData['131'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['176'] = []; - _$jscoverage['/control.js'].branchData['176'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['182'] = []; - _$jscoverage['/control.js'].branchData['182'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['195'] = []; - _$jscoverage['/control.js'].branchData['195'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['212'] = []; - _$jscoverage['/control.js'].branchData['212'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['227'] = []; - _$jscoverage['/control.js'].branchData['227'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['244'] = []; - _$jscoverage['/control.js'].branchData['244'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['97'] = []; + _$jscoverage['/control.js'].branchData['97'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['103'] = []; + _$jscoverage['/control.js'].branchData['103'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['119'] = []; + _$jscoverage['/control.js'].branchData['119'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['124'] = []; + _$jscoverage['/control.js'].branchData['124'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['129'] = []; + _$jscoverage['/control.js'].branchData['129'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['174'] = []; + _$jscoverage['/control.js'].branchData['174'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['180'] = []; + _$jscoverage['/control.js'].branchData['180'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['193'] = []; + _$jscoverage['/control.js'].branchData['193'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['210'] = []; + _$jscoverage['/control.js'].branchData['210'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['225'] = []; + _$jscoverage['/control.js'].branchData['225'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['242'] = []; + _$jscoverage['/control.js'].branchData['242'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['258'] = []; + _$jscoverage['/control.js'].branchData['258'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['259'] = []; + _$jscoverage['/control.js'].branchData['259'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['260'] = []; _$jscoverage['/control.js'].branchData['260'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['261'] = []; - _$jscoverage['/control.js'].branchData['261'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['262'] = []; - _$jscoverage['/control.js'].branchData['262'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['265'] = []; - _$jscoverage['/control.js'].branchData['265'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['268'] = []; - _$jscoverage['/control.js'].branchData['268'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['263'] = []; + _$jscoverage['/control.js'].branchData['263'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['266'] = []; + _$jscoverage['/control.js'].branchData['266'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['270'] = []; + _$jscoverage['/control.js'].branchData['270'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['272'] = []; _$jscoverage['/control.js'].branchData['272'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['274'] = []; - _$jscoverage['/control.js'].branchData['274'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['274'][2] = new BranchData(); - _$jscoverage['/control.js'].branchData['274'][3] = new BranchData(); - _$jscoverage['/control.js'].branchData['282'] = []; - _$jscoverage['/control.js'].branchData['282'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['297'] = []; - _$jscoverage['/control.js'].branchData['297'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['297'][2] = new BranchData(); - _$jscoverage['/control.js'].branchData['297'][3] = new BranchData(); - _$jscoverage['/control.js'].branchData['303'] = []; - _$jscoverage['/control.js'].branchData['303'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['316'] = []; - _$jscoverage['/control.js'].branchData['316'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['331'] = []; - _$jscoverage['/control.js'].branchData['331'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['347'] = []; - _$jscoverage['/control.js'].branchData['347'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['360'] = []; - _$jscoverage['/control.js'].branchData['360'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['367'] = []; - _$jscoverage['/control.js'].branchData['367'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['379'] = []; - _$jscoverage['/control.js'].branchData['379'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['272'][2] = new BranchData(); + _$jscoverage['/control.js'].branchData['272'][3] = new BranchData(); + _$jscoverage['/control.js'].branchData['280'] = []; + _$jscoverage['/control.js'].branchData['280'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['295'] = []; + _$jscoverage['/control.js'].branchData['295'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['295'][2] = new BranchData(); + _$jscoverage['/control.js'].branchData['295'][3] = new BranchData(); + _$jscoverage['/control.js'].branchData['301'] = []; + _$jscoverage['/control.js'].branchData['301'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['314'] = []; + _$jscoverage['/control.js'].branchData['314'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['329'] = []; + _$jscoverage['/control.js'].branchData['329'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['345'] = []; + _$jscoverage['/control.js'].branchData['345'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['358'] = []; + _$jscoverage['/control.js'].branchData['358'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['365'] = []; + _$jscoverage['/control.js'].branchData['365'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['377'] = []; + _$jscoverage['/control.js'].branchData['377'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['389'] = []; + _$jscoverage['/control.js'].branchData['389'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['391'] = []; _$jscoverage['/control.js'].branchData['391'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['393'] = []; - _$jscoverage['/control.js'].branchData['393'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['469'] = []; - _$jscoverage['/control.js'].branchData['469'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['472'] = []; - _$jscoverage['/control.js'].branchData['472'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['570'] = []; - _$jscoverage['/control.js'].branchData['570'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['571'] = []; - _$jscoverage['/control.js'].branchData['571'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['574'] = []; - _$jscoverage['/control.js'].branchData['574'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['769'] = []; - _$jscoverage['/control.js'].branchData['769'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['800'] = []; - _$jscoverage['/control.js'].branchData['800'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['849'] = []; - _$jscoverage['/control.js'].branchData['849'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['889'] = []; - _$jscoverage['/control.js'].branchData['889'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['467'] = []; + _$jscoverage['/control.js'].branchData['467'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['470'] = []; + _$jscoverage['/control.js'].branchData['470'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['568'] = []; + _$jscoverage['/control.js'].branchData['568'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['569'] = []; + _$jscoverage['/control.js'].branchData['569'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['572'] = []; + _$jscoverage['/control.js'].branchData['572'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['767'] = []; + _$jscoverage['/control.js'].branchData['767'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['798'] = []; + _$jscoverage['/control.js'].branchData['798'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['847'] = []; + _$jscoverage['/control.js'].branchData['847'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['887'] = []; + _$jscoverage['/control.js'].branchData['887'][1] = new BranchData(); } -_$jscoverage['/control.js'].branchData['889'][1].init(384, 6, 'xclass'); -function visit100_889_1(result) { - _$jscoverage['/control.js'].branchData['889'][1].ranCondition(result); +_$jscoverage['/control.js'].branchData['887'][1].init(384, 6, 'xclass'); +function visit99_887_1(result) { + _$jscoverage['/control.js'].branchData['887'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['849'][1].init(110, 24, '!attrs || !attrs.xrender'); -function visit99_849_1(result) { - _$jscoverage['/control.js'].branchData['849'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['847'][1].init(110, 24, '!attrs || !attrs.xrender'); +function visit98_847_1(result) { + _$jscoverage['/control.js'].branchData['847'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['800'][1].init(167, 1, 'p'); -function visit98_800_1(result) { - _$jscoverage['/control.js'].branchData['800'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['798'][1].init(167, 1, 'p'); +function visit97_798_1(result) { + _$jscoverage['/control.js'].branchData['798'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['769'][1].init(57, 40, 'S.config(\'component/prefixCls\') || \'ks-\''); -function visit97_769_1(result) { - _$jscoverage['/control.js'].branchData['769'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['767'][1].init(57, 40, 'S.config(\'component/prefixCls\') || \'ks-\''); +function visit96_767_1(result) { + _$jscoverage['/control.js'].branchData['767'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['574'][1].init(172, 19, 'xy[1] !== undefined'); -function visit96_574_1(result) { - _$jscoverage['/control.js'].branchData['574'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['572'][1].init(172, 19, 'xy[1] !== undefined'); +function visit95_572_1(result) { + _$jscoverage['/control.js'].branchData['572'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['571'][1].init(33, 19, 'xy[0] !== undefined'); -function visit95_571_1(result) { - _$jscoverage['/control.js'].branchData['571'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['569'][1].init(33, 19, 'xy[0] !== undefined'); +function visit94_569_1(result) { + _$jscoverage['/control.js'].branchData['569'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['570'][1].init(119, 9, 'xy.length'); -function visit94_570_1(result) { - _$jscoverage['/control.js'].branchData['570'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['568'][1].init(119, 9, 'xy.length'); +function visit93_568_1(result) { + _$jscoverage['/control.js'].branchData['568'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['472'][1].init(159, 7, 'v || []'); -function visit93_472_1(result) { - _$jscoverage['/control.js'].branchData['472'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['470'][1].init(159, 7, 'v || []'); +function visit92_470_1(result) { + _$jscoverage['/control.js'].branchData['470'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['469'][1].init(29, 21, 'typeof v === \'string\''); -function visit92_469_1(result) { - _$jscoverage['/control.js'].branchData['469'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['467'][1].init(29, 21, 'typeof v === \'string\''); +function visit91_467_1(result) { + _$jscoverage['/control.js'].branchData['467'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['393'][1].init(241, 19, 'self.get(\'srcNode\')'); -function visit91_393_1(result) { - _$jscoverage['/control.js'].branchData['393'][1].ranCondition(result); - return result; -}_$jscoverage['/control.js'].branchData['391'][1].init(159, 9, 'self.view'); +}_$jscoverage['/control.js'].branchData['391'][1].init(241, 19, 'self.get(\'srcNode\')'); function visit90_391_1(result) { _$jscoverage['/control.js'].branchData['391'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['379'][1].init(99, 21, 'self.get(\'focusable\')'); -function visit89_379_1(result) { - _$jscoverage['/control.js'].branchData['379'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['389'][1].init(159, 9, 'self.view'); +function visit89_389_1(result) { + _$jscoverage['/control.js'].branchData['389'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['367'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit88_367_1(result) { - _$jscoverage['/control.js'].branchData['367'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['377'][1].init(99, 21, 'self.get(\'focusable\')'); +function visit88_377_1(result) { + _$jscoverage['/control.js'].branchData['377'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['360'][1].init(21, 33, 'ev.keyCode === Node.KeyCode.ENTER'); -function visit87_360_1(result) { - _$jscoverage['/control.js'].branchData['360'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['365'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit87_365_1(result) { + _$jscoverage['/control.js'].branchData['365'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['347'][1].init(54, 55, '!this.get(\'disabled\') && self.handleKeyDownInternal(ev)'); -function visit86_347_1(result) { - _$jscoverage['/control.js'].branchData['347'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['358'][1].init(21, 33, 'ev.keyCode === Node.KeyCode.ENTER'); +function visit86_358_1(result) { + _$jscoverage['/control.js'].branchData['358'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['331'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit85_331_1(result) { - _$jscoverage['/control.js'].branchData['331'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['345'][1].init(54, 55, '!this.get(\'disabled\') && self.handleKeyDownInternal(ev)'); +function visit85_345_1(result) { + _$jscoverage['/control.js'].branchData['345'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['316'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit84_316_1(result) { - _$jscoverage['/control.js'].branchData['316'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['329'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit84_329_1(result) { + _$jscoverage['/control.js'].branchData['329'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['303'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit83_303_1(result) { - _$jscoverage['/control.js'].branchData['303'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['314'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit83_314_1(result) { + _$jscoverage['/control.js'].branchData['314'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['297'][3].init(99, 14, 'ev.which === 1'); -function visit82_297_3(result) { - _$jscoverage['/control.js'].branchData['297'][3].ranCondition(result); +}_$jscoverage['/control.js'].branchData['301'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit82_301_1(result) { + _$jscoverage['/control.js'].branchData['301'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['297'][2].init(99, 41, 'ev.which === 1 || isTouchGestureSupported'); -function visit81_297_2(result) { - _$jscoverage['/control.js'].branchData['297'][2].ranCondition(result); +}_$jscoverage['/control.js'].branchData['295'][3].init(99, 14, 'ev.which === 1'); +function visit81_295_3(result) { + _$jscoverage['/control.js'].branchData['295'][3].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['297'][1].init(76, 65, 'self.get(\'active\') && (ev.which === 1 || isTouchGestureSupported)'); -function visit80_297_1(result) { - _$jscoverage['/control.js'].branchData['297'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['295'][2].init(99, 41, 'ev.which === 1 || isTouchGestureSupported'); +function visit80_295_2(result) { + _$jscoverage['/control.js'].branchData['295'][2].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['282'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit79_282_1(result) { - _$jscoverage['/control.js'].branchData['282'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['295'][1].init(76, 65, 'self.get(\'active\') && (ev.which === 1 || isTouchGestureSupported)'); +function visit79_295_1(result) { + _$jscoverage['/control.js'].branchData['295'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['274'][3].init(334, 16, 'n !== \'textarea\''); -function visit78_274_3(result) { - _$jscoverage['/control.js'].branchData['274'][3].ranCondition(result); +}_$jscoverage['/control.js'].branchData['280'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit78_280_1(result) { + _$jscoverage['/control.js'].branchData['280'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['274'][2].init(317, 13, 'n !== \'input\''); -function visit77_274_2(result) { - _$jscoverage['/control.js'].branchData['274'][2].ranCondition(result); +}_$jscoverage['/control.js'].branchData['272'][3].init(334, 16, 'n !== \'textarea\''); +function visit77_272_3(result) { + _$jscoverage['/control.js'].branchData['272'][3].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['274'][1].init(317, 33, 'n !== \'input\' && n !== \'textarea\''); -function visit76_274_1(result) { - _$jscoverage['/control.js'].branchData['274'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['272'][2].init(317, 13, 'n !== \'input\''); +function visit76_272_2(result) { + _$jscoverage['/control.js'].branchData['272'][2].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['272'][1].init(188, 20, 'n && n.toLowerCase()'); +}_$jscoverage['/control.js'].branchData['272'][1].init(317, 33, 'n !== \'input\' && n !== \'textarea\''); function visit75_272_1(result) { _$jscoverage['/control.js'].branchData['272'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['268'][1].init(256, 31, '!self.get(\'allowTextSelection\')'); -function visit74_268_1(result) { - _$jscoverage['/control.js'].branchData['268'][1].ranCondition(result); - return result; -}_$jscoverage['/control.js'].branchData['265'][1].init(147, 21, 'self.get(\'focusable\')'); -function visit73_265_1(result) { - _$jscoverage['/control.js'].branchData['265'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['270'][1].init(188, 20, 'n && n.toLowerCase()'); +function visit74_270_1(result) { + _$jscoverage['/control.js'].branchData['270'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['262'][1].init(25, 22, 'self.get(\'activeable\')'); -function visit72_262_1(result) { - _$jscoverage['/control.js'].branchData['262'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['266'][1].init(256, 31, '!self.get(\'allowTextSelection\')'); +function visit73_266_1(result) { + _$jscoverage['/control.js'].branchData['266'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['261'][1].init(135, 46, 'isMouseActionButton || isTouchGestureSupported'); -function visit71_261_1(result) { - _$jscoverage['/control.js'].branchData['261'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['263'][1].init(147, 21, 'self.get(\'focusable\')'); +function visit72_263_1(result) { + _$jscoverage['/control.js'].branchData['263'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['260'][1].init(81, 14, 'ev.which === 1'); -function visit70_260_1(result) { +}_$jscoverage['/control.js'].branchData['260'][1].init(25, 22, 'self.get(\'activeable\')'); +function visit71_260_1(result) { _$jscoverage['/control.js'].branchData['260'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['244'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit69_244_1(result) { - _$jscoverage['/control.js'].branchData['244'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['259'][1].init(135, 46, 'isMouseActionButton || isTouchGestureSupported'); +function visit70_259_1(result) { + _$jscoverage['/control.js'].branchData['259'][1].ranCondition(result); + return result; +}_$jscoverage['/control.js'].branchData['258'][1].init(81, 14, 'ev.which === 1'); +function visit69_258_1(result) { + _$jscoverage['/control.js'].branchData['258'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['227'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit68_227_1(result) { - _$jscoverage['/control.js'].branchData['227'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['242'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit68_242_1(result) { + _$jscoverage['/control.js'].branchData['242'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['212'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit67_212_1(result) { - _$jscoverage['/control.js'].branchData['212'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['225'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit67_225_1(result) { + _$jscoverage['/control.js'].branchData['225'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['195'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit66_195_1(result) { - _$jscoverage['/control.js'].branchData['195'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['210'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit66_210_1(result) { + _$jscoverage['/control.js'].branchData['210'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['182'][1].init(21, 21, 'this.get(\'focusable\')'); -function visit65_182_1(result) { - _$jscoverage['/control.js'].branchData['182'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['193'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit65_193_1(result) { + _$jscoverage['/control.js'].branchData['193'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['176'][1].init(21, 21, 'this.get(\'focusable\')'); -function visit64_176_1(result) { - _$jscoverage['/control.js'].branchData['176'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['180'][1].init(21, 21, 'this.get(\'focusable\')'); +function visit64_180_1(result) { + _$jscoverage['/control.js'].branchData['180'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['131'][1].init(183, 45, 'target.ownerDocument.activeElement === target'); -function visit63_131_1(result) { - _$jscoverage['/control.js'].branchData['131'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['174'][1].init(21, 21, 'this.get(\'focusable\')'); +function visit63_174_1(result) { + _$jscoverage['/control.js'].branchData['174'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['126'][1].init(84, 1, 'v'); -function visit62_126_1(result) { - _$jscoverage['/control.js'].branchData['126'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['129'][1].init(183, 45, 'target.ownerDocument.activeElement === target'); +function visit62_129_1(result) { + _$jscoverage['/control.js'].branchData['129'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['121'][1].init(53, 14, 'parent || this'); -function visit61_121_1(result) { - _$jscoverage['/control.js'].branchData['121'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['124'][1].init(84, 1, 'v'); +function visit61_124_1(result) { + _$jscoverage['/control.js'].branchData['124'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['105'][1].init(882, 6, 'ie < 9'); -function visit60_105_1(result) { - _$jscoverage['/control.js'].branchData['105'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['119'][1].init(53, 14, 'parent || this'); +function visit60_119_1(result) { + _$jscoverage['/control.js'].branchData['119'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['99'][1].init(616, 14, 'Gesture.cancel'); -function visit59_99_1(result) { - _$jscoverage['/control.js'].branchData['99'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['103'][1].init(798, 6, 'ie < 9'); +function visit59_103_1(result) { + _$jscoverage['/control.js'].branchData['103'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['89'][1].init(61, 22, '!isTouchEventSupported'); -function visit58_89_1(result) { - _$jscoverage['/control.js'].branchData['89'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['97'][1].init(532, 14, 'Gesture.cancel'); +function visit58_97_1(result) { + _$jscoverage['/control.js'].branchData['97'][1].ranCondition(result); return result; }_$jscoverage['/control.js'].branchData['86'][1].init(480, 29, 'self.get(\'handleMouseEvents\')'); function visit57_86_1(result) { @@ -771,197 +764,194 @@ KISSY.add(function(S, require) { if (visit57_86_1(self.get('handleMouseEvents'))) { _$jscoverage['/control.js'].lineData[87]++; el = self.$el; - _$jscoverage['/control.js'].lineData[89]++; - if (visit58_89_1(!isTouchEventSupported)) { - _$jscoverage['/control.js'].lineData[92]++; - el.on('mouseenter', self.handleMouseEnter, self).on('mouseleave', self.handleMouseLeave, self).on('contextmenu', self.handleContextMenu, self); - } - _$jscoverage['/control.js'].lineData[98]++; + _$jscoverage['/control.js'].lineData[91]++; + el.on('mouseenter', self.handleMouseEnter, self).on('mouseleave', self.handleMouseLeave, self).on('contextmenu', self.handleContextMenu, self); + _$jscoverage['/control.js'].lineData[96]++; el.on(Gesture.start, self.handleMouseDown, self).on(Gesture.end, self.handleMouseUp, self).on(Gesture.tap, self.handleClick, self); - _$jscoverage['/control.js'].lineData[99]++; - if (visit59_99_1(Gesture.cancel)) { - _$jscoverage['/control.js'].lineData[100]++; + _$jscoverage['/control.js'].lineData[97]++; + if (visit58_97_1(Gesture.cancel)) { + _$jscoverage['/control.js'].lineData[98]++; el.on(Gesture.cancel, self.handleMouseUp, self); } - _$jscoverage['/control.js'].lineData[105]++; - if (visit60_105_1(ie < 9)) { - _$jscoverage['/control.js'].lineData[106]++; + _$jscoverage['/control.js'].lineData[103]++; + if (visit59_103_1(ie < 9)) { + _$jscoverage['/control.js'].lineData[104]++; el.on('dblclick', self.handleDblClick, self); } } }, sync: function() { _$jscoverage['/control.js'].functionData[4]++; - _$jscoverage['/control.js'].lineData[112]++; + _$jscoverage['/control.js'].lineData[110]++; var self = this; - _$jscoverage['/control.js'].lineData[113]++; + _$jscoverage['/control.js'].lineData[111]++; self.fire('beforeSyncUI'); - _$jscoverage['/control.js'].lineData[114]++; + _$jscoverage['/control.js'].lineData[112]++; self.syncUI(); - _$jscoverage['/control.js'].lineData[115]++; + _$jscoverage['/control.js'].lineData[113]++; self.view.sync(); - _$jscoverage['/control.js'].lineData[116]++; + _$jscoverage['/control.js'].lineData[114]++; self.__callPluginsMethod('pluginSyncUI'); - _$jscoverage['/control.js'].lineData[117]++; + _$jscoverage['/control.js'].lineData[115]++; self.fire('afterSyncUI'); }, createComponent: function(cfg, parent) { _$jscoverage['/control.js'].functionData[5]++; - _$jscoverage['/control.js'].lineData[121]++; - return Manager.createComponent(cfg, visit61_121_1(parent || this)); + _$jscoverage['/control.js'].lineData[119]++; + return Manager.createComponent(cfg, visit60_119_1(parent || this)); }, '_onSetFocused': function(v) { _$jscoverage['/control.js'].functionData[6]++; - _$jscoverage['/control.js'].lineData[125]++; + _$jscoverage['/control.js'].lineData[123]++; var target = this.view.getKeyEventTarget()[0]; - _$jscoverage['/control.js'].lineData[126]++; - if (visit62_126_1(v)) { - _$jscoverage['/control.js'].lineData[127]++; + _$jscoverage['/control.js'].lineData[124]++; + if (visit61_124_1(v)) { + _$jscoverage['/control.js'].lineData[125]++; target.focus(); } else { - _$jscoverage['/control.js'].lineData[131]++; - if (visit63_131_1(target.ownerDocument.activeElement === target)) { - _$jscoverage['/control.js'].lineData[132]++; + _$jscoverage['/control.js'].lineData[129]++; + if (visit62_129_1(target.ownerDocument.activeElement === target)) { + _$jscoverage['/control.js'].lineData[130]++; target.ownerDocument.body.focus(); } } }, '_onSetX': function(x) { _$jscoverage['/control.js'].functionData[7]++; - _$jscoverage['/control.js'].lineData[138]++; + _$jscoverage['/control.js'].lineData[136]++; this.$el.offset({ left: x}); }, '_onSetY': function(y) { _$jscoverage['/control.js'].functionData[8]++; - _$jscoverage['/control.js'].lineData[144]++; + _$jscoverage['/control.js'].lineData[142]++; this.$el.offset({ top: y}); }, _onSetVisible: function(v) { _$jscoverage['/control.js'].functionData[9]++; - _$jscoverage['/control.js'].lineData[151]++; + _$jscoverage['/control.js'].lineData[149]++; this.fire(v ? 'show' : 'hide'); }, show: function() { _$jscoverage['/control.js'].functionData[10]++; - _$jscoverage['/control.js'].lineData[159]++; + _$jscoverage['/control.js'].lineData[157]++; var self = this; - _$jscoverage['/control.js'].lineData[160]++; + _$jscoverage['/control.js'].lineData[158]++; self.render(); - _$jscoverage['/control.js'].lineData[161]++; + _$jscoverage['/control.js'].lineData[159]++; self.set('visible', true); - _$jscoverage['/control.js'].lineData[162]++; + _$jscoverage['/control.js'].lineData[160]++; return self; }, hide: function() { _$jscoverage['/control.js'].functionData[11]++; - _$jscoverage['/control.js'].lineData[170]++; + _$jscoverage['/control.js'].lineData[168]++; var self = this; - _$jscoverage['/control.js'].lineData[171]++; + _$jscoverage['/control.js'].lineData[169]++; self.set('visible', false); - _$jscoverage['/control.js'].lineData[172]++; + _$jscoverage['/control.js'].lineData[170]++; return self; }, focus: function() { _$jscoverage['/control.js'].functionData[12]++; - _$jscoverage['/control.js'].lineData[176]++; - if (visit64_176_1(this.get('focusable'))) { - _$jscoverage['/control.js'].lineData[177]++; + _$jscoverage['/control.js'].lineData[174]++; + if (visit63_174_1(this.get('focusable'))) { + _$jscoverage['/control.js'].lineData[175]++; this.set('focused', true); } }, blur: function() { _$jscoverage['/control.js'].functionData[13]++; - _$jscoverage['/control.js'].lineData[182]++; - if (visit65_182_1(this.get('focusable'))) { - _$jscoverage['/control.js'].lineData[183]++; + _$jscoverage['/control.js'].lineData[180]++; + if (visit64_180_1(this.get('focusable'))) { + _$jscoverage['/control.js'].lineData[181]++; this.set('focused', false); } }, move: function(x, y) { _$jscoverage['/control.js'].functionData[14]++; - _$jscoverage['/control.js'].lineData[188]++; + _$jscoverage['/control.js'].lineData[186]++; this.set({ x: x, y: y}); }, handleDblClick: function(ev) { _$jscoverage['/control.js'].functionData[15]++; - _$jscoverage['/control.js'].lineData[195]++; - if (visit66_195_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[196]++; + _$jscoverage['/control.js'].lineData[193]++; + if (visit65_193_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[194]++; this.handleDblClickInternal(ev); } }, handleDblClickInternal: function(ev) { _$jscoverage['/control.js'].functionData[16]++; - _$jscoverage['/control.js'].lineData[208]++; + _$jscoverage['/control.js'].lineData[206]++; this.handleClickInternal(ev); }, handleMouseEnter: function(ev) { _$jscoverage['/control.js'].functionData[17]++; - _$jscoverage['/control.js'].lineData[212]++; - if (visit67_212_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[213]++; + _$jscoverage['/control.js'].lineData[210]++; + if (visit66_210_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[211]++; this.handleMouseEnterInternal(ev); } }, handleMouseEnterInternal: function(ev) { _$jscoverage['/control.js'].functionData[18]++; - _$jscoverage['/control.js'].lineData[223]++; + _$jscoverage['/control.js'].lineData[221]++; this.set('highlighted', !!ev); }, handleMouseLeave: function(ev) { _$jscoverage['/control.js'].functionData[19]++; - _$jscoverage['/control.js'].lineData[227]++; - if (visit68_227_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[228]++; + _$jscoverage['/control.js'].lineData[225]++; + if (visit67_225_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[226]++; this.handleMouseLeaveInternal(ev); } }, handleMouseLeaveInternal: function(ev) { _$jscoverage['/control.js'].functionData[20]++; - _$jscoverage['/control.js'].lineData[238]++; + _$jscoverage['/control.js'].lineData[236]++; var self = this; - _$jscoverage['/control.js'].lineData[239]++; + _$jscoverage['/control.js'].lineData[237]++; self.set('active', false); - _$jscoverage['/control.js'].lineData[240]++; + _$jscoverage['/control.js'].lineData[238]++; self.set('highlighted', !ev); }, handleMouseDown: function(ev) { _$jscoverage['/control.js'].functionData[21]++; - _$jscoverage['/control.js'].lineData[244]++; - if (visit69_244_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[245]++; + _$jscoverage['/control.js'].lineData[242]++; + if (visit68_242_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[243]++; this.handleMouseDownInternal(ev); } }, handleMouseDownInternal: function(ev) { _$jscoverage['/control.js'].functionData[22]++; - _$jscoverage['/control.js'].lineData[258]++; - var self = this, n, isMouseActionButton = visit70_260_1(ev.which === 1); - _$jscoverage['/control.js'].lineData[261]++; - if (visit71_261_1(isMouseActionButton || isTouchGestureSupported)) { - _$jscoverage['/control.js'].lineData[262]++; - if (visit72_262_1(self.get('activeable'))) { - _$jscoverage['/control.js'].lineData[263]++; + _$jscoverage['/control.js'].lineData[256]++; + var self = this, n, isMouseActionButton = visit69_258_1(ev.which === 1); + _$jscoverage['/control.js'].lineData[259]++; + if (visit70_259_1(isMouseActionButton || isTouchGestureSupported)) { + _$jscoverage['/control.js'].lineData[260]++; + if (visit71_260_1(self.get('activeable'))) { + _$jscoverage['/control.js'].lineData[261]++; self.set('active', true); } - _$jscoverage['/control.js'].lineData[265]++; - if (visit73_265_1(self.get('focusable'))) { - _$jscoverage['/control.js'].lineData[266]++; + _$jscoverage['/control.js'].lineData[263]++; + if (visit72_263_1(self.get('focusable'))) { + _$jscoverage['/control.js'].lineData[264]++; self.focus(); } - _$jscoverage['/control.js'].lineData[268]++; - if (visit74_268_1(!self.get('allowTextSelection'))) { - _$jscoverage['/control.js'].lineData[271]++; + _$jscoverage['/control.js'].lineData[266]++; + if (visit73_266_1(!self.get('allowTextSelection'))) { + _$jscoverage['/control.js'].lineData[269]++; n = ev.target.nodeName; + _$jscoverage['/control.js'].lineData[270]++; + n = visit74_270_1(n && n.toLowerCase()); _$jscoverage['/control.js'].lineData[272]++; - n = visit75_272_1(n && n.toLowerCase()); - _$jscoverage['/control.js'].lineData[274]++; - if (visit76_274_1(visit77_274_2(n !== 'input') && visit78_274_3(n !== 'textarea'))) { - _$jscoverage['/control.js'].lineData[275]++; + if (visit75_272_1(visit76_272_2(n !== 'input') && visit77_272_3(n !== 'textarea'))) { + _$jscoverage['/control.js'].lineData[273]++; ev.preventDefault(); } } @@ -969,27 +959,27 @@ KISSY.add(function(S, require) { }, handleMouseUp: function(ev) { _$jscoverage['/control.js'].functionData[23]++; - _$jscoverage['/control.js'].lineData[282]++; - if (visit79_282_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[283]++; + _$jscoverage['/control.js'].lineData[280]++; + if (visit78_280_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[281]++; this.handleMouseUpInternal(ev); } }, handleMouseUpInternal: function(ev) { _$jscoverage['/control.js'].functionData[24]++; - _$jscoverage['/control.js'].lineData[295]++; + _$jscoverage['/control.js'].lineData[293]++; var self = this; - _$jscoverage['/control.js'].lineData[297]++; - if (visit80_297_1(self.get('active') && (visit81_297_2(visit82_297_3(ev.which === 1) || isTouchGestureSupported)))) { - _$jscoverage['/control.js'].lineData[298]++; + _$jscoverage['/control.js'].lineData[295]++; + if (visit79_295_1(self.get('active') && (visit80_295_2(visit81_295_3(ev.which === 1) || isTouchGestureSupported)))) { + _$jscoverage['/control.js'].lineData[296]++; self.set('active', false); } }, handleContextMenu: function(ev) { _$jscoverage['/control.js'].functionData[25]++; - _$jscoverage['/control.js'].lineData[303]++; - if (visit83_303_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[304]++; + _$jscoverage['/control.js'].lineData[301]++; + if (visit82_301_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[302]++; this.handleContextMenuInternal(ev); } }, @@ -998,90 +988,90 @@ KISSY.add(function(S, require) { }, handleFocus: function() { _$jscoverage['/control.js'].functionData[27]++; - _$jscoverage['/control.js'].lineData[316]++; - if (visit84_316_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[317]++; + _$jscoverage['/control.js'].lineData[314]++; + if (visit83_314_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[315]++; this.handleFocusInternal(); } }, handleFocusInternal: function() { _$jscoverage['/control.js'].functionData[28]++; - _$jscoverage['/control.js'].lineData[326]++; + _$jscoverage['/control.js'].lineData[324]++; this.focus(); - _$jscoverage['/control.js'].lineData[327]++; + _$jscoverage['/control.js'].lineData[325]++; this.fire('focus'); }, handleBlur: function() { _$jscoverage['/control.js'].functionData[29]++; - _$jscoverage['/control.js'].lineData[331]++; - if (visit85_331_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[332]++; + _$jscoverage['/control.js'].lineData[329]++; + if (visit84_329_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[330]++; this.handleBlurInternal(); } }, handleBlurInternal: function() { _$jscoverage['/control.js'].functionData[30]++; - _$jscoverage['/control.js'].lineData[341]++; + _$jscoverage['/control.js'].lineData[339]++; this.blur(); - _$jscoverage['/control.js'].lineData[342]++; + _$jscoverage['/control.js'].lineData[340]++; this.fire('blur'); }, handleKeydown: function(ev) { _$jscoverage['/control.js'].functionData[31]++; - _$jscoverage['/control.js'].lineData[346]++; + _$jscoverage['/control.js'].lineData[344]++; var self = this; - _$jscoverage['/control.js'].lineData[347]++; - if (visit86_347_1(!this.get('disabled') && self.handleKeyDownInternal(ev))) { - _$jscoverage['/control.js'].lineData[348]++; + _$jscoverage['/control.js'].lineData[345]++; + if (visit85_345_1(!this.get('disabled') && self.handleKeyDownInternal(ev))) { + _$jscoverage['/control.js'].lineData[346]++; ev.halt(); - _$jscoverage['/control.js'].lineData[349]++; + _$jscoverage['/control.js'].lineData[347]++; return true; } - _$jscoverage['/control.js'].lineData[351]++; + _$jscoverage['/control.js'].lineData[349]++; return undefined; }, handleKeyDownInternal: function(ev) { _$jscoverage['/control.js'].functionData[32]++; - _$jscoverage['/control.js'].lineData[360]++; - if (visit87_360_1(ev.keyCode === Node.KeyCode.ENTER)) { - _$jscoverage['/control.js'].lineData[361]++; + _$jscoverage['/control.js'].lineData[358]++; + if (visit86_358_1(ev.keyCode === Node.KeyCode.ENTER)) { + _$jscoverage['/control.js'].lineData[359]++; return this.handleClickInternal(ev); } - _$jscoverage['/control.js'].lineData[363]++; + _$jscoverage['/control.js'].lineData[361]++; return undefined; }, handleClick: function(ev) { _$jscoverage['/control.js'].functionData[33]++; - _$jscoverage['/control.js'].lineData[367]++; - if (visit88_367_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[368]++; + _$jscoverage['/control.js'].lineData[365]++; + if (visit87_365_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[366]++; this.handleClickInternal(ev); } }, handleClickInternal: function() { _$jscoverage['/control.js'].functionData[34]++; - _$jscoverage['/control.js'].lineData[378]++; + _$jscoverage['/control.js'].lineData[376]++; var self = this; - _$jscoverage['/control.js'].lineData[379]++; - if (visit89_379_1(self.get('focusable'))) { - _$jscoverage['/control.js'].lineData[380]++; + _$jscoverage['/control.js'].lineData[377]++; + if (visit88_377_1(self.get('focusable'))) { + _$jscoverage['/control.js'].lineData[378]++; self.focus(); } }, destructor: function() { _$jscoverage['/control.js'].functionData[35]++; - _$jscoverage['/control.js'].lineData[388]++; + _$jscoverage['/control.js'].lineData[386]++; var self = this; - _$jscoverage['/control.js'].lineData[390]++; + _$jscoverage['/control.js'].lineData[388]++; Manager.removeComponent(self.get('id')); - _$jscoverage['/control.js'].lineData[391]++; - if (visit90_391_1(self.view)) { - _$jscoverage['/control.js'].lineData[392]++; + _$jscoverage['/control.js'].lineData[389]++; + if (visit89_389_1(self.view)) { + _$jscoverage['/control.js'].lineData[390]++; self.view.destroy(); } else { - _$jscoverage['/control.js'].lineData[393]++; - if (visit91_393_1(self.get('srcNode'))) { - _$jscoverage['/control.js'].lineData[394]++; + _$jscoverage['/control.js'].lineData[391]++; + if (visit90_391_1(self.get('srcNode'))) { + _$jscoverage['/control.js'].lineData[392]++; self.get('srcNode').remove(); } } @@ -1092,7 +1082,7 @@ KISSY.add(function(S, require) { view: 1, valueFn: function() { _$jscoverage['/control.js'].functionData[36]++; - _$jscoverage['/control.js'].lineData[405]++; + _$jscoverage['/control.js'].lineData[403]++; return S.guid('ks-component'); }}, content: { @@ -1107,13 +1097,13 @@ KISSY.add(function(S, require) { value: [], setter: function(v) { _$jscoverage['/control.js'].functionData[37]++; - _$jscoverage['/control.js'].lineData[469]++; - if (visit92_469_1(typeof v === 'string')) { - _$jscoverage['/control.js'].lineData[470]++; + _$jscoverage['/control.js'].lineData[467]++; + if (visit91_467_1(typeof v === 'string')) { + _$jscoverage['/control.js'].lineData[468]++; v = v.split(/\s+/); } - _$jscoverage['/control.js'].lineData[472]++; - return visit93_472_1(v || []); + _$jscoverage['/control.js'].lineData[470]++; + return visit92_470_1(v || []); }}, elStyle: { view: 1, @@ -1125,9 +1115,9 @@ KISSY.add(function(S, require) { el: { setter: function(el) { _$jscoverage['/control.js'].functionData[38]++; - _$jscoverage['/control.js'].lineData[522]++; + _$jscoverage['/control.js'].lineData[520]++; this.$el = el; - _$jscoverage['/control.js'].lineData[523]++; + _$jscoverage['/control.js'].lineData[521]++; this.el = el[0]; }}, x: {}, @@ -1135,27 +1125,27 @@ KISSY.add(function(S, require) { xy: { setter: function(v) { _$jscoverage['/control.js'].functionData[39]++; - _$jscoverage['/control.js'].lineData[568]++; + _$jscoverage['/control.js'].lineData[566]++; var self = this, xy = S.makeArray(v); - _$jscoverage['/control.js'].lineData[570]++; - if (visit94_570_1(xy.length)) { - _$jscoverage['/control.js'].lineData[571]++; - if (visit95_571_1(xy[0] !== undefined)) { - _$jscoverage['/control.js'].lineData[572]++; + _$jscoverage['/control.js'].lineData[568]++; + if (visit93_568_1(xy.length)) { + _$jscoverage['/control.js'].lineData[569]++; + if (visit94_569_1(xy[0] !== undefined)) { + _$jscoverage['/control.js'].lineData[570]++; self.set('x', xy[0]); } - _$jscoverage['/control.js'].lineData[574]++; - if (visit96_574_1(xy[1] !== undefined)) { - _$jscoverage['/control.js'].lineData[575]++; + _$jscoverage['/control.js'].lineData[572]++; + if (visit95_572_1(xy[1] !== undefined)) { + _$jscoverage['/control.js'].lineData[573]++; self.set('y', xy[1]); } } - _$jscoverage['/control.js'].lineData[578]++; + _$jscoverage['/control.js'].lineData[576]++; return v; }, getter: function() { _$jscoverage['/control.js'].functionData[40]++; - _$jscoverage['/control.js'].lineData[581]++; + _$jscoverage['/control.js'].lineData[579]++; return [this.get('x'), this.get('y')]; }}, zIndex: { @@ -1168,7 +1158,7 @@ KISSY.add(function(S, require) { srcNode: { setter: function(v) { _$jscoverage['/control.js'].functionData[41]++; - _$jscoverage['/control.js'].lineData[648]++; + _$jscoverage['/control.js'].lineData[646]++; return Node.all(v); }}, handleMouseEvents: { @@ -1190,19 +1180,19 @@ KISSY.add(function(S, require) { value: false}, prefixCls: { view: 1, - value: visit97_769_1(S.config('component/prefixCls') || 'ks-')}, + value: visit96_767_1(S.config('component/prefixCls') || 'ks-')}, prefixXClass: {}, parent: { setter: function(p, prev) { _$jscoverage['/control.js'].functionData[42]++; - _$jscoverage['/control.js'].lineData[797]++; + _$jscoverage['/control.js'].lineData[795]++; if ((prev = this.get('parent'))) { - _$jscoverage['/control.js'].lineData[798]++; + _$jscoverage['/control.js'].lineData[796]++; this.removeTarget(prev); } - _$jscoverage['/control.js'].lineData[800]++; - if (visit98_800_1(p)) { - _$jscoverage['/control.js'].lineData[801]++; + _$jscoverage['/control.js'].lineData[798]++; + if (visit97_798_1(p)) { + _$jscoverage['/control.js'].lineData[799]++; this.addTarget(p); } }}, @@ -1214,50 +1204,50 @@ KISSY.add(function(S, require) { view: { setter: function(v) { _$jscoverage['/control.js'].functionData[43]++; - _$jscoverage['/control.js'].lineData[837]++; + _$jscoverage['/control.js'].lineData[835]++; this.view = v; }}}}); - _$jscoverage['/control.js'].lineData[843]++; + _$jscoverage['/control.js'].lineData[841]++; function getDefaultRender() { _$jscoverage['/control.js'].functionData[44]++; - _$jscoverage['/control.js'].lineData[844]++; + _$jscoverage['/control.js'].lineData[842]++; var attrs, constructor = this; - _$jscoverage['/control.js'].lineData[846]++; + _$jscoverage['/control.js'].lineData[844]++; do { - _$jscoverage['/control.js'].lineData[847]++; + _$jscoverage['/control.js'].lineData[845]++; attrs = constructor.ATTRS; - _$jscoverage['/control.js'].lineData[848]++; + _$jscoverage['/control.js'].lineData[846]++; constructor = constructor.superclass; - } while (visit99_849_1(!attrs || !attrs.xrender)); - _$jscoverage['/control.js'].lineData[850]++; + } while (visit98_847_1(!attrs || !attrs.xrender)); + _$jscoverage['/control.js'].lineData[848]++; return attrs.xrender.value; } - _$jscoverage['/control.js'].lineData[853]++; + _$jscoverage['/control.js'].lineData[851]++; Control.getDefaultRender = getDefaultRender; - _$jscoverage['/control.js'].lineData[874]++; + _$jscoverage['/control.js'].lineData[872]++; Control.extend = function extend(extensions, px, sx) { _$jscoverage['/control.js'].functionData[45]++; - _$jscoverage['/control.js'].lineData[876]++; + _$jscoverage['/control.js'].lineData[874]++; var args = S.makeArray(arguments), baseClass = this, xclass, newClass, argsLen = args.length, last = args[argsLen - 1]; - _$jscoverage['/control.js'].lineData[883]++; + _$jscoverage['/control.js'].lineData[881]++; if ((xclass = last.xclass)) { - _$jscoverage['/control.js'].lineData[884]++; + _$jscoverage['/control.js'].lineData[882]++; last.name = xclass; } - _$jscoverage['/control.js'].lineData[887]++; + _$jscoverage['/control.js'].lineData[885]++; newClass = ComponentProcess.extend.apply(baseClass, args); - _$jscoverage['/control.js'].lineData[889]++; - if (visit100_889_1(xclass)) { - _$jscoverage['/control.js'].lineData[890]++; + _$jscoverage['/control.js'].lineData[887]++; + if (visit99_887_1(xclass)) { + _$jscoverage['/control.js'].lineData[888]++; Manager.setConstructorByXClass(xclass, newClass); } - _$jscoverage['/control.js'].lineData[893]++; + _$jscoverage['/control.js'].lineData[891]++; newClass.extend = extend; - _$jscoverage['/control.js'].lineData[894]++; + _$jscoverage['/control.js'].lineData[892]++; newClass.getDefaultRender = getDefaultRender; - _$jscoverage['/control.js'].lineData[896]++; + _$jscoverage['/control.js'].lineData[894]++; return newClass; }; - _$jscoverage['/control.js'].lineData[899]++; + _$jscoverage['/control.js'].lineData[897]++; return Control; }); diff --git a/src/component/sub-modules/control/src/control.js b/src/component/sub-modules/control/src/control.js index 3336ab6919..da56541783 100644 --- a/src/component/sub-modules/control/src/control.js +++ b/src/component/sub-modules/control/src/control.js @@ -86,11 +86,9 @@ KISSY.add(function (S, require) { if (self.get('handleMouseEvents')) { el = self.$el; - if (!isTouchEventSupported) { - el.on('mouseenter', self.handleMouseEnter, self) - .on('mouseleave', self.handleMouseLeave, self) - .on('contextmenu', self.handleContextMenu, self); - } + el.on('mouseenter', self.handleMouseEnter, self) + .on('mouseleave', self.handleMouseLeave, self) + .on('contextmenu', self.handleContextMenu, self); el.on(Gesture.start, self.handleMouseDown, self) .on(Gesture.end, self.handleMouseUp, self) diff --git a/src/component/sub-modules/extension/delegate-children/coverage/src/delegate-children.js b/src/component/sub-modules/extension/delegate-children/coverage/src/delegate-children.js index ce2c5d9c8a..993fa39160 100644 --- a/src/component/sub-modules/extension/delegate-children/coverage/src/delegate-children.js +++ b/src/component/sub-modules/extension/delegate-children/coverage/src/delegate-children.js @@ -270,10 +270,9 @@ if (! _$jscoverage['/delegate-children.js']) { _$jscoverage['/delegate-children.js'].lineData[86] = 0; _$jscoverage['/delegate-children.js'].lineData[87] = 0; _$jscoverage['/delegate-children.js'].lineData[90] = 0; - _$jscoverage['/delegate-children.js'].lineData[91] = 0; - _$jscoverage['/delegate-children.js'].lineData[95] = 0; - _$jscoverage['/delegate-children.js'].lineData[106] = 0; - _$jscoverage['/delegate-children.js'].lineData[110] = 0; + _$jscoverage['/delegate-children.js'].lineData[93] = 0; + _$jscoverage['/delegate-children.js'].lineData[104] = 0; + _$jscoverage['/delegate-children.js'].lineData[108] = 0; } if (! _$jscoverage['/delegate-children.js'].functionData) { _$jscoverage['/delegate-children.js'].functionData = []; @@ -299,25 +298,19 @@ if (! _$jscoverage['/delegate-children.js'].branchData) { _$jscoverage['/delegate-children.js'].branchData['48'][1] = new BranchData(); _$jscoverage['/delegate-children.js'].branchData['86'] = []; _$jscoverage['/delegate-children.js'].branchData['86'][1] = new BranchData(); - _$jscoverage['/delegate-children.js'].branchData['90'] = []; - _$jscoverage['/delegate-children.js'].branchData['90'][1] = new BranchData(); - _$jscoverage['/delegate-children.js'].branchData['92'] = []; - _$jscoverage['/delegate-children.js'].branchData['92'][1] = new BranchData(); - _$jscoverage['/delegate-children.js'].branchData['92'][2] = new BranchData(); + _$jscoverage['/delegate-children.js'].branchData['91'] = []; + _$jscoverage['/delegate-children.js'].branchData['91'][1] = new BranchData(); + _$jscoverage['/delegate-children.js'].branchData['91'][2] = new BranchData(); } -_$jscoverage['/delegate-children.js'].branchData['92'][2].init(66, 6, 'ie < 9'); -function visit9_92_2(result) { - _$jscoverage['/delegate-children.js'].branchData['92'][2].ranCondition(result); +_$jscoverage['/delegate-children.js'].branchData['91'][2].init(62, 6, 'ie < 9'); +function visit8_91_2(result) { + _$jscoverage['/delegate-children.js'].branchData['91'][2].ranCondition(result); return result; -}_$jscoverage['/delegate-children.js'].branchData['92'][1].init(60, 12, 'ie && ie < 9'); -function visit8_92_1(result) { - _$jscoverage['/delegate-children.js'].branchData['92'][1].ranCondition(result); +}_$jscoverage['/delegate-children.js'].branchData['91'][1].init(56, 12, 'ie && ie < 9'); +function visit7_91_1(result) { + _$jscoverage['/delegate-children.js'].branchData['91'][1].ranCondition(result); return result; -}_$jscoverage['/delegate-children.js'].branchData['90'][1].init(263, 22, '!isTouchEventSupported'); -function visit7_90_1(result) { - _$jscoverage['/delegate-children.js'].branchData['90'][1].ranCondition(result); - return result; -}_$jscoverage['/delegate-children.js'].branchData['86'][1].init(166, 14, 'Gesture.cancel'); +}_$jscoverage['/delegate-children.js'].branchData['86'][1].init(167, 14, 'Gesture.cancel'); function visit6_86_1(result) { _$jscoverage['/delegate-children.js'].branchData['86'][1].ranCondition(result); return result; @@ -449,18 +442,15 @@ KISSY.add(function(S, require) { events += ' ' + Gesture.cancel; } _$jscoverage['/delegate-children.js'].lineData[90]++; - if (visit7_90_1(!isTouchEventSupported)) { - _$jscoverage['/delegate-children.js'].lineData[91]++; - events += ' mouseenter mouseleave contextmenu ' + (visit8_92_1(ie && visit9_92_2(ie < 9)) ? 'dblclick ' : ''); - } - _$jscoverage['/delegate-children.js'].lineData[95]++; + events += ' mouseenter mouseleave contextmenu ' + (visit7_91_1(ie && visit8_91_2(ie < 9)) ? 'dblclick ' : ''); + _$jscoverage['/delegate-children.js'].lineData[93]++; self.$el.delegate(events, '.' + self.__childClsTag, self.handleChildrenEvents, self); }, getOwnerControl: function(e) { _$jscoverage['/delegate-children.js'].functionData[6]++; - _$jscoverage['/delegate-children.js'].lineData[106]++; + _$jscoverage['/delegate-children.js'].lineData[104]++; return Manager.getComponent(e.currentTarget.id); }}); - _$jscoverage['/delegate-children.js'].lineData[110]++; + _$jscoverage['/delegate-children.js'].lineData[108]++; return DelegateChildren; }); diff --git a/src/component/sub-modules/extension/delegate-children/src/delegate-children.js b/src/component/sub-modules/extension/delegate-children/src/delegate-children.js index b0ad1d2bcd..774735f1e4 100644 --- a/src/component/sub-modules/extension/delegate-children/src/delegate-children.js +++ b/src/component/sub-modules/extension/delegate-children/src/delegate-children.js @@ -80,17 +80,15 @@ KISSY.add(function (S, require) { __bindUI: function () { var self = this, events = Gesture.start + - ' '+ Gesture.end + + ' ' + Gesture.end + ' ' + Gesture.tap; if (Gesture.cancel) { events += ' ' + Gesture.cancel; } - if (!isTouchEventSupported) { - events += ' mouseenter mouseleave contextmenu ' + - (ie && ie < 9 ? 'dblclick ' : ''); - } + events += ' mouseenter mouseleave contextmenu ' + + (ie && ie < 9 ? 'dblclick ' : ''); self.$el.delegate(events, '.' + self.__childClsTag, self.handleChildrenEvents, self); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch.js index 408262bee5..66ef2ad3e0 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch.js @@ -239,9 +239,10 @@ if (! _$jscoverage['/touch.js']) { _$jscoverage['/touch.js'].lineData[14] = 0; _$jscoverage['/touch.js'].lineData[15] = 0; _$jscoverage['/touch.js'].lineData[16] = 0; - _$jscoverage['/touch.js'].lineData[18] = 0; - _$jscoverage['/touch.js'].lineData[23] = 0; - _$jscoverage['/touch.js'].lineData[28] = 0; + _$jscoverage['/touch.js'].lineData[17] = 0; + _$jscoverage['/touch.js'].lineData[19] = 0; + _$jscoverage['/touch.js'].lineData[24] = 0; + _$jscoverage['/touch.js'].lineData[29] = 0; _$jscoverage['/touch.js'].lineData[34] = 0; _$jscoverage['/touch.js'].lineData[39] = 0; _$jscoverage['/touch.js'].lineData[44] = 0; @@ -294,19 +295,19 @@ if (! _$jscoverage['/touch.js'].branchData) { _$jscoverage['/touch.js'].branchData['86'][1] = new BranchData(); } _$jscoverage['/touch.js'].branchData['86'][1].init(500, 23, 'eventHandleValue.remove'); -function visit114_86_1(result) { +function visit124_86_1(result) { _$jscoverage['/touch.js'].branchData['86'][1].ranCondition(result); return result; }_$jscoverage['/touch.js'].branchData['83'][1].init(401, 20, 'eventHandleValue.add'); -function visit113_83_1(result) { +function visit123_83_1(result) { _$jscoverage['/touch.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/touch.js'].branchData['78'][1].init(236, 25, 'eventHandleValue.tearDown'); -function visit112_78_1(result) { +function visit122_78_1(result) { _$jscoverage['/touch.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/touch.js'].branchData['73'][1].init(86, 22, 'eventHandleValue.setup'); -function visit111_73_1(result) { +function visit121_73_1(result) { _$jscoverage['/touch.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/touch.js'].lineData[6]++; @@ -329,17 +330,19 @@ KISSY.add(function(S, require) { _$jscoverage['/touch.js'].lineData[15]++; Gesture.tap = 'tap'; _$jscoverage['/touch.js'].lineData[16]++; + Gesture.singleTap = 'singleTap'; + _$jscoverage['/touch.js'].lineData[17]++; Gesture.doubleTap = 'doubleTap'; - _$jscoverage['/touch.js'].lineData[18]++; + _$jscoverage['/touch.js'].lineData[19]++; eventHandleMap[startEvent] = { handle: { isActive: 1, onTouchStart: function(e) { _$jscoverage['/touch.js'].functionData[1]++; - _$jscoverage['/touch.js'].lineData[23]++; + _$jscoverage['/touch.js'].lineData[24]++; DomEvent.fire(e.target, startEvent, e); }}}; - _$jscoverage['/touch.js'].lineData[28]++; + _$jscoverage['/touch.js'].lineData[29]++; eventHandleMap[moveEvent] = { handle: { isActive: 1, @@ -394,7 +397,7 @@ KISSY.add(function(S, require) { _$jscoverage['/touch.js'].lineData[72]++; eventHandleValue = eventHandleMap[e]; _$jscoverage['/touch.js'].lineData[73]++; - if (visit111_73_1(eventHandleValue.setup)) { + if (visit121_73_1(eventHandleValue.setup)) { _$jscoverage['/touch.js'].lineData[74]++; specialEvent.setup = setupExtra; } else { @@ -402,7 +405,7 @@ KISSY.add(function(S, require) { specialEvent.setup = setup; } _$jscoverage['/touch.js'].lineData[78]++; - if (visit112_78_1(eventHandleValue.tearDown)) { + if (visit122_78_1(eventHandleValue.tearDown)) { _$jscoverage['/touch.js'].lineData[79]++; specialEvent.tearDown = tearDownExtra; } else { @@ -410,12 +413,12 @@ KISSY.add(function(S, require) { specialEvent.tearDown = tearDown; } _$jscoverage['/touch.js'].lineData[83]++; - if (visit113_83_1(eventHandleValue.add)) { + if (visit123_83_1(eventHandleValue.add)) { _$jscoverage['/touch.js'].lineData[84]++; specialEvent.add = eventHandleValue.add; } _$jscoverage['/touch.js'].lineData[86]++; - if (visit114_86_1(eventHandleValue.remove)) { + if (visit124_86_1(eventHandleValue.remove)) { _$jscoverage['/touch.js'].lineData[87]++; specialEvent.remove = eventHandleValue.remove; } diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/double-tap.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/double-tap.js deleted file mode 100644 index 870b4adec6..0000000000 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/double-tap.js +++ /dev/null @@ -1,398 +0,0 @@ -function BranchData() { - this.position = -1; - this.nodeLength = -1; - this.src = null; - this.evalFalse = 0; - this.evalTrue = 0; - - this.init = function(position, nodeLength, src) { - this.position = position; - this.nodeLength = nodeLength; - this.src = src; - return this; - } - - this.ranCondition = function(result) { - if (result) - this.evalTrue++; - else - this.evalFalse++; - }; - - this.pathsCovered = function() { - var paths = 0; - if (this.evalTrue > 0) - paths++; - if (this.evalFalse > 0) - paths++; - return paths; - }; - - this.covered = function() { - return this.evalTrue > 0 && this.evalFalse > 0; - }; - - this.toJSON = function() { - return '{"position":' + this.position - + ',"nodeLength":' + this.nodeLength - + ',"src":' + jscoverage_quote(this.src) - + ',"evalFalse":' + this.evalFalse - + ',"evalTrue":' + this.evalTrue + '}'; - }; - - this.message = function() { - if (this.evalTrue === 0 && this.evalFalse === 0) - return 'Condition never evaluated :\t' + this.src; - else if (this.evalTrue === 0) - return 'Condition never evaluated to true :\t' + this.src; - else if (this.evalFalse === 0) - return 'Condition never evaluated to false:\t' + this.src; - else - return 'Condition covered'; - }; -} - -BranchData.fromJson = function(jsonString) { - var json = eval('(' + jsonString + ')'); - var branchData = new BranchData(); - branchData.init(json.position, json.nodeLength, json.src); - branchData.evalFalse = json.evalFalse; - branchData.evalTrue = json.evalTrue; - return branchData; -}; - -BranchData.fromJsonObject = function(json) { - var branchData = new BranchData(); - branchData.init(json.position, json.nodeLength, json.src); - branchData.evalFalse = json.evalFalse; - branchData.evalTrue = json.evalTrue; - return branchData; -}; - -function buildBranchMessage(conditions) { - var message = 'The following was not covered:'; - for (var i = 0; i < conditions.length; i++) { - if (conditions[i] !== undefined && conditions[i] !== null && !conditions[i].covered()) - message += '\n- '+ conditions[i].message(); - } - return message; -}; - -function convertBranchDataConditionArrayToJSON(branchDataConditionArray) { - var array = []; - var length = branchDataConditionArray.length; - for (var condition = 0; condition < length; condition++) { - var branchDataObject = branchDataConditionArray[condition]; - if (branchDataObject === undefined || branchDataObject === null) { - value = 'null'; - } else { - value = branchDataObject.toJSON(); - } - array.push(value); - } - return '[' + array.join(',') + ']'; -} - -function convertBranchDataLinesToJSON(branchData) { - if (branchData === undefined) { - return '{}' - } - var json = ''; - for (var line in branchData) { - if (json !== '') - json += ',' - json += '"' + line + '":' + convertBranchDataConditionArrayToJSON(branchData[line]); - } - return '{' + json + '}'; -} - -function convertBranchDataLinesFromJSON(jsonObject) { - if (jsonObject === undefined) { - return {}; - } - for (var line in jsonObject) { - var branchDataJSON = jsonObject[line]; - if (branchDataJSON !== null) { - for (var conditionIndex = 0; conditionIndex < branchDataJSON.length; conditionIndex ++) { - var condition = branchDataJSON[conditionIndex]; - if (condition !== null) { - branchDataJSON[conditionIndex] = BranchData.fromJsonObject(condition); - } - } - } - } - return jsonObject; -} -function jscoverage_quote(s) { - return '"' + s.replace(/[\u0000-\u001f"\\\u007f-\uffff]/g, function (c) { - switch (c) { - case '\b': - return '\\b'; - case '\f': - return '\\f'; - case '\n': - return '\\n'; - case '\r': - return '\\r'; - case '\t': - return '\\t'; - // IE doesn't support this - /* - case '\v': - return '\\v'; - */ - case '"': - return '\\"'; - case '\\': - return '\\\\'; - default: - return '\\u' + jscoverage_pad(c.charCodeAt(0).toString(16)); - } - }) + '"'; -} - -function getArrayJSON(coverage) { - var array = []; - if (coverage === undefined) - return array; - - var length = coverage.length; - for (var line = 0; line < length; line++) { - var value = coverage[line]; - if (value === undefined || value === null) { - value = 'null'; - } - array.push(value); - } - return array; -} - -function jscoverage_serializeCoverageToJSON() { - var json = []; - for (var file in _$jscoverage) { - var lineArray = getArrayJSON(_$jscoverage[file].lineData); - var fnArray = getArrayJSON(_$jscoverage[file].functionData); - - json.push(jscoverage_quote(file) + ':{"lineData":[' + lineArray.join(',') + '],"functionData":[' + fnArray.join(',') + '],"branchData":' + convertBranchDataLinesToJSON(_$jscoverage[file].branchData) + '}'); - } - return '{' + json.join(',') + '}'; -} - - -function jscoverage_pad(s) { - return '0000'.substr(s.length) + s; -} - -function jscoverage_html_escape(s) { - return s.replace(/[<>\&\"\']/g, function (c) { - return '&#' + c.charCodeAt(0) + ';'; - }); -} -try { - if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) { - // this is a browser window that was opened from another window - - if (! top.opener._$jscoverage) { - top.opener._$jscoverage = {}; - } - } -} -catch (e) {} - -try { - if (typeof top === 'object' && top !== null) { - // this is a browser window - - try { - if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) { - top._$jscoverage = top.opener._$jscoverage; - } - } - catch (e) {} - - if (! top._$jscoverage) { - top._$jscoverage = {}; - } - } -} -catch (e) {} - -try { - if (typeof top === 'object' && top !== null && top._$jscoverage) { - this._$jscoverage = top._$jscoverage; - } -} -catch (e) {} -if (! this._$jscoverage) { - this._$jscoverage = {}; -} -if (! _$jscoverage['/touch/double-tap.js']) { - _$jscoverage['/touch/double-tap.js'] = {}; - _$jscoverage['/touch/double-tap.js'].lineData = []; - _$jscoverage['/touch/double-tap.js'].lineData[6] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[7] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[8] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[9] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[11] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[16] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[19] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[21] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[22] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[23] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[25] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[26] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[27] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[28] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[33] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[37] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[43] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[45] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[47] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[49] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[51] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[53] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[57] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[64] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[65] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[66] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[76] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[77] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[89] = 0; - _$jscoverage['/touch/double-tap.js'].lineData[93] = 0; -} -if (! _$jscoverage['/touch/double-tap.js'].functionData) { - _$jscoverage['/touch/double-tap.js'].functionData = []; - _$jscoverage['/touch/double-tap.js'].functionData[0] = 0; - _$jscoverage['/touch/double-tap.js'].functionData[1] = 0; - _$jscoverage['/touch/double-tap.js'].functionData[2] = 0; - _$jscoverage['/touch/double-tap.js'].functionData[3] = 0; - _$jscoverage['/touch/double-tap.js'].functionData[4] = 0; - _$jscoverage['/touch/double-tap.js'].functionData[5] = 0; -} -if (! _$jscoverage['/touch/double-tap.js'].branchData) { - _$jscoverage['/touch/double-tap.js'].branchData = {}; - _$jscoverage['/touch/double-tap.js'].branchData['22'] = []; - _$jscoverage['/touch/double-tap.js'].branchData['22'][1] = new BranchData(); - _$jscoverage['/touch/double-tap.js'].branchData['26'] = []; - _$jscoverage['/touch/double-tap.js'].branchData['26'][1] = new BranchData(); - _$jscoverage['/touch/double-tap.js'].branchData['45'] = []; - _$jscoverage['/touch/double-tap.js'].branchData['45'][1] = new BranchData(); - _$jscoverage['/touch/double-tap.js'].branchData['49'] = []; - _$jscoverage['/touch/double-tap.js'].branchData['49'][1] = new BranchData(); - _$jscoverage['/touch/double-tap.js'].branchData['65'] = []; - _$jscoverage['/touch/double-tap.js'].branchData['65'][1] = new BranchData(); -} -_$jscoverage['/touch/double-tap.js'].branchData['65'][1].init(1045, 23, 'duration > MAX_DURATION'); -function visit5_65_1(result) { - _$jscoverage['/touch/double-tap.js'].branchData['65'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/double-tap.js'].branchData['49'][1].init(155, 23, 'duration < MAX_DURATION'); -function visit4_49_1(result) { - _$jscoverage['/touch/double-tap.js'].branchData['49'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/double-tap.js'].branchData['45'][1].init(329, 11, 'lastEndTime'); -function visit3_45_1(result) { - _$jscoverage['/touch/double-tap.js'].branchData['45'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/double-tap.js'].branchData['26'][1].init(218, 19, 'self.singleTapTimer'); -function visit2_26_1(result) { - _$jscoverage['/touch/double-tap.js'].branchData['26'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/double-tap.js'].branchData['22'][1].init(46, 66, 'DoubleTap.superclass.onTouchStart.apply(self, arguments) === false'); -function visit1_22_1(result) { - _$jscoverage['/touch/double-tap.js'].branchData['22'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/double-tap.js'].lineData[6]++; -KISSY.add(function(S, require) { - _$jscoverage['/touch/double-tap.js'].functionData[0]++; - _$jscoverage['/touch/double-tap.js'].lineData[7]++; - var eventHandleMap = require('./handle-map'); - _$jscoverage['/touch/double-tap.js'].lineData[8]++; - var DomEvent = require('event/dom/base'); - _$jscoverage['/touch/double-tap.js'].lineData[9]++; - var SingleTouch = require('./single-touch'); - _$jscoverage['/touch/double-tap.js'].lineData[11]++; - var SINGLE_TAP = 'singleTap', DOUBLE_TAP = 'doubleTap', MAX_DURATION = 300; - _$jscoverage['/touch/double-tap.js'].lineData[16]++; - function DoubleTap() { - _$jscoverage['/touch/double-tap.js'].functionData[1]++; - } - _$jscoverage['/touch/double-tap.js'].lineData[19]++; - S.extend(DoubleTap, SingleTouch, { - onTouchStart: function(e) { - _$jscoverage['/touch/double-tap.js'].functionData[2]++; - _$jscoverage['/touch/double-tap.js'].lineData[21]++; - var self = this; - _$jscoverage['/touch/double-tap.js'].lineData[22]++; - if (visit1_22_1(DoubleTap.superclass.onTouchStart.apply(self, arguments) === false)) { - _$jscoverage['/touch/double-tap.js'].lineData[23]++; - return false; - } - _$jscoverage['/touch/double-tap.js'].lineData[25]++; - self.startTime = e.timeStamp; - _$jscoverage['/touch/double-tap.js'].lineData[26]++; - if (visit2_26_1(self.singleTapTimer)) { - _$jscoverage['/touch/double-tap.js'].lineData[27]++; - clearTimeout(self.singleTapTimer); - _$jscoverage['/touch/double-tap.js'].lineData[28]++; - self.singleTapTimer = 0; - } -}, - onTouchMove: function() { - _$jscoverage['/touch/double-tap.js'].functionData[3]++; - _$jscoverage['/touch/double-tap.js'].lineData[33]++; - return false; -}, - onTouchEnd: function(e) { - _$jscoverage['/touch/double-tap.js'].functionData[4]++; - _$jscoverage['/touch/double-tap.js'].lineData[37]++; - var self = this, lastEndTime = self.lastEndTime, time = e.timeStamp, target = e.target, touch = e.changedTouches[0], duration = time - self.startTime; - _$jscoverage['/touch/double-tap.js'].lineData[43]++; - self.lastEndTime = time; - _$jscoverage['/touch/double-tap.js'].lineData[45]++; - if (visit3_45_1(lastEndTime)) { - _$jscoverage['/touch/double-tap.js'].lineData[47]++; - duration = time - lastEndTime; - _$jscoverage['/touch/double-tap.js'].lineData[49]++; - if (visit4_49_1(duration < MAX_DURATION)) { - _$jscoverage['/touch/double-tap.js'].lineData[51]++; - self.lastEndTime = 0; - _$jscoverage['/touch/double-tap.js'].lineData[53]++; - DomEvent.fire(target, DOUBLE_TAP, { - touch: touch, - duration: duration / 1000}); - _$jscoverage['/touch/double-tap.js'].lineData[57]++; - return; - } - } - _$jscoverage['/touch/double-tap.js'].lineData[64]++; - duration = time - self.startTime; - _$jscoverage['/touch/double-tap.js'].lineData[65]++; - if (visit5_65_1(duration > MAX_DURATION)) { - _$jscoverage['/touch/double-tap.js'].lineData[66]++; - DomEvent.fire(target, SINGLE_TAP, { - touch: touch, - pageX: touch.pageX, - which: 1, - pageY: touch.pageY, - duration: duration / 1000}); - } else { - _$jscoverage['/touch/double-tap.js'].lineData[76]++; - self.singleTapTimer = setTimeout(function() { - _$jscoverage['/touch/double-tap.js'].functionData[5]++; - _$jscoverage['/touch/double-tap.js'].lineData[77]++; - DomEvent.fire(target, SINGLE_TAP, { - touch: touch, - pageX: touch.pageX, - which: 1, - pageY: touch.pageY, - duration: duration / 1000}); -}, MAX_DURATION); - } -}}); - _$jscoverage['/touch/double-tap.js'].lineData[89]++; - eventHandleMap[SINGLE_TAP] = eventHandleMap[DOUBLE_TAP] = { - handle: new DoubleTap()}; - _$jscoverage['/touch/double-tap.js'].lineData[93]++; - return DoubleTap; -}); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/handle.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/handle.js index 3a9ec294a6..dffaf05e5d 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/handle.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/handle.js @@ -237,179 +237,183 @@ if (! _$jscoverage['/touch/handle.js']) { _$jscoverage['/touch/handle.js'].lineData[11] = 0; _$jscoverage['/touch/handle.js'].lineData[12] = 0; _$jscoverage['/touch/handle.js'].lineData[13] = 0; - _$jscoverage['/touch/handle.js'].lineData[14] = 0; _$jscoverage['/touch/handle.js'].lineData[15] = 0; - _$jscoverage['/touch/handle.js'].lineData[17] = 0; - _$jscoverage['/touch/handle.js'].lineData[23] = 0; - _$jscoverage['/touch/handle.js'].lineData[24] = 0; - _$jscoverage['/touch/handle.js'].lineData[27] = 0; - _$jscoverage['/touch/handle.js'].lineData[28] = 0; - _$jscoverage['/touch/handle.js'].lineData[31] = 0; - _$jscoverage['/touch/handle.js'].lineData[32] = 0; + _$jscoverage['/touch/handle.js'].lineData[21] = 0; + _$jscoverage['/touch/handle.js'].lineData[22] = 0; + _$jscoverage['/touch/handle.js'].lineData[25] = 0; + _$jscoverage['/touch/handle.js'].lineData[26] = 0; + _$jscoverage['/touch/handle.js'].lineData[29] = 0; + _$jscoverage['/touch/handle.js'].lineData[30] = 0; + _$jscoverage['/touch/handle.js'].lineData[34] = 0; _$jscoverage['/touch/handle.js'].lineData[36] = 0; _$jscoverage['/touch/handle.js'].lineData[38] = 0; - _$jscoverage['/touch/handle.js'].lineData[40] = 0; + _$jscoverage['/touch/handle.js'].lineData[39] = 0; _$jscoverage['/touch/handle.js'].lineData[41] = 0; + _$jscoverage['/touch/handle.js'].lineData[42] = 0; _$jscoverage['/touch/handle.js'].lineData[43] = 0; - _$jscoverage['/touch/handle.js'].lineData[44] = 0; _$jscoverage['/touch/handle.js'].lineData[45] = 0; _$jscoverage['/touch/handle.js'].lineData[47] = 0; - _$jscoverage['/touch/handle.js'].lineData[49] = 0; + _$jscoverage['/touch/handle.js'].lineData[48] = 0; _$jscoverage['/touch/handle.js'].lineData[50] = 0; - _$jscoverage['/touch/handle.js'].lineData[52] = 0; + _$jscoverage['/touch/handle.js'].lineData[53] = 0; + _$jscoverage['/touch/handle.js'].lineData[54] = 0; _$jscoverage['/touch/handle.js'].lineData[55] = 0; _$jscoverage['/touch/handle.js'].lineData[56] = 0; _$jscoverage['/touch/handle.js'].lineData[57] = 0; _$jscoverage['/touch/handle.js'].lineData[58] = 0; _$jscoverage['/touch/handle.js'].lineData[59] = 0; - _$jscoverage['/touch/handle.js'].lineData[60] = 0; _$jscoverage['/touch/handle.js'].lineData[61] = 0; + _$jscoverage['/touch/handle.js'].lineData[62] = 0; _$jscoverage['/touch/handle.js'].lineData[63] = 0; - _$jscoverage['/touch/handle.js'].lineData[64] = 0; - _$jscoverage['/touch/handle.js'].lineData[65] = 0; + _$jscoverage['/touch/handle.js'].lineData[66] = 0; + _$jscoverage['/touch/handle.js'].lineData[67] = 0; _$jscoverage['/touch/handle.js'].lineData[68] = 0; _$jscoverage['/touch/handle.js'].lineData[69] = 0; _$jscoverage['/touch/handle.js'].lineData[70] = 0; - _$jscoverage['/touch/handle.js'].lineData[71] = 0; _$jscoverage['/touch/handle.js'].lineData[72] = 0; _$jscoverage['/touch/handle.js'].lineData[74] = 0; - _$jscoverage['/touch/handle.js'].lineData[76] = 0; - _$jscoverage['/touch/handle.js'].lineData[79] = 0; + _$jscoverage['/touch/handle.js'].lineData[77] = 0; + _$jscoverage['/touch/handle.js'].lineData[85] = 0; _$jscoverage['/touch/handle.js'].lineData[87] = 0; _$jscoverage['/touch/handle.js'].lineData[89] = 0; _$jscoverage['/touch/handle.js'].lineData[90] = 0; - _$jscoverage['/touch/handle.js'].lineData[91] = 0; - _$jscoverage['/touch/handle.js'].lineData[93] = 0; + _$jscoverage['/touch/handle.js'].lineData[92] = 0; + _$jscoverage['/touch/handle.js'].lineData[96] = 0; _$jscoverage['/touch/handle.js'].lineData[97] = 0; - _$jscoverage['/touch/handle.js'].lineData[98] = 0; - _$jscoverage['/touch/handle.js'].lineData[102] = 0; + _$jscoverage['/touch/handle.js'].lineData[101] = 0; + _$jscoverage['/touch/handle.js'].lineData[106] = 0; _$jscoverage['/touch/handle.js'].lineData[107] = 0; _$jscoverage['/touch/handle.js'].lineData[108] = 0; _$jscoverage['/touch/handle.js'].lineData[109] = 0; _$jscoverage['/touch/handle.js'].lineData[110] = 0; - _$jscoverage['/touch/handle.js'].lineData[111] = 0; - _$jscoverage['/touch/handle.js'].lineData[117] = 0; + _$jscoverage['/touch/handle.js'].lineData[116] = 0; + _$jscoverage['/touch/handle.js'].lineData[121] = 0; _$jscoverage['/touch/handle.js'].lineData[122] = 0; _$jscoverage['/touch/handle.js'].lineData[123] = 0; _$jscoverage['/touch/handle.js'].lineData[124] = 0; - _$jscoverage['/touch/handle.js'].lineData[125] = 0; - _$jscoverage['/touch/handle.js'].lineData[131] = 0; + _$jscoverage['/touch/handle.js'].lineData[130] = 0; + _$jscoverage['/touch/handle.js'].lineData[134] = 0; _$jscoverage['/touch/handle.js'].lineData[135] = 0; - _$jscoverage['/touch/handle.js'].lineData[136] = 0; + _$jscoverage['/touch/handle.js'].lineData[140] = 0; _$jscoverage['/touch/handle.js'].lineData[141] = 0; - _$jscoverage['/touch/handle.js'].lineData[142] = 0; + _$jscoverage['/touch/handle.js'].lineData[147] = 0; _$jscoverage['/touch/handle.js'].lineData[148] = 0; - _$jscoverage['/touch/handle.js'].lineData[149] = 0; - _$jscoverage['/touch/handle.js'].lineData[151] = 0; + _$jscoverage['/touch/handle.js'].lineData[150] = 0; + _$jscoverage['/touch/handle.js'].lineData[152] = 0; _$jscoverage['/touch/handle.js'].lineData[153] = 0; _$jscoverage['/touch/handle.js'].lineData[154] = 0; _$jscoverage['/touch/handle.js'].lineData[155] = 0; _$jscoverage['/touch/handle.js'].lineData[156] = 0; _$jscoverage['/touch/handle.js'].lineData[157] = 0; - _$jscoverage['/touch/handle.js'].lineData[158] = 0; + _$jscoverage['/touch/handle.js'].lineData[165] = 0; _$jscoverage['/touch/handle.js'].lineData[166] = 0; - _$jscoverage['/touch/handle.js'].lineData[167] = 0; - _$jscoverage['/touch/handle.js'].lineData[169] = 0; - _$jscoverage['/touch/handle.js'].lineData[171] = 0; + _$jscoverage['/touch/handle.js'].lineData[168] = 0; + _$jscoverage['/touch/handle.js'].lineData[170] = 0; + _$jscoverage['/touch/handle.js'].lineData[172] = 0; _$jscoverage['/touch/handle.js'].lineData[173] = 0; - _$jscoverage['/touch/handle.js'].lineData[174] = 0; - _$jscoverage['/touch/handle.js'].lineData[177] = 0; - _$jscoverage['/touch/handle.js'].lineData[181] = 0; + _$jscoverage['/touch/handle.js'].lineData[176] = 0; + _$jscoverage['/touch/handle.js'].lineData[180] = 0; _$jscoverage['/touch/handle.js'].lineData[184] = 0; _$jscoverage['/touch/handle.js'].lineData[185] = 0; _$jscoverage['/touch/handle.js'].lineData[188] = 0; - _$jscoverage['/touch/handle.js'].lineData[189] = 0; _$jscoverage['/touch/handle.js'].lineData[190] = 0; _$jscoverage['/touch/handle.js'].lineData[191] = 0; + _$jscoverage['/touch/handle.js'].lineData[192] = 0; _$jscoverage['/touch/handle.js'].lineData[193] = 0; - _$jscoverage['/touch/handle.js'].lineData[195] = 0; - _$jscoverage['/touch/handle.js'].lineData[197] = 0; + _$jscoverage['/touch/handle.js'].lineData[196] = 0; _$jscoverage['/touch/handle.js'].lineData[198] = 0; _$jscoverage['/touch/handle.js'].lineData[199] = 0; _$jscoverage['/touch/handle.js'].lineData[200] = 0; _$jscoverage['/touch/handle.js'].lineData[201] = 0; - _$jscoverage['/touch/handle.js'].lineData[205] = 0; + _$jscoverage['/touch/handle.js'].lineData[203] = 0; + _$jscoverage['/touch/handle.js'].lineData[204] = 0; + _$jscoverage['/touch/handle.js'].lineData[206] = 0; + _$jscoverage['/touch/handle.js'].lineData[207] = 0; + _$jscoverage['/touch/handle.js'].lineData[208] = 0; _$jscoverage['/touch/handle.js'].lineData[209] = 0; _$jscoverage['/touch/handle.js'].lineData[210] = 0; - _$jscoverage['/touch/handle.js'].lineData[211] = 0; - _$jscoverage['/touch/handle.js'].lineData[212] = 0; - _$jscoverage['/touch/handle.js'].lineData[213] = 0; _$jscoverage['/touch/handle.js'].lineData[214] = 0; - _$jscoverage['/touch/handle.js'].lineData[216] = 0; - _$jscoverage['/touch/handle.js'].lineData[217] = 0; _$jscoverage['/touch/handle.js'].lineData[218] = 0; _$jscoverage['/touch/handle.js'].lineData[219] = 0; _$jscoverage['/touch/handle.js'].lineData[220] = 0; + _$jscoverage['/touch/handle.js'].lineData[221] = 0; + _$jscoverage['/touch/handle.js'].lineData[222] = 0; _$jscoverage['/touch/handle.js'].lineData[223] = 0; + _$jscoverage['/touch/handle.js'].lineData[225] = 0; _$jscoverage['/touch/handle.js'].lineData[226] = 0; _$jscoverage['/touch/handle.js'].lineData[227] = 0; _$jscoverage['/touch/handle.js'].lineData[228] = 0; - _$jscoverage['/touch/handle.js'].lineData[231] = 0; + _$jscoverage['/touch/handle.js'].lineData[229] = 0; + _$jscoverage['/touch/handle.js'].lineData[232] = 0; _$jscoverage['/touch/handle.js'].lineData[235] = 0; + _$jscoverage['/touch/handle.js'].lineData[236] = 0; _$jscoverage['/touch/handle.js'].lineData[237] = 0; - _$jscoverage['/touch/handle.js'].lineData[238] = 0; - _$jscoverage['/touch/handle.js'].lineData[239] = 0; - _$jscoverage['/touch/handle.js'].lineData[241] = 0; - _$jscoverage['/touch/handle.js'].lineData[242] = 0; - _$jscoverage['/touch/handle.js'].lineData[243] = 0; + _$jscoverage['/touch/handle.js'].lineData[240] = 0; _$jscoverage['/touch/handle.js'].lineData[244] = 0; - _$jscoverage['/touch/handle.js'].lineData[245] = 0; + _$jscoverage['/touch/handle.js'].lineData[246] = 0; + _$jscoverage['/touch/handle.js'].lineData[247] = 0; _$jscoverage['/touch/handle.js'].lineData[248] = 0; + _$jscoverage['/touch/handle.js'].lineData[250] = 0; + _$jscoverage['/touch/handle.js'].lineData[251] = 0; _$jscoverage['/touch/handle.js'].lineData[252] = 0; + _$jscoverage['/touch/handle.js'].lineData[253] = 0; _$jscoverage['/touch/handle.js'].lineData[254] = 0; - _$jscoverage['/touch/handle.js'].lineData[255] = 0; - _$jscoverage['/touch/handle.js'].lineData[256] = 0; - _$jscoverage['/touch/handle.js'].lineData[260] = 0; + _$jscoverage['/touch/handle.js'].lineData[257] = 0; _$jscoverage['/touch/handle.js'].lineData[261] = 0; - _$jscoverage['/touch/handle.js'].lineData[262] = 0; _$jscoverage['/touch/handle.js'].lineData[263] = 0; _$jscoverage['/touch/handle.js'].lineData[264] = 0; - _$jscoverage['/touch/handle.js'].lineData[266] = 0; - _$jscoverage['/touch/handle.js'].lineData[267] = 0; - _$jscoverage['/touch/handle.js'].lineData[268] = 0; + _$jscoverage['/touch/handle.js'].lineData[265] = 0; _$jscoverage['/touch/handle.js'].lineData[269] = 0; _$jscoverage['/touch/handle.js'].lineData[270] = 0; _$jscoverage['/touch/handle.js'].lineData[271] = 0; + _$jscoverage['/touch/handle.js'].lineData[272] = 0; + _$jscoverage['/touch/handle.js'].lineData[273] = 0; + _$jscoverage['/touch/handle.js'].lineData[275] = 0; + _$jscoverage['/touch/handle.js'].lineData[276] = 0; _$jscoverage['/touch/handle.js'].lineData[277] = 0; - _$jscoverage['/touch/handle.js'].lineData[281] = 0; - _$jscoverage['/touch/handle.js'].lineData[283] = 0; - _$jscoverage['/touch/handle.js'].lineData[284] = 0; + _$jscoverage['/touch/handle.js'].lineData[278] = 0; + _$jscoverage['/touch/handle.js'].lineData[279] = 0; + _$jscoverage['/touch/handle.js'].lineData[280] = 0; _$jscoverage['/touch/handle.js'].lineData[286] = 0; - _$jscoverage['/touch/handle.js'].lineData[288] = 0; - _$jscoverage['/touch/handle.js'].lineData[289] = 0; _$jscoverage['/touch/handle.js'].lineData[290] = 0; _$jscoverage['/touch/handle.js'].lineData[292] = 0; - _$jscoverage['/touch/handle.js'].lineData[294] = 0; + _$jscoverage['/touch/handle.js'].lineData[293] = 0; _$jscoverage['/touch/handle.js'].lineData[295] = 0; + _$jscoverage['/touch/handle.js'].lineData[297] = 0; + _$jscoverage['/touch/handle.js'].lineData[298] = 0; _$jscoverage['/touch/handle.js'].lineData[299] = 0; - _$jscoverage['/touch/handle.js'].lineData[300] = 0; _$jscoverage['/touch/handle.js'].lineData[301] = 0; - _$jscoverage['/touch/handle.js'].lineData[306] = 0; + _$jscoverage['/touch/handle.js'].lineData[303] = 0; + _$jscoverage['/touch/handle.js'].lineData[304] = 0; + _$jscoverage['/touch/handle.js'].lineData[308] = 0; _$jscoverage['/touch/handle.js'].lineData[309] = 0; _$jscoverage['/touch/handle.js'].lineData[310] = 0; - _$jscoverage['/touch/handle.js'].lineData[312] = 0; - _$jscoverage['/touch/handle.js'].lineData[320] = 0; + _$jscoverage['/touch/handle.js'].lineData[315] = 0; + _$jscoverage['/touch/handle.js'].lineData[318] = 0; + _$jscoverage['/touch/handle.js'].lineData[319] = 0; _$jscoverage['/touch/handle.js'].lineData[321] = 0; - _$jscoverage['/touch/handle.js'].lineData[322] = 0; - _$jscoverage['/touch/handle.js'].lineData[323] = 0; - _$jscoverage['/touch/handle.js'].lineData[324] = 0; + _$jscoverage['/touch/handle.js'].lineData[329] = 0; _$jscoverage['/touch/handle.js'].lineData[330] = 0; + _$jscoverage['/touch/handle.js'].lineData[331] = 0; _$jscoverage['/touch/handle.js'].lineData[332] = 0; _$jscoverage['/touch/handle.js'].lineData[333] = 0; - _$jscoverage['/touch/handle.js'].lineData[334] = 0; - _$jscoverage['/touch/handle.js'].lineData[338] = 0; - _$jscoverage['/touch/handle.js'].lineData[340] = 0; + _$jscoverage['/touch/handle.js'].lineData[339] = 0; + _$jscoverage['/touch/handle.js'].lineData[341] = 0; _$jscoverage['/touch/handle.js'].lineData[342] = 0; _$jscoverage['/touch/handle.js'].lineData[343] = 0; - _$jscoverage['/touch/handle.js'].lineData[345] = 0; - _$jscoverage['/touch/handle.js'].lineData[346] = 0; + _$jscoverage['/touch/handle.js'].lineData[347] = 0; + _$jscoverage['/touch/handle.js'].lineData[349] = 0; _$jscoverage['/touch/handle.js'].lineData[351] = 0; - _$jscoverage['/touch/handle.js'].lineData[353] = 0; + _$jscoverage['/touch/handle.js'].lineData[352] = 0; _$jscoverage['/touch/handle.js'].lineData[354] = 0; _$jscoverage['/touch/handle.js'].lineData[355] = 0; - _$jscoverage['/touch/handle.js'].lineData[357] = 0; - _$jscoverage['/touch/handle.js'].lineData[358] = 0; - _$jscoverage['/touch/handle.js'].lineData[359] = 0; + _$jscoverage['/touch/handle.js'].lineData[360] = 0; + _$jscoverage['/touch/handle.js'].lineData[362] = 0; + _$jscoverage['/touch/handle.js'].lineData[363] = 0; + _$jscoverage['/touch/handle.js'].lineData[364] = 0; + _$jscoverage['/touch/handle.js'].lineData[366] = 0; + _$jscoverage['/touch/handle.js'].lineData[367] = 0; + _$jscoverage['/touch/handle.js'].lineData[368] = 0; } if (! _$jscoverage['/touch/handle.js'].functionData) { _$jscoverage['/touch/handle.js'].functionData = []; @@ -442,317 +446,334 @@ if (! _$jscoverage['/touch/handle.js'].functionData) { } if (! _$jscoverage['/touch/handle.js'].branchData) { _$jscoverage['/touch/handle.js'].branchData = {}; - _$jscoverage['/touch/handle.js'].branchData['32'] = []; - _$jscoverage['/touch/handle.js'].branchData['32'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['40'] = []; - _$jscoverage['/touch/handle.js'].branchData['40'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['41'] = []; - _$jscoverage['/touch/handle.js'].branchData['41'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['52'] = []; - _$jscoverage['/touch/handle.js'].branchData['52'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['58'] = []; - _$jscoverage['/touch/handle.js'].branchData['58'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['90'] = []; - _$jscoverage['/touch/handle.js'].branchData['90'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['107'] = []; - _$jscoverage['/touch/handle.js'].branchData['107'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['109'] = []; - _$jscoverage['/touch/handle.js'].branchData['109'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['122'] = []; - _$jscoverage['/touch/handle.js'].branchData['122'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['124'] = []; - _$jscoverage['/touch/handle.js'].branchData['124'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['131'] = []; - _$jscoverage['/touch/handle.js'].branchData['131'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['135'] = []; - _$jscoverage['/touch/handle.js'].branchData['135'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['141'] = []; - _$jscoverage['/touch/handle.js'].branchData['141'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['151'] = []; - _$jscoverage['/touch/handle.js'].branchData['151'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['157'] = []; - _$jscoverage['/touch/handle.js'].branchData['157'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['169'] = []; - _$jscoverage['/touch/handle.js'].branchData['169'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['169'][2] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['173'] = []; - _$jscoverage['/touch/handle.js'].branchData['173'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['173'][2] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['173'][3] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['184'] = []; - _$jscoverage['/touch/handle.js'].branchData['184'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['30'] = []; + _$jscoverage['/touch/handle.js'].branchData['30'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['38'] = []; + _$jscoverage['/touch/handle.js'].branchData['38'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['39'] = []; + _$jscoverage['/touch/handle.js'].branchData['39'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['50'] = []; + _$jscoverage['/touch/handle.js'].branchData['50'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['56'] = []; + _$jscoverage['/touch/handle.js'].branchData['56'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['89'] = []; + _$jscoverage['/touch/handle.js'].branchData['89'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['106'] = []; + _$jscoverage['/touch/handle.js'].branchData['106'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['108'] = []; + _$jscoverage['/touch/handle.js'].branchData['108'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['121'] = []; + _$jscoverage['/touch/handle.js'].branchData['121'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['123'] = []; + _$jscoverage['/touch/handle.js'].branchData['123'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['130'] = []; + _$jscoverage['/touch/handle.js'].branchData['130'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['134'] = []; + _$jscoverage['/touch/handle.js'].branchData['134'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['140'] = []; + _$jscoverage['/touch/handle.js'].branchData['140'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['150'] = []; + _$jscoverage['/touch/handle.js'].branchData['150'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['156'] = []; + _$jscoverage['/touch/handle.js'].branchData['156'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['168'] = []; + _$jscoverage['/touch/handle.js'].branchData['168'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['168'][2] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['172'] = []; + _$jscoverage['/touch/handle.js'].branchData['172'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['172'][2] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['172'][3] = new BranchData(); _$jscoverage['/touch/handle.js'].branchData['185'] = []; _$jscoverage['/touch/handle.js'].branchData['185'][1] = new BranchData(); _$jscoverage['/touch/handle.js'].branchData['185'][2] = new BranchData(); _$jscoverage['/touch/handle.js'].branchData['185'][3] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['188'] = []; - _$jscoverage['/touch/handle.js'].branchData['188'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['209'] = []; - _$jscoverage['/touch/handle.js'].branchData['209'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['212'] = []; - _$jscoverage['/touch/handle.js'].branchData['212'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['213'] = []; - _$jscoverage['/touch/handle.js'].branchData['213'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['217'] = []; - _$jscoverage['/touch/handle.js'].branchData['217'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['219'] = []; - _$jscoverage['/touch/handle.js'].branchData['219'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['237'] = []; - _$jscoverage['/touch/handle.js'].branchData['237'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['238'] = []; - _$jscoverage['/touch/handle.js'].branchData['238'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['242'] = []; - _$jscoverage['/touch/handle.js'].branchData['242'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['244'] = []; - _$jscoverage['/touch/handle.js'].branchData['244'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['254'] = []; - _$jscoverage['/touch/handle.js'].branchData['254'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['255'] = []; - _$jscoverage['/touch/handle.js'].branchData['255'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['261'] = []; - _$jscoverage['/touch/handle.js'].branchData['261'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['266'] = []; - _$jscoverage['/touch/handle.js'].branchData['266'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['268'] = []; - _$jscoverage['/touch/handle.js'].branchData['268'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['190'] = []; + _$jscoverage['/touch/handle.js'].branchData['190'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['192'] = []; + _$jscoverage['/touch/handle.js'].branchData['192'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['198'] = []; + _$jscoverage['/touch/handle.js'].branchData['198'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['198'][2] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['203'] = []; + _$jscoverage['/touch/handle.js'].branchData['203'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['218'] = []; + _$jscoverage['/touch/handle.js'].branchData['218'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['221'] = []; + _$jscoverage['/touch/handle.js'].branchData['221'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['222'] = []; + _$jscoverage['/touch/handle.js'].branchData['222'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['226'] = []; + _$jscoverage['/touch/handle.js'].branchData['226'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['228'] = []; + _$jscoverage['/touch/handle.js'].branchData['228'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['246'] = []; + _$jscoverage['/touch/handle.js'].branchData['246'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['247'] = []; + _$jscoverage['/touch/handle.js'].branchData['247'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['251'] = []; + _$jscoverage['/touch/handle.js'].branchData['251'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['253'] = []; + _$jscoverage['/touch/handle.js'].branchData['253'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['263'] = []; + _$jscoverage['/touch/handle.js'].branchData['263'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['264'] = []; + _$jscoverage['/touch/handle.js'].branchData['264'][1] = new BranchData(); _$jscoverage['/touch/handle.js'].branchData['270'] = []; _$jscoverage['/touch/handle.js'].branchData['270'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['283'] = []; - _$jscoverage['/touch/handle.js'].branchData['283'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['289'] = []; - _$jscoverage['/touch/handle.js'].branchData['289'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['294'] = []; - _$jscoverage['/touch/handle.js'].branchData['294'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['294'][2] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['294'][3] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['309'] = []; - _$jscoverage['/touch/handle.js'].branchData['309'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['321'] = []; - _$jscoverage['/touch/handle.js'].branchData['321'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['323'] = []; - _$jscoverage['/touch/handle.js'].branchData['323'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['342'] = []; - _$jscoverage['/touch/handle.js'].branchData['342'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['345'] = []; - _$jscoverage['/touch/handle.js'].branchData['345'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['353'] = []; - _$jscoverage['/touch/handle.js'].branchData['353'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['275'] = []; + _$jscoverage['/touch/handle.js'].branchData['275'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['277'] = []; + _$jscoverage['/touch/handle.js'].branchData['277'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['279'] = []; + _$jscoverage['/touch/handle.js'].branchData['279'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['292'] = []; + _$jscoverage['/touch/handle.js'].branchData['292'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['298'] = []; + _$jscoverage['/touch/handle.js'].branchData['298'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['303'] = []; + _$jscoverage['/touch/handle.js'].branchData['303'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['303'][2] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['303'][3] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['318'] = []; + _$jscoverage['/touch/handle.js'].branchData['318'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['330'] = []; + _$jscoverage['/touch/handle.js'].branchData['330'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['332'] = []; + _$jscoverage['/touch/handle.js'].branchData['332'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['351'] = []; + _$jscoverage['/touch/handle.js'].branchData['351'][1] = new BranchData(); _$jscoverage['/touch/handle.js'].branchData['354'] = []; _$jscoverage['/touch/handle.js'].branchData['354'][1] = new BranchData(); - _$jscoverage['/touch/handle.js'].branchData['357'] = []; - _$jscoverage['/touch/handle.js'].branchData['357'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['362'] = []; + _$jscoverage['/touch/handle.js'].branchData['362'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['363'] = []; + _$jscoverage['/touch/handle.js'].branchData['363'][1] = new BranchData(); + _$jscoverage['/touch/handle.js'].branchData['366'] = []; + _$jscoverage['/touch/handle.js'].branchData['366'][1] = new BranchData(); } -_$jscoverage['/touch/handle.js'].branchData['357'][1].init(121, 35, 'S.isEmptyObject(handle.eventHandle)'); -function visit58_357_1(result) { - _$jscoverage['/touch/handle.js'].branchData['357'][1].ranCondition(result); +_$jscoverage['/touch/handle.js'].branchData['366'][1].init(121, 35, 'S.isEmptyObject(handle.eventHandle)'); +function visit56_366_1(result) { + _$jscoverage['/touch/handle.js'].branchData['366'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['354'][1].init(21, 5, 'event'); -function visit57_354_1(result) { +}_$jscoverage['/touch/handle.js'].branchData['363'][1].init(21, 5, 'event'); +function visit55_363_1(result) { + _$jscoverage['/touch/handle.js'].branchData['363'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/handle.js'].branchData['362'][1].init(105, 6, 'handle'); +function visit54_362_1(result) { + _$jscoverage['/touch/handle.js'].branchData['362'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/handle.js'].branchData['354'][1].init(217, 5, 'event'); +function visit53_354_1(result) { _$jscoverage['/touch/handle.js'].branchData['354'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['353'][1].init(105, 6, 'handle'); -function visit56_353_1(result) { - _$jscoverage['/touch/handle.js'].branchData['353'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['351'][1].init(105, 7, '!handle'); +function visit52_351_1(result) { + _$jscoverage['/touch/handle.js'].branchData['351'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/handle.js'].branchData['332'][1].init(65, 25, '!eventHandle[event].count'); +function visit51_332_1(result) { + _$jscoverage['/touch/handle.js'].branchData['332'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['345'][1].init(217, 5, 'event'); -function visit55_345_1(result) { - _$jscoverage['/touch/handle.js'].branchData['345'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['330'][1].init(65, 18, 'eventHandle[event]'); +function visit50_330_1(result) { + _$jscoverage['/touch/handle.js'].branchData['330'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['342'][1].init(105, 7, '!handle'); -function visit54_342_1(result) { - _$jscoverage['/touch/handle.js'].branchData['342'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['318'][1].init(149, 18, 'eventHandle[event]'); +function visit49_318_1(result) { + _$jscoverage['/touch/handle.js'].branchData['318'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['323'][1].init(65, 25, '!eventHandle[event].count'); -function visit53_323_1(result) { - _$jscoverage['/touch/handle.js'].branchData['323'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['303'][3].init(303, 26, 'h[method](event) === false'); +function visit48_303_3(result) { + _$jscoverage['/touch/handle.js'].branchData['303'][3].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['321'][1].init(65, 18, 'eventHandle[event]'); -function visit52_321_1(result) { - _$jscoverage['/touch/handle.js'].branchData['321'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['303'][2].init(290, 39, 'h[method] && h[method](event) === false'); +function visit47_303_2(result) { + _$jscoverage['/touch/handle.js'].branchData['303'][2].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['309'][1].init(149, 18, 'eventHandle[event]'); -function visit51_309_1(result) { - _$jscoverage['/touch/handle.js'].branchData['309'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['303'][1].init(276, 53, 'h.isActive && h[method] && h[method](event) === false'); +function visit46_303_1(result) { + _$jscoverage['/touch/handle.js'].branchData['303'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['294'][3].init(303, 26, 'h[method](event) === false'); -function visit50_294_3(result) { - _$jscoverage['/touch/handle.js'].branchData['294'][3].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['298'][1].init(125, 11, 'h.processed'); +function visit45_298_1(result) { + _$jscoverage['/touch/handle.js'].branchData['298'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['294'][2].init(290, 39, 'h[method] && h[method](event) === false'); -function visit49_294_2(result) { - _$jscoverage['/touch/handle.js'].branchData['294'][2].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['292'][1].init(238, 28, '!event.changedTouches.length'); +function visit44_292_1(result) { + _$jscoverage['/touch/handle.js'].branchData['292'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['294'][1].init(276, 53, 'h.isActive && h[method] && h[method](event) === false'); -function visit48_294_1(result) { - _$jscoverage['/touch/handle.js'].branchData['294'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['279'][1].init(76, 20, '!self.touches.length'); +function visit43_279_1(result) { + _$jscoverage['/touch/handle.js'].branchData['279'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['289'][1].init(125, 11, 'h.processed'); -function visit47_289_1(result) { - _$jscoverage['/touch/handle.js'].branchData['289'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['277'][1].init(610, 20, 'isPointerEvent(type)'); +function visit42_277_1(result) { + _$jscoverage['/touch/handle.js'].branchData['277'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['283'][1].init(238, 28, '!event.changedTouches.length'); -function visit46_283_1(result) { - _$jscoverage['/touch/handle.js'].branchData['283'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['275'][1].init(529, 18, 'isMouseEvent(type)'); +function visit41_275_1(result) { + _$jscoverage['/touch/handle.js'].branchData['275'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['270'][1].init(76, 20, '!self.touches.length'); -function visit45_270_1(result) { +}_$jscoverage['/touch/handle.js'].branchData['270'][1].init(296, 18, 'isTouchEvent(type)'); +function visit40_270_1(result) { _$jscoverage['/touch/handle.js'].branchData['270'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['268'][1].init(610, 20, 'isPointerEvent(type)'); -function visit44_268_1(result) { - _$jscoverage['/touch/handle.js'].branchData['268'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['264'][1].init(21, 37, 'self.isEventSimulatedFromTouch(event)'); +function visit39_264_1(result) { + _$jscoverage['/touch/handle.js'].branchData['264'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['266'][1].init(529, 18, 'isMouseEvent(type)'); -function visit43_266_1(result) { - _$jscoverage['/touch/handle.js'].branchData['266'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['263'][1].init(81, 18, 'isMouseEvent(type)'); +function visit38_263_1(result) { + _$jscoverage['/touch/handle.js'].branchData['263'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['261'][1].init(296, 18, 'isTouchEvent(type)'); -function visit42_261_1(result) { - _$jscoverage['/touch/handle.js'].branchData['261'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['253'][1].init(390, 19, '!isTouchEvent(type)'); +function visit37_253_1(result) { + _$jscoverage['/touch/handle.js'].branchData['253'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['255'][1].init(21, 37, 'self.isEventSimulatedFromTouch(event)'); -function visit41_255_1(result) { - _$jscoverage['/touch/handle.js'].branchData['255'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['251'][1].init(287, 20, 'isPointerEvent(type)'); +function visit36_251_1(result) { + _$jscoverage['/touch/handle.js'].branchData['251'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['254'][1].init(81, 18, 'isMouseEvent(type)'); -function visit40_254_1(result) { - _$jscoverage['/touch/handle.js'].branchData['254'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['247'][1].init(21, 36, 'self.isEventSimulatedFromTouch(type)'); +function visit35_247_1(result) { + _$jscoverage['/touch/handle.js'].branchData['247'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['244'][1].init(390, 19, '!isTouchEvent(type)'); -function visit39_244_1(result) { - _$jscoverage['/touch/handle.js'].branchData['244'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['246'][1].init(81, 18, 'isMouseEvent(type)'); +function visit34_246_1(result) { + _$jscoverage['/touch/handle.js'].branchData['246'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['242'][1].init(287, 20, 'isPointerEvent(type)'); -function visit38_242_1(result) { - _$jscoverage['/touch/handle.js'].branchData['242'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['228'][1].init(73, 25, 'self.touches.length === 1'); +function visit33_228_1(result) { + _$jscoverage['/touch/handle.js'].branchData['228'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['238'][1].init(21, 36, 'self.isEventSimulatedFromTouch(type)'); -function visit37_238_1(result) { - _$jscoverage['/touch/handle.js'].branchData['238'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['226'][1].init(505, 20, 'isPointerEvent(type)'); +function visit32_226_1(result) { + _$jscoverage['/touch/handle.js'].branchData['226'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['237'][1].init(81, 18, 'isMouseEvent(type)'); -function visit36_237_1(result) { - _$jscoverage['/touch/handle.js'].branchData['237'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['222'][1].init(21, 37, 'self.isEventSimulatedFromTouch(event)'); +function visit31_222_1(result) { + _$jscoverage['/touch/handle.js'].branchData['222'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['219'][1].init(73, 25, 'self.touches.length === 1'); -function visit35_219_1(result) { - _$jscoverage['/touch/handle.js'].branchData['219'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['221'][1].init(298, 18, 'isMouseEvent(type)'); +function visit30_221_1(result) { + _$jscoverage['/touch/handle.js'].branchData['221'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['217'][1].init(505, 20, 'isPointerEvent(type)'); -function visit34_217_1(result) { - _$jscoverage['/touch/handle.js'].branchData['217'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['218'][1].init(151, 18, 'isTouchEvent(type)'); +function visit29_218_1(result) { + _$jscoverage['/touch/handle.js'].branchData['218'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['213'][1].init(21, 37, 'self.isEventSimulatedFromTouch(event)'); -function visit33_213_1(result) { - _$jscoverage['/touch/handle.js'].branchData['213'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['203'][1].init(866, 10, 'touchEvent'); +function visit28_203_1(result) { + _$jscoverage['/touch/handle.js'].branchData['203'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['212'][1].init(298, 18, 'isMouseEvent(type)'); -function visit32_212_1(result) { - _$jscoverage['/touch/handle.js'].branchData['212'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['198'][2].init(689, 22, 'touchList.length === 1'); +function visit27_198_2(result) { + _$jscoverage['/touch/handle.js'].branchData['198'][2].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['209'][1].init(151, 18, 'isTouchEvent(type)'); -function visit31_209_1(result) { - _$jscoverage['/touch/handle.js'].branchData['209'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['198'][1].init(676, 35, 'touchList && touchList.length === 1'); +function visit26_198_1(result) { + _$jscoverage['/touch/handle.js'].branchData['198'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['188'][1].init(169, 22, 'touchList.length === 1'); -function visit30_188_1(result) { - _$jscoverage['/touch/handle.js'].branchData['188'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['192'][1].init(92, 23, 'pointerType === \'touch\''); +function visit25_192_1(result) { + _$jscoverage['/touch/handle.js'].branchData['192'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/handle.js'].branchData['190'][1].init(21, 20, 'isPointerEvent(type)'); +function visit24_190_1(result) { + _$jscoverage['/touch/handle.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/touch/handle.js'].branchData['185'][3].init(53, 22, 'type === \'touchcancel\''); -function visit29_185_3(result) { +function visit23_185_3(result) { _$jscoverage['/touch/handle.js'].branchData['185'][3].ranCondition(result); return result; }_$jscoverage['/touch/handle.js'].branchData['185'][2].init(30, 19, 'type === \'touchend\''); -function visit28_185_2(result) { +function visit22_185_2(result) { _$jscoverage['/touch/handle.js'].branchData['185'][2].ranCondition(result); return result; }_$jscoverage['/touch/handle.js'].branchData['185'][1].init(30, 45, 'type === \'touchend\' || type === \'touchcancel\''); -function visit27_185_1(result) { +function visit21_185_1(result) { _$jscoverage['/touch/handle.js'].branchData['185'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['184'][1].init(98, 18, 'isTouchEvent(type)'); -function visit26_184_1(result) { - _$jscoverage['/touch/handle.js'].branchData['184'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/handle.js'].branchData['173'][3].init(211, 14, 'dy <= DUP_DIST'); -function visit25_173_3(result) { - _$jscoverage['/touch/handle.js'].branchData['173'][3].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['172'][3].init(211, 14, 'dy <= DUP_DIST'); +function visit20_172_3(result) { + _$jscoverage['/touch/handle.js'].branchData['172'][3].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['173'][2].init(193, 14, 'dx <= DUP_DIST'); -function visit24_173_2(result) { - _$jscoverage['/touch/handle.js'].branchData['173'][2].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['172'][2].init(193, 14, 'dx <= DUP_DIST'); +function visit19_172_2(result) { + _$jscoverage['/touch/handle.js'].branchData['172'][2].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['173'][1].init(193, 32, 'dx <= DUP_DIST && dy <= DUP_DIST'); -function visit23_173_1(result) { - _$jscoverage['/touch/handle.js'].branchData['173'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['172'][1].init(193, 32, 'dx <= DUP_DIST && dy <= DUP_DIST'); +function visit18_172_1(result) { + _$jscoverage['/touch/handle.js'].branchData['172'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['169'][2].init(162, 5, 'i < l'); -function visit22_169_2(result) { - _$jscoverage['/touch/handle.js'].branchData['169'][2].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['168'][2].init(162, 5, 'i < l'); +function visit17_168_2(result) { + _$jscoverage['/touch/handle.js'].branchData['168'][2].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['169'][1].init(162, 21, 'i < l && (t = lts[i])'); -function visit21_169_1(result) { - _$jscoverage['/touch/handle.js'].branchData['169'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['168'][1].init(162, 21, 'i < l && (t = lts[i])'); +function visit16_168_1(result) { + _$jscoverage['/touch/handle.js'].branchData['168'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['157'][1].init(70, 6, 'i > -1'); -function visit20_157_1(result) { - _$jscoverage['/touch/handle.js'].branchData['157'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['156'][1].init(70, 6, 'i > -1'); +function visit15_156_1(result) { + _$jscoverage['/touch/handle.js'].branchData['156'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['151'][1].init(165, 22, 'this.isPrimaryTouch(t)'); -function visit19_151_1(result) { - _$jscoverage['/touch/handle.js'].branchData['151'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['150'][1].init(165, 22, 'this.isPrimaryTouch(t)'); +function visit14_150_1(result) { + _$jscoverage['/touch/handle.js'].branchData['150'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['141'][1].init(17, 28, 'this.isPrimaryTouch(inTouch)'); -function visit18_141_1(result) { - _$jscoverage['/touch/handle.js'].branchData['141'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['140'][1].init(17, 28, 'this.isPrimaryTouch(inTouch)'); +function visit13_140_1(result) { + _$jscoverage['/touch/handle.js'].branchData['140'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['135'][1].init(17, 24, 'this.firstTouch === null'); -function visit17_135_1(result) { - _$jscoverage['/touch/handle.js'].branchData['135'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['134'][1].init(17, 24, 'this.firstTouch === null'); +function visit12_134_1(result) { + _$jscoverage['/touch/handle.js'].branchData['134'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['131'][1].init(20, 38, 'this.firstTouch === inTouch.identifier'); -function visit16_131_1(result) { - _$jscoverage['/touch/handle.js'].branchData['131'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['130'][1].init(20, 38, 'this.firstTouch === inTouch.identifier'); +function visit11_130_1(result) { + _$jscoverage['/touch/handle.js'].branchData['130'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['124'][1].init(57, 29, 'touch.pointerId === pointerId'); -function visit15_124_1(result) { - _$jscoverage['/touch/handle.js'].branchData['124'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['123'][1].init(57, 29, 'touch.pointerId === pointerId'); +function visit10_123_1(result) { + _$jscoverage['/touch/handle.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['122'][1].init(195, 5, 'i < l'); -function visit14_122_1(result) { - _$jscoverage['/touch/handle.js'].branchData['122'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['121'][1].init(195, 5, 'i < l'); +function visit9_121_1(result) { + _$jscoverage['/touch/handle.js'].branchData['121'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['109'][1].init(57, 29, 'touch.pointerId === pointerId'); -function visit13_109_1(result) { - _$jscoverage['/touch/handle.js'].branchData['109'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['108'][1].init(57, 29, 'touch.pointerId === pointerId'); +function visit8_108_1(result) { + _$jscoverage['/touch/handle.js'].branchData['108'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['107'][1].init(195, 5, 'i < l'); -function visit12_107_1(result) { - _$jscoverage['/touch/handle.js'].branchData['107'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['106'][1].init(195, 5, 'i < l'); +function visit7_106_1(result) { + _$jscoverage['/touch/handle.js'].branchData['106'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['90'][1].init(152, 33, '!isPointerEvent(gestureMoveEvent)'); -function visit11_90_1(result) { - _$jscoverage['/touch/handle.js'].branchData['90'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['89'][1].init(219, 33, '!isPointerEvent(gestureMoveEvent)'); +function visit6_89_1(result) { + _$jscoverage['/touch/handle.js'].branchData['89'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['58'][1].init(1699, 31, 'Features.isMsPointerSupported()'); -function visit10_58_1(result) { - _$jscoverage['/touch/handle.js'].branchData['58'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['56'][1].init(1639, 30, 'Features.isMsPointerSupported()'); +function visit5_56_1(result) { + _$jscoverage['/touch/handle.js'].branchData['56'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['52'][1].init(1420, 29, 'Features.isPointerSupported()'); -function visit9_52_1(result) { - _$jscoverage['/touch/handle.js'].branchData['52'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['50'][1].init(1361, 28, 'Features.isPointerSupported()'); +function visit4_50_1(result) { + _$jscoverage['/touch/handle.js'].branchData['50'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['41'][1].init(13, 8, 'S.UA.ios'); -function visit8_41_1(result) { - _$jscoverage['/touch/handle.js'].branchData['41'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['39'][1].init(13, 8, 'S.UA.ios'); +function visit3_39_1(result) { + _$jscoverage['/touch/handle.js'].branchData['39'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['40'][1].init(920, 32, 'Features.isTouchEventSupported()'); -function visit7_40_1(result) { - _$jscoverage['/touch/handle.js'].branchData['40'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['38'][1].init(862, 31, 'Features.isTouchEventSupported()'); +function visit2_38_1(result) { + _$jscoverage['/touch/handle.js'].branchData['38'][1].ranCondition(result); return result; -}_$jscoverage['/touch/handle.js'].branchData['32'][1].init(16, 64, 'S.startsWith(type, \'MSPointer\') || S.startsWith(type, \'pointer\')'); -function visit6_32_1(result) { - _$jscoverage['/touch/handle.js'].branchData['32'][1].ranCondition(result); +}_$jscoverage['/touch/handle.js'].branchData['30'][1].init(16, 64, 'S.startsWith(type, \'MSPointer\') || S.startsWith(type, \'pointer\')'); +function visit1_30_1(result) { + _$jscoverage['/touch/handle.js'].branchData['30'][1].ranCondition(result); return result; }_$jscoverage['/touch/handle.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -768,200 +789,196 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/handle.js'].lineData[11]++; require('./swipe'); _$jscoverage['/touch/handle.js'].lineData[12]++; - require('./double-tap'); - _$jscoverage['/touch/handle.js'].lineData[13]++; require('./pinch'); - _$jscoverage['/touch/handle.js'].lineData[14]++; - require('./tap-hold'); - _$jscoverage['/touch/handle.js'].lineData[15]++; + _$jscoverage['/touch/handle.js'].lineData[13]++; require('./rotate'); - _$jscoverage['/touch/handle.js'].lineData[17]++; + _$jscoverage['/touch/handle.js'].lineData[15]++; var key = S.guid('touch-handle'), Features = S.Features, gestureStartEvent, gestureMoveEvent, gestureEndEvent; - _$jscoverage['/touch/handle.js'].lineData[23]++; + _$jscoverage['/touch/handle.js'].lineData[21]++; function isTouchEvent(type) { _$jscoverage['/touch/handle.js'].functionData[1]++; - _$jscoverage['/touch/handle.js'].lineData[24]++; + _$jscoverage['/touch/handle.js'].lineData[22]++; return S.startsWith(type, 'touch'); } - _$jscoverage['/touch/handle.js'].lineData[27]++; + _$jscoverage['/touch/handle.js'].lineData[25]++; function isMouseEvent(type) { _$jscoverage['/touch/handle.js'].functionData[2]++; - _$jscoverage['/touch/handle.js'].lineData[28]++; + _$jscoverage['/touch/handle.js'].lineData[26]++; return S.startsWith(type, 'mouse'); } - _$jscoverage['/touch/handle.js'].lineData[31]++; + _$jscoverage['/touch/handle.js'].lineData[29]++; function isPointerEvent(type) { _$jscoverage['/touch/handle.js'].functionData[3]++; - _$jscoverage['/touch/handle.js'].lineData[32]++; - return visit6_32_1(S.startsWith(type, 'MSPointer') || S.startsWith(type, 'pointer')); + _$jscoverage['/touch/handle.js'].lineData[30]++; + return visit1_30_1(S.startsWith(type, 'MSPointer') || S.startsWith(type, 'pointer')); } - _$jscoverage['/touch/handle.js'].lineData[36]++; + _$jscoverage['/touch/handle.js'].lineData[34]++; var DUP_TIMEOUT = 2500; - _$jscoverage['/touch/handle.js'].lineData[38]++; + _$jscoverage['/touch/handle.js'].lineData[36]++; var DUP_DIST = 25; - _$jscoverage['/touch/handle.js'].lineData[40]++; - if (visit7_40_1(Features.isTouchEventSupported())) { - _$jscoverage['/touch/handle.js'].lineData[41]++; - if (visit8_41_1(S.UA.ios)) { - _$jscoverage['/touch/handle.js'].lineData[43]++; + _$jscoverage['/touch/handle.js'].lineData[38]++; + if (visit2_38_1(Features.isTouchEventSupported())) { + _$jscoverage['/touch/handle.js'].lineData[39]++; + if (visit3_39_1(S.UA.ios)) { + _$jscoverage['/touch/handle.js'].lineData[41]++; gestureEndEvent = 'touchend touchcancel'; - _$jscoverage['/touch/handle.js'].lineData[44]++; + _$jscoverage['/touch/handle.js'].lineData[42]++; gestureStartEvent = 'touchstart'; - _$jscoverage['/touch/handle.js'].lineData[45]++; + _$jscoverage['/touch/handle.js'].lineData[43]++; gestureMoveEvent = 'touchmove'; } else { - _$jscoverage['/touch/handle.js'].lineData[47]++; + _$jscoverage['/touch/handle.js'].lineData[45]++; gestureEndEvent = 'touchend touchcancel mouseup'; - _$jscoverage['/touch/handle.js'].lineData[49]++; + _$jscoverage['/touch/handle.js'].lineData[47]++; gestureStartEvent = 'touchstart mousedown'; - _$jscoverage['/touch/handle.js'].lineData[50]++; + _$jscoverage['/touch/handle.js'].lineData[48]++; gestureMoveEvent = 'touchmove mousemove'; } } else { - _$jscoverage['/touch/handle.js'].lineData[52]++; - if (visit9_52_1(Features.isPointerSupported())) { - _$jscoverage['/touch/handle.js'].lineData[55]++; + _$jscoverage['/touch/handle.js'].lineData[50]++; + if (visit4_50_1(Features.isPointerSupported())) { + _$jscoverage['/touch/handle.js'].lineData[53]++; gestureStartEvent = 'pointerdown'; - _$jscoverage['/touch/handle.js'].lineData[56]++; + _$jscoverage['/touch/handle.js'].lineData[54]++; gestureMoveEvent = 'pointermove'; - _$jscoverage['/touch/handle.js'].lineData[57]++; + _$jscoverage['/touch/handle.js'].lineData[55]++; gestureEndEvent = 'pointerup pointercancel'; } else { - _$jscoverage['/touch/handle.js'].lineData[58]++; - if (visit10_58_1(Features.isMsPointerSupported())) { - _$jscoverage['/touch/handle.js'].lineData[59]++; + _$jscoverage['/touch/handle.js'].lineData[56]++; + if (visit5_56_1(Features.isMsPointerSupported())) { + _$jscoverage['/touch/handle.js'].lineData[57]++; gestureStartEvent = 'MSPointerDown'; - _$jscoverage['/touch/handle.js'].lineData[60]++; + _$jscoverage['/touch/handle.js'].lineData[58]++; gestureMoveEvent = 'MSPointerMove'; - _$jscoverage['/touch/handle.js'].lineData[61]++; + _$jscoverage['/touch/handle.js'].lineData[59]++; gestureEndEvent = 'MSPointerUp MSPointerCancel'; } else { - _$jscoverage['/touch/handle.js'].lineData[63]++; + _$jscoverage['/touch/handle.js'].lineData[61]++; gestureStartEvent = 'mousedown'; - _$jscoverage['/touch/handle.js'].lineData[64]++; + _$jscoverage['/touch/handle.js'].lineData[62]++; gestureMoveEvent = 'mousemove'; - _$jscoverage['/touch/handle.js'].lineData[65]++; + _$jscoverage['/touch/handle.js'].lineData[63]++; gestureEndEvent = 'mouseup'; } } } - _$jscoverage['/touch/handle.js'].lineData[68]++; + _$jscoverage['/touch/handle.js'].lineData[66]++; function DocumentHandler(doc) { _$jscoverage['/touch/handle.js'].functionData[4]++; - _$jscoverage['/touch/handle.js'].lineData[69]++; + _$jscoverage['/touch/handle.js'].lineData[67]++; var self = this; - _$jscoverage['/touch/handle.js'].lineData[70]++; + _$jscoverage['/touch/handle.js'].lineData[68]++; self.doc = doc; - _$jscoverage['/touch/handle.js'].lineData[71]++; + _$jscoverage['/touch/handle.js'].lineData[69]++; self.eventHandle = {}; - _$jscoverage['/touch/handle.js'].lineData[72]++; + _$jscoverage['/touch/handle.js'].lineData[70]++; self.init(); - _$jscoverage['/touch/handle.js'].lineData[74]++; + _$jscoverage['/touch/handle.js'].lineData[72]++; self.touches = []; - _$jscoverage['/touch/handle.js'].lineData[76]++; + _$jscoverage['/touch/handle.js'].lineData[74]++; self.inTouch = 0; } - _$jscoverage['/touch/handle.js'].lineData[79]++; + _$jscoverage['/touch/handle.js'].lineData[77]++; DocumentHandler.prototype = { constructor: DocumentHandler, lastTouches: [], firstTouch: null, init: function() { _$jscoverage['/touch/handle.js'].functionData[5]++; - _$jscoverage['/touch/handle.js'].lineData[87]++; + _$jscoverage['/touch/handle.js'].lineData[85]++; var self = this, doc = self.doc; - _$jscoverage['/touch/handle.js'].lineData[89]++; + _$jscoverage['/touch/handle.js'].lineData[87]++; DomEvent.on(doc, gestureStartEvent, self.onTouchStart, self); - _$jscoverage['/touch/handle.js'].lineData[90]++; - if (visit11_90_1(!isPointerEvent(gestureMoveEvent))) { - _$jscoverage['/touch/handle.js'].lineData[91]++; + _$jscoverage['/touch/handle.js'].lineData[89]++; + if (visit6_89_1(!isPointerEvent(gestureMoveEvent))) { + _$jscoverage['/touch/handle.js'].lineData[90]++; DomEvent.on(doc, gestureMoveEvent, self.onTouchMove, self); } - _$jscoverage['/touch/handle.js'].lineData[93]++; + _$jscoverage['/touch/handle.js'].lineData[92]++; DomEvent.on(doc, gestureEndEvent, self.onTouchEnd, self); }, addTouch: function(originalEvent) { _$jscoverage['/touch/handle.js'].functionData[6]++; - _$jscoverage['/touch/handle.js'].lineData[97]++; + _$jscoverage['/touch/handle.js'].lineData[96]++; originalEvent.identifier = originalEvent.pointerId; - _$jscoverage['/touch/handle.js'].lineData[98]++; + _$jscoverage['/touch/handle.js'].lineData[97]++; this.touches.push(originalEvent); }, removeTouch: function(originalEvent) { _$jscoverage['/touch/handle.js'].functionData[7]++; - _$jscoverage['/touch/handle.js'].lineData[102]++; + _$jscoverage['/touch/handle.js'].lineData[101]++; var i = 0, touch, pointerId = originalEvent.pointerId, touches = this.touches, l = touches.length; - _$jscoverage['/touch/handle.js'].lineData[107]++; - for (; visit12_107_1(i < l); i++) { - _$jscoverage['/touch/handle.js'].lineData[108]++; + _$jscoverage['/touch/handle.js'].lineData[106]++; + for (; visit7_106_1(i < l); i++) { + _$jscoverage['/touch/handle.js'].lineData[107]++; touch = touches[i]; - _$jscoverage['/touch/handle.js'].lineData[109]++; - if (visit13_109_1(touch.pointerId === pointerId)) { - _$jscoverage['/touch/handle.js'].lineData[110]++; + _$jscoverage['/touch/handle.js'].lineData[108]++; + if (visit8_108_1(touch.pointerId === pointerId)) { + _$jscoverage['/touch/handle.js'].lineData[109]++; touches.splice(i, 1); - _$jscoverage['/touch/handle.js'].lineData[111]++; + _$jscoverage['/touch/handle.js'].lineData[110]++; break; } } }, updateTouch: function(originalEvent) { _$jscoverage['/touch/handle.js'].functionData[8]++; - _$jscoverage['/touch/handle.js'].lineData[117]++; + _$jscoverage['/touch/handle.js'].lineData[116]++; var i = 0, touch, pointerId = originalEvent.pointerId, touches = this.touches, l = touches.length; - _$jscoverage['/touch/handle.js'].lineData[122]++; - for (; visit14_122_1(i < l); i++) { - _$jscoverage['/touch/handle.js'].lineData[123]++; + _$jscoverage['/touch/handle.js'].lineData[121]++; + for (; visit9_121_1(i < l); i++) { + _$jscoverage['/touch/handle.js'].lineData[122]++; touch = touches[i]; - _$jscoverage['/touch/handle.js'].lineData[124]++; - if (visit15_124_1(touch.pointerId === pointerId)) { - _$jscoverage['/touch/handle.js'].lineData[125]++; + _$jscoverage['/touch/handle.js'].lineData[123]++; + if (visit10_123_1(touch.pointerId === pointerId)) { + _$jscoverage['/touch/handle.js'].lineData[124]++; touches[i] = originalEvent; } } }, isPrimaryTouch: function(inTouch) { _$jscoverage['/touch/handle.js'].functionData[9]++; - _$jscoverage['/touch/handle.js'].lineData[131]++; - return visit16_131_1(this.firstTouch === inTouch.identifier); + _$jscoverage['/touch/handle.js'].lineData[130]++; + return visit11_130_1(this.firstTouch === inTouch.identifier); }, setPrimaryTouch: function(inTouch) { _$jscoverage['/touch/handle.js'].functionData[10]++; - _$jscoverage['/touch/handle.js'].lineData[135]++; - if (visit17_135_1(this.firstTouch === null)) { - _$jscoverage['/touch/handle.js'].lineData[136]++; + _$jscoverage['/touch/handle.js'].lineData[134]++; + if (visit12_134_1(this.firstTouch === null)) { + _$jscoverage['/touch/handle.js'].lineData[135]++; this.firstTouch = inTouch.identifier; } }, removePrimaryTouch: function(inTouch) { _$jscoverage['/touch/handle.js'].functionData[11]++; - _$jscoverage['/touch/handle.js'].lineData[141]++; - if (visit18_141_1(this.isPrimaryTouch(inTouch))) { - _$jscoverage['/touch/handle.js'].lineData[142]++; + _$jscoverage['/touch/handle.js'].lineData[140]++; + if (visit13_140_1(this.isPrimaryTouch(inTouch))) { + _$jscoverage['/touch/handle.js'].lineData[141]++; this.firstTouch = null; } }, dupMouse: function(inEvent) { _$jscoverage['/touch/handle.js'].functionData[12]++; - _$jscoverage['/touch/handle.js'].lineData[148]++; + _$jscoverage['/touch/handle.js'].lineData[147]++; var lts = this.lastTouches; - _$jscoverage['/touch/handle.js'].lineData[149]++; + _$jscoverage['/touch/handle.js'].lineData[148]++; var t = inEvent.changedTouches[0]; - _$jscoverage['/touch/handle.js'].lineData[151]++; - if (visit19_151_1(this.isPrimaryTouch(t))) { - _$jscoverage['/touch/handle.js'].lineData[153]++; + _$jscoverage['/touch/handle.js'].lineData[150]++; + if (visit14_150_1(this.isPrimaryTouch(t))) { + _$jscoverage['/touch/handle.js'].lineData[152]++; var lt = { x: t.clientX, y: t.clientY}; - _$jscoverage['/touch/handle.js'].lineData[154]++; + _$jscoverage['/touch/handle.js'].lineData[153]++; lts.push(lt); - _$jscoverage['/touch/handle.js'].lineData[155]++; + _$jscoverage['/touch/handle.js'].lineData[154]++; setTimeout(function() { _$jscoverage['/touch/handle.js'].functionData[13]++; - _$jscoverage['/touch/handle.js'].lineData[156]++; + _$jscoverage['/touch/handle.js'].lineData[155]++; var i = lts.indexOf(lt); - _$jscoverage['/touch/handle.js'].lineData[157]++; - if (visit20_157_1(i > -1)) { - _$jscoverage['/touch/handle.js'].lineData[158]++; + _$jscoverage['/touch/handle.js'].lineData[156]++; + if (visit15_156_1(i > -1)) { + _$jscoverage['/touch/handle.js'].lineData[157]++; lts.splice(i, 1); } }, DUP_TIMEOUT); @@ -969,169 +986,184 @@ KISSY.add(function(S, require) { }, isEventSimulatedFromTouch: function(inEvent) { _$jscoverage['/touch/handle.js'].functionData[14]++; - _$jscoverage['/touch/handle.js'].lineData[166]++; + _$jscoverage['/touch/handle.js'].lineData[165]++; var lts = this.lastTouches; - _$jscoverage['/touch/handle.js'].lineData[167]++; + _$jscoverage['/touch/handle.js'].lineData[166]++; var x = inEvent.clientX, y = inEvent.clientY; - _$jscoverage['/touch/handle.js'].lineData[169]++; - for (var i = 0, l = lts.length, t; visit21_169_1(visit22_169_2(i < l) && (t = lts[i])); i++) { - _$jscoverage['/touch/handle.js'].lineData[171]++; + _$jscoverage['/touch/handle.js'].lineData[168]++; + for (var i = 0, l = lts.length, t; visit16_168_1(visit17_168_2(i < l) && (t = lts[i])); i++) { + _$jscoverage['/touch/handle.js'].lineData[170]++; var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y); - _$jscoverage['/touch/handle.js'].lineData[173]++; - if (visit23_173_1(visit24_173_2(dx <= DUP_DIST) && visit25_173_3(dy <= DUP_DIST))) { - _$jscoverage['/touch/handle.js'].lineData[174]++; + _$jscoverage['/touch/handle.js'].lineData[172]++; + if (visit18_172_1(visit19_172_2(dx <= DUP_DIST) && visit20_172_3(dy <= DUP_DIST))) { + _$jscoverage['/touch/handle.js'].lineData[173]++; return true; } } - _$jscoverage['/touch/handle.js'].lineData[177]++; + _$jscoverage['/touch/handle.js'].lineData[176]++; return 0; }, normalize: function(e) { _$jscoverage['/touch/handle.js'].functionData[15]++; - _$jscoverage['/touch/handle.js'].lineData[181]++; - var type = e.type, notUp, touchList; + _$jscoverage['/touch/handle.js'].lineData[180]++; + var type = e.type, notUp, touchEvent, touchList; _$jscoverage['/touch/handle.js'].lineData[184]++; - if (visit26_184_1(isTouchEvent(type))) { + if ((touchEvent = isTouchEvent(type))) { _$jscoverage['/touch/handle.js'].lineData[185]++; - touchList = (visit27_185_1(visit28_185_2(type === 'touchend') || visit29_185_3(type === 'touchcancel'))) ? e.changedTouches : e.touches; + touchList = (visit21_185_1(visit22_185_2(type === 'touchend') || visit23_185_3(type === 'touchcancel'))) ? e.changedTouches : e.touches; _$jscoverage['/touch/handle.js'].lineData[188]++; - if (visit30_188_1(touchList.length === 1)) { - _$jscoverage['/touch/handle.js'].lineData[189]++; - e.which = 1; - _$jscoverage['/touch/handle.js'].lineData[190]++; - e.pageX = touchList[0].pageX; + e.isTouch = 1; + } else { + _$jscoverage['/touch/handle.js'].lineData[190]++; + if (visit24_190_1(isPointerEvent(type))) { _$jscoverage['/touch/handle.js'].lineData[191]++; - e.pageY = touchList[0].pageY; + var pointerType = e.originalEvent.pointerType; + _$jscoverage['/touch/handle.js'].lineData[192]++; + if (visit25_192_1(pointerType === 'touch')) { + _$jscoverage['/touch/handle.js'].lineData[193]++; + e.isTouch = 1; + } } - _$jscoverage['/touch/handle.js'].lineData[193]++; - return e; - } else { - _$jscoverage['/touch/handle.js'].lineData[195]++; + _$jscoverage['/touch/handle.js'].lineData[196]++; touchList = this.touches; } - _$jscoverage['/touch/handle.js'].lineData[197]++; - notUp = !type.match(/(up|cancel)$/i); _$jscoverage['/touch/handle.js'].lineData[198]++; + if (visit26_198_1(touchList && visit27_198_2(touchList.length === 1))) { + _$jscoverage['/touch/handle.js'].lineData[199]++; + e.which = 1; + _$jscoverage['/touch/handle.js'].lineData[200]++; + e.pageX = touchList[0].pageX; + _$jscoverage['/touch/handle.js'].lineData[201]++; + e.pageY = touchList[0].pageY; + } + _$jscoverage['/touch/handle.js'].lineData[203]++; + if (visit28_203_1(touchEvent)) { + _$jscoverage['/touch/handle.js'].lineData[204]++; + return e; + } + _$jscoverage['/touch/handle.js'].lineData[206]++; + notUp = !type.match(/(up|cancel)$/i); + _$jscoverage['/touch/handle.js'].lineData[207]++; e.touches = notUp ? touchList : []; - _$jscoverage['/touch/handle.js'].lineData[199]++; + _$jscoverage['/touch/handle.js'].lineData[208]++; e.targetTouches = notUp ? touchList : []; - _$jscoverage['/touch/handle.js'].lineData[200]++; + _$jscoverage['/touch/handle.js'].lineData[209]++; e.changedTouches = touchList; - _$jscoverage['/touch/handle.js'].lineData[201]++; + _$jscoverage['/touch/handle.js'].lineData[210]++; return e; }, onTouchStart: function(event) { _$jscoverage['/touch/handle.js'].functionData[16]++; - _$jscoverage['/touch/handle.js'].lineData[205]++; + _$jscoverage['/touch/handle.js'].lineData[214]++; var e, h, self = this, type = event.type, eventHandle = self.eventHandle; - _$jscoverage['/touch/handle.js'].lineData[209]++; - if (visit31_209_1(isTouchEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[210]++; + _$jscoverage['/touch/handle.js'].lineData[218]++; + if (visit29_218_1(isTouchEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[219]++; self.setPrimaryTouch(event.changedTouches[0]); - _$jscoverage['/touch/handle.js'].lineData[211]++; + _$jscoverage['/touch/handle.js'].lineData[220]++; self.dupMouse(event); } else { - _$jscoverage['/touch/handle.js'].lineData[212]++; - if (visit32_212_1(isMouseEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[213]++; - if (visit33_213_1(self.isEventSimulatedFromTouch(event))) { - _$jscoverage['/touch/handle.js'].lineData[214]++; + _$jscoverage['/touch/handle.js'].lineData[221]++; + if (visit30_221_1(isMouseEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[222]++; + if (visit31_222_1(self.isEventSimulatedFromTouch(event))) { + _$jscoverage['/touch/handle.js'].lineData[223]++; return; } - _$jscoverage['/touch/handle.js'].lineData[216]++; + _$jscoverage['/touch/handle.js'].lineData[225]++; self.touches = [event.originalEvent]; } else { - _$jscoverage['/touch/handle.js'].lineData[217]++; - if (visit34_217_1(isPointerEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[218]++; + _$jscoverage['/touch/handle.js'].lineData[226]++; + if (visit32_226_1(isPointerEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[227]++; self.addTouch(event.originalEvent); - _$jscoverage['/touch/handle.js'].lineData[219]++; - if (visit35_219_1(self.touches.length === 1)) { - _$jscoverage['/touch/handle.js'].lineData[220]++; + _$jscoverage['/touch/handle.js'].lineData[228]++; + if (visit33_228_1(self.touches.length === 1)) { + _$jscoverage['/touch/handle.js'].lineData[229]++; DomEvent.on(self.doc, gestureMoveEvent, self.onTouchMove, self); } } else { - _$jscoverage['/touch/handle.js'].lineData[223]++; + _$jscoverage['/touch/handle.js'].lineData[232]++; throw new Error('unrecognized touch event: ' + event.type); } } } - _$jscoverage['/touch/handle.js'].lineData[226]++; + _$jscoverage['/touch/handle.js'].lineData[235]++; for (e in eventHandle) { - _$jscoverage['/touch/handle.js'].lineData[227]++; + _$jscoverage['/touch/handle.js'].lineData[236]++; h = eventHandle[e].handle; - _$jscoverage['/touch/handle.js'].lineData[228]++; + _$jscoverage['/touch/handle.js'].lineData[237]++; h.isActive = 1; } - _$jscoverage['/touch/handle.js'].lineData[231]++; + _$jscoverage['/touch/handle.js'].lineData[240]++; self.callEventHandle('onTouchStart', event); }, onTouchMove: function(event) { _$jscoverage['/touch/handle.js'].functionData[17]++; - _$jscoverage['/touch/handle.js'].lineData[235]++; + _$jscoverage['/touch/handle.js'].lineData[244]++; var self = this, type = event.type; - _$jscoverage['/touch/handle.js'].lineData[237]++; - if (visit36_237_1(isMouseEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[238]++; - if (visit37_238_1(self.isEventSimulatedFromTouch(type))) { - _$jscoverage['/touch/handle.js'].lineData[239]++; + _$jscoverage['/touch/handle.js'].lineData[246]++; + if (visit34_246_1(isMouseEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[247]++; + if (visit35_247_1(self.isEventSimulatedFromTouch(type))) { + _$jscoverage['/touch/handle.js'].lineData[248]++; return; } - _$jscoverage['/touch/handle.js'].lineData[241]++; + _$jscoverage['/touch/handle.js'].lineData[250]++; self.touches = [event.originalEvent]; } else { - _$jscoverage['/touch/handle.js'].lineData[242]++; - if (visit38_242_1(isPointerEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[243]++; + _$jscoverage['/touch/handle.js'].lineData[251]++; + if (visit36_251_1(isPointerEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[252]++; self.updateTouch(event.originalEvent); } else { - _$jscoverage['/touch/handle.js'].lineData[244]++; - if (visit39_244_1(!isTouchEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[245]++; + _$jscoverage['/touch/handle.js'].lineData[253]++; + if (visit37_253_1(!isTouchEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[254]++; throw new Error('unrecognized touch event: ' + event.type); } } } - _$jscoverage['/touch/handle.js'].lineData[248]++; + _$jscoverage['/touch/handle.js'].lineData[257]++; self.callEventHandle('onTouchMove', event); }, onTouchEnd: function(event) { _$jscoverage['/touch/handle.js'].functionData[18]++; - _$jscoverage['/touch/handle.js'].lineData[252]++; + _$jscoverage['/touch/handle.js'].lineData[261]++; var self = this, type = event.type; - _$jscoverage['/touch/handle.js'].lineData[254]++; - if (visit40_254_1(isMouseEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[255]++; - if (visit41_255_1(self.isEventSimulatedFromTouch(event))) { - _$jscoverage['/touch/handle.js'].lineData[256]++; + _$jscoverage['/touch/handle.js'].lineData[263]++; + if (visit38_263_1(isMouseEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[264]++; + if (visit39_264_1(self.isEventSimulatedFromTouch(event))) { + _$jscoverage['/touch/handle.js'].lineData[265]++; return; } } - _$jscoverage['/touch/handle.js'].lineData[260]++; + _$jscoverage['/touch/handle.js'].lineData[269]++; self.callEventHandle('onTouchEnd', event); - _$jscoverage['/touch/handle.js'].lineData[261]++; - if (visit42_261_1(isTouchEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[262]++; + _$jscoverage['/touch/handle.js'].lineData[270]++; + if (visit40_270_1(isTouchEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[271]++; self.dupMouse(event); - _$jscoverage['/touch/handle.js'].lineData[263]++; + _$jscoverage['/touch/handle.js'].lineData[272]++; S.makeArray(event.changedTouches).forEach(function(touch) { _$jscoverage['/touch/handle.js'].functionData[19]++; - _$jscoverage['/touch/handle.js'].lineData[264]++; + _$jscoverage['/touch/handle.js'].lineData[273]++; self.removePrimaryTouch(touch); }); } else { - _$jscoverage['/touch/handle.js'].lineData[266]++; - if (visit43_266_1(isMouseEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[267]++; + _$jscoverage['/touch/handle.js'].lineData[275]++; + if (visit41_275_1(isMouseEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[276]++; self.touches = []; } else { - _$jscoverage['/touch/handle.js'].lineData[268]++; - if (visit44_268_1(isPointerEvent(type))) { - _$jscoverage['/touch/handle.js'].lineData[269]++; + _$jscoverage['/touch/handle.js'].lineData[277]++; + if (visit42_277_1(isPointerEvent(type))) { + _$jscoverage['/touch/handle.js'].lineData[278]++; self.removeTouch(event.originalEvent); - _$jscoverage['/touch/handle.js'].lineData[270]++; - if (visit45_270_1(!self.touches.length)) { - _$jscoverage['/touch/handle.js'].lineData[271]++; + _$jscoverage['/touch/handle.js'].lineData[279]++; + if (visit43_279_1(!self.touches.length)) { + _$jscoverage['/touch/handle.js'].lineData[280]++; DomEvent.detach(self.doc, gestureMoveEvent, self.onTouchMove, self); } } @@ -1140,50 +1172,50 @@ KISSY.add(function(S, require) { }, callEventHandle: function(method, event) { _$jscoverage['/touch/handle.js'].functionData[20]++; - _$jscoverage['/touch/handle.js'].lineData[277]++; + _$jscoverage['/touch/handle.js'].lineData[286]++; var self = this, eventHandle = self.eventHandle, e, h; - _$jscoverage['/touch/handle.js'].lineData[281]++; + _$jscoverage['/touch/handle.js'].lineData[290]++; event = self.normalize(event); - _$jscoverage['/touch/handle.js'].lineData[283]++; - if (visit46_283_1(!event.changedTouches.length)) { - _$jscoverage['/touch/handle.js'].lineData[284]++; + _$jscoverage['/touch/handle.js'].lineData[292]++; + if (visit44_292_1(!event.changedTouches.length)) { + _$jscoverage['/touch/handle.js'].lineData[293]++; return; } - _$jscoverage['/touch/handle.js'].lineData[286]++; + _$jscoverage['/touch/handle.js'].lineData[295]++; for (e in eventHandle) { - _$jscoverage['/touch/handle.js'].lineData[288]++; + _$jscoverage['/touch/handle.js'].lineData[297]++; h = eventHandle[e].handle; - _$jscoverage['/touch/handle.js'].lineData[289]++; - if (visit47_289_1(h.processed)) { - _$jscoverage['/touch/handle.js'].lineData[290]++; + _$jscoverage['/touch/handle.js'].lineData[298]++; + if (visit45_298_1(h.processed)) { + _$jscoverage['/touch/handle.js'].lineData[299]++; continue; } - _$jscoverage['/touch/handle.js'].lineData[292]++; + _$jscoverage['/touch/handle.js'].lineData[301]++; h.processed = 1; - _$jscoverage['/touch/handle.js'].lineData[294]++; - if (visit48_294_1(h.isActive && visit49_294_2(h[method] && visit50_294_3(h[method](event) === false)))) { - _$jscoverage['/touch/handle.js'].lineData[295]++; + _$jscoverage['/touch/handle.js'].lineData[303]++; + if (visit46_303_1(h.isActive && visit47_303_2(h[method] && visit48_303_3(h[method](event) === false)))) { + _$jscoverage['/touch/handle.js'].lineData[304]++; h.isActive = 0; } } - _$jscoverage['/touch/handle.js'].lineData[299]++; + _$jscoverage['/touch/handle.js'].lineData[308]++; for (e in eventHandle) { - _$jscoverage['/touch/handle.js'].lineData[300]++; + _$jscoverage['/touch/handle.js'].lineData[309]++; h = eventHandle[e].handle; - _$jscoverage['/touch/handle.js'].lineData[301]++; + _$jscoverage['/touch/handle.js'].lineData[310]++; h.processed = 0; } }, addEventHandle: function(event) { _$jscoverage['/touch/handle.js'].functionData[21]++; - _$jscoverage['/touch/handle.js'].lineData[306]++; + _$jscoverage['/touch/handle.js'].lineData[315]++; var self = this, eventHandle = self.eventHandle, handle = eventHandleMap[event].handle; - _$jscoverage['/touch/handle.js'].lineData[309]++; - if (visit51_309_1(eventHandle[event])) { - _$jscoverage['/touch/handle.js'].lineData[310]++; + _$jscoverage['/touch/handle.js'].lineData[318]++; + if (visit49_318_1(eventHandle[event])) { + _$jscoverage['/touch/handle.js'].lineData[319]++; eventHandle[event].count++; } else { - _$jscoverage['/touch/handle.js'].lineData[312]++; + _$jscoverage['/touch/handle.js'].lineData[321]++; eventHandle[event] = { count: 1, handle: handle}; @@ -1191,63 +1223,63 @@ KISSY.add(function(S, require) { }, 'removeEventHandle': function(event) { _$jscoverage['/touch/handle.js'].functionData[22]++; - _$jscoverage['/touch/handle.js'].lineData[320]++; + _$jscoverage['/touch/handle.js'].lineData[329]++; var eventHandle = this.eventHandle; - _$jscoverage['/touch/handle.js'].lineData[321]++; - if (visit52_321_1(eventHandle[event])) { - _$jscoverage['/touch/handle.js'].lineData[322]++; + _$jscoverage['/touch/handle.js'].lineData[330]++; + if (visit50_330_1(eventHandle[event])) { + _$jscoverage['/touch/handle.js'].lineData[331]++; eventHandle[event].count--; - _$jscoverage['/touch/handle.js'].lineData[323]++; - if (visit53_323_1(!eventHandle[event].count)) { - _$jscoverage['/touch/handle.js'].lineData[324]++; + _$jscoverage['/touch/handle.js'].lineData[332]++; + if (visit51_332_1(!eventHandle[event].count)) { + _$jscoverage['/touch/handle.js'].lineData[333]++; delete eventHandle[event]; } } }, destroy: function() { _$jscoverage['/touch/handle.js'].functionData[23]++; - _$jscoverage['/touch/handle.js'].lineData[330]++; + _$jscoverage['/touch/handle.js'].lineData[339]++; var self = this, doc = self.doc; - _$jscoverage['/touch/handle.js'].lineData[332]++; + _$jscoverage['/touch/handle.js'].lineData[341]++; DomEvent.detach(doc, gestureStartEvent, self.onTouchStart, self); - _$jscoverage['/touch/handle.js'].lineData[333]++; + _$jscoverage['/touch/handle.js'].lineData[342]++; DomEvent.detach(doc, gestureMoveEvent, self.onTouchMove, self); - _$jscoverage['/touch/handle.js'].lineData[334]++; + _$jscoverage['/touch/handle.js'].lineData[343]++; DomEvent.detach(doc, gestureEndEvent, self.onTouchEnd, self); }}; - _$jscoverage['/touch/handle.js'].lineData[338]++; + _$jscoverage['/touch/handle.js'].lineData[347]++; return { addDocumentHandle: function(el, event) { _$jscoverage['/touch/handle.js'].functionData[24]++; - _$jscoverage['/touch/handle.js'].lineData[340]++; + _$jscoverage['/touch/handle.js'].lineData[349]++; var doc = Dom.getDocument(el), handle = Dom.data(doc, key); - _$jscoverage['/touch/handle.js'].lineData[342]++; - if (visit54_342_1(!handle)) { - _$jscoverage['/touch/handle.js'].lineData[343]++; + _$jscoverage['/touch/handle.js'].lineData[351]++; + if (visit52_351_1(!handle)) { + _$jscoverage['/touch/handle.js'].lineData[352]++; Dom.data(doc, key, handle = new DocumentHandler(doc)); } - _$jscoverage['/touch/handle.js'].lineData[345]++; - if (visit55_345_1(event)) { - _$jscoverage['/touch/handle.js'].lineData[346]++; + _$jscoverage['/touch/handle.js'].lineData[354]++; + if (visit53_354_1(event)) { + _$jscoverage['/touch/handle.js'].lineData[355]++; handle.addEventHandle(event); } }, removeDocumentHandle: function(el, event) { _$jscoverage['/touch/handle.js'].functionData[25]++; - _$jscoverage['/touch/handle.js'].lineData[351]++; + _$jscoverage['/touch/handle.js'].lineData[360]++; var doc = Dom.getDocument(el), handle = Dom.data(doc, key); - _$jscoverage['/touch/handle.js'].lineData[353]++; - if (visit56_353_1(handle)) { - _$jscoverage['/touch/handle.js'].lineData[354]++; - if (visit57_354_1(event)) { - _$jscoverage['/touch/handle.js'].lineData[355]++; + _$jscoverage['/touch/handle.js'].lineData[362]++; + if (visit54_362_1(handle)) { + _$jscoverage['/touch/handle.js'].lineData[363]++; + if (visit55_363_1(event)) { + _$jscoverage['/touch/handle.js'].lineData[364]++; handle.removeEventHandle(event); } - _$jscoverage['/touch/handle.js'].lineData[357]++; - if (visit58_357_1(S.isEmptyObject(handle.eventHandle))) { - _$jscoverage['/touch/handle.js'].lineData[358]++; + _$jscoverage['/touch/handle.js'].lineData[366]++; + if (visit56_366_1(S.isEmptyObject(handle.eventHandle))) { + _$jscoverage['/touch/handle.js'].lineData[367]++; handle.destroy(); - _$jscoverage['/touch/handle.js'].lineData[359]++; + _$jscoverage['/touch/handle.js'].lineData[368]++; Dom.removeData(doc, key); } } diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/multi-touch.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/multi-touch.js index 9bcd7846a2..71ba002201 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/multi-touch.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/multi-touch.js @@ -292,35 +292,35 @@ if (! _$jscoverage['/touch/multi-touch.js'].branchData) { _$jscoverage['/touch/multi-touch.js'].branchData['74'][1] = new BranchData(); } _$jscoverage['/touch/multi-touch.js'].branchData['74'][1].init(63, 14, 'self.isStarted'); -function visit66_74_1(result) { +function visit64_74_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['74'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['71'][1].init(251, 15, 'self.isTracking'); -function visit65_71_1(result) { +function visit63_71_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['56'][1].init(21, 20, 'Dom.contains(t2, t1)'); -function visit64_56_1(result) { +function visit62_56_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['51'][1].init(204, 20, 'Dom.contains(t1, t2)'); -function visit63_51_1(result) { +function visit61_51_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['48'][1].init(134, 9, 't1 === t2'); -function visit62_48_1(result) { +function visit60_48_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['36'][1].init(46, 16, '!self.isTracking'); -function visit61_36_1(result) { +function visit59_36_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['25'][1].init(301, 35, 'touchesCount > requiredTouchesCount'); -function visit60_25_1(result) { +function visit58_25_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].branchData['22'][1].init(194, 37, 'touchesCount === requiredTouchesCount'); -function visit59_22_1(result) { +function visit57_22_1(result) { _$jscoverage['/touch/multi-touch.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/touch/multi-touch.js'].lineData[6]++; @@ -341,12 +341,12 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/multi-touch.js'].lineData[18]++; var self = this, requiredTouchesCount = self.requiredTouchCount, touches = e.touches, touchesCount = touches.length; _$jscoverage['/touch/multi-touch.js'].lineData[22]++; - if (visit59_22_1(touchesCount === requiredTouchesCount)) { + if (visit57_22_1(touchesCount === requiredTouchesCount)) { _$jscoverage['/touch/multi-touch.js'].lineData[23]++; self.start(); } else { _$jscoverage['/touch/multi-touch.js'].lineData[25]++; - if (visit60_25_1(touchesCount > requiredTouchesCount)) { + if (visit58_25_1(touchesCount > requiredTouchesCount)) { _$jscoverage['/touch/multi-touch.js'].lineData[26]++; self.end(e); } @@ -362,7 +362,7 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/multi-touch.js'].lineData[35]++; var self = this; _$jscoverage['/touch/multi-touch.js'].lineData[36]++; - if (visit61_36_1(!self.isTracking)) { + if (visit59_36_1(!self.isTracking)) { _$jscoverage['/touch/multi-touch.js'].lineData[37]++; self.isTracking = true; _$jscoverage['/touch/multi-touch.js'].lineData[38]++; @@ -375,19 +375,19 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/multi-touch.js'].lineData[45]++; var touches = e.touches, t1 = touches[0].target, t2 = touches[1].target; _$jscoverage['/touch/multi-touch.js'].lineData[48]++; - if (visit62_48_1(t1 === t2)) { + if (visit60_48_1(t1 === t2)) { _$jscoverage['/touch/multi-touch.js'].lineData[49]++; return t1; } _$jscoverage['/touch/multi-touch.js'].lineData[51]++; - if (visit63_51_1(Dom.contains(t1, t2))) { + if (visit61_51_1(Dom.contains(t1, t2))) { _$jscoverage['/touch/multi-touch.js'].lineData[52]++; return t1; } _$jscoverage['/touch/multi-touch.js'].lineData[55]++; while (1) { _$jscoverage['/touch/multi-touch.js'].lineData[56]++; - if (visit64_56_1(Dom.contains(t2, t1))) { + if (visit62_56_1(Dom.contains(t2, t1))) { _$jscoverage['/touch/multi-touch.js'].lineData[57]++; return t2; } @@ -404,11 +404,11 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/multi-touch.js'].lineData[66]++; var self = this; _$jscoverage['/touch/multi-touch.js'].lineData[71]++; - if (visit65_71_1(self.isTracking)) { + if (visit63_71_1(self.isTracking)) { _$jscoverage['/touch/multi-touch.js'].lineData[72]++; self.isTracking = false; _$jscoverage['/touch/multi-touch.js'].lineData[74]++; - if (visit66_74_1(self.isStarted)) { + if (visit64_74_1(self.isStarted)) { _$jscoverage['/touch/multi-touch.js'].lineData[75]++; self.isStarted = false; _$jscoverage['/touch/multi-touch.js'].lineData[76]++; diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/pinch.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/pinch.js index b9aac286e0..8ffe9dc25c 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/pinch.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/pinch.js @@ -261,7 +261,10 @@ if (! _$jscoverage['/touch/pinch.js']) { _$jscoverage['/touch/pinch.js'].lineData[77] = 0; _$jscoverage['/touch/pinch.js'].lineData[78] = 0; _$jscoverage['/touch/pinch.js'].lineData[82] = 0; + _$jscoverage['/touch/pinch.js'].lineData[85] = 0; + _$jscoverage['/touch/pinch.js'].lineData[86] = 0; _$jscoverage['/touch/pinch.js'].lineData[87] = 0; + _$jscoverage['/touch/pinch.js'].lineData[89] = 0; _$jscoverage['/touch/pinch.js'].lineData[90] = 0; _$jscoverage['/touch/pinch.js'].lineData[94] = 0; } @@ -293,49 +296,55 @@ if (! _$jscoverage['/touch/pinch.js'].branchData) { _$jscoverage['/touch/pinch.js'].branchData['43'][1] = new BranchData(); _$jscoverage['/touch/pinch.js'].branchData['77'] = []; _$jscoverage['/touch/pinch.js'].branchData['77'][1] = new BranchData(); + _$jscoverage['/touch/pinch.js'].branchData['85'] = []; + _$jscoverage['/touch/pinch.js'].branchData['85'][1] = new BranchData(); } -_$jscoverage['/touch/pinch.js'].branchData['77'][1].init(13, 22, 'e.touches.length === 2'); -function visit77_77_1(result) { +_$jscoverage['/touch/pinch.js'].branchData['85'][1].init(2130, 33, 'S.Features.isTouchEventSupported()'); +function visit76_85_1(result) { + _$jscoverage['/touch/pinch.js'].branchData['85'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/pinch.js'].branchData['77'][1].init(13, 28, 'e.targetTouches.length === 2'); +function visit75_77_1(result) { _$jscoverage['/touch/pinch.js'].branchData['77'][1].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['43'][1].init(463, 15, '!self.isStarted'); -function visit76_43_1(result) { +function visit74_43_1(result) { _$jscoverage['/touch/pinch.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][8].init(277, 20, 'touches[1].pageY > 0'); -function visit75_35_8(result) { +function visit73_35_8(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][8].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][7].init(253, 20, 'touches[1].pageX > 0'); -function visit74_35_7(result) { +function visit72_35_7(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][7].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][6].init(253, 44, 'touches[1].pageX > 0 && touches[1].pageY > 0'); -function visit73_35_6(result) { +function visit71_35_6(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][6].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][5].init(229, 20, 'touches[0].pageY > 0'); -function visit72_35_5(result) { +function visit70_35_5(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][5].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][4].init(229, 68, 'touches[0].pageY > 0 && touches[1].pageX > 0 && touches[1].pageY > 0'); -function visit71_35_4(result) { +function visit69_35_4(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][4].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][3].init(205, 20, 'touches[0].pageX > 0'); -function visit70_35_3(result) { +function visit68_35_3(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][3].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][2].init(205, 92, 'touches[0].pageX > 0 && touches[0].pageY > 0 && touches[1].pageX > 0 && touches[1].pageY > 0'); -function visit69_35_2(result) { +function visit67_35_2(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][2].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['35'][1].init(203, 95, '!(touches[0].pageX > 0 && touches[0].pageY > 0 && touches[1].pageX > 0 && touches[1].pageY > 0)'); -function visit68_35_1(result) { +function visit66_35_1(result) { _$jscoverage['/touch/pinch.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].branchData['28'][1].init(47, 16, '!self.isTracking'); -function visit67_28_1(result) { +function visit65_28_1(result) { _$jscoverage['/touch/pinch.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/touch/pinch.js'].lineData[6]++; @@ -368,14 +377,14 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/pinch.js'].lineData[26]++; var self = this; _$jscoverage['/touch/pinch.js'].lineData[28]++; - if (visit67_28_1(!self.isTracking)) { + if (visit65_28_1(!self.isTracking)) { _$jscoverage['/touch/pinch.js'].lineData[29]++; return; } _$jscoverage['/touch/pinch.js'].lineData[32]++; var touches = e.touches; _$jscoverage['/touch/pinch.js'].lineData[35]++; - if (visit68_35_1(!(visit69_35_2(visit70_35_3(touches[0].pageX > 0) && visit71_35_4(visit72_35_5(touches[0].pageY > 0) && visit73_35_6(visit74_35_7(touches[1].pageX > 0) && visit75_35_8(touches[1].pageY > 0))))))) { + if (visit66_35_1(!(visit67_35_2(visit68_35_3(touches[0].pageX > 0) && visit69_35_4(visit70_35_5(touches[0].pageY > 0) && visit71_35_6(visit72_35_7(touches[1].pageX > 0) && visit73_35_8(touches[1].pageY > 0))))))) { _$jscoverage['/touch/pinch.js'].lineData[36]++; return; } @@ -384,7 +393,7 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/pinch.js'].lineData[41]++; self.lastTouches = touches; _$jscoverage['/touch/pinch.js'].lineData[43]++; - if (visit76_43_1(!self.isStarted)) { + if (visit74_43_1(!self.isStarted)) { _$jscoverage['/touch/pinch.js'].lineData[44]++; self.isStarted = true; _$jscoverage['/touch/pinch.js'].lineData[45]++; @@ -419,24 +428,29 @@ KISSY.add(function(S, require) { function prevent(e) { _$jscoverage['/touch/pinch.js'].functionData[5]++; _$jscoverage['/touch/pinch.js'].lineData[77]++; - if (visit77_77_1(e.touches.length === 2)) { + if (visit75_77_1(e.targetTouches.length === 2)) { _$jscoverage['/touch/pinch.js'].lineData[78]++; e.preventDefault(); } } _$jscoverage['/touch/pinch.js'].lineData[82]++; - eventHandleMap[PINCH] = { - handle: p, - setup: function() { + var config = eventHandleMap[PINCH] = { + handle: p}; + _$jscoverage['/touch/pinch.js'].lineData[85]++; + if (visit76_85_1(S.Features.isTouchEventSupported())) { + _$jscoverage['/touch/pinch.js'].lineData[86]++; + config.setup = function() { _$jscoverage['/touch/pinch.js'].functionData[6]++; _$jscoverage['/touch/pinch.js'].lineData[87]++; - DomEvent.on(this, 'touchmove', prevent); -}, - tearDown: function() { + this.addEventListener('touchmove', prevent, false); +}; + _$jscoverage['/touch/pinch.js'].lineData[89]++; + config.tearDown = function() { _$jscoverage['/touch/pinch.js'].functionData[7]++; _$jscoverage['/touch/pinch.js'].lineData[90]++; - DomEvent.detach(this, 'touchmove', prevent); -}}; + this.removeEventListener('touchmove', prevent, false); +}; + } _$jscoverage['/touch/pinch.js'].lineData[94]++; return Pinch; }); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/rotate.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/rotate.js index f617c11e4c..1d203a3b7d 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/rotate.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/rotate.js @@ -268,8 +268,11 @@ if (! _$jscoverage['/touch/rotate.js']) { _$jscoverage['/touch/rotate.js'].lineData[98] = 0; _$jscoverage['/touch/rotate.js'].lineData[103] = 0; _$jscoverage['/touch/rotate.js'].lineData[106] = 0; - _$jscoverage['/touch/rotate.js'].lineData[109] = 0; - _$jscoverage['/touch/rotate.js'].lineData[113] = 0; + _$jscoverage['/touch/rotate.js'].lineData[107] = 0; + _$jscoverage['/touch/rotate.js'].lineData[108] = 0; + _$jscoverage['/touch/rotate.js'].lineData[110] = 0; + _$jscoverage['/touch/rotate.js'].lineData[111] = 0; + _$jscoverage['/touch/rotate.js'].lineData[115] = 0; } if (! _$jscoverage['/touch/rotate.js'].functionData) { _$jscoverage['/touch/rotate.js'].functionData = []; @@ -296,29 +299,35 @@ if (! _$jscoverage['/touch/rotate.js'].branchData) { _$jscoverage['/touch/rotate.js'].branchData['54'][1] = new BranchData(); _$jscoverage['/touch/rotate.js'].branchData['91'] = []; _$jscoverage['/touch/rotate.js'].branchData['91'][1] = new BranchData(); + _$jscoverage['/touch/rotate.js'].branchData['106'] = []; + _$jscoverage['/touch/rotate.js'].branchData['106'][1] = new BranchData(); } -_$jscoverage['/touch/rotate.js'].branchData['91'][1].init(87, 22, 'e.touches.length === 2'); -function visit83_91_1(result) { +_$jscoverage['/touch/rotate.js'].branchData['106'][1].init(2851, 33, 'S.Features.isTouchEventSupported()'); +function visit83_106_1(result) { + _$jscoverage['/touch/rotate.js'].branchData['106'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/rotate.js'].branchData['91'][1].init(87, 28, 'e.targetTouches.length === 2'); +function visit82_91_1(result) { _$jscoverage['/touch/rotate.js'].branchData['91'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].branchData['54'][1].init(1168, 15, '!self.isStarted'); -function visit82_54_1(result) { +function visit81_54_1(result) { _$jscoverage['/touch/rotate.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].branchData['46'][1].init(542, 42, 'Math.abs(negativeAngle - lastAngle) < diff'); -function visit81_46_1(result) { +function visit80_46_1(result) { _$jscoverage['/touch/rotate.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].branchData['42'][1].init(354, 42, 'Math.abs(positiveAngle - lastAngle) < diff'); -function visit80_42_1(result) { +function visit79_42_1(result) { _$jscoverage['/touch/rotate.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].branchData['33'][1].init(386, 23, 'lastAngle !== undefined'); -function visit79_33_1(result) { +function visit78_33_1(result) { _$jscoverage['/touch/rotate.js'].branchData['33'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].branchData['22'][1].init(47, 16, '!self.isTracking'); -function visit78_22_1(result) { +function visit77_22_1(result) { _$jscoverage['/touch/rotate.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/touch/rotate.js'].lineData[6]++; @@ -343,14 +352,14 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/rotate.js'].lineData[20]++; var self = this; _$jscoverage['/touch/rotate.js'].lineData[22]++; - if (visit78_22_1(!self.isTracking)) { + if (visit77_22_1(!self.isTracking)) { _$jscoverage['/touch/rotate.js'].lineData[23]++; return; } _$jscoverage['/touch/rotate.js'].lineData[26]++; var touches = e.touches, one = touches[0], two = touches[1], lastAngle = self.lastAngle, angle = Math.atan2(two.pageY - one.pageY, two.pageX - one.pageX) * RAD_2_DEG; _$jscoverage['/touch/rotate.js'].lineData[33]++; - if (visit79_33_1(lastAngle !== undefined)) { + if (visit78_33_1(lastAngle !== undefined)) { _$jscoverage['/touch/rotate.js'].lineData[37]++; var diff = Math.abs(angle - lastAngle); _$jscoverage['/touch/rotate.js'].lineData[38]++; @@ -358,12 +367,12 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/rotate.js'].lineData[39]++; var negativeAngle = (angle - 360) % 360; _$jscoverage['/touch/rotate.js'].lineData[42]++; - if (visit80_42_1(Math.abs(positiveAngle - lastAngle) < diff)) { + if (visit79_42_1(Math.abs(positiveAngle - lastAngle) < diff)) { _$jscoverage['/touch/rotate.js'].lineData[43]++; angle = positiveAngle; } else { _$jscoverage['/touch/rotate.js'].lineData[46]++; - if (visit81_46_1(Math.abs(negativeAngle - lastAngle) < diff)) { + if (visit80_46_1(Math.abs(negativeAngle - lastAngle) < diff)) { _$jscoverage['/touch/rotate.js'].lineData[47]++; angle = negativeAngle; } @@ -374,7 +383,7 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/rotate.js'].lineData[52]++; self.lastAngle = angle; _$jscoverage['/touch/rotate.js'].lineData[54]++; - if (visit82_54_1(!self.isStarted)) { + if (visit81_54_1(!self.isStarted)) { _$jscoverage['/touch/rotate.js'].lineData[55]++; self.isStarted = true; _$jscoverage['/touch/rotate.js'].lineData[57]++; @@ -413,7 +422,7 @@ KISSY.add(function(S, require) { function prevent(e) { _$jscoverage['/touch/rotate.js'].functionData[5]++; _$jscoverage['/touch/rotate.js'].lineData[91]++; - if (visit83_91_1(e.touches.length === 2)) { + if (visit82_91_1(e.targetTouches.length === 2)) { _$jscoverage['/touch/rotate.js'].lineData[92]++; e.preventDefault(); } @@ -424,18 +433,23 @@ KISSY.add(function(S, require) { eventHandleMap[ROTATE_END] = eventHandleMap[ROTATE_START] = { handle: r}; _$jscoverage['/touch/rotate.js'].lineData[103]++; - eventHandleMap[ROTATE] = { - handle: r, - setup: function() { - _$jscoverage['/touch/rotate.js'].functionData[6]++; + var config = eventHandleMap[ROTATE] = { + handle: r}; _$jscoverage['/touch/rotate.js'].lineData[106]++; - DomEvent.on(this, 'touchmove', prevent); -}, - tearDown: function() { + if (visit83_106_1(S.Features.isTouchEventSupported())) { + _$jscoverage['/touch/rotate.js'].lineData[107]++; + config.setup = function() { + _$jscoverage['/touch/rotate.js'].functionData[6]++; + _$jscoverage['/touch/rotate.js'].lineData[108]++; + this.addEventListener('touchmove', prevent, false); +}; + _$jscoverage['/touch/rotate.js'].lineData[110]++; + config.tearDown = function() { _$jscoverage['/touch/rotate.js'].functionData[7]++; - _$jscoverage['/touch/rotate.js'].lineData[109]++; - DomEvent.detach(this, 'touchmove', prevent); -}}; - _$jscoverage['/touch/rotate.js'].lineData[113]++; + _$jscoverage['/touch/rotate.js'].lineData[111]++; + this.removeEventListener('touchmove', prevent, false); +}; + } + _$jscoverage['/touch/rotate.js'].lineData[115]++; return Rotate; }); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/swipe.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/swipe.js index 6b6982b64a..5d9ee38fac 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/swipe.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/swipe.js @@ -258,32 +258,32 @@ if (! _$jscoverage['/touch/swipe.js']) { _$jscoverage['/touch/swipe.js'].lineData[104] = 0; _$jscoverage['/touch/swipe.js'].lineData[107] = 0; _$jscoverage['/touch/swipe.js'].lineData[110] = 0; + _$jscoverage['/touch/swipe.js'].lineData[112] = 0; _$jscoverage['/touch/swipe.js'].lineData[113] = 0; _$jscoverage['/touch/swipe.js'].lineData[114] = 0; - _$jscoverage['/touch/swipe.js'].lineData[115] = 0; + _$jscoverage['/touch/swipe.js'].lineData[116] = 0; _$jscoverage['/touch/swipe.js'].lineData[117] = 0; - _$jscoverage['/touch/swipe.js'].lineData[118] = 0; + _$jscoverage['/touch/swipe.js'].lineData[119] = 0; _$jscoverage['/touch/swipe.js'].lineData[120] = 0; - _$jscoverage['/touch/swipe.js'].lineData[121] = 0; + _$jscoverage['/touch/swipe.js'].lineData[122] = 0; _$jscoverage['/touch/swipe.js'].lineData[123] = 0; - _$jscoverage['/touch/swipe.js'].lineData[124] = 0; + _$jscoverage['/touch/swipe.js'].lineData[125] = 0; _$jscoverage['/touch/swipe.js'].lineData[126] = 0; - _$jscoverage['/touch/swipe.js'].lineData[127] = 0; - _$jscoverage['/touch/swipe.js'].lineData[129] = 0; - _$jscoverage['/touch/swipe.js'].lineData[133] = 0; + _$jscoverage['/touch/swipe.js'].lineData[128] = 0; + _$jscoverage['/touch/swipe.js'].lineData[132] = 0; + _$jscoverage['/touch/swipe.js'].lineData[142] = 0; _$jscoverage['/touch/swipe.js'].lineData[143] = 0; - _$jscoverage['/touch/swipe.js'].lineData[144] = 0; + _$jscoverage['/touch/swipe.js'].lineData[146] = 0; _$jscoverage['/touch/swipe.js'].lineData[147] = 0; - _$jscoverage['/touch/swipe.js'].lineData[148] = 0; + _$jscoverage['/touch/swipe.js'].lineData[150] = 0; _$jscoverage['/touch/swipe.js'].lineData[151] = 0; - _$jscoverage['/touch/swipe.js'].lineData[152] = 0; - _$jscoverage['/touch/swipe.js'].lineData[155] = 0; + _$jscoverage['/touch/swipe.js'].lineData[154] = 0; + _$jscoverage['/touch/swipe.js'].lineData[158] = 0; _$jscoverage['/touch/swipe.js'].lineData[159] = 0; _$jscoverage['/touch/swipe.js'].lineData[160] = 0; - _$jscoverage['/touch/swipe.js'].lineData[161] = 0; - _$jscoverage['/touch/swipe.js'].lineData[163] = 0; - _$jscoverage['/touch/swipe.js'].lineData[168] = 0; - _$jscoverage['/touch/swipe.js'].lineData[172] = 0; + _$jscoverage['/touch/swipe.js'].lineData[162] = 0; + _$jscoverage['/touch/swipe.js'].lineData[167] = 0; + _$jscoverage['/touch/swipe.js'].lineData[171] = 0; } if (! _$jscoverage['/touch/swipe.js'].functionData) { _$jscoverage['/touch/swipe.js'].functionData = []; @@ -318,52 +318,52 @@ if (! _$jscoverage['/touch/swipe.js'].branchData) { _$jscoverage['/touch/swipe.js'].branchData['55'][1] = new BranchData(); _$jscoverage['/touch/swipe.js'].branchData['56'] = []; _$jscoverage['/touch/swipe.js'].branchData['56'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['114'] = []; - _$jscoverage['/touch/swipe.js'].branchData['114'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['126'] = []; - _$jscoverage['/touch/swipe.js'].branchData['126'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['143'] = []; - _$jscoverage['/touch/swipe.js'].branchData['143'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['147'] = []; - _$jscoverage['/touch/swipe.js'].branchData['147'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['147'][2] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['151'] = []; - _$jscoverage['/touch/swipe.js'].branchData['151'][1] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['151'][2] = new BranchData(); - _$jscoverage['/touch/swipe.js'].branchData['160'] = []; - _$jscoverage['/touch/swipe.js'].branchData['160'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['113'] = []; + _$jscoverage['/touch/swipe.js'].branchData['113'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['125'] = []; + _$jscoverage['/touch/swipe.js'].branchData['125'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['142'] = []; + _$jscoverage['/touch/swipe.js'].branchData['142'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['146'] = []; + _$jscoverage['/touch/swipe.js'].branchData['146'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['146'][2] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['150'] = []; + _$jscoverage['/touch/swipe.js'].branchData['150'][1] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['150'][2] = new BranchData(); + _$jscoverage['/touch/swipe.js'].branchData['159'] = []; + _$jscoverage['/touch/swipe.js'].branchData['159'][1] = new BranchData(); } -_$jscoverage['/touch/swipe.js'].branchData['160'][1].init(46, 29, 'self.onTouchMove(e) === false'); -function visit104_160_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['160'][1].ranCondition(result); +_$jscoverage['/touch/swipe.js'].branchData['159'][1].init(46, 29, 'self.onTouchMove(e) === false'); +function visit104_159_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['159'][1].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['151'][2].init(605, 22, 'absDeltaY > MAX_OFFSET'); -function visit103_151_2(result) { - _$jscoverage['/touch/swipe.js'].branchData['151'][2].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['150'][2].init(605, 22, 'absDeltaY > MAX_OFFSET'); +function visit103_150_2(result) { + _$jscoverage['/touch/swipe.js'].branchData['150'][2].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['151'][1].init(584, 43, 'self.isHorizontal && absDeltaY > MAX_OFFSET'); -function visit102_151_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['151'][1].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['150'][1].init(584, 43, 'self.isHorizontal && absDeltaY > MAX_OFFSET'); +function visit102_150_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['150'][1].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['147'][2].init(490, 22, 'absDeltaX > MAX_OFFSET'); -function visit101_147_2(result) { - _$jscoverage['/touch/swipe.js'].branchData['147'][2].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['146'][2].init(490, 22, 'absDeltaX > MAX_OFFSET'); +function visit101_146_2(result) { + _$jscoverage['/touch/swipe.js'].branchData['146'][2].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['147'][1].init(471, 41, 'self.isVertical && absDeltaX > MAX_OFFSET'); -function visit100_147_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['147'][1].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['146'][1].init(471, 41, 'self.isVertical && absDeltaX > MAX_OFFSET'); +function visit100_146_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['146'][1].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['143'][1].init(370, 36, 'time - self.startTime > MAX_DURATION'); -function visit99_143_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['143'][1].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['142'][1].init(370, 36, 'time - self.startTime > MAX_DURATION'); +function visit99_142_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['142'][1].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['126'][1].init(401, 30, 'e.type.indexOf(\'mouse\') !== -1'); -function visit98_126_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['126'][1].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['125'][1].init(401, 44, 'e.type.toLowerCase().indexOf(\'mouse\') !== -1'); +function visit98_125_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['125'][1].ranCondition(result); return result; -}_$jscoverage['/touch/swipe.js'].branchData['114'][1].init(46, 62, 'Swipe.superclass.onTouchStart.apply(self, arguments) === false'); -function visit97_114_1(result) { - _$jscoverage['/touch/swipe.js'].branchData['114'][1].ranCondition(result); +}_$jscoverage['/touch/swipe.js'].branchData['113'][1].init(46, 62, 'Swipe.superclass.onTouchStart.apply(self, arguments) === false'); +function visit97_113_1(result) { + _$jscoverage['/touch/swipe.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/touch/swipe.js'].branchData['56'][1].init(25, 10, 'deltaY < 0'); function visit96_56_1(result) { @@ -498,70 +498,70 @@ KISSY.add(function(S, require) { S.extend(Swipe, SingleTouch, { onTouchStart: function(e) { _$jscoverage['/touch/swipe.js'].functionData[3]++; - _$jscoverage['/touch/swipe.js'].lineData[113]++; + _$jscoverage['/touch/swipe.js'].lineData[112]++; var self = this; - _$jscoverage['/touch/swipe.js'].lineData[114]++; - if (visit97_114_1(Swipe.superclass.onTouchStart.apply(self, arguments) === false)) { - _$jscoverage['/touch/swipe.js'].lineData[115]++; + _$jscoverage['/touch/swipe.js'].lineData[113]++; + if (visit97_113_1(Swipe.superclass.onTouchStart.apply(self, arguments) === false)) { + _$jscoverage['/touch/swipe.js'].lineData[114]++; return false; } - _$jscoverage['/touch/swipe.js'].lineData[117]++; + _$jscoverage['/touch/swipe.js'].lineData[116]++; var touch = e.touches[0]; - _$jscoverage['/touch/swipe.js'].lineData[118]++; + _$jscoverage['/touch/swipe.js'].lineData[117]++; self.startTime = e.timeStamp; - _$jscoverage['/touch/swipe.js'].lineData[120]++; + _$jscoverage['/touch/swipe.js'].lineData[119]++; self.isHorizontal = 1; - _$jscoverage['/touch/swipe.js'].lineData[121]++; + _$jscoverage['/touch/swipe.js'].lineData[120]++; self.isVertical = 1; - _$jscoverage['/touch/swipe.js'].lineData[123]++; + _$jscoverage['/touch/swipe.js'].lineData[122]++; self.startX = touch.pageX; - _$jscoverage['/touch/swipe.js'].lineData[124]++; + _$jscoverage['/touch/swipe.js'].lineData[123]++; this.startY = touch.pageY; - _$jscoverage['/touch/swipe.js'].lineData[126]++; - if (visit98_126_1(e.type.indexOf('mouse') !== -1)) { - _$jscoverage['/touch/swipe.js'].lineData[127]++; + _$jscoverage['/touch/swipe.js'].lineData[125]++; + if (visit98_125_1(e.type.toLowerCase().indexOf('mouse') !== -1)) { + _$jscoverage['/touch/swipe.js'].lineData[126]++; e.preventDefault(); } - _$jscoverage['/touch/swipe.js'].lineData[129]++; + _$jscoverage['/touch/swipe.js'].lineData[128]++; return undefined; }, onTouchMove: function(e) { _$jscoverage['/touch/swipe.js'].functionData[4]++; - _$jscoverage['/touch/swipe.js'].lineData[133]++; + _$jscoverage['/touch/swipe.js'].lineData[132]++; var self = this, touch = e.changedTouches[0], x = touch.pageX, y = touch.pageY, deltaX = x - self.startX, deltaY = y - self.startY, absDeltaX = Math.abs(deltaX), absDeltaY = Math.abs(deltaY), time = e.timeStamp; - _$jscoverage['/touch/swipe.js'].lineData[143]++; - if (visit99_143_1(time - self.startTime > MAX_DURATION)) { - _$jscoverage['/touch/swipe.js'].lineData[144]++; + _$jscoverage['/touch/swipe.js'].lineData[142]++; + if (visit99_142_1(time - self.startTime > MAX_DURATION)) { + _$jscoverage['/touch/swipe.js'].lineData[143]++; return false; } - _$jscoverage['/touch/swipe.js'].lineData[147]++; - if (visit100_147_1(self.isVertical && visit101_147_2(absDeltaX > MAX_OFFSET))) { - _$jscoverage['/touch/swipe.js'].lineData[148]++; + _$jscoverage['/touch/swipe.js'].lineData[146]++; + if (visit100_146_1(self.isVertical && visit101_146_2(absDeltaX > MAX_OFFSET))) { + _$jscoverage['/touch/swipe.js'].lineData[147]++; self.isVertical = 0; } - _$jscoverage['/touch/swipe.js'].lineData[151]++; - if (visit102_151_1(self.isHorizontal && visit103_151_2(absDeltaY > MAX_OFFSET))) { - _$jscoverage['/touch/swipe.js'].lineData[152]++; + _$jscoverage['/touch/swipe.js'].lineData[150]++; + if (visit102_150_1(self.isHorizontal && visit103_150_2(absDeltaY > MAX_OFFSET))) { + _$jscoverage['/touch/swipe.js'].lineData[151]++; self.isHorizontal = 0; } - _$jscoverage['/touch/swipe.js'].lineData[155]++; + _$jscoverage['/touch/swipe.js'].lineData[154]++; return fire(self, e, 1); }, onTouchEnd: function(e) { _$jscoverage['/touch/swipe.js'].functionData[5]++; - _$jscoverage['/touch/swipe.js'].lineData[159]++; + _$jscoverage['/touch/swipe.js'].lineData[158]++; var self = this; - _$jscoverage['/touch/swipe.js'].lineData[160]++; - if (visit104_160_1(self.onTouchMove(e) === false)) { - _$jscoverage['/touch/swipe.js'].lineData[161]++; + _$jscoverage['/touch/swipe.js'].lineData[159]++; + if (visit104_159_1(self.onTouchMove(e) === false)) { + _$jscoverage['/touch/swipe.js'].lineData[160]++; return false; } - _$jscoverage['/touch/swipe.js'].lineData[163]++; + _$jscoverage['/touch/swipe.js'].lineData[162]++; return fire(self, e, 0); }}); - _$jscoverage['/touch/swipe.js'].lineData[168]++; + _$jscoverage['/touch/swipe.js'].lineData[167]++; eventHandleMap[event] = eventHandleMap[ingEvent] = { handle: new Swipe()}; - _$jscoverage['/touch/swipe.js'].lineData[172]++; + _$jscoverage['/touch/swipe.js'].lineData[171]++; return Swipe; }); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap-hold.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap-hold.js deleted file mode 100644 index 687dc79a8e..0000000000 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap-hold.js +++ /dev/null @@ -1,332 +0,0 @@ -function BranchData() { - this.position = -1; - this.nodeLength = -1; - this.src = null; - this.evalFalse = 0; - this.evalTrue = 0; - - this.init = function(position, nodeLength, src) { - this.position = position; - this.nodeLength = nodeLength; - this.src = src; - return this; - } - - this.ranCondition = function(result) { - if (result) - this.evalTrue++; - else - this.evalFalse++; - }; - - this.pathsCovered = function() { - var paths = 0; - if (this.evalTrue > 0) - paths++; - if (this.evalFalse > 0) - paths++; - return paths; - }; - - this.covered = function() { - return this.evalTrue > 0 && this.evalFalse > 0; - }; - - this.toJSON = function() { - return '{"position":' + this.position - + ',"nodeLength":' + this.nodeLength - + ',"src":' + jscoverage_quote(this.src) - + ',"evalFalse":' + this.evalFalse - + ',"evalTrue":' + this.evalTrue + '}'; - }; - - this.message = function() { - if (this.evalTrue === 0 && this.evalFalse === 0) - return 'Condition never evaluated :\t' + this.src; - else if (this.evalTrue === 0) - return 'Condition never evaluated to true :\t' + this.src; - else if (this.evalFalse === 0) - return 'Condition never evaluated to false:\t' + this.src; - else - return 'Condition covered'; - }; -} - -BranchData.fromJson = function(jsonString) { - var json = eval('(' + jsonString + ')'); - var branchData = new BranchData(); - branchData.init(json.position, json.nodeLength, json.src); - branchData.evalFalse = json.evalFalse; - branchData.evalTrue = json.evalTrue; - return branchData; -}; - -BranchData.fromJsonObject = function(json) { - var branchData = new BranchData(); - branchData.init(json.position, json.nodeLength, json.src); - branchData.evalFalse = json.evalFalse; - branchData.evalTrue = json.evalTrue; - return branchData; -}; - -function buildBranchMessage(conditions) { - var message = 'The following was not covered:'; - for (var i = 0; i < conditions.length; i++) { - if (conditions[i] !== undefined && conditions[i] !== null && !conditions[i].covered()) - message += '\n- '+ conditions[i].message(); - } - return message; -}; - -function convertBranchDataConditionArrayToJSON(branchDataConditionArray) { - var array = []; - var length = branchDataConditionArray.length; - for (var condition = 0; condition < length; condition++) { - var branchDataObject = branchDataConditionArray[condition]; - if (branchDataObject === undefined || branchDataObject === null) { - value = 'null'; - } else { - value = branchDataObject.toJSON(); - } - array.push(value); - } - return '[' + array.join(',') + ']'; -} - -function convertBranchDataLinesToJSON(branchData) { - if (branchData === undefined) { - return '{}' - } - var json = ''; - for (var line in branchData) { - if (json !== '') - json += ',' - json += '"' + line + '":' + convertBranchDataConditionArrayToJSON(branchData[line]); - } - return '{' + json + '}'; -} - -function convertBranchDataLinesFromJSON(jsonObject) { - if (jsonObject === undefined) { - return {}; - } - for (var line in jsonObject) { - var branchDataJSON = jsonObject[line]; - if (branchDataJSON !== null) { - for (var conditionIndex = 0; conditionIndex < branchDataJSON.length; conditionIndex ++) { - var condition = branchDataJSON[conditionIndex]; - if (condition !== null) { - branchDataJSON[conditionIndex] = BranchData.fromJsonObject(condition); - } - } - } - } - return jsonObject; -} -function jscoverage_quote(s) { - return '"' + s.replace(/[\u0000-\u001f"\\\u007f-\uffff]/g, function (c) { - switch (c) { - case '\b': - return '\\b'; - case '\f': - return '\\f'; - case '\n': - return '\\n'; - case '\r': - return '\\r'; - case '\t': - return '\\t'; - // IE doesn't support this - /* - case '\v': - return '\\v'; - */ - case '"': - return '\\"'; - case '\\': - return '\\\\'; - default: - return '\\u' + jscoverage_pad(c.charCodeAt(0).toString(16)); - } - }) + '"'; -} - -function getArrayJSON(coverage) { - var array = []; - if (coverage === undefined) - return array; - - var length = coverage.length; - for (var line = 0; line < length; line++) { - var value = coverage[line]; - if (value === undefined || value === null) { - value = 'null'; - } - array.push(value); - } - return array; -} - -function jscoverage_serializeCoverageToJSON() { - var json = []; - for (var file in _$jscoverage) { - var lineArray = getArrayJSON(_$jscoverage[file].lineData); - var fnArray = getArrayJSON(_$jscoverage[file].functionData); - - json.push(jscoverage_quote(file) + ':{"lineData":[' + lineArray.join(',') + '],"functionData":[' + fnArray.join(',') + '],"branchData":' + convertBranchDataLinesToJSON(_$jscoverage[file].branchData) + '}'); - } - return '{' + json.join(',') + '}'; -} - - -function jscoverage_pad(s) { - return '0000'.substr(s.length) + s; -} - -function jscoverage_html_escape(s) { - return s.replace(/[<>\&\"\']/g, function (c) { - return '&#' + c.charCodeAt(0) + ';'; - }); -} -try { - if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) { - // this is a browser window that was opened from another window - - if (! top.opener._$jscoverage) { - top.opener._$jscoverage = {}; - } - } -} -catch (e) {} - -try { - if (typeof top === 'object' && top !== null) { - // this is a browser window - - try { - if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) { - top._$jscoverage = top.opener._$jscoverage; - } - } - catch (e) {} - - if (! top._$jscoverage) { - top._$jscoverage = {}; - } - } -} -catch (e) {} - -try { - if (typeof top === 'object' && top !== null && top._$jscoverage) { - this._$jscoverage = top._$jscoverage; - } -} -catch (e) {} -if (! this._$jscoverage) { - this._$jscoverage = {}; -} -if (! _$jscoverage['/touch/tap-hold.js']) { - _$jscoverage['/touch/tap-hold.js'] = {}; - _$jscoverage['/touch/tap-hold.js'].lineData = []; - _$jscoverage['/touch/tap-hold.js'].lineData[6] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[7] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[8] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[9] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[11] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[12] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[14] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[17] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[19] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[20] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[21] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[23] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[24] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[25] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[33] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[37] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[38] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[42] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[48] = 0; - _$jscoverage['/touch/tap-hold.js'].lineData[52] = 0; -} -if (! _$jscoverage['/touch/tap-hold.js'].functionData) { - _$jscoverage['/touch/tap-hold.js'].functionData = []; - _$jscoverage['/touch/tap-hold.js'].functionData[0] = 0; - _$jscoverage['/touch/tap-hold.js'].functionData[1] = 0; - _$jscoverage['/touch/tap-hold.js'].functionData[2] = 0; - _$jscoverage['/touch/tap-hold.js'].functionData[3] = 0; - _$jscoverage['/touch/tap-hold.js'].functionData[4] = 0; - _$jscoverage['/touch/tap-hold.js'].functionData[5] = 0; -} -if (! _$jscoverage['/touch/tap-hold.js'].branchData) { - _$jscoverage['/touch/tap-hold.js'].branchData = {}; - _$jscoverage['/touch/tap-hold.js'].branchData['20'] = []; - _$jscoverage['/touch/tap-hold.js'].branchData['20'][1] = new BranchData(); -} -_$jscoverage['/touch/tap-hold.js'].branchData['20'][1].init(46, 55, 'TapHold.superclass.onTouchStart.call(self, e) === false'); -function visit105_20_1(result) { - _$jscoverage['/touch/tap-hold.js'].branchData['20'][1].ranCondition(result); - return result; -}_$jscoverage['/touch/tap-hold.js'].lineData[6]++; -KISSY.add(function(S, require) { - _$jscoverage['/touch/tap-hold.js'].functionData[0]++; - _$jscoverage['/touch/tap-hold.js'].lineData[7]++; - var eventHandleMap = require('./handle-map'); - _$jscoverage['/touch/tap-hold.js'].lineData[8]++; - var DomEvent = require('event/dom/base'); - _$jscoverage['/touch/tap-hold.js'].lineData[9]++; - var SingleTouch = require('./single-touch'); - _$jscoverage['/touch/tap-hold.js'].lineData[11]++; - var event = 'tapHold'; - _$jscoverage['/touch/tap-hold.js'].lineData[12]++; - var duration = 1000; - _$jscoverage['/touch/tap-hold.js'].lineData[14]++; - function TapHold() { - _$jscoverage['/touch/tap-hold.js'].functionData[1]++; - } - _$jscoverage['/touch/tap-hold.js'].lineData[17]++; - S.extend(TapHold, SingleTouch, { - onTouchStart: function(e) { - _$jscoverage['/touch/tap-hold.js'].functionData[2]++; - _$jscoverage['/touch/tap-hold.js'].lineData[19]++; - var self = this; - _$jscoverage['/touch/tap-hold.js'].lineData[20]++; - if (visit105_20_1(TapHold.superclass.onTouchStart.call(self, e) === false)) { - _$jscoverage['/touch/tap-hold.js'].lineData[21]++; - return false; - } - _$jscoverage['/touch/tap-hold.js'].lineData[23]++; - self.timer = setTimeout(function() { - _$jscoverage['/touch/tap-hold.js'].functionData[3]++; - _$jscoverage['/touch/tap-hold.js'].lineData[24]++; - var touch = e.touches[0]; - _$jscoverage['/touch/tap-hold.js'].lineData[25]++; - DomEvent.fire(e.target, event, { - touch: touch, - pageX: touch.pageX, - pageY: touch.pageY, - which: 1, - duration: (S.now() - e.timeStamp) / 1000}); -}, duration); - _$jscoverage['/touch/tap-hold.js'].lineData[33]++; - return undefined; -}, - onTouchMove: function() { - _$jscoverage['/touch/tap-hold.js'].functionData[4]++; - _$jscoverage['/touch/tap-hold.js'].lineData[37]++; - clearTimeout(this.timer); - _$jscoverage['/touch/tap-hold.js'].lineData[38]++; - return false; -}, - onTouchEnd: function() { - _$jscoverage['/touch/tap-hold.js'].functionData[5]++; - _$jscoverage['/touch/tap-hold.js'].lineData[42]++; - clearTimeout(this.timer); -}}); - _$jscoverage['/touch/tap-hold.js'].lineData[48]++; - eventHandleMap[event] = { - handle: new TapHold()}; - _$jscoverage['/touch/tap-hold.js'].lineData[52]++; - return TapHold; -}); diff --git a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap.js b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap.js index d565f9da2b..525d1b637c 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap.js +++ b/src/event/sub-modules/dom/sub-modules/touch/coverage/src/touch/tap.js @@ -234,27 +234,64 @@ if (! _$jscoverage['/touch/tap.js']) { _$jscoverage['/touch/tap.js'].lineData[8] = 0; _$jscoverage['/touch/tap.js'].lineData[9] = 0; _$jscoverage['/touch/tap.js'].lineData[11] = 0; - _$jscoverage['/touch/tap.js'].lineData[12] = 0; - _$jscoverage['/touch/tap.js'].lineData[15] = 0; - _$jscoverage['/touch/tap.js'].lineData[16] = 0; - _$jscoverage['/touch/tap.js'].lineData[17] = 0; - _$jscoverage['/touch/tap.js'].lineData[19] = 0; - _$jscoverage['/touch/tap.js'].lineData[20] = 0; - _$jscoverage['/touch/tap.js'].lineData[23] = 0; + _$jscoverage['/touch/tap.js'].lineData[21] = 0; + _$jscoverage['/touch/tap.js'].lineData[22] = 0; _$jscoverage['/touch/tap.js'].lineData[25] = 0; _$jscoverage['/touch/tap.js'].lineData[26] = 0; - _$jscoverage['/touch/tap.js'].lineData[30] = 0; + _$jscoverage['/touch/tap.js'].lineData[29] = 0; + _$jscoverage['/touch/tap.js'].lineData[31] = 0; + _$jscoverage['/touch/tap.js'].lineData[32] = 0; _$jscoverage['/touch/tap.js'].lineData[33] = 0; - _$jscoverage['/touch/tap.js'].lineData[35] = 0; - _$jscoverage['/touch/tap.js'].lineData[39] = 0; + _$jscoverage['/touch/tap.js'].lineData[37] = 0; + _$jscoverage['/touch/tap.js'].lineData[38] = 0; _$jscoverage['/touch/tap.js'].lineData[40] = 0; _$jscoverage['/touch/tap.js'].lineData[41] = 0; _$jscoverage['/touch/tap.js'].lineData[46] = 0; + _$jscoverage['/touch/tap.js'].lineData[47] = 0; + _$jscoverage['/touch/tap.js'].lineData[48] = 0; + _$jscoverage['/touch/tap.js'].lineData[52] = 0; + _$jscoverage['/touch/tap.js'].lineData[53] = 0; _$jscoverage['/touch/tap.js'].lineData[54] = 0; _$jscoverage['/touch/tap.js'].lineData[55] = 0; - _$jscoverage['/touch/tap.js'].lineData[56] = 0; + _$jscoverage['/touch/tap.js'].lineData[58] = 0; + _$jscoverage['/touch/tap.js'].lineData[61] = 0; + _$jscoverage['/touch/tap.js'].lineData[63] = 0; _$jscoverage['/touch/tap.js'].lineData[64] = 0; - _$jscoverage['/touch/tap.js'].lineData[68] = 0; + _$jscoverage['/touch/tap.js'].lineData[66] = 0; + _$jscoverage['/touch/tap.js'].lineData[70] = 0; + _$jscoverage['/touch/tap.js'].lineData[73] = 0; + _$jscoverage['/touch/tap.js'].lineData[75] = 0; + _$jscoverage['/touch/tap.js'].lineData[79] = 0; + _$jscoverage['/touch/tap.js'].lineData[81] = 0; + _$jscoverage['/touch/tap.js'].lineData[82] = 0; + _$jscoverage['/touch/tap.js'].lineData[84] = 0; + _$jscoverage['/touch/tap.js'].lineData[85] = 0; + _$jscoverage['/touch/tap.js'].lineData[88] = 0; + _$jscoverage['/touch/tap.js'].lineData[89] = 0; + _$jscoverage['/touch/tap.js'].lineData[90] = 0; + _$jscoverage['/touch/tap.js'].lineData[94] = 0; + _$jscoverage['/touch/tap.js'].lineData[96] = 0; + _$jscoverage['/touch/tap.js'].lineData[105] = 0; + _$jscoverage['/touch/tap.js'].lineData[106] = 0; + _$jscoverage['/touch/tap.js'].lineData[109] = 0; + _$jscoverage['/touch/tap.js'].lineData[110] = 0; + _$jscoverage['/touch/tap.js'].lineData[111] = 0; + _$jscoverage['/touch/tap.js'].lineData[113] = 0; + _$jscoverage['/touch/tap.js'].lineData[121] = 0; + _$jscoverage['/touch/tap.js'].lineData[124] = 0; + _$jscoverage['/touch/tap.js'].lineData[126] = 0; + _$jscoverage['/touch/tap.js'].lineData[128] = 0; + _$jscoverage['/touch/tap.js'].lineData[130] = 0; + _$jscoverage['/touch/tap.js'].lineData[132] = 0; + _$jscoverage['/touch/tap.js'].lineData[133] = 0; + _$jscoverage['/touch/tap.js'].lineData[140] = 0; + _$jscoverage['/touch/tap.js'].lineData[147] = 0; + _$jscoverage['/touch/tap.js'].lineData[148] = 0; + _$jscoverage['/touch/tap.js'].lineData[149] = 0; + _$jscoverage['/touch/tap.js'].lineData[159] = 0; + _$jscoverage['/touch/tap.js'].lineData[160] = 0; + _$jscoverage['/touch/tap.js'].lineData[172] = 0; + _$jscoverage['/touch/tap.js'].lineData[176] = 0; } if (! _$jscoverage['/touch/tap.js'].functionData) { _$jscoverage['/touch/tap.js'].functionData = []; @@ -263,38 +300,107 @@ if (! _$jscoverage['/touch/tap.js'].functionData) { _$jscoverage['/touch/tap.js'].functionData[2] = 0; _$jscoverage['/touch/tap.js'].functionData[3] = 0; _$jscoverage['/touch/tap.js'].functionData[4] = 0; + _$jscoverage['/touch/tap.js'].functionData[5] = 0; + _$jscoverage['/touch/tap.js'].functionData[6] = 0; + _$jscoverage['/touch/tap.js'].functionData[7] = 0; } if (! _$jscoverage['/touch/tap.js'].branchData) { _$jscoverage['/touch/tap.js'].branchData = {}; - _$jscoverage['/touch/tap.js'].branchData['30'] = []; - _$jscoverage['/touch/tap.js'].branchData['30'][1] = new BranchData(); - _$jscoverage['/touch/tap.js'].branchData['31'] = []; - _$jscoverage['/touch/tap.js'].branchData['31'][1] = new BranchData(); - _$jscoverage['/touch/tap.js'].branchData['31'][2] = new BranchData(); _$jscoverage['/touch/tap.js'].branchData['32'] = []; _$jscoverage['/touch/tap.js'].branchData['32'][1] = new BranchData(); - _$jscoverage['/touch/tap.js'].branchData['55'] = []; - _$jscoverage['/touch/tap.js'].branchData['55'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['37'] = []; + _$jscoverage['/touch/tap.js'].branchData['37'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['53'] = []; + _$jscoverage['/touch/tap.js'].branchData['53'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['63'] = []; + _$jscoverage['/touch/tap.js'].branchData['63'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['70'] = []; + _$jscoverage['/touch/tap.js'].branchData['70'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['71'] = []; + _$jscoverage['/touch/tap.js'].branchData['71'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['71'][2] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['72'] = []; + _$jscoverage['/touch/tap.js'].branchData['72'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['81'] = []; + _$jscoverage['/touch/tap.js'].branchData['81'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['88'] = []; + _$jscoverage['/touch/tap.js'].branchData['88'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['109'] = []; + _$jscoverage['/touch/tap.js'].branchData['109'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['110'] = []; + _$jscoverage['/touch/tap.js'].branchData['110'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['113'] = []; + _$jscoverage['/touch/tap.js'].branchData['113'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['126'] = []; + _$jscoverage['/touch/tap.js'].branchData['126'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['130'] = []; + _$jscoverage['/touch/tap.js'].branchData['130'][1] = new BranchData(); + _$jscoverage['/touch/tap.js'].branchData['148'] = []; + _$jscoverage['/touch/tap.js'].branchData['148'][1] = new BranchData(); } -_$jscoverage['/touch/tap.js'].branchData['55'][1].init(623, 32, 'eventObject.isDefaultPrevented()'); -function visit110_55_1(result) { - _$jscoverage['/touch/tap.js'].branchData['55'][1].ranCondition(result); +_$jscoverage['/touch/tap.js'].branchData['148'][1].init(2400, 27, 'duration > SINGLE_TAP_DELAY'); +function visit120_148_1(result) { + _$jscoverage['/touch/tap.js'].branchData['148'][1].ranCondition(result); return result; -}_$jscoverage['/touch/tap.js'].branchData['32'][1].init(82, 63, 'Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity'); -function visit109_32_1(result) { - _$jscoverage['/touch/tap.js'].branchData['32'][1].ranCondition(result); +}_$jscoverage['/touch/tap.js'].branchData['130'][1].init(155, 27, 'duration < SINGLE_TAP_DELAY'); +function visit119_130_1(result) { + _$jscoverage['/touch/tap.js'].branchData['130'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['126'][1].init(1551, 11, 'lastEndTime'); +function visit118_126_1(result) { + _$jscoverage['/touch/tap.js'].branchData['126'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['113'][1].init(33, 30, 'target.ownerDocument || target'); +function visit117_113_1(result) { + _$jscoverage['/touch/tap.js'].branchData['113'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['110'][1].init(21, 8, 'S.UA.ios'); +function visit116_110_1(result) { + _$jscoverage['/touch/tap.js'].branchData['110'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['109'][1].init(957, 47, 'eventObject.isDefaultPrevented() && S.UA.mobile'); +function visit115_109_1(result) { + _$jscoverage['/touch/tap.js'].branchData['109'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['88'][1].init(275, 17, 'self.tapHoldTimer'); +function visit114_88_1(result) { + _$jscoverage['/touch/tap.js'].branchData['88'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['81'][1].init(83, 23, '!(lastXY = self.lastXY)'); +function visit113_81_1(result) { + _$jscoverage['/touch/tap.js'].branchData['81'][1].ranCondition(result); return result; -}_$jscoverage['/touch/tap.js'].branchData['31'][2].init(313, 63, 'Math.abs(currentTouch.pageX - firstTouchXY.pageX) > sensitivity'); -function visit108_31_2(result) { - _$jscoverage['/touch/tap.js'].branchData['31'][2].ranCondition(result); +}_$jscoverage['/touch/tap.js'].branchData['72'][1].init(87, 68, 'Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY'); +function visit112_72_1(result) { + _$jscoverage['/touch/tap.js'].branchData['72'][1].ranCondition(result); return result; -}_$jscoverage['/touch/tap.js'].branchData['31'][1].init(32, 146, 'Math.abs(currentTouch.pageX - firstTouchXY.pageX) > sensitivity || Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity'); -function visit107_31_1(result) { - _$jscoverage['/touch/tap.js'].branchData['31'][1].ranCondition(result); +}_$jscoverage['/touch/tap.js'].branchData['71'][2].init(420, 68, 'Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY'); +function visit111_71_2(result) { + _$jscoverage['/touch/tap.js'].branchData['71'][2].ranCondition(result); return result; -}_$jscoverage['/touch/tap.js'].branchData['30'][1].init(278, 179, '!currentTouch || Math.abs(currentTouch.pageX - firstTouchXY.pageX) > sensitivity || Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity'); -function visit106_30_1(result) { - _$jscoverage['/touch/tap.js'].branchData['30'][1].ranCondition(result); +}_$jscoverage['/touch/tap.js'].branchData['71'][1].init(32, 156, 'Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY || Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY'); +function visit110_71_1(result) { + _$jscoverage['/touch/tap.js'].branchData['71'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['70'][1].init(385, 189, '!currentTouch || Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY || Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY'); +function visit109_70_1(result) { + _$jscoverage['/touch/tap.js'].branchData['70'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['63'][1].init(70, 23, '!(lastXY = self.lastXY)'); +function visit108_63_1(result) { + _$jscoverage['/touch/tap.js'].branchData['63'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['53'][1].init(805, 19, 'self.singleTapTimer'); +function visit107_53_1(result) { + _$jscoverage['/touch/tap.js'].branchData['53'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['37'][1].init(185, 17, 'self.tapHoldTimer'); +function visit106_37_1(result) { + _$jscoverage['/touch/tap.js'].branchData['37'][1].ranCondition(result); + return result; +}_$jscoverage['/touch/tap.js'].branchData['32'][1].init(46, 51, 'Tap.superclass.onTouchStart.call(self, e) === false'); +function visit105_32_1(result) { + _$jscoverage['/touch/tap.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/touch/tap.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -306,70 +412,179 @@ KISSY.add(function(S, require) { _$jscoverage['/touch/tap.js'].lineData[9]++; var SingleTouch = require('./single-touch'); _$jscoverage['/touch/tap.js'].lineData[11]++; + var SINGLE_TAP_EVENT = 'singleTap', DOUBLE_TAP_EVENT = 'doubleTap', TAP_HOLD_EVENT = 'tapHold', TAP_EVENT = 'tap', TAP_HOLD_DELAY = 1000, SINGLE_TAP_DELAY = 300, TOUCH_MOVE_SENSITIVITY = 5, DomEventObject = DomEvent.Object; + _$jscoverage['/touch/tap.js'].lineData[21]++; function preventDefault(e) { _$jscoverage['/touch/tap.js'].functionData[1]++; - _$jscoverage['/touch/tap.js'].lineData[12]++; + _$jscoverage['/touch/tap.js'].lineData[22]++; e.preventDefault(); } - _$jscoverage['/touch/tap.js'].lineData[15]++; - var sensitivity = 5; - _$jscoverage['/touch/tap.js'].lineData[16]++; - var event = 'tap'; - _$jscoverage['/touch/tap.js'].lineData[17]++; - var DomEventObject = DomEvent.Object; - _$jscoverage['/touch/tap.js'].lineData[19]++; + _$jscoverage['/touch/tap.js'].lineData[25]++; function Tap() { _$jscoverage['/touch/tap.js'].functionData[2]++; - _$jscoverage['/touch/tap.js'].lineData[20]++; + _$jscoverage['/touch/tap.js'].lineData[26]++; Tap.superclass.constructor.apply(this, arguments); } - _$jscoverage['/touch/tap.js'].lineData[23]++; + _$jscoverage['/touch/tap.js'].lineData[29]++; S.extend(Tap, SingleTouch, { - onTouchMove: function(e) { + onTouchStart: function(e) { _$jscoverage['/touch/tap.js'].functionData[3]++; - _$jscoverage['/touch/tap.js'].lineData[25]++; - var firstTouchXY = this.lastXY; - _$jscoverage['/touch/tap.js'].lineData[26]++; - var currentTouch = e.changedTouches[0]; - _$jscoverage['/touch/tap.js'].lineData[30]++; - if (visit106_30_1(!currentTouch || visit107_31_1(visit108_31_2(Math.abs(currentTouch.pageX - firstTouchXY.pageX) > sensitivity) || visit109_32_1(Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity)))) { + _$jscoverage['/touch/tap.js'].lineData[31]++; + var self = this; + _$jscoverage['/touch/tap.js'].lineData[32]++; + if (visit105_32_1(Tap.superclass.onTouchStart.call(self, e) === false)) { _$jscoverage['/touch/tap.js'].lineData[33]++; return false; } - _$jscoverage['/touch/tap.js'].lineData[35]++; + _$jscoverage['/touch/tap.js'].lineData[37]++; + if (visit106_37_1(self.tapHoldTimer)) { + _$jscoverage['/touch/tap.js'].lineData[38]++; + clearTimeout(self.tapHoldTimer); + } + _$jscoverage['/touch/tap.js'].lineData[40]++; + self.tapHoldTimer = setTimeout(function() { + _$jscoverage['/touch/tap.js'].functionData[4]++; + _$jscoverage['/touch/tap.js'].lineData[41]++; + var eventObj = S.mix({ + touch: e.touches[0], + which: 1, + TAP_HOLD_DELAY: (S.now() - e.timeStamp) / 1000}, self.lastXY); + _$jscoverage['/touch/tap.js'].lineData[46]++; + self.tapHoldTimer = 0; + _$jscoverage['/touch/tap.js'].lineData[47]++; + self.lastXY = 0; + _$jscoverage['/touch/tap.js'].lineData[48]++; + DomEvent.fire(e.target, TAP_HOLD_EVENT, eventObj); +}, TAP_HOLD_DELAY); + _$jscoverage['/touch/tap.js'].lineData[52]++; + self.startTime = e.timeStamp; + _$jscoverage['/touch/tap.js'].lineData[53]++; + if (visit107_53_1(self.singleTapTimer)) { + _$jscoverage['/touch/tap.js'].lineData[54]++; + clearTimeout(self.singleTapTimer); + _$jscoverage['/touch/tap.js'].lineData[55]++; + self.singleTapTimer = 0; + } + _$jscoverage['/touch/tap.js'].lineData[58]++; + return undefined; +}, + onTouchMove: function(e) { + _$jscoverage['/touch/tap.js'].functionData[5]++; + _$jscoverage['/touch/tap.js'].lineData[61]++; + var self = this, lastXY; + _$jscoverage['/touch/tap.js'].lineData[63]++; + if (visit108_63_1(!(lastXY = self.lastXY))) { + _$jscoverage['/touch/tap.js'].lineData[64]++; + return false; + } + _$jscoverage['/touch/tap.js'].lineData[66]++; + var currentTouch = e.changedTouches[0]; + _$jscoverage['/touch/tap.js'].lineData[70]++; + if (visit109_70_1(!currentTouch || visit110_71_1(visit111_71_2(Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY) || visit112_72_1(Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY)))) { + _$jscoverage['/touch/tap.js'].lineData[73]++; + return false; + } + _$jscoverage['/touch/tap.js'].lineData[75]++; return undefined; }, onTouchEnd: function(e) { - _$jscoverage['/touch/tap.js'].functionData[4]++; - _$jscoverage['/touch/tap.js'].lineData[39]++; - var touch = e.changedTouches[0]; - _$jscoverage['/touch/tap.js'].lineData[40]++; + _$jscoverage['/touch/tap.js'].functionData[6]++; + _$jscoverage['/touch/tap.js'].lineData[79]++; + var self = this, lastXY; + _$jscoverage['/touch/tap.js'].lineData[81]++; + if (visit113_81_1(!(lastXY = self.lastXY))) { + _$jscoverage['/touch/tap.js'].lineData[82]++; + return; + } + _$jscoverage['/touch/tap.js'].lineData[84]++; var target = e.target; - _$jscoverage['/touch/tap.js'].lineData[41]++; - var eventObject = new DomEventObject({ - type: event, - target: target, - currentTarget: target}); - _$jscoverage['/touch/tap.js'].lineData[46]++; + _$jscoverage['/touch/tap.js'].lineData[85]++; + var touch = e.changedTouches[0]; + _$jscoverage['/touch/tap.js'].lineData[88]++; + if (visit114_88_1(self.tapHoldTimer)) { + _$jscoverage['/touch/tap.js'].lineData[89]++; + clearTimeout(self.tapHoldTimer); + _$jscoverage['/touch/tap.js'].lineData[90]++; + self.tapHoldTimer = 0; + } + _$jscoverage['/touch/tap.js'].lineData[94]++; + var eventObject = new DomEventObject(e.originalEvent); + _$jscoverage['/touch/tap.js'].lineData[96]++; S.mix(eventObject, { - pageX: touch.pageX, - pageY: touch.pageY, - originalEvent: e.originalEvent, + type: TAP_EVENT, which: 1, - touch: touch}); - _$jscoverage['/touch/tap.js'].lineData[54]++; - DomEvent.fire(target, event, eventObject); - _$jscoverage['/touch/tap.js'].lineData[55]++; - if (visit110_55_1(eventObject.isDefaultPrevented())) { - _$jscoverage['/touch/tap.js'].lineData[56]++; - DomEvent.on(target, 'click', { + pageX: lastXY.pageX, + pageY: lastXY.pageY, + target: target, + currentTarget: target}); + _$jscoverage['/touch/tap.js'].lineData[105]++; + eventObject.touch = touch; + _$jscoverage['/touch/tap.js'].lineData[106]++; + DomEvent.fire(target, TAP_EVENT, eventObject); + _$jscoverage['/touch/tap.js'].lineData[109]++; + if (visit115_109_1(eventObject.isDefaultPrevented() && S.UA.mobile)) { + _$jscoverage['/touch/tap.js'].lineData[110]++; + if (visit116_110_1(S.UA.ios)) { + _$jscoverage['/touch/tap.js'].lineData[111]++; + e.preventDefault(); + } else { + _$jscoverage['/touch/tap.js'].lineData[113]++; + DomEvent.on(visit117_113_1(target.ownerDocument || target), 'click', { fn: preventDefault, once: 1}); + } + } + _$jscoverage['/touch/tap.js'].lineData[121]++; + var lastEndTime = self.lastEndTime, time = e.timeStamp, duration; + _$jscoverage['/touch/tap.js'].lineData[124]++; + self.lastEndTime = time; + _$jscoverage['/touch/tap.js'].lineData[126]++; + if (visit118_126_1(lastEndTime)) { + _$jscoverage['/touch/tap.js'].lineData[128]++; + duration = time - lastEndTime; + _$jscoverage['/touch/tap.js'].lineData[130]++; + if (visit119_130_1(duration < SINGLE_TAP_DELAY)) { + _$jscoverage['/touch/tap.js'].lineData[132]++; + self.lastEndTime = 0; + _$jscoverage['/touch/tap.js'].lineData[133]++; + DomEvent.fire(target, DOUBLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000}); + _$jscoverage['/touch/tap.js'].lineData[140]++; + return; + } + } + _$jscoverage['/touch/tap.js'].lineData[147]++; + duration = time - self.startTime; + _$jscoverage['/touch/tap.js'].lineData[148]++; + if (visit120_148_1(duration > SINGLE_TAP_DELAY)) { + _$jscoverage['/touch/tap.js'].lineData[149]++; + DomEvent.fire(target, SINGLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000}); + } else { + _$jscoverage['/touch/tap.js'].lineData[159]++; + self.singleTapTimer = setTimeout(function() { + _$jscoverage['/touch/tap.js'].functionData[7]++; + _$jscoverage['/touch/tap.js'].lineData[160]++; + DomEvent.fire(target, SINGLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000}); +}, SINGLE_TAP_DELAY); } }}); - _$jscoverage['/touch/tap.js'].lineData[64]++; - eventHandleMap[event] = { + _$jscoverage['/touch/tap.js'].lineData[172]++; + eventHandleMap[TAP_EVENT] = eventHandleMap[DOUBLE_TAP_EVENT] = eventHandleMap[SINGLE_TAP_EVENT] = eventHandleMap[TAP_HOLD_EVENT] = { handle: new Tap()}; - _$jscoverage['/touch/tap.js'].lineData[68]++; + _$jscoverage['/touch/tap.js'].lineData[176]++; return Tap; }); diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch.js index 6c0cc5b9ef..950592446d 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch.js @@ -13,6 +13,7 @@ KISSY.add(function (S, require) { var moveEvent = Gesture.move = 'KSPointerMove'; var endEvent = Gesture.end = 'KSPointerUp'; Gesture.tap = 'tap'; + Gesture.singleTap = 'singleTap'; Gesture.doubleTap = 'doubleTap'; eventHandleMap[startEvent] = { @@ -26,7 +27,6 @@ KISSY.add(function (S, require) { }; eventHandleMap[moveEvent] = { - handle: { // always fire isActive: 1, diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/double-tap.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/double-tap.js deleted file mode 100644 index 60950a7659..0000000000 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/double-tap.js +++ /dev/null @@ -1,94 +0,0 @@ -/** - * @ignore - * gesture single tap double tap - * @author yiminghe@gmail.com - */ -KISSY.add(function (S, require) { - var eventHandleMap = require('./handle-map'); - var DomEvent = require('event/dom/base'); - var SingleTouch = require('./single-touch'); - - var SINGLE_TAP = 'singleTap', - DOUBLE_TAP = 'doubleTap', - // same with native click delay - MAX_DURATION = 300; - - function DoubleTap() { - } - - S.extend(DoubleTap, SingleTouch, { - onTouchStart: function (e) { - var self = this; - if (DoubleTap.superclass.onTouchStart.apply(self, arguments) === false) { - return false; - } - self.startTime = e.timeStamp; - if (self.singleTapTimer) { - clearTimeout(self.singleTapTimer); - self.singleTapTimer = 0; - } - }, - - onTouchMove: function () { - return false; - }, - - onTouchEnd: function (e) { - var self = this, - lastEndTime = self.lastEndTime, - time = e.timeStamp, - target = e.target, - touch = e.changedTouches[0], - duration = time - self.startTime; - self.lastEndTime = time; - // second touch end - if (lastEndTime) { - // time between current up and last up - duration = time - lastEndTime; - // a double tap - if (duration < MAX_DURATION) { - // a new double tap cycle - self.lastEndTime = 0; - - DomEvent.fire(target, DOUBLE_TAP, { - touch: touch, - duration: duration / 1000 - }); - return; - } - // else treat as the first tap cycle - } - - // time between down and up is long enough - // then a singleTap - duration = time - self.startTime; - if (duration > MAX_DURATION) { - DomEvent.fire(target, SINGLE_TAP, { - touch: touch, - pageX: touch.pageX, - which: 1, - pageY: touch.pageY, - duration: duration / 1000 - }); - } else { - // buffer singleTap - // wait for a second tap - self.singleTapTimer = setTimeout(function () { - DomEvent.fire(target, SINGLE_TAP, { - touch: touch, - pageX: touch.pageX, - which: 1, - pageY: touch.pageY, - duration: duration / 1000 - }); - }, MAX_DURATION); - } - } - }); - - eventHandleMap[SINGLE_TAP] = eventHandleMap[DOUBLE_TAP] = { - handle: new DoubleTap() - }; - - return DoubleTap; -}); \ No newline at end of file diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js index 3a492f005e..6f89b607cb 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/handle.js @@ -9,9 +9,7 @@ KISSY.add(function (S, require) { var DomEvent = require('event/dom/base'); require('./tap'); require('./swipe'); - require('./double-tap'); require('./pinch'); - require('./tap-hold'); require('./rotate'); var key = S.guid('touch-handle'), @@ -87,6 +85,7 @@ KISSY.add(function (S, require) { var self = this, doc = self.doc; DomEvent.on(doc, gestureStartEvent, self.onTouchStart, self); + // pointermove will be fired regardless of pointerdown if (!isPointerEvent(gestureMoveEvent)) { DomEvent.on(doc, gestureMoveEvent, self.onTouchMove, self); } @@ -180,20 +179,30 @@ KISSY.add(function (S, require) { normalize: function (e) { var type = e.type, notUp, + touchEvent, touchList; - if (isTouchEvent(type)) { + if ((touchEvent = isTouchEvent(type))) { touchList = (type === 'touchend' || type === 'touchcancel') ? e.changedTouches : e.touches; - if (touchList.length === 1) { - e.which = 1; - e.pageX = touchList[0].pageX; - e.pageY = touchList[0].pageY; - } - return e; + e.isTouch = 1; } else { + if (isPointerEvent(type)) { + var pointerType = e.originalEvent.pointerType; + if (pointerType === 'touch') { + e.isTouch = 1; + } + } touchList = this.touches; } + if (touchList && touchList.length === 1) { + e.which = 1; + e.pageX = touchList[0].pageX; + e.pageY = touchList[0].pageY; + } + if (touchEvent) { + return e; + } notUp = !type.match(/(up|cancel)$/i); e.touches = notUp ? touchList : []; e.targetTouches = notUp ? touchList : []; diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/pinch.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/pinch.js index 53a7882cd3..166e4be571 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/pinch.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/pinch.js @@ -74,22 +74,22 @@ KISSY.add(function (S, require) { }; function prevent(e) { - if (e.touches.length === 2) { + if (e.targetTouches.length === 2) { e.preventDefault(); } } - eventHandleMap[PINCH] = { - handle: p, - setup: function () { - // need on this - // if on document, will affect other elements! - DomEvent.on(this, 'touchmove', prevent); - }, - tearDown: function () { - DomEvent.detach(this, 'touchmove', prevent); - } + var config = eventHandleMap[PINCH] = { + handle: p }; + if (S.Features.isTouchEventSupported()) { + config.setup = function () { + this.addEventListener('touchmove', prevent, false); + }; + config.tearDown = function () { + this.removeEventListener('touchmove', prevent, false); + }; + } return Pinch; }); \ No newline at end of file diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/rotate.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/rotate.js index cb5e54dc4b..3c7e27deae 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/rotate.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/rotate.js @@ -88,7 +88,7 @@ KISSY.add(function (S, require) { function prevent(e) { // android can not throttle // need preventDefault always - if (e.touches.length === 2) { + if (e.targetTouches.length === 2) { e.preventDefault(); } } @@ -100,15 +100,17 @@ KISSY.add(function (S, require) { handle: r }; - eventHandleMap[ROTATE] = { - handle: r, - setup: function () { - DomEvent.on(this, 'touchmove', prevent); - }, - tearDown: function () { - DomEvent.detach(this, 'touchmove', prevent); - } + var config = eventHandleMap[ROTATE] = { + handle: r }; + if (S.Features.isTouchEventSupported()) { + config.setup = function () { + this.addEventListener('touchmove', prevent, false); + }; + config.tearDown = function () { + this.removeEventListener('touchmove', prevent, false); + }; + } return Rotate; }); \ No newline at end of file diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/swipe.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/swipe.js index 6df2af0cc0..3b56943d4f 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/swipe.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/swipe.js @@ -108,7 +108,6 @@ KISSY.add(function (S, require) { } S.extend(Swipe, SingleTouch, { - onTouchStart: function (e) { var self = this; if (Swipe.superclass.onTouchStart.apply(self, arguments) === false) { @@ -123,7 +122,7 @@ KISSY.add(function (S, require) { self.startX = touch.pageX; this.startY = touch.pageY; - if (e.type.indexOf('mouse') !== -1) { + if (e.type.toLowerCase().indexOf('mouse') !== -1) { e.preventDefault(); } return undefined; diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap-hold.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap-hold.js deleted file mode 100644 index bd17b103f4..0000000000 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap-hold.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @ignore - * fired when tap and hold for more than 1s - * @author yiminghe@gmail.com - */ -KISSY.add(function (S, require) { - var eventHandleMap = require('./handle-map'); - var DomEvent = require('event/dom/base'); - var SingleTouch = require('./single-touch'); - - var event = 'tapHold'; - var duration = 1000; - - function TapHold() { - } - - S.extend(TapHold, SingleTouch, { - onTouchStart: function (e) { - var self = this; - if (TapHold.superclass.onTouchStart.call(self, e) === false) { - return false; - } - self.timer = setTimeout(function () { - var touch = e.touches[0]; - DomEvent.fire(e.target, event, { - touch: touch, - pageX: touch.pageX, - pageY: touch.pageY, - which: 1, - duration: (S.now() - e.timeStamp) / 1000 - }); - }, duration); - return undefined; - }, - - onTouchMove: function () { - clearTimeout(this.timer); - return false; - }, - - onTouchEnd: function () { - clearTimeout(this.timer); - } - }); - - // http://stackoverflow.com/questions/5995210/disabling-user-selection-in-uiwebview - // up to user to disable default action - eventHandleMap[event] = { - handle: new TapHold() - }; - - return TapHold; -}); \ No newline at end of file diff --git a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js b/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js index ee473e04aa..294da303b0 100644 --- a/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js +++ b/src/event/sub-modules/dom/sub-modules/touch/src/touch/tap.js @@ -8,60 +8,168 @@ KISSY.add(function (S, require) { var DomEvent = require('event/dom/base'); var SingleTouch = require('./single-touch'); + var SINGLE_TAP_EVENT = 'singleTap', + DOUBLE_TAP_EVENT = 'doubleTap', + TAP_HOLD_EVENT = 'tapHold', + TAP_EVENT = 'tap', + TAP_HOLD_DELAY = 1000, + // same with native click delay + SINGLE_TAP_DELAY = 300, + TOUCH_MOVE_SENSITIVITY = 5, + DomEventObject = DomEvent.Object; + function preventDefault(e) { e.preventDefault(); } - var sensitivity = 5; - var event = 'tap'; - var DomEventObject = DomEvent.Object; - function Tap() { Tap.superclass.constructor.apply(this, arguments); } S.extend(Tap, SingleTouch, { + onTouchStart: function (e) { + var self = this; + if (Tap.superclass.onTouchStart.call(self, e) === false) { + return false; + } + + // tapHold + if (self.tapHoldTimer) { + clearTimeout(self.tapHoldTimer); + } + self.tapHoldTimer = setTimeout(function () { + var eventObj = S.mix({ + touch: e.touches[0], + which: 1, + TAP_HOLD_DELAY: (S.now() - e.timeStamp) / 1000 + }, self.lastXY); + self.tapHoldTimer = 0; + self.lastXY = 0; + DomEvent.fire(e.target, TAP_HOLD_EVENT, eventObj); + }, TAP_HOLD_DELAY); + + // doubleTap and singleTap + self.startTime = e.timeStamp; + if (self.singleTapTimer) { + clearTimeout(self.singleTapTimer); + self.singleTapTimer = 0; + } + + return undefined; + }, onTouchMove: function (e) { - var firstTouchXY = this.lastXY; + var self = this, + lastXY; + if (!(lastXY = self.lastXY)) { + return false; + } var currentTouch = e.changedTouches[0]; - // some sensitivity + // some TOUCH_MOVE_SENSITIVITY // android browser will trigger touchmove event finger is not moved ... // ie10 will has no touch when mouse if (!currentTouch || - Math.abs(currentTouch.pageX - firstTouchXY.pageX) > sensitivity || - Math.abs(currentTouch.pageY - firstTouchXY.pageY) > sensitivity) { + Math.abs(currentTouch.pageX - lastXY.pageX) > TOUCH_MOVE_SENSITIVITY || + Math.abs(currentTouch.pageY - lastXY.pageY) > TOUCH_MOVE_SENSITIVITY) { return false; } return undefined; }, onTouchEnd: function (e) { - var touch = e.changedTouches[0]; + var self = this, lastXY; + // tapHold fired + if (!(lastXY = self.lastXY)) { + return; + } var target = e.target; - var eventObject = new DomEventObject({ - type: event, - target: target, - currentTarget: target - }); + var touch = e.changedTouches[0]; + + // cancel tapHold + if (self.tapHoldTimer) { + clearTimeout(self.tapHoldTimer); + self.tapHoldTimer = 0; + } + + // fire tap + var eventObject = new DomEventObject(e.originalEvent); + S.mix(eventObject, { - pageX: touch.pageX, - pageY: touch.pageY, - // call e.preventDefault on tap event to prevent tap penetration - originalEvent: e.originalEvent, + type: TAP_EVENT, which: 1, - touch: touch + pageX: lastXY.pageX, + pageY: lastXY.pageY, + target: target, + currentTarget: target }); - DomEvent.fire(target, event, eventObject); - if (eventObject.isDefaultPrevented()) { - DomEvent.on(target, 'click', { - fn: preventDefault, - once: 1 + + eventObject.touch = touch; + DomEvent.fire(target, TAP_EVENT, eventObject); + + // call e.preventDefault on tap event to prevent tap penetration in real touch device + if (eventObject.isDefaultPrevented() && S.UA.mobile) { + if (S.UA.ios) { + e.preventDefault(); + } else { + DomEvent.on(target.ownerDocument || target, 'click', { + fn: preventDefault, + once: 1 + }); + } + } + + // fire singleTap or doubleTap + var lastEndTime = self.lastEndTime, + time = e.timeStamp, + duration; + self.lastEndTime = time; + // second touch end + if (lastEndTime) { + // time between current up and last up + duration = time - lastEndTime; + // a double tap + if (duration < SINGLE_TAP_DELAY) { + // a new double tap cycle + self.lastEndTime = 0; + DomEvent.fire(target, DOUBLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000 + }); + return; + } + // else treat as the first tap cycle + } + + // time between down and up is long enough + // then a singleTap + duration = time - self.startTime; + if (duration > SINGLE_TAP_DELAY) { + DomEvent.fire(target, SINGLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000 }); + } else { + // buffer singleTap + // wait for a second tap + self.singleTapTimer = setTimeout(function () { + DomEvent.fire(target, SINGLE_TAP_EVENT, { + touch: touch, + pageX: lastXY.pageX, + pageY: lastXY.pageY, + which: 1, + duration: duration / 1000 + }); + }, SINGLE_TAP_DELAY); } } }); - eventHandleMap[event] = { + eventHandleMap[TAP_EVENT] = eventHandleMap[DOUBLE_TAP_EVENT] = eventHandleMap[SINGLE_TAP_EVENT] = eventHandleMap[TAP_HOLD_EVENT] = { handle: new Tap() }; @@ -69,6 +177,10 @@ KISSY.add(function (S, require) { }); /** * @ignore + * yiminghe@gmail.com 2013-12-20 + * + * - tap 和 tapHold 互斥触发 + * * * yiminghe@gmail.com 2012-10-31 * diff --git a/src/scroll-view/sub-modules/base/coverage/src/base.js b/src/scroll-view/sub-modules/base/coverage/src/base.js index acab367eb0..32c0f2b50f 100644 --- a/src/scroll-view/sub-modules/base/coverage/src/base.js +++ b/src/scroll-view/sub-modules/base/coverage/src/base.js @@ -234,30 +234,32 @@ if (! _$jscoverage['/base.js']) { _$jscoverage['/base.js'].lineData[8] = 0; _$jscoverage['/base.js'].lineData[9] = 0; _$jscoverage['/base.js'].lineData[10] = 0; - _$jscoverage['/base.js'].lineData[13] = 0; - _$jscoverage['/base.js'].lineData[17] = 0; - _$jscoverage['/base.js'].lineData[18] = 0; - _$jscoverage['/base.js'].lineData[22] = 0; + _$jscoverage['/base.js'].lineData[12] = 0; + _$jscoverage['/base.js'].lineData[15] = 0; + _$jscoverage['/base.js'].lineData[16] = 0; + _$jscoverage['/base.js'].lineData[20] = 0; + _$jscoverage['/base.js'].lineData[21] = 0; _$jscoverage['/base.js'].lineData[23] = 0; - _$jscoverage['/base.js'].lineData[25] = 0; + _$jscoverage['/base.js'].lineData[24] = 0; _$jscoverage['/base.js'].lineData[26] = 0; - _$jscoverage['/base.js'].lineData[28] = 0; - _$jscoverage['/base.js'].lineData[31] = 0; - _$jscoverage['/base.js'].lineData[32] = 0; + _$jscoverage['/base.js'].lineData[29] = 0; + _$jscoverage['/base.js'].lineData[30] = 0; + _$jscoverage['/base.js'].lineData[39] = 0; _$jscoverage['/base.js'].lineData[41] = 0; - _$jscoverage['/base.js'].lineData[43] = 0; - _$jscoverage['/base.js'].lineData[47] = 0; - _$jscoverage['/base.js'].lineData[52] = 0; - _$jscoverage['/base.js'].lineData[57] = 0; - _$jscoverage['/base.js'].lineData[61] = 0; + _$jscoverage['/base.js'].lineData[45] = 0; + _$jscoverage['/base.js'].lineData[50] = 0; + _$jscoverage['/base.js'].lineData[55] = 0; + _$jscoverage['/base.js'].lineData[59] = 0; + _$jscoverage['/base.js'].lineData[63] = 0; _$jscoverage['/base.js'].lineData[65] = 0; - _$jscoverage['/base.js'].lineData[67] = 0; + _$jscoverage['/base.js'].lineData[69] = 0; + _$jscoverage['/base.js'].lineData[70] = 0; _$jscoverage['/base.js'].lineData[71] = 0; _$jscoverage['/base.js'].lineData[72] = 0; - _$jscoverage['/base.js'].lineData[73] = 0; - _$jscoverage['/base.js'].lineData[74] = 0; - _$jscoverage['/base.js'].lineData[77] = 0; - _$jscoverage['/base.js'].lineData[78] = 0; + _$jscoverage['/base.js'].lineData[75] = 0; + _$jscoverage['/base.js'].lineData[76] = 0; + _$jscoverage['/base.js'].lineData[79] = 0; + _$jscoverage['/base.js'].lineData[80] = 0; _$jscoverage['/base.js'].lineData[81] = 0; _$jscoverage['/base.js'].lineData[82] = 0; _$jscoverage['/base.js'].lineData[83] = 0; @@ -266,8 +268,8 @@ if (! _$jscoverage['/base.js']) { _$jscoverage['/base.js'].lineData[86] = 0; _$jscoverage['/base.js'].lineData[87] = 0; _$jscoverage['/base.js'].lineData[88] = 0; - _$jscoverage['/base.js'].lineData[89] = 0; - _$jscoverage['/base.js'].lineData[90] = 0; + _$jscoverage['/base.js'].lineData[91] = 0; + _$jscoverage['/base.js'].lineData[92] = 0; _$jscoverage['/base.js'].lineData[93] = 0; _$jscoverage['/base.js'].lineData[94] = 0; _$jscoverage['/base.js'].lineData[95] = 0; @@ -275,89 +277,87 @@ if (! _$jscoverage['/base.js']) { _$jscoverage['/base.js'].lineData[97] = 0; _$jscoverage['/base.js'].lineData[98] = 0; _$jscoverage['/base.js'].lineData[99] = 0; - _$jscoverage['/base.js'].lineData[100] = 0; - _$jscoverage['/base.js'].lineData[101] = 0; - _$jscoverage['/base.js'].lineData[104] = 0; + _$jscoverage['/base.js'].lineData[102] = 0; + _$jscoverage['/base.js'].lineData[106] = 0; + _$jscoverage['/base.js'].lineData[107] = 0; _$jscoverage['/base.js'].lineData[108] = 0; - _$jscoverage['/base.js'].lineData[109] = 0; _$jscoverage['/base.js'].lineData[110] = 0; + _$jscoverage['/base.js'].lineData[111] = 0; _$jscoverage['/base.js'].lineData[112] = 0; _$jscoverage['/base.js'].lineData[113] = 0; - _$jscoverage['/base.js'].lineData[114] = 0; - _$jscoverage['/base.js'].lineData[115] = 0; - _$jscoverage['/base.js'].lineData[119] = 0; - _$jscoverage['/base.js'].lineData[123] = 0; + _$jscoverage['/base.js'].lineData[117] = 0; + _$jscoverage['/base.js'].lineData[121] = 0; + _$jscoverage['/base.js'].lineData[122] = 0; _$jscoverage['/base.js'].lineData[124] = 0; - _$jscoverage['/base.js'].lineData[126] = 0; + _$jscoverage['/base.js'].lineData[133] = 0; + _$jscoverage['/base.js'].lineData[134] = 0; _$jscoverage['/base.js'].lineData[135] = 0; _$jscoverage['/base.js'].lineData[136] = 0; _$jscoverage['/base.js'].lineData[137] = 0; _$jscoverage['/base.js'].lineData[138] = 0; _$jscoverage['/base.js'].lineData[139] = 0; - _$jscoverage['/base.js'].lineData[140] = 0; - _$jscoverage['/base.js'].lineData[141] = 0; + _$jscoverage['/base.js'].lineData[143] = 0; + _$jscoverage['/base.js'].lineData[144] = 0; _$jscoverage['/base.js'].lineData[145] = 0; _$jscoverage['/base.js'].lineData[146] = 0; _$jscoverage['/base.js'].lineData[147] = 0; _$jscoverage['/base.js'].lineData[148] = 0; _$jscoverage['/base.js'].lineData[149] = 0; - _$jscoverage['/base.js'].lineData[150] = 0; - _$jscoverage['/base.js'].lineData[151] = 0; - _$jscoverage['/base.js'].lineData[157] = 0; + _$jscoverage['/base.js'].lineData[155] = 0; + _$jscoverage['/base.js'].lineData[159] = 0; + _$jscoverage['/base.js'].lineData[160] = 0; _$jscoverage['/base.js'].lineData[161] = 0; _$jscoverage['/base.js'].lineData[162] = 0; - _$jscoverage['/base.js'].lineData[163] = 0; _$jscoverage['/base.js'].lineData[164] = 0; _$jscoverage['/base.js'].lineData[166] = 0; - _$jscoverage['/base.js'].lineData[168] = 0; - _$jscoverage['/base.js'].lineData[175] = 0; + _$jscoverage['/base.js'].lineData[173] = 0; + _$jscoverage['/base.js'].lineData[177] = 0; + _$jscoverage['/base.js'].lineData[178] = 0; _$jscoverage['/base.js'].lineData[179] = 0; _$jscoverage['/base.js'].lineData[180] = 0; _$jscoverage['/base.js'].lineData[181] = 0; - _$jscoverage['/base.js'].lineData[182] = 0; _$jscoverage['/base.js'].lineData[183] = 0; + _$jscoverage['/base.js'].lineData[184] = 0; _$jscoverage['/base.js'].lineData[185] = 0; _$jscoverage['/base.js'].lineData[186] = 0; _$jscoverage['/base.js'].lineData[187] = 0; - _$jscoverage['/base.js'].lineData[188] = 0; - _$jscoverage['/base.js'].lineData[189] = 0; + _$jscoverage['/base.js'].lineData[191] = 0; + _$jscoverage['/base.js'].lineData[192] = 0; _$jscoverage['/base.js'].lineData[193] = 0; _$jscoverage['/base.js'].lineData[194] = 0; - _$jscoverage['/base.js'].lineData[195] = 0; - _$jscoverage['/base.js'].lineData[196] = 0; - _$jscoverage['/base.js'].lineData[200] = 0; + _$jscoverage['/base.js'].lineData[198] = 0; + _$jscoverage['/base.js'].lineData[202] = 0; _$jscoverage['/base.js'].lineData[204] = 0; + _$jscoverage['/base.js'].lineData[205] = 0; _$jscoverage['/base.js'].lineData[206] = 0; - _$jscoverage['/base.js'].lineData[207] = 0; - _$jscoverage['/base.js'].lineData[208] = 0; + _$jscoverage['/base.js'].lineData[211] = 0; + _$jscoverage['/base.js'].lineData[212] = 0; _$jscoverage['/base.js'].lineData[213] = 0; _$jscoverage['/base.js'].lineData[214] = 0; _$jscoverage['/base.js'].lineData[215] = 0; - _$jscoverage['/base.js'].lineData[216] = 0; _$jscoverage['/base.js'].lineData[217] = 0; - _$jscoverage['/base.js'].lineData[219] = 0; + _$jscoverage['/base.js'].lineData[218] = 0; _$jscoverage['/base.js'].lineData[220] = 0; - _$jscoverage['/base.js'].lineData[222] = 0; - _$jscoverage['/base.js'].lineData[226] = 0; - _$jscoverage['/base.js'].lineData[229] = 0; + _$jscoverage['/base.js'].lineData[224] = 0; + _$jscoverage['/base.js'].lineData[227] = 0; + _$jscoverage['/base.js'].lineData[228] = 0; _$jscoverage['/base.js'].lineData[230] = 0; + _$jscoverage['/base.js'].lineData[231] = 0; _$jscoverage['/base.js'].lineData[232] = 0; - _$jscoverage['/base.js'].lineData[233] = 0; _$jscoverage['/base.js'].lineData[234] = 0; + _$jscoverage['/base.js'].lineData[235] = 0; _$jscoverage['/base.js'].lineData[236] = 0; - _$jscoverage['/base.js'].lineData[237] = 0; _$jscoverage['/base.js'].lineData[238] = 0; + _$jscoverage['/base.js'].lineData[239] = 0; _$jscoverage['/base.js'].lineData[240] = 0; _$jscoverage['/base.js'].lineData[241] = 0; _$jscoverage['/base.js'].lineData[242] = 0; _$jscoverage['/base.js'].lineData[243] = 0; _$jscoverage['/base.js'].lineData[244] = 0; - _$jscoverage['/base.js'].lineData[245] = 0; _$jscoverage['/base.js'].lineData[246] = 0; - _$jscoverage['/base.js'].lineData[248] = 0; + _$jscoverage['/base.js'].lineData[247] = 0; _$jscoverage['/base.js'].lineData[249] = 0; - _$jscoverage['/base.js'].lineData[251] = 0; - _$jscoverage['/base.js'].lineData[252] = 0; + _$jscoverage['/base.js'].lineData[250] = 0; } if (! _$jscoverage['/base.js'].functionData) { _$jscoverage['/base.js'].functionData = []; @@ -381,295 +381,295 @@ if (! _$jscoverage['/base.js'].functionData) { } if (! _$jscoverage['/base.js'].branchData) { _$jscoverage['/base.js'].branchData = {}; - _$jscoverage['/base.js'].branchData['22'] = []; - _$jscoverage['/base.js'].branchData['22'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['25'] = []; - _$jscoverage['/base.js'].branchData['25'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['20'] = []; + _$jscoverage['/base.js'].branchData['20'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['23'] = []; + _$jscoverage['/base.js'].branchData['23'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['59'] = []; + _$jscoverage['/base.js'].branchData['59'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['59'][2] = new BranchData(); + _$jscoverage['/base.js'].branchData['60'] = []; + _$jscoverage['/base.js'].branchData['60'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['60'][2] = new BranchData(); _$jscoverage['/base.js'].branchData['61'] = []; _$jscoverage['/base.js'].branchData['61'][1] = new BranchData(); _$jscoverage['/base.js'].branchData['61'][2] = new BranchData(); - _$jscoverage['/base.js'].branchData['62'] = []; - _$jscoverage['/base.js'].branchData['62'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['62'][2] = new BranchData(); - _$jscoverage['/base.js'].branchData['63'] = []; - _$jscoverage['/base.js'].branchData['63'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['63'][2] = new BranchData(); - _$jscoverage['/base.js'].branchData['73'] = []; - _$jscoverage['/base.js'].branchData['73'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['77'] = []; - _$jscoverage['/base.js'].branchData['77'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['82'] = []; - _$jscoverage['/base.js'].branchData['82'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['85'] = []; - _$jscoverage['/base.js'].branchData['85'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['88'] = []; - _$jscoverage['/base.js'].branchData['88'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['93'] = []; - _$jscoverage['/base.js'].branchData['93'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['96'] = []; - _$jscoverage['/base.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['99'] = []; - _$jscoverage['/base.js'].branchData['99'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['109'] = []; - _$jscoverage['/base.js'].branchData['109'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['123'] = []; - _$jscoverage['/base.js'].branchData['123'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['135'] = []; - _$jscoverage['/base.js'].branchData['135'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'] = []; - _$jscoverage['/base.js'].branchData['139'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][2] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][3] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][4] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][5] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][6] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][7] = new BranchData(); - _$jscoverage['/base.js'].branchData['139'][8] = new BranchData(); - _$jscoverage['/base.js'].branchData['145'] = []; - _$jscoverage['/base.js'].branchData['145'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'] = []; - _$jscoverage['/base.js'].branchData['149'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][2] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][3] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][4] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][5] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][6] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][7] = new BranchData(); - _$jscoverage['/base.js'].branchData['149'][8] = new BranchData(); - _$jscoverage['/base.js'].branchData['157'] = []; - _$jscoverage['/base.js'].branchData['157'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['162'] = []; - _$jscoverage['/base.js'].branchData['162'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['185'] = []; - _$jscoverage['/base.js'].branchData['185'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['71'] = []; + _$jscoverage['/base.js'].branchData['71'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['75'] = []; + _$jscoverage['/base.js'].branchData['75'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['80'] = []; + _$jscoverage['/base.js'].branchData['80'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['83'] = []; + _$jscoverage['/base.js'].branchData['83'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['86'] = []; + _$jscoverage['/base.js'].branchData['86'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['91'] = []; + _$jscoverage['/base.js'].branchData['91'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['94'] = []; + _$jscoverage['/base.js'].branchData['94'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['97'] = []; + _$jscoverage['/base.js'].branchData['97'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['107'] = []; + _$jscoverage['/base.js'].branchData['107'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['121'] = []; + _$jscoverage['/base.js'].branchData['121'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['133'] = []; + _$jscoverage['/base.js'].branchData['133'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'] = []; + _$jscoverage['/base.js'].branchData['137'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][2] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][3] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][4] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][5] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][6] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][7] = new BranchData(); + _$jscoverage['/base.js'].branchData['137'][8] = new BranchData(); + _$jscoverage['/base.js'].branchData['143'] = []; + _$jscoverage['/base.js'].branchData['143'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'] = []; + _$jscoverage['/base.js'].branchData['147'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][2] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][3] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][4] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][5] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][6] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][7] = new BranchData(); + _$jscoverage['/base.js'].branchData['147'][8] = new BranchData(); + _$jscoverage['/base.js'].branchData['155'] = []; + _$jscoverage['/base.js'].branchData['155'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['160'] = []; + _$jscoverage['/base.js'].branchData['160'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['183'] = []; + _$jscoverage['/base.js'].branchData['183'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['184'] = []; + _$jscoverage['/base.js'].branchData['184'][1] = new BranchData(); _$jscoverage['/base.js'].branchData['186'] = []; _$jscoverage['/base.js'].branchData['186'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['188'] = []; - _$jscoverage['/base.js'].branchData['188'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['191'] = []; + _$jscoverage['/base.js'].branchData['191'][1] = new BranchData(); _$jscoverage['/base.js'].branchData['193'] = []; _$jscoverage['/base.js'].branchData['193'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['195'] = []; - _$jscoverage['/base.js'].branchData['195'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['206'] = []; - _$jscoverage['/base.js'].branchData['206'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['216'] = []; - _$jscoverage['/base.js'].branchData['216'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['219'] = []; - _$jscoverage['/base.js'].branchData['219'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['229'] = []; - _$jscoverage['/base.js'].branchData['229'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['232'] = []; - _$jscoverage['/base.js'].branchData['232'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['236'] = []; - _$jscoverage['/base.js'].branchData['236'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['248'] = []; - _$jscoverage['/base.js'].branchData['248'][1] = new BranchData(); - _$jscoverage['/base.js'].branchData['251'] = []; - _$jscoverage['/base.js'].branchData['251'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['204'] = []; + _$jscoverage['/base.js'].branchData['204'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['214'] = []; + _$jscoverage['/base.js'].branchData['214'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['217'] = []; + _$jscoverage['/base.js'].branchData['217'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['227'] = []; + _$jscoverage['/base.js'].branchData['227'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['230'] = []; + _$jscoverage['/base.js'].branchData['230'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['234'] = []; + _$jscoverage['/base.js'].branchData['234'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['246'] = []; + _$jscoverage['/base.js'].branchData['246'][1] = new BranchData(); + _$jscoverage['/base.js'].branchData['249'] = []; + _$jscoverage['/base.js'].branchData['249'][1] = new BranchData(); } -_$jscoverage['/base.js'].branchData['251'][1].init(131, 17, 'top !== undefined'); -function visit60_251_1(result) { - _$jscoverage['/base.js'].branchData['251'][1].ranCondition(result); +_$jscoverage['/base.js'].branchData['249'][1].init(131, 17, 'top !== undefined'); +function visit61_249_1(result) { + _$jscoverage['/base.js'].branchData['249'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['248'][1].init(21, 18, 'left !== undefined'); -function visit59_248_1(result) { - _$jscoverage['/base.js'].branchData['248'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['246'][1].init(21, 18, 'left !== undefined'); +function visit60_246_1(result) { + _$jscoverage['/base.js'].branchData['246'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['236'][1].init(245, 17, 'top !== undefined'); -function visit58_236_1(result) { - _$jscoverage['/base.js'].branchData['236'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['234'][1].init(245, 17, 'top !== undefined'); +function visit59_234_1(result) { + _$jscoverage['/base.js'].branchData['234'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['232'][1].init(81, 18, 'left !== undefined'); -function visit57_232_1(result) { - _$jscoverage['/base.js'].branchData['232'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['230'][1].init(81, 18, 'left !== undefined'); +function visit58_230_1(result) { + _$jscoverage['/base.js'].branchData['230'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['229'][1].init(110, 7, 'animCfg'); -function visit56_229_1(result) { - _$jscoverage['/base.js'].branchData['229'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['227'][1].init(110, 7, 'animCfg'); +function visit57_227_1(result) { + _$jscoverage['/base.js'].branchData['227'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['219'][1].init(265, 7, 'cfg.top'); -function visit55_219_1(result) { - _$jscoverage['/base.js'].branchData['219'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['217'][1].init(265, 7, 'cfg.top'); +function visit56_217_1(result) { + _$jscoverage['/base.js'].branchData['217'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['216'][1].init(134, 8, 'cfg.left'); -function visit54_216_1(result) { - _$jscoverage['/base.js'].branchData['216'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['214'][1].init(134, 8, 'cfg.left'); +function visit55_214_1(result) { + _$jscoverage['/base.js'].branchData['214'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['206'][1].init(75, 51, '(pageOffset = self.pagesOffset) && pageOffset[index]'); -function visit53_206_1(result) { - _$jscoverage['/base.js'].branchData['206'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['204'][1].init(75, 51, '(pageOffset = self.pagesOffset) && pageOffset[index]'); +function visit54_204_1(result) { + _$jscoverage['/base.js'].branchData['204'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['195'][1].init(70, 15, 'offset[p2] <= v'); -function visit52_195_1(result) { - _$jscoverage['/base.js'].branchData['195'][1].ranCondition(result); - return result; -}_$jscoverage['/base.js'].branchData['193'][1].init(50, 6, 'i >= 0'); -function visit51_193_1(result) { +}_$jscoverage['/base.js'].branchData['193'][1].init(70, 15, 'offset[p2] <= v'); +function visit53_193_1(result) { _$jscoverage['/base.js'].branchData['193'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['188'][1].init(70, 15, 'offset[p2] >= v'); -function visit50_188_1(result) { - _$jscoverage['/base.js'].branchData['188'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['191'][1].init(50, 6, 'i >= 0'); +function visit52_191_1(result) { + _$jscoverage['/base.js'].branchData['191'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['186'][1].init(29, 22, 'i < pagesOffset.length'); -function visit49_186_1(result) { +}_$jscoverage['/base.js'].branchData['186'][1].init(70, 15, 'offset[p2] >= v'); +function visit51_186_1(result) { _$jscoverage['/base.js'].branchData['186'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['185'][1].init(254, 13, 'direction > 0'); -function visit48_185_1(result) { - _$jscoverage['/base.js'].branchData['185'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['184'][1].init(29, 22, 'i < pagesOffset.length'); +function visit50_184_1(result) { + _$jscoverage['/base.js'].branchData['184'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['162'][1].init(46, 23, 'self.scrollAnims.length'); -function visit47_162_1(result) { - _$jscoverage['/base.js'].branchData['162'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['183'][1].init(254, 13, 'direction > 0'); +function visit49_183_1(result) { + _$jscoverage['/base.js'].branchData['183'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['157'][1].init(37, 12, 'axis === \'x\''); -function visit46_157_1(result) { - _$jscoverage['/base.js'].branchData['157'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['160'][1].init(46, 23, 'self.scrollAnims.length'); +function visit48_160_1(result) { + _$jscoverage['/base.js'].branchData['160'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][8].init(212, 10, 'deltaX < 0'); -function visit45_149_8(result) { - _$jscoverage['/base.js'].branchData['149'][8].ranCondition(result); +}_$jscoverage['/base.js'].branchData['155'][1].init(37, 12, 'axis === \'x\''); +function visit47_155_1(result) { + _$jscoverage['/base.js'].branchData['155'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][7].init(191, 17, 'scrollLeft >= max'); -function visit44_149_7(result) { - _$jscoverage['/base.js'].branchData['149'][7].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][8].init(212, 10, 'deltaX < 0'); +function visit46_147_8(result) { + _$jscoverage['/base.js'].branchData['147'][8].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][6].init(191, 31, 'scrollLeft >= max && deltaX < 0'); -function visit43_149_6(result) { - _$jscoverage['/base.js'].branchData['149'][6].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][7].init(191, 17, 'scrollLeft >= max'); +function visit45_147_7(result) { + _$jscoverage['/base.js'].branchData['147'][7].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][5].init(177, 10, 'deltaX > 0'); -function visit42_149_5(result) { - _$jscoverage['/base.js'].branchData['149'][5].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][6].init(191, 31, 'scrollLeft >= max && deltaX < 0'); +function visit44_147_6(result) { + _$jscoverage['/base.js'].branchData['147'][6].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][4].init(156, 17, 'scrollLeft <= min'); -function visit41_149_4(result) { - _$jscoverage['/base.js'].branchData['149'][4].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][5].init(177, 10, 'deltaX > 0'); +function visit43_147_5(result) { + _$jscoverage['/base.js'].branchData['147'][5].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][3].init(156, 31, 'scrollLeft <= min && deltaX > 0'); -function visit40_149_3(result) { - _$jscoverage['/base.js'].branchData['149'][3].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][4].init(156, 17, 'scrollLeft <= min'); +function visit42_147_4(result) { + _$jscoverage['/base.js'].branchData['147'][4].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][2].init(156, 66, 'scrollLeft <= min && deltaX > 0 || scrollLeft >= max && deltaX < 0'); -function visit39_149_2(result) { - _$jscoverage['/base.js'].branchData['149'][2].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][3].init(156, 31, 'scrollLeft <= min && deltaX > 0'); +function visit41_147_3(result) { + _$jscoverage['/base.js'].branchData['147'][3].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['149'][1].init(154, 69, '!(scrollLeft <= min && deltaX > 0 || scrollLeft >= max && deltaX < 0)'); -function visit38_149_1(result) { - _$jscoverage['/base.js'].branchData['149'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][2].init(156, 66, 'scrollLeft <= min && deltaX > 0 || scrollLeft >= max && deltaX < 0'); +function visit40_147_2(result) { + _$jscoverage['/base.js'].branchData['147'][2].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['145'][1].init(802, 43, '(deltaX = e.deltaX) && self.allowScroll.left'); -function visit37_145_1(result) { - _$jscoverage['/base.js'].branchData['145'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['147'][1].init(154, 69, '!(scrollLeft <= min && deltaX > 0 || scrollLeft >= max && deltaX < 0)'); +function visit39_147_1(result) { + _$jscoverage['/base.js'].branchData['147'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][8].init(206, 10, 'deltaY < 0'); -function visit36_139_8(result) { - _$jscoverage['/base.js'].branchData['139'][8].ranCondition(result); +}_$jscoverage['/base.js'].branchData['143'][1].init(802, 43, '(deltaX = e.deltaX) && self.allowScroll.left'); +function visit38_143_1(result) { + _$jscoverage['/base.js'].branchData['143'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][7].init(186, 16, 'scrollTop >= max'); -function visit35_139_7(result) { - _$jscoverage['/base.js'].branchData['139'][7].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][8].init(206, 10, 'deltaY < 0'); +function visit37_137_8(result) { + _$jscoverage['/base.js'].branchData['137'][8].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][6].init(186, 30, 'scrollTop >= max && deltaY < 0'); -function visit34_139_6(result) { - _$jscoverage['/base.js'].branchData['139'][6].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][7].init(186, 16, 'scrollTop >= max'); +function visit36_137_7(result) { + _$jscoverage['/base.js'].branchData['137'][7].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][5].init(172, 10, 'deltaY > 0'); -function visit33_139_5(result) { - _$jscoverage['/base.js'].branchData['139'][5].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][6].init(186, 30, 'scrollTop >= max && deltaY < 0'); +function visit35_137_6(result) { + _$jscoverage['/base.js'].branchData['137'][6].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][4].init(152, 16, 'scrollTop <= min'); -function visit32_139_4(result) { - _$jscoverage['/base.js'].branchData['139'][4].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][5].init(172, 10, 'deltaY > 0'); +function visit34_137_5(result) { + _$jscoverage['/base.js'].branchData['137'][5].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][3].init(152, 30, 'scrollTop <= min && deltaY > 0'); -function visit31_139_3(result) { - _$jscoverage['/base.js'].branchData['139'][3].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][4].init(152, 16, 'scrollTop <= min'); +function visit33_137_4(result) { + _$jscoverage['/base.js'].branchData['137'][4].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][2].init(152, 64, 'scrollTop <= min && deltaY > 0 || scrollTop >= max && deltaY < 0'); -function visit30_139_2(result) { - _$jscoverage['/base.js'].branchData['139'][2].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][3].init(152, 30, 'scrollTop <= min && deltaY > 0'); +function visit32_137_3(result) { + _$jscoverage['/base.js'].branchData['137'][3].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['139'][1].init(150, 67, '!(scrollTop <= min && deltaY > 0 || scrollTop >= max && deltaY < 0)'); -function visit29_139_1(result) { - _$jscoverage['/base.js'].branchData['139'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][2].init(152, 64, 'scrollTop <= min && deltaY > 0 || scrollTop >= max && deltaY < 0'); +function visit31_137_2(result) { + _$jscoverage['/base.js'].branchData['137'][2].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['135'][1].init(355, 42, '(deltaY = e.deltaY) && self.allowScroll.top'); -function visit28_135_1(result) { - _$jscoverage['/base.js'].branchData['135'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['137'][1].init(150, 67, '!(scrollTop <= min && deltaY > 0 || scrollTop >= max && deltaY < 0)'); +function visit30_137_1(result) { + _$jscoverage['/base.js'].branchData['137'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['123'][1].init(17, 20, 'this.get(\'disabled\')'); -function visit27_123_1(result) { - _$jscoverage['/base.js'].branchData['123'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['133'][1].init(355, 42, '(deltaY = e.deltaY) && self.allowScroll.top'); +function visit29_133_1(result) { + _$jscoverage['/base.js'].branchData['133'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['109'][1].init(49, 18, 'control.scrollStep'); -function visit26_109_1(result) { - _$jscoverage['/base.js'].branchData['109'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['121'][1].init(17, 20, 'this.get(\'disabled\')'); +function visit28_121_1(result) { + _$jscoverage['/base.js'].branchData['121'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['99'][1].init(296, 24, 'keyCode === KeyCode.LEFT'); -function visit25_99_1(result) { - _$jscoverage['/base.js'].branchData['99'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['107'][1].init(49, 18, 'control.scrollStep'); +function visit27_107_1(result) { + _$jscoverage['/base.js'].branchData['107'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['96'][1].init(129, 25, 'keyCode === KeyCode.RIGHT'); -function visit24_96_1(result) { - _$jscoverage['/base.js'].branchData['96'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['97'][1].init(296, 24, 'keyCode === KeyCode.LEFT'); +function visit26_97_1(result) { + _$jscoverage['/base.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['93'][1].init(1618, 6, 'allowX'); -function visit23_93_1(result) { - _$jscoverage['/base.js'].branchData['93'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['94'][1].init(129, 25, 'keyCode === KeyCode.RIGHT'); +function visit25_94_1(result) { + _$jscoverage['/base.js'].branchData['94'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['88'][1].init(722, 27, 'keyCode === KeyCode.PAGE_UP'); -function visit22_88_1(result) { - _$jscoverage['/base.js'].branchData['88'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['91'][1].init(1618, 6, 'allowX'); +function visit24_91_1(result) { + _$jscoverage['/base.js'].branchData['91'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['85'][1].init(552, 29, 'keyCode === KeyCode.PAGE_DOWN'); -function visit21_85_1(result) { - _$jscoverage['/base.js'].branchData['85'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['86'][1].init(722, 27, 'keyCode === KeyCode.PAGE_UP'); +function visit23_86_1(result) { + _$jscoverage['/base.js'].branchData['86'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['82'][1].init(390, 22, 'keyCode === KeyCode.UP'); -function visit20_82_1(result) { - _$jscoverage['/base.js'].branchData['82'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['83'][1].init(552, 29, 'keyCode === KeyCode.PAGE_DOWN'); +function visit22_83_1(result) { + _$jscoverage['/base.js'].branchData['83'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['77'][1].init(180, 24, 'keyCode === KeyCode.DOWN'); -function visit19_77_1(result) { - _$jscoverage['/base.js'].branchData['77'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['80'][1].init(390, 22, 'keyCode === KeyCode.UP'); +function visit21_80_1(result) { + _$jscoverage['/base.js'].branchData['80'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['73'][1].init(702, 6, 'allowY'); -function visit18_73_1(result) { - _$jscoverage['/base.js'].branchData['73'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['75'][1].init(180, 24, 'keyCode === KeyCode.DOWN'); +function visit20_75_1(result) { + _$jscoverage['/base.js'].branchData['75'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['63'][2].init(330, 21, 'nodeName === \'select\''); -function visit17_63_2(result) { - _$jscoverage['/base.js'].branchData['63'][2].ranCondition(result); +}_$jscoverage['/base.js'].branchData['71'][1].init(702, 6, 'allowY'); +function visit19_71_1(result) { + _$jscoverage['/base.js'].branchData['71'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['63'][1].init(42, 75, 'nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); -function visit16_63_1(result) { - _$jscoverage['/base.js'].branchData['63'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['61'][2].init(330, 21, 'nodeName === \'select\''); +function visit18_61_2(result) { + _$jscoverage['/base.js'].branchData['61'][2].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['62'][2].init(286, 23, 'nodeName === \'textarea\''); -function visit15_62_2(result) { - _$jscoverage['/base.js'].branchData['62'][2].ranCondition(result); +}_$jscoverage['/base.js'].branchData['61'][1].init(42, 75, 'nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); +function visit17_61_1(result) { + _$jscoverage['/base.js'].branchData['61'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['62'][1].init(39, 118, 'nodeName === \'textarea\' || nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); -function visit14_62_1(result) { - _$jscoverage['/base.js'].branchData['62'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['60'][2].init(286, 23, 'nodeName === \'textarea\''); +function visit16_60_2(result) { + _$jscoverage['/base.js'].branchData['60'][2].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['61'][2].init(244, 20, 'nodeName === \'input\''); -function visit13_61_2(result) { - _$jscoverage['/base.js'].branchData['61'][2].ranCondition(result); +}_$jscoverage['/base.js'].branchData['60'][1].init(39, 118, 'nodeName === \'textarea\' || nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); +function visit15_60_1(result) { + _$jscoverage['/base.js'].branchData['60'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['61'][1].init(244, 158, 'nodeName === \'input\' || nodeName === \'textarea\' || nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); -function visit12_61_1(result) { - _$jscoverage['/base.js'].branchData['61'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['59'][2].init(244, 20, 'nodeName === \'input\''); +function visit14_59_2(result) { + _$jscoverage['/base.js'].branchData['59'][2].ranCondition(result); + return result; +}_$jscoverage['/base.js'].branchData['59'][1].init(244, 158, 'nodeName === \'input\' || nodeName === \'textarea\' || nodeName === \'select\' || $target.hasAttr(\'contenteditable\')'); +function visit13_59_1(result) { + _$jscoverage['/base.js'].branchData['59'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['25'][1].init(247, 10, 'scrollLeft'); -function visit11_25_1(result) { - _$jscoverage['/base.js'].branchData['25'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['23'][1].init(247, 10, 'scrollLeft'); +function visit12_23_1(result) { + _$jscoverage['/base.js'].branchData['23'][1].ranCondition(result); return result; -}_$jscoverage['/base.js'].branchData['22'][1].init(142, 9, 'scrollTop'); -function visit10_22_1(result) { - _$jscoverage['/base.js'].branchData['22'][1].ranCondition(result); +}_$jscoverage['/base.js'].branchData['20'][1].init(142, 9, 'scrollTop'); +function visit11_20_1(result) { + _$jscoverage['/base.js'].branchData['20'][1].ranCondition(result); return result; }_$jscoverage['/base.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -682,343 +682,343 @@ KISSY.add(function(S, require) { var Container = require('component/container'); _$jscoverage['/base.js'].lineData[10]++; var Render = require('./base/render'); - _$jscoverage['/base.js'].lineData[13]++; - var $ = S.all, isTouchEventSupported = S.Features.isTouchEventSupported(), KeyCode = Node.KeyCode; - _$jscoverage['/base.js'].lineData[17]++; + _$jscoverage['/base.js'].lineData[12]++; + var $ = S.all, KeyCode = Node.KeyCode; + _$jscoverage['/base.js'].lineData[15]++; function onElScroll() { _$jscoverage['/base.js'].functionData[1]++; - _$jscoverage['/base.js'].lineData[18]++; + _$jscoverage['/base.js'].lineData[16]++; var self = this, el = self.el, scrollTop = el.scrollTop, scrollLeft = el.scrollLeft; - _$jscoverage['/base.js'].lineData[22]++; - if (visit10_22_1(scrollTop)) { - _$jscoverage['/base.js'].lineData[23]++; + _$jscoverage['/base.js'].lineData[20]++; + if (visit11_20_1(scrollTop)) { + _$jscoverage['/base.js'].lineData[21]++; self.set('scrollTop', scrollTop + self.get('scrollTop')); } - _$jscoverage['/base.js'].lineData[25]++; - if (visit11_25_1(scrollLeft)) { - _$jscoverage['/base.js'].lineData[26]++; + _$jscoverage['/base.js'].lineData[23]++; + if (visit12_23_1(scrollLeft)) { + _$jscoverage['/base.js'].lineData[24]++; self.set('scrollLeft', scrollLeft + self.get('scrollLeft')); } - _$jscoverage['/base.js'].lineData[28]++; + _$jscoverage['/base.js'].lineData[26]++; el.scrollTop = el.scrollLeft = 0; } - _$jscoverage['/base.js'].lineData[31]++; + _$jscoverage['/base.js'].lineData[29]++; function frame(anim, fx) { _$jscoverage['/base.js'].functionData[2]++; - _$jscoverage['/base.js'].lineData[32]++; + _$jscoverage['/base.js'].lineData[30]++; anim.scrollView.set(fx.prop, fx.val); } - _$jscoverage['/base.js'].lineData[41]++; + _$jscoverage['/base.js'].lineData[39]++; return Container.extend({ initializer: function() { _$jscoverage['/base.js'].functionData[3]++; - _$jscoverage['/base.js'].lineData[43]++; + _$jscoverage['/base.js'].lineData[41]++; this.scrollAnims = []; }, bindUI: function() { _$jscoverage['/base.js'].functionData[4]++; - _$jscoverage['/base.js'].lineData[47]++; + _$jscoverage['/base.js'].lineData[45]++; var self = this, $el = self.$el; - _$jscoverage['/base.js'].lineData[52]++; + _$jscoverage['/base.js'].lineData[50]++; $el.on('mousewheel', self.handleMouseWheel, self).on('scroll', onElScroll, self); }, handleKeyDownInternal: function(e) { _$jscoverage['/base.js'].functionData[5]++; - _$jscoverage['/base.js'].lineData[57]++; + _$jscoverage['/base.js'].lineData[55]++; var target = e.target, $target = $(target), nodeName = $target.nodeName(); - _$jscoverage['/base.js'].lineData[61]++; - if (visit12_61_1(visit13_61_2(nodeName === 'input') || visit14_62_1(visit15_62_2(nodeName === 'textarea') || visit16_63_1(visit17_63_2(nodeName === 'select') || $target.hasAttr('contenteditable'))))) { - _$jscoverage['/base.js'].lineData[65]++; + _$jscoverage['/base.js'].lineData[59]++; + if (visit13_59_1(visit14_59_2(nodeName === 'input') || visit15_60_1(visit16_60_2(nodeName === 'textarea') || visit17_61_1(visit18_61_2(nodeName === 'select') || $target.hasAttr('contenteditable'))))) { + _$jscoverage['/base.js'].lineData[63]++; return undefined; } - _$jscoverage['/base.js'].lineData[67]++; + _$jscoverage['/base.js'].lineData[65]++; var self = this, keyCode = e.keyCode, scrollStep = self.getScrollStep(), ok; - _$jscoverage['/base.js'].lineData[71]++; + _$jscoverage['/base.js'].lineData[69]++; var allowX = self.allowScroll.left; - _$jscoverage['/base.js'].lineData[72]++; + _$jscoverage['/base.js'].lineData[70]++; var allowY = self.allowScroll.top; - _$jscoverage['/base.js'].lineData[73]++; - if (visit18_73_1(allowY)) { - _$jscoverage['/base.js'].lineData[74]++; + _$jscoverage['/base.js'].lineData[71]++; + if (visit19_71_1(allowY)) { + _$jscoverage['/base.js'].lineData[72]++; var scrollStepY = scrollStep.top, clientHeight = self.clientHeight, scrollTop = self.get('scrollTop'); - _$jscoverage['/base.js'].lineData[77]++; - if (visit19_77_1(keyCode === KeyCode.DOWN)) { - _$jscoverage['/base.js'].lineData[78]++; + _$jscoverage['/base.js'].lineData[75]++; + if (visit20_75_1(keyCode === KeyCode.DOWN)) { + _$jscoverage['/base.js'].lineData[76]++; self.scrollToWithBounds({ top: scrollTop + scrollStepY}); - _$jscoverage['/base.js'].lineData[81]++; + _$jscoverage['/base.js'].lineData[79]++; ok = true; } else { - _$jscoverage['/base.js'].lineData[82]++; - if (visit20_82_1(keyCode === KeyCode.UP)) { - _$jscoverage['/base.js'].lineData[83]++; + _$jscoverage['/base.js'].lineData[80]++; + if (visit21_80_1(keyCode === KeyCode.UP)) { + _$jscoverage['/base.js'].lineData[81]++; self.scrollToWithBounds({ top: scrollTop - scrollStepY}); - _$jscoverage['/base.js'].lineData[84]++; + _$jscoverage['/base.js'].lineData[82]++; ok = true; } else { - _$jscoverage['/base.js'].lineData[85]++; - if (visit21_85_1(keyCode === KeyCode.PAGE_DOWN)) { - _$jscoverage['/base.js'].lineData[86]++; + _$jscoverage['/base.js'].lineData[83]++; + if (visit22_83_1(keyCode === KeyCode.PAGE_DOWN)) { + _$jscoverage['/base.js'].lineData[84]++; self.scrollToWithBounds({ top: scrollTop + clientHeight}); - _$jscoverage['/base.js'].lineData[87]++; + _$jscoverage['/base.js'].lineData[85]++; ok = true; } else { - _$jscoverage['/base.js'].lineData[88]++; - if (visit22_88_1(keyCode === KeyCode.PAGE_UP)) { - _$jscoverage['/base.js'].lineData[89]++; + _$jscoverage['/base.js'].lineData[86]++; + if (visit23_86_1(keyCode === KeyCode.PAGE_UP)) { + _$jscoverage['/base.js'].lineData[87]++; self.scrollToWithBounds({ top: scrollTop - clientHeight}); - _$jscoverage['/base.js'].lineData[90]++; + _$jscoverage['/base.js'].lineData[88]++; ok = true; } } } } } - _$jscoverage['/base.js'].lineData[93]++; - if (visit23_93_1(allowX)) { - _$jscoverage['/base.js'].lineData[94]++; + _$jscoverage['/base.js'].lineData[91]++; + if (visit24_91_1(allowX)) { + _$jscoverage['/base.js'].lineData[92]++; var scrollStepX = scrollStep.left; - _$jscoverage['/base.js'].lineData[95]++; + _$jscoverage['/base.js'].lineData[93]++; var scrollLeft = self.get('scrollLeft'); - _$jscoverage['/base.js'].lineData[96]++; - if (visit24_96_1(keyCode === KeyCode.RIGHT)) { - _$jscoverage['/base.js'].lineData[97]++; + _$jscoverage['/base.js'].lineData[94]++; + if (visit25_94_1(keyCode === KeyCode.RIGHT)) { + _$jscoverage['/base.js'].lineData[95]++; self.scrollToWithBounds({ left: scrollLeft + scrollStepX}); - _$jscoverage['/base.js'].lineData[98]++; + _$jscoverage['/base.js'].lineData[96]++; ok = true; } else { - _$jscoverage['/base.js'].lineData[99]++; - if (visit25_99_1(keyCode === KeyCode.LEFT)) { - _$jscoverage['/base.js'].lineData[100]++; + _$jscoverage['/base.js'].lineData[97]++; + if (visit26_97_1(keyCode === KeyCode.LEFT)) { + _$jscoverage['/base.js'].lineData[98]++; self.scrollToWithBounds({ left: scrollLeft - scrollStepX}); - _$jscoverage['/base.js'].lineData[101]++; + _$jscoverage['/base.js'].lineData[99]++; ok = true; } } } - _$jscoverage['/base.js'].lineData[104]++; + _$jscoverage['/base.js'].lineData[102]++; return ok; }, getScrollStep: function() { _$jscoverage['/base.js'].functionData[6]++; - _$jscoverage['/base.js'].lineData[108]++; + _$jscoverage['/base.js'].lineData[106]++; var control = this; - _$jscoverage['/base.js'].lineData[109]++; - if (visit26_109_1(control.scrollStep)) { - _$jscoverage['/base.js'].lineData[110]++; + _$jscoverage['/base.js'].lineData[107]++; + if (visit27_107_1(control.scrollStep)) { + _$jscoverage['/base.js'].lineData[108]++; return control.scrollStep; } - _$jscoverage['/base.js'].lineData[112]++; + _$jscoverage['/base.js'].lineData[110]++; var elDoc = $(this.get('el')[0].ownerDocument); - _$jscoverage['/base.js'].lineData[113]++; + _$jscoverage['/base.js'].lineData[111]++; var clientHeight = control.clientHeight; - _$jscoverage['/base.js'].lineData[114]++; + _$jscoverage['/base.js'].lineData[112]++; var clientWidth = control.clientWidth; - _$jscoverage['/base.js'].lineData[115]++; + _$jscoverage['/base.js'].lineData[113]++; control.scrollStep = { top: Math.max(clientHeight * clientHeight * 0.7 / elDoc.height(), 20), left: Math.max(clientWidth * clientWidth * 0.7 / elDoc.width(), 20)}; - _$jscoverage['/base.js'].lineData[119]++; + _$jscoverage['/base.js'].lineData[117]++; return control.scrollStep; }, handleMouseWheel: function(e) { _$jscoverage['/base.js'].functionData[7]++; - _$jscoverage['/base.js'].lineData[123]++; - if (visit27_123_1(this.get('disabled'))) { - _$jscoverage['/base.js'].lineData[124]++; + _$jscoverage['/base.js'].lineData[121]++; + if (visit28_121_1(this.get('disabled'))) { + _$jscoverage['/base.js'].lineData[122]++; return; } - _$jscoverage['/base.js'].lineData[126]++; + _$jscoverage['/base.js'].lineData[124]++; var max, min, self = this, scrollStep = self.getScrollStep(), deltaY, deltaX, maxScroll = self.maxScroll, minScroll = self.minScroll; - _$jscoverage['/base.js'].lineData[135]++; - if (visit28_135_1((deltaY = e.deltaY) && self.allowScroll.top)) { - _$jscoverage['/base.js'].lineData[136]++; + _$jscoverage['/base.js'].lineData[133]++; + if (visit29_133_1((deltaY = e.deltaY) && self.allowScroll.top)) { + _$jscoverage['/base.js'].lineData[134]++; var scrollTop = self.get('scrollTop'); - _$jscoverage['/base.js'].lineData[137]++; + _$jscoverage['/base.js'].lineData[135]++; max = maxScroll.top; - _$jscoverage['/base.js'].lineData[138]++; + _$jscoverage['/base.js'].lineData[136]++; min = minScroll.top; - _$jscoverage['/base.js'].lineData[139]++; - if (visit29_139_1(!(visit30_139_2(visit31_139_3(visit32_139_4(scrollTop <= min) && visit33_139_5(deltaY > 0)) || visit34_139_6(visit35_139_7(scrollTop >= max) && visit36_139_8(deltaY < 0)))))) { - _$jscoverage['/base.js'].lineData[140]++; + _$jscoverage['/base.js'].lineData[137]++; + if (visit30_137_1(!(visit31_137_2(visit32_137_3(visit33_137_4(scrollTop <= min) && visit34_137_5(deltaY > 0)) || visit35_137_6(visit36_137_7(scrollTop >= max) && visit37_137_8(deltaY < 0)))))) { + _$jscoverage['/base.js'].lineData[138]++; self.scrollToWithBounds({ top: scrollTop - e.deltaY * scrollStep.top}); - _$jscoverage['/base.js'].lineData[141]++; + _$jscoverage['/base.js'].lineData[139]++; e.preventDefault(); } } - _$jscoverage['/base.js'].lineData[145]++; - if (visit37_145_1((deltaX = e.deltaX) && self.allowScroll.left)) { - _$jscoverage['/base.js'].lineData[146]++; + _$jscoverage['/base.js'].lineData[143]++; + if (visit38_143_1((deltaX = e.deltaX) && self.allowScroll.left)) { + _$jscoverage['/base.js'].lineData[144]++; var scrollLeft = self.get('scrollLeft'); - _$jscoverage['/base.js'].lineData[147]++; + _$jscoverage['/base.js'].lineData[145]++; max = maxScroll.left; - _$jscoverage['/base.js'].lineData[148]++; + _$jscoverage['/base.js'].lineData[146]++; min = minScroll.left; - _$jscoverage['/base.js'].lineData[149]++; - if (visit38_149_1(!(visit39_149_2(visit40_149_3(visit41_149_4(scrollLeft <= min) && visit42_149_5(deltaX > 0)) || visit43_149_6(visit44_149_7(scrollLeft >= max) && visit45_149_8(deltaX < 0)))))) { - _$jscoverage['/base.js'].lineData[150]++; + _$jscoverage['/base.js'].lineData[147]++; + if (visit39_147_1(!(visit40_147_2(visit41_147_3(visit42_147_4(scrollLeft <= min) && visit43_147_5(deltaX > 0)) || visit44_147_6(visit45_147_7(scrollLeft >= max) && visit46_147_8(deltaX < 0)))))) { + _$jscoverage['/base.js'].lineData[148]++; self.scrollToWithBounds({ left: scrollLeft - e.deltaX * scrollStep.left}); - _$jscoverage['/base.js'].lineData[151]++; + _$jscoverage['/base.js'].lineData[149]++; e.preventDefault(); } } }, 'isAxisEnabled': function(axis) { _$jscoverage['/base.js'].functionData[8]++; - _$jscoverage['/base.js'].lineData[157]++; - return this.allowScroll[visit46_157_1(axis === 'x') ? 'left' : 'top']; + _$jscoverage['/base.js'].lineData[155]++; + return this.allowScroll[visit47_155_1(axis === 'x') ? 'left' : 'top']; }, stopAnimation: function() { _$jscoverage['/base.js'].functionData[9]++; - _$jscoverage['/base.js'].lineData[161]++; + _$jscoverage['/base.js'].lineData[159]++; var self = this; - _$jscoverage['/base.js'].lineData[162]++; - if (visit47_162_1(self.scrollAnims.length)) { - _$jscoverage['/base.js'].lineData[163]++; + _$jscoverage['/base.js'].lineData[160]++; + if (visit48_160_1(self.scrollAnims.length)) { + _$jscoverage['/base.js'].lineData[161]++; S.each(self.scrollAnims, function(scrollAnim) { _$jscoverage['/base.js'].functionData[10]++; - _$jscoverage['/base.js'].lineData[164]++; + _$jscoverage['/base.js'].lineData[162]++; scrollAnim.stop(); }); - _$jscoverage['/base.js'].lineData[166]++; + _$jscoverage['/base.js'].lineData[164]++; self.scrollAnims = []; } - _$jscoverage['/base.js'].lineData[168]++; + _$jscoverage['/base.js'].lineData[166]++; self.scrollToWithBounds({ left: self.get('scrollLeft'), top: self.get('scrollTop')}); }, '_uiSetPageIndex': function(v) { _$jscoverage['/base.js'].functionData[11]++; - _$jscoverage['/base.js'].lineData[175]++; + _$jscoverage['/base.js'].lineData[173]++; this.scrollToPage(v); }, _getPageIndexFromXY: function(v, allowX, direction) { _$jscoverage['/base.js'].functionData[12]++; - _$jscoverage['/base.js'].lineData[179]++; + _$jscoverage['/base.js'].lineData[177]++; var pagesOffset = this.pagesOffset.concat([]); - _$jscoverage['/base.js'].lineData[180]++; + _$jscoverage['/base.js'].lineData[178]++; var p2 = allowX ? 'left' : 'top'; - _$jscoverage['/base.js'].lineData[181]++; + _$jscoverage['/base.js'].lineData[179]++; var i, offset; - _$jscoverage['/base.js'].lineData[182]++; + _$jscoverage['/base.js'].lineData[180]++; pagesOffset.sort(function(e1, e2) { _$jscoverage['/base.js'].functionData[13]++; - _$jscoverage['/base.js'].lineData[183]++; + _$jscoverage['/base.js'].lineData[181]++; return e1[p2] - e2[p2]; }); - _$jscoverage['/base.js'].lineData[185]++; - if (visit48_185_1(direction > 0)) { - _$jscoverage['/base.js'].lineData[186]++; - for (i = 0; visit49_186_1(i < pagesOffset.length); i++) { - _$jscoverage['/base.js'].lineData[187]++; + _$jscoverage['/base.js'].lineData[183]++; + if (visit49_183_1(direction > 0)) { + _$jscoverage['/base.js'].lineData[184]++; + for (i = 0; visit50_184_1(i < pagesOffset.length); i++) { + _$jscoverage['/base.js'].lineData[185]++; offset = pagesOffset[i]; - _$jscoverage['/base.js'].lineData[188]++; - if (visit50_188_1(offset[p2] >= v)) { - _$jscoverage['/base.js'].lineData[189]++; + _$jscoverage['/base.js'].lineData[186]++; + if (visit51_186_1(offset[p2] >= v)) { + _$jscoverage['/base.js'].lineData[187]++; return offset.index; } } } else { - _$jscoverage['/base.js'].lineData[193]++; - for (i = pagesOffset.length - 1; visit51_193_1(i >= 0); i--) { - _$jscoverage['/base.js'].lineData[194]++; + _$jscoverage['/base.js'].lineData[191]++; + for (i = pagesOffset.length - 1; visit52_191_1(i >= 0); i--) { + _$jscoverage['/base.js'].lineData[192]++; offset = pagesOffset[i]; - _$jscoverage['/base.js'].lineData[195]++; - if (visit52_195_1(offset[p2] <= v)) { - _$jscoverage['/base.js'].lineData[196]++; + _$jscoverage['/base.js'].lineData[193]++; + if (visit53_193_1(offset[p2] <= v)) { + _$jscoverage['/base.js'].lineData[194]++; return offset.index; } } } - _$jscoverage['/base.js'].lineData[200]++; + _$jscoverage['/base.js'].lineData[198]++; return undefined; }, scrollToPage: function(index, animCfg) { _$jscoverage['/base.js'].functionData[14]++; - _$jscoverage['/base.js'].lineData[204]++; + _$jscoverage['/base.js'].lineData[202]++; var self = this, pageOffset; - _$jscoverage['/base.js'].lineData[206]++; - if (visit53_206_1((pageOffset = self.pagesOffset) && pageOffset[index])) { - _$jscoverage['/base.js'].lineData[207]++; + _$jscoverage['/base.js'].lineData[204]++; + if (visit54_204_1((pageOffset = self.pagesOffset) && pageOffset[index])) { + _$jscoverage['/base.js'].lineData[205]++; self.set('pageIndex', index); - _$jscoverage['/base.js'].lineData[208]++; + _$jscoverage['/base.js'].lineData[206]++; self.scrollTo(pageOffset[index], animCfg); } }, scrollToWithBounds: function(cfg, anim) { _$jscoverage['/base.js'].functionData[15]++; - _$jscoverage['/base.js'].lineData[213]++; + _$jscoverage['/base.js'].lineData[211]++; var self = this; - _$jscoverage['/base.js'].lineData[214]++; + _$jscoverage['/base.js'].lineData[212]++; var maxScroll = self.maxScroll; - _$jscoverage['/base.js'].lineData[215]++; + _$jscoverage['/base.js'].lineData[213]++; var minScroll = self.minScroll; - _$jscoverage['/base.js'].lineData[216]++; - if (visit54_216_1(cfg.left)) { - _$jscoverage['/base.js'].lineData[217]++; + _$jscoverage['/base.js'].lineData[214]++; + if (visit55_214_1(cfg.left)) { + _$jscoverage['/base.js'].lineData[215]++; cfg.left = Math.min(Math.max(cfg.left, minScroll.left), maxScroll.left); } - _$jscoverage['/base.js'].lineData[219]++; - if (visit55_219_1(cfg.top)) { - _$jscoverage['/base.js'].lineData[220]++; + _$jscoverage['/base.js'].lineData[217]++; + if (visit56_217_1(cfg.top)) { + _$jscoverage['/base.js'].lineData[218]++; cfg.top = Math.min(Math.max(cfg.top, minScroll.top), maxScroll.top); } - _$jscoverage['/base.js'].lineData[222]++; + _$jscoverage['/base.js'].lineData[220]++; self.scrollTo(cfg, anim); }, scrollTo: function(cfg, animCfg) { _$jscoverage['/base.js'].functionData[16]++; - _$jscoverage['/base.js'].lineData[226]++; + _$jscoverage['/base.js'].lineData[224]++; var self = this, left = cfg.left, top = cfg.top; - _$jscoverage['/base.js'].lineData[229]++; - if (visit56_229_1(animCfg)) { - _$jscoverage['/base.js'].lineData[230]++; + _$jscoverage['/base.js'].lineData[227]++; + if (visit57_227_1(animCfg)) { + _$jscoverage['/base.js'].lineData[228]++; var node = {}, to = {}; - _$jscoverage['/base.js'].lineData[232]++; - if (visit57_232_1(left !== undefined)) { - _$jscoverage['/base.js'].lineData[233]++; + _$jscoverage['/base.js'].lineData[230]++; + if (visit58_230_1(left !== undefined)) { + _$jscoverage['/base.js'].lineData[231]++; to.scrollLeft = left; - _$jscoverage['/base.js'].lineData[234]++; + _$jscoverage['/base.js'].lineData[232]++; node.scrollLeft = self.get('scrollLeft'); } - _$jscoverage['/base.js'].lineData[236]++; - if (visit58_236_1(top !== undefined)) { - _$jscoverage['/base.js'].lineData[237]++; + _$jscoverage['/base.js'].lineData[234]++; + if (visit59_234_1(top !== undefined)) { + _$jscoverage['/base.js'].lineData[235]++; to.scrollTop = top; - _$jscoverage['/base.js'].lineData[238]++; + _$jscoverage['/base.js'].lineData[236]++; node.scrollTop = self.get('scrollTop'); } - _$jscoverage['/base.js'].lineData[240]++; + _$jscoverage['/base.js'].lineData[238]++; animCfg.frame = frame; - _$jscoverage['/base.js'].lineData[241]++; + _$jscoverage['/base.js'].lineData[239]++; animCfg.node = node; - _$jscoverage['/base.js'].lineData[242]++; + _$jscoverage['/base.js'].lineData[240]++; animCfg.to = to; - _$jscoverage['/base.js'].lineData[243]++; + _$jscoverage['/base.js'].lineData[241]++; var anim; - _$jscoverage['/base.js'].lineData[244]++; + _$jscoverage['/base.js'].lineData[242]++; self.scrollAnims.push(anim = new Anim(animCfg)); - _$jscoverage['/base.js'].lineData[245]++; + _$jscoverage['/base.js'].lineData[243]++; anim.scrollView = self; - _$jscoverage['/base.js'].lineData[246]++; + _$jscoverage['/base.js'].lineData[244]++; anim.run(); } else { - _$jscoverage['/base.js'].lineData[248]++; - if (visit59_248_1(left !== undefined)) { - _$jscoverage['/base.js'].lineData[249]++; + _$jscoverage['/base.js'].lineData[246]++; + if (visit60_246_1(left !== undefined)) { + _$jscoverage['/base.js'].lineData[247]++; self.set('scrollLeft', left); } - _$jscoverage['/base.js'].lineData[251]++; - if (visit60_251_1(top !== undefined)) { - _$jscoverage['/base.js'].lineData[252]++; + _$jscoverage['/base.js'].lineData[249]++; + if (visit61_249_1(top !== undefined)) { + _$jscoverage['/base.js'].lineData[250]++; self.set('scrollTop', top); } } @@ -1032,10 +1032,10 @@ KISSY.add(function(S, require) { view: 1, value: 0}, focusable: { - value: !isTouchEventSupported}, + value: true}, allowTextSelection: { value: true}, - handleMouseEvents: { + handleGestureEvents: { value: false}, snap: { value: false}, diff --git a/src/scroll-view/sub-modules/base/coverage/src/base/render.js b/src/scroll-view/sub-modules/base/coverage/src/base/render.js index 77f43d7939..f055735971 100644 --- a/src/scroll-view/sub-modules/base/coverage/src/base/render.js +++ b/src/scroll-view/sub-modules/base/coverage/src/base/render.js @@ -232,48 +232,49 @@ if (! _$jscoverage['/base/render.js']) { _$jscoverage['/base/render.js'].lineData[6] = 0; _$jscoverage['/base/render.js'].lineData[7] = 0; _$jscoverage['/base/render.js'].lineData[8] = 0; - _$jscoverage['/base/render.js'].lineData[9] = 0; - _$jscoverage['/base/render.js'].lineData[12] = 0; - _$jscoverage['/base/render.js'].lineData[32] = 0; - _$jscoverage['/base/render.js'].lineData[34] = 0; - _$jscoverage['/base/render.js'].lineData[45] = 0; + _$jscoverage['/base/render.js'].lineData[11] = 0; + _$jscoverage['/base/render.js'].lineData[16] = 0; + _$jscoverage['/base/render.js'].lineData[19] = 0; + _$jscoverage['/base/render.js'].lineData[35] = 0; + _$jscoverage['/base/render.js'].lineData[37] = 0; _$jscoverage['/base/render.js'].lineData[48] = 0; - _$jscoverage['/base/render.js'].lineData[52] = 0; - _$jscoverage['/base/render.js'].lineData[53] = 0; - _$jscoverage['/base/render.js'].lineData[54] = 0; + _$jscoverage['/base/render.js'].lineData[51] = 0; _$jscoverage['/base/render.js'].lineData[55] = 0; + _$jscoverage['/base/render.js'].lineData[56] = 0; _$jscoverage['/base/render.js'].lineData[57] = 0; - _$jscoverage['/base/render.js'].lineData[59] = 0; + _$jscoverage['/base/render.js'].lineData[58] = 0; _$jscoverage['/base/render.js'].lineData[60] = 0; _$jscoverage['/base/render.js'].lineData[62] = 0; _$jscoverage['/base/render.js'].lineData[63] = 0; + _$jscoverage['/base/render.js'].lineData[65] = 0; _$jscoverage['/base/render.js'].lineData[66] = 0; - _$jscoverage['/base/render.js'].lineData[71] = 0; + _$jscoverage['/base/render.js'].lineData[69] = 0; _$jscoverage['/base/render.js'].lineData[74] = 0; - _$jscoverage['/base/render.js'].lineData[79] = 0; - _$jscoverage['/base/render.js'].lineData[81] = 0; - _$jscoverage['/base/render.js'].lineData[85] = 0; - _$jscoverage['/base/render.js'].lineData[86] = 0; - _$jscoverage['/base/render.js'].lineData[87] = 0; - _$jscoverage['/base/render.js'].lineData[92] = 0; - _$jscoverage['/base/render.js'].lineData[93] = 0; + _$jscoverage['/base/render.js'].lineData[77] = 0; + _$jscoverage['/base/render.js'].lineData[82] = 0; + _$jscoverage['/base/render.js'].lineData[84] = 0; + _$jscoverage['/base/render.js'].lineData[88] = 0; + _$jscoverage['/base/render.js'].lineData[89] = 0; + _$jscoverage['/base/render.js'].lineData[90] = 0; + _$jscoverage['/base/render.js'].lineData[95] = 0; _$jscoverage['/base/render.js'].lineData[96] = 0; - _$jscoverage['/base/render.js'].lineData[97] = 0; - _$jscoverage['/base/render.js'].lineData[104] = 0; - _$jscoverage['/base/render.js'].lineData[105] = 0; - _$jscoverage['/base/render.js'].lineData[106] = 0; - _$jscoverage['/base/render.js'].lineData[111] = 0; - _$jscoverage['/base/render.js'].lineData[118] = 0; - _$jscoverage['/base/render.js'].lineData[122] = 0; - _$jscoverage['/base/render.js'].lineData[126] = 0; - _$jscoverage['/base/render.js'].lineData[127] = 0; + _$jscoverage['/base/render.js'].lineData[99] = 0; + _$jscoverage['/base/render.js'].lineData[100] = 0; + _$jscoverage['/base/render.js'].lineData[107] = 0; + _$jscoverage['/base/render.js'].lineData[108] = 0; + _$jscoverage['/base/render.js'].lineData[109] = 0; + _$jscoverage['/base/render.js'].lineData[114] = 0; + _$jscoverage['/base/render.js'].lineData[121] = 0; + _$jscoverage['/base/render.js'].lineData[125] = 0; _$jscoverage['/base/render.js'].lineData[129] = 0; _$jscoverage['/base/render.js'].lineData[130] = 0; - _$jscoverage['/base/render.js'].lineData[131] = 0; - _$jscoverage['/base/render.js'].lineData[137] = 0; - _$jscoverage['/base/render.js'].lineData[138] = 0; + _$jscoverage['/base/render.js'].lineData[132] = 0; + _$jscoverage['/base/render.js'].lineData[133] = 0; + _$jscoverage['/base/render.js'].lineData[134] = 0; _$jscoverage['/base/render.js'].lineData[139] = 0; - _$jscoverage['/base/render.js'].lineData[146] = 0; + _$jscoverage['/base/render.js'].lineData[140] = 0; + _$jscoverage['/base/render.js'].lineData[141] = 0; + _$jscoverage['/base/render.js'].lineData[147] = 0; } if (! _$jscoverage['/base/render.js'].functionData) { _$jscoverage['/base/render.js'].functionData = []; @@ -287,58 +288,64 @@ if (! _$jscoverage['/base/render.js'].functionData) { } if (! _$jscoverage['/base/render.js'].branchData) { _$jscoverage['/base/render.js'].branchData = {}; - _$jscoverage['/base/render.js'].branchData['59'] = []; - _$jscoverage['/base/render.js'].branchData['59'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['19'] = []; + _$jscoverage['/base/render.js'].branchData['19'][1] = new BranchData(); _$jscoverage['/base/render.js'].branchData['62'] = []; _$jscoverage['/base/render.js'].branchData['62'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['85'] = []; - _$jscoverage['/base/render.js'].branchData['85'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['87'] = []; - _$jscoverage['/base/render.js'].branchData['87'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['96'] = []; - _$jscoverage['/base/render.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['96'][2] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['96'][3] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['104'] = []; - _$jscoverage['/base/render.js'].branchData['104'][1] = new BranchData(); - _$jscoverage['/base/render.js'].branchData['126'] = []; - _$jscoverage['/base/render.js'].branchData['126'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['65'] = []; + _$jscoverage['/base/render.js'].branchData['65'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['88'] = []; + _$jscoverage['/base/render.js'].branchData['88'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['90'] = []; + _$jscoverage['/base/render.js'].branchData['90'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['99'] = []; + _$jscoverage['/base/render.js'].branchData['99'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['99'][2] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['99'][3] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['107'] = []; + _$jscoverage['/base/render.js'].branchData['107'][1] = new BranchData(); + _$jscoverage['/base/render.js'].branchData['129'] = []; + _$jscoverage['/base/render.js'].branchData['129'][1] = new BranchData(); } -_$jscoverage['/base/render.js'].branchData['126'][1].init(4240, 18, 'supportTransform3d'); -function visit9_126_1(result) { - _$jscoverage['/base/render.js'].branchData['126'][1].ranCondition(result); +_$jscoverage['/base/render.js'].branchData['129'][1].init(4315, 11, 'supportCss3'); +function visit10_129_1(result) { + _$jscoverage['/base/render.js'].branchData['129'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['104'][1].init(881, 9, 'pageIndex'); -function visit8_104_1(result) { - _$jscoverage['/base/render.js'].branchData['104'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['107'][1].init(881, 9, 'pageIndex'); +function visit9_107_1(result) { + _$jscoverage['/base/render.js'].branchData['107'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['96'][3].init(216, 19, 'top <= maxScrollTop'); -function visit7_96_3(result) { - _$jscoverage['/base/render.js'].branchData['96'][3].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['99'][3].init(216, 19, 'top <= maxScrollTop'); +function visit8_99_3(result) { + _$jscoverage['/base/render.js'].branchData['99'][3].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['96'][2].init(191, 21, 'left <= maxScrollLeft'); -function visit6_96_2(result) { - _$jscoverage['/base/render.js'].branchData['96'][2].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['99'][2].init(191, 21, 'left <= maxScrollLeft'); +function visit7_99_2(result) { + _$jscoverage['/base/render.js'].branchData['99'][2].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['96'][1].init(191, 44, 'left <= maxScrollLeft && top <= maxScrollTop'); -function visit5_96_1(result) { - _$jscoverage['/base/render.js'].branchData['96'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['99'][1].init(191, 44, 'left <= maxScrollLeft && top <= maxScrollTop'); +function visit6_99_1(result) { + _$jscoverage['/base/render.js'].branchData['99'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['87'][1].init(99, 24, 'typeof snap === \'string\''); -function visit4_87_1(result) { - _$jscoverage['/base/render.js'].branchData['87'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['90'][1].init(99, 24, 'typeof snap === \'string\''); +function visit5_90_1(result) { + _$jscoverage['/base/render.js'].branchData['90'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['85'][1].init(1834, 4, 'snap'); -function visit3_85_1(result) { - _$jscoverage['/base/render.js'].branchData['85'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['88'][1].init(1834, 4, 'snap'); +function visit4_88_1(result) { + _$jscoverage['/base/render.js'].branchData['88'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['62'][1].init(1179, 25, 'scrollWidth > clientWidth'); +}_$jscoverage['/base/render.js'].branchData['65'][1].init(1179, 25, 'scrollWidth > clientWidth'); +function visit3_65_1(result) { + _$jscoverage['/base/render.js'].branchData['65'][1].ranCondition(result); + return result; +}_$jscoverage['/base/render.js'].branchData['62'][1].init(1078, 27, 'scrollHeight > clientHeight'); function visit2_62_1(result) { _$jscoverage['/base/render.js'].branchData['62'][1].ranCondition(result); return result; -}_$jscoverage['/base/render.js'].branchData['59'][1].init(1078, 27, 'scrollHeight > clientHeight'); -function visit1_59_1(result) { - _$jscoverage['/base/render.js'].branchData['59'][1].ranCondition(result); +}_$jscoverage['/base/render.js'].branchData['19'][1].init(489, 55, 'S.Features.getVendorCssPropPrefix(\'transform\') !== false'); +function visit1_19_1(result) { + _$jscoverage['/base/render.js'].branchData['19'][1].ranCondition(result); return result; }_$jscoverage['/base/render.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -347,123 +354,121 @@ KISSY.add(function(S, require) { var Container = require('component/container'); _$jscoverage['/base/render.js'].lineData[8]++; var ContentRenderExtension = require('component/extension/content-render'); - _$jscoverage['/base/render.js'].lineData[9]++; - var translateTpl = 'translate3d({translateX}px,{translateY}px,0)'; - _$jscoverage['/base/render.js'].lineData[12]++; - var Features = S.Features, floor = Math.floor, supportTransform3d = Features.isTransform3dSupported(), transformProperty; - _$jscoverage['/base/render.js'].lineData[32]++; + _$jscoverage['/base/render.js'].lineData[11]++; + var Features = S.Features, floor = Math.floor, transformProperty; + _$jscoverage['/base/render.js'].lineData[16]++; + var isTransform3dSupported = S.Features.isTransform3dSupported(); + _$jscoverage['/base/render.js'].lineData[19]++; + var supportCss3 = visit1_19_1(S.Features.getVendorCssPropPrefix('transform') !== false); + _$jscoverage['/base/render.js'].lineData[35]++; var methods = { syncUI: function() { _$jscoverage['/base/render.js'].functionData[1]++; - _$jscoverage['/base/render.js'].lineData[34]++; + _$jscoverage['/base/render.js'].lineData[37]++; var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; - _$jscoverage['/base/render.js'].lineData[45]++; - var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); _$jscoverage['/base/render.js'].lineData[48]++; + var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); + _$jscoverage['/base/render.js'].lineData[51]++; var clientHeight = el.clientHeight, allowScroll, clientWidth = el.clientWidth; - _$jscoverage['/base/render.js'].lineData[52]++; + _$jscoverage['/base/render.js'].lineData[55]++; control.scrollHeight = scrollHeight; - _$jscoverage['/base/render.js'].lineData[53]++; + _$jscoverage['/base/render.js'].lineData[56]++; control.scrollWidth = scrollWidth; - _$jscoverage['/base/render.js'].lineData[54]++; + _$jscoverage['/base/render.js'].lineData[57]++; control.clientHeight = clientHeight; - _$jscoverage['/base/render.js'].lineData[55]++; + _$jscoverage['/base/render.js'].lineData[58]++; control.clientWidth = clientWidth; - _$jscoverage['/base/render.js'].lineData[57]++; + _$jscoverage['/base/render.js'].lineData[60]++; allowScroll = control.allowScroll = {}; - _$jscoverage['/base/render.js'].lineData[59]++; - if (visit1_59_1(scrollHeight > clientHeight)) { - _$jscoverage['/base/render.js'].lineData[60]++; - allowScroll.top = 1; - } _$jscoverage['/base/render.js'].lineData[62]++; - if (visit2_62_1(scrollWidth > clientWidth)) { + if (visit2_62_1(scrollHeight > clientHeight)) { _$jscoverage['/base/render.js'].lineData[63]++; + allowScroll.top = 1; + } + _$jscoverage['/base/render.js'].lineData[65]++; + if (visit3_65_1(scrollWidth > clientWidth)) { + _$jscoverage['/base/render.js'].lineData[66]++; allowScroll.left = 1; } - _$jscoverage['/base/render.js'].lineData[66]++; + _$jscoverage['/base/render.js'].lineData[69]++; control.minScroll = { left: 0, top: 0}; - _$jscoverage['/base/render.js'].lineData[71]++; - var maxScrollLeft, maxScrollTop; _$jscoverage['/base/render.js'].lineData[74]++; + var maxScrollLeft, maxScrollTop; + _$jscoverage['/base/render.js'].lineData[77]++; control.maxScroll = { left: maxScrollLeft = scrollWidth - clientWidth, top: maxScrollTop = scrollHeight - clientHeight}; - _$jscoverage['/base/render.js'].lineData[79]++; + _$jscoverage['/base/render.js'].lineData[82]++; delete control.scrollStep; - _$jscoverage['/base/render.js'].lineData[81]++; + _$jscoverage['/base/render.js'].lineData[84]++; var snap = control.get('snap'), scrollLeft = control.get('scrollLeft'), scrollTop = control.get('scrollTop'); - _$jscoverage['/base/render.js'].lineData[85]++; - if (visit3_85_1(snap)) { - _$jscoverage['/base/render.js'].lineData[86]++; + _$jscoverage['/base/render.js'].lineData[88]++; + if (visit4_88_1(snap)) { + _$jscoverage['/base/render.js'].lineData[89]++; var elOffset = $contentEl.offset(); - _$jscoverage['/base/render.js'].lineData[87]++; - var pages = control.pages = visit4_87_1(typeof snap === 'string') ? $contentEl.all(snap) : $contentEl.children(), pageIndex = control.get('pageIndex'), pagesOffset = control.pagesOffset = []; - _$jscoverage['/base/render.js'].lineData[92]++; + _$jscoverage['/base/render.js'].lineData[90]++; + var pages = control.pages = visit5_90_1(typeof snap === 'string') ? $contentEl.all(snap) : $contentEl.children(), pageIndex = control.get('pageIndex'), pagesOffset = control.pagesOffset = []; + _$jscoverage['/base/render.js'].lineData[95]++; pages.each(function(p, i) { _$jscoverage['/base/render.js'].functionData[2]++; - _$jscoverage['/base/render.js'].lineData[93]++; - var offset = p.offset(), left = offset.left - elOffset.left, top = offset.top - elOffset.top; _$jscoverage['/base/render.js'].lineData[96]++; - if (visit5_96_1(visit6_96_2(left <= maxScrollLeft) && visit7_96_3(top <= maxScrollTop))) { - _$jscoverage['/base/render.js'].lineData[97]++; + var offset = p.offset(), left = offset.left - elOffset.left, top = offset.top - elOffset.top; + _$jscoverage['/base/render.js'].lineData[99]++; + if (visit6_99_1(visit7_99_2(left <= maxScrollLeft) && visit8_99_3(top <= maxScrollTop))) { + _$jscoverage['/base/render.js'].lineData[100]++; pagesOffset[i] = { left: left, top: top, index: i}; } }); - _$jscoverage['/base/render.js'].lineData[104]++; - if (visit8_104_1(pageIndex)) { - _$jscoverage['/base/render.js'].lineData[105]++; + _$jscoverage['/base/render.js'].lineData[107]++; + if (visit9_107_1(pageIndex)) { + _$jscoverage['/base/render.js'].lineData[108]++; control.scrollToPage(pageIndex); - _$jscoverage['/base/render.js'].lineData[106]++; + _$jscoverage['/base/render.js'].lineData[109]++; return; } } - _$jscoverage['/base/render.js'].lineData[111]++; + _$jscoverage['/base/render.js'].lineData[114]++; control.scrollToWithBounds({ left: scrollLeft, top: scrollTop}); }, '_onSetScrollLeft': function(v) { _$jscoverage['/base/render.js'].functionData[3]++; - _$jscoverage['/base/render.js'].lineData[118]++; + _$jscoverage['/base/render.js'].lineData[121]++; this.control.contentEl.style.left = -v + 'px'; }, '_onSetScrollTop': function(v) { _$jscoverage['/base/render.js'].functionData[4]++; - _$jscoverage['/base/render.js'].lineData[122]++; + _$jscoverage['/base/render.js'].lineData[125]++; this.control.contentEl.style.top = -v + 'px'; }}; - _$jscoverage['/base/render.js'].lineData[126]++; - if (visit9_126_1(supportTransform3d)) { - _$jscoverage['/base/render.js'].lineData[127]++; - transformProperty = Features.getTransformProperty(); - _$jscoverage['/base/render.js'].lineData[129]++; + _$jscoverage['/base/render.js'].lineData[129]++; + if (visit10_129_1(supportCss3)) { + _$jscoverage['/base/render.js'].lineData[130]++; + transformProperty = Features.getVendorCssPropName('transform'); + _$jscoverage['/base/render.js'].lineData[132]++; methods._onSetScrollLeft = function(v) { _$jscoverage['/base/render.js'].functionData[5]++; - _$jscoverage['/base/render.js'].lineData[130]++; + _$jscoverage['/base/render.js'].lineData[133]++; var control = this.control; - _$jscoverage['/base/render.js'].lineData[131]++; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: floor(-v), - translateY: floor(-control.get('scrollTop'))}); + _$jscoverage['/base/render.js'].lineData[134]++; + control.contentEl.style[transformProperty] = 'translateX(' + floor(-v) + 'px)' + ' translateY(' + floor(-control.get('scrollTop')) + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; - _$jscoverage['/base/render.js'].lineData[137]++; + _$jscoverage['/base/render.js'].lineData[139]++; methods._onSetScrollTop = function(v) { _$jscoverage['/base/render.js'].functionData[6]++; - _$jscoverage['/base/render.js'].lineData[138]++; + _$jscoverage['/base/render.js'].lineData[140]++; var control = this.control; - _$jscoverage['/base/render.js'].lineData[139]++; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: floor(-control.get('scrollLeft')), - translateY: floor(-v)}); + _$jscoverage['/base/render.js'].lineData[141]++; + control.contentEl.style[transformProperty] = 'translateX(' + floor(-control.get('scrollLeft')) + 'px)' + ' translateY(' + floor(-v) + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; } - _$jscoverage['/base/render.js'].lineData[146]++; + _$jscoverage['/base/render.js'].lineData[147]++; return Container.getDefaultRender().extend([ContentRenderExtension], methods, { name: 'ScrollViewRender'}); }); diff --git a/src/scroll-view/sub-modules/base/src/base.js b/src/scroll-view/sub-modules/base/src/base.js index e528aff181..3f5a257d4d 100644 --- a/src/scroll-view/sub-modules/base/src/base.js +++ b/src/scroll-view/sub-modules/base/src/base.js @@ -9,9 +9,7 @@ KISSY.add(function (S, require) { var Container = require('component/container'); var Render = require('./base/render'); - var $ = S.all, - isTouchEventSupported = S.Features.isTouchEventSupported(), KeyCode = Node.KeyCode; function onElScroll() { @@ -291,12 +289,12 @@ KISSY.add(function (S, require) { }, focusable: { // need process keydown - value: !isTouchEventSupported + value: true }, allowTextSelection: { value: true }, - handleMouseEvents: { + handleGestureEvents: { value: false }, /** diff --git a/src/scroll-view/sub-modules/base/src/base/render.js b/src/scroll-view/sub-modules/base/src/base/render.js index fa2049a88f..8dcf8683c6 100644 --- a/src/scroll-view/sub-modules/base/src/base/render.js +++ b/src/scroll-view/sub-modules/base/src/base/render.js @@ -6,15 +6,18 @@ KISSY.add(function (S, require) { var Container = require('component/container'); var ContentRenderExtension = require('component/extension/content-render'); - var translateTpl = 'translate3d({translateX}px,{translateY}px,0)'; // http://www.html5rocks.com/en/tutorials/speed/html5/ var Features = S.Features, - floor = Math.floor, // MARKER_CLS = 'ks-scrollview-marker', - supportTransform3d = Features.isTransform3dSupported(), + floor = Math.floor, transformProperty; + var isTransform3dSupported = S.Features.isTransform3dSupported(); + + // http://www.html5rocks.com/en/tutorials/speed/html5/ + var supportCss3 = S.Features.getVendorCssPropPrefix('transform') !== false; + // function createMarker(contentEl) { // var m; // if (m = contentEl.one('.' + MARKER_CLS)) { @@ -123,23 +126,21 @@ KISSY.add(function (S, require) { } }; - if (supportTransform3d) { - transformProperty = Features.getTransformProperty(); + if (supportCss3) { + transformProperty = Features.getVendorCssPropName('transform'); methods._onSetScrollLeft = function (v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: floor(-v), - translateY: floor(-control.get('scrollTop')) - }); + control.contentEl.style[transformProperty] = 'translateX(' + floor(-v) + 'px)' + + ' translateY(' + floor(-control.get('scrollTop')) + 'px)' + + (isTransform3dSupported ? ' translateZ(0)' : ''); }; methods._onSetScrollTop = function (v) { var control = this.control; - control.contentEl.style[transformProperty] = S.substitute(translateTpl, { - translateX: floor(-control.get('scrollLeft')), - translateY: floor(-v) - }); + control.contentEl.style[transformProperty] = 'translateX(' + floor(-control.get('scrollLeft')) + 'px)' + + ' translateY(' + floor(-v) + 'px)' + + (isTransform3dSupported ? ' translateZ(0)' : ''); }; } diff --git a/src/scroll-view/sub-modules/drag/coverage/src/drag.js b/src/scroll-view/sub-modules/drag/coverage/src/drag.js index dd5d9b6617..431c1a1b44 100644 --- a/src/scroll-view/sub-modules/drag/coverage/src/drag.js +++ b/src/scroll-view/sub-modules/drag/coverage/src/drag.js @@ -336,101 +336,100 @@ if (! _$jscoverage['/drag.js']) { _$jscoverage['/drag.js'].lineData[218] = 0; _$jscoverage['/drag.js'].lineData[220] = 0; _$jscoverage['/drag.js'].lineData[225] = 0; - _$jscoverage['/drag.js'].lineData[226] = 0; + _$jscoverage['/drag.js'].lineData[227] = 0; _$jscoverage['/drag.js'].lineData[228] = 0; - _$jscoverage['/drag.js'].lineData[229] = 0; - _$jscoverage['/drag.js'].lineData[231] = 0; + _$jscoverage['/drag.js'].lineData[230] = 0; _$jscoverage['/drag.js'].lineData[232] = 0; + _$jscoverage['/drag.js'].lineData[233] = 0; + _$jscoverage['/drag.js'].lineData[235] = 0; _$jscoverage['/drag.js'].lineData[236] = 0; - _$jscoverage['/drag.js'].lineData[237] = 0; - _$jscoverage['/drag.js'].lineData[238] = 0; - _$jscoverage['/drag.js'].lineData[239] = 0; - _$jscoverage['/drag.js'].lineData[244] = 0; - _$jscoverage['/drag.js'].lineData[245] = 0; - _$jscoverage['/drag.js'].lineData[247] = 0; + _$jscoverage['/drag.js'].lineData[240] = 0; + _$jscoverage['/drag.js'].lineData[241] = 0; + _$jscoverage['/drag.js'].lineData[242] = 0; + _$jscoverage['/drag.js'].lineData[243] = 0; _$jscoverage['/drag.js'].lineData[248] = 0; _$jscoverage['/drag.js'].lineData[249] = 0; - _$jscoverage['/drag.js'].lineData[250] = 0; + _$jscoverage['/drag.js'].lineData[251] = 0; + _$jscoverage['/drag.js'].lineData[252] = 0; _$jscoverage['/drag.js'].lineData[253] = 0; - _$jscoverage['/drag.js'].lineData[256] = 0; + _$jscoverage['/drag.js'].lineData[254] = 0; _$jscoverage['/drag.js'].lineData[257] = 0; + _$jscoverage['/drag.js'].lineData[260] = 0; _$jscoverage['/drag.js'].lineData[261] = 0; _$jscoverage['/drag.js'].lineData[262] = 0; - _$jscoverage['/drag.js'].lineData[265] = 0; - _$jscoverage['/drag.js'].lineData[270] = 0; + _$jscoverage['/drag.js'].lineData[264] = 0; + _$jscoverage['/drag.js'].lineData[267] = 0; + _$jscoverage['/drag.js'].lineData[268] = 0; _$jscoverage['/drag.js'].lineData[271] = 0; - _$jscoverage['/drag.js'].lineData[274] = 0; - _$jscoverage['/drag.js'].lineData[275] = 0; + _$jscoverage['/drag.js'].lineData[276] = 0; _$jscoverage['/drag.js'].lineData[277] = 0; - _$jscoverage['/drag.js'].lineData[278] = 0; - _$jscoverage['/drag.js'].lineData[279] = 0; + _$jscoverage['/drag.js'].lineData[280] = 0; + _$jscoverage['/drag.js'].lineData[281] = 0; _$jscoverage['/drag.js'].lineData[283] = 0; - _$jscoverage['/drag.js'].lineData[287] = 0; - _$jscoverage['/drag.js'].lineData[288] = 0; - _$jscoverage['/drag.js'].lineData[290] = 0; - _$jscoverage['/drag.js'].lineData[291] = 0; + _$jscoverage['/drag.js'].lineData[284] = 0; + _$jscoverage['/drag.js'].lineData[285] = 0; + _$jscoverage['/drag.js'].lineData[289] = 0; + _$jscoverage['/drag.js'].lineData[293] = 0; _$jscoverage['/drag.js'].lineData[294] = 0; _$jscoverage['/drag.js'].lineData[296] = 0; _$jscoverage['/drag.js'].lineData[297] = 0; - _$jscoverage['/drag.js'].lineData[298] = 0; _$jscoverage['/drag.js'].lineData[300] = 0; + _$jscoverage['/drag.js'].lineData[302] = 0; _$jscoverage['/drag.js'].lineData[303] = 0; - _$jscoverage['/drag.js'].lineData[305] = 0; + _$jscoverage['/drag.js'].lineData[304] = 0; _$jscoverage['/drag.js'].lineData[306] = 0; - _$jscoverage['/drag.js'].lineData[307] = 0; _$jscoverage['/drag.js'].lineData[309] = 0; + _$jscoverage['/drag.js'].lineData[311] = 0; + _$jscoverage['/drag.js'].lineData[312] = 0; _$jscoverage['/drag.js'].lineData[313] = 0; - _$jscoverage['/drag.js'].lineData[314] = 0; - _$jscoverage['/drag.js'].lineData[317] = 0; - _$jscoverage['/drag.js'].lineData[318] = 0; - _$jscoverage['/drag.js'].lineData[321] = 0; + _$jscoverage['/drag.js'].lineData[315] = 0; + _$jscoverage['/drag.js'].lineData[319] = 0; + _$jscoverage['/drag.js'].lineData[320] = 0; + _$jscoverage['/drag.js'].lineData[323] = 0; _$jscoverage['/drag.js'].lineData[324] = 0; - _$jscoverage['/drag.js'].lineData[325] = 0; - _$jscoverage['/drag.js'].lineData[328] = 0; - _$jscoverage['/drag.js'].lineData[329] = 0; + _$jscoverage['/drag.js'].lineData[327] = 0; _$jscoverage['/drag.js'].lineData[330] = 0; _$jscoverage['/drag.js'].lineData[331] = 0; - _$jscoverage['/drag.js'].lineData[332] = 0; - _$jscoverage['/drag.js'].lineData[333] = 0; + _$jscoverage['/drag.js'].lineData[334] = 0; _$jscoverage['/drag.js'].lineData[335] = 0; _$jscoverage['/drag.js'].lineData[336] = 0; - _$jscoverage['/drag.js'].lineData[337] = 0; + _$jscoverage['/drag.js'].lineData[338] = 0; + _$jscoverage['/drag.js'].lineData[339] = 0; + _$jscoverage['/drag.js'].lineData[341] = 0; + _$jscoverage['/drag.js'].lineData[342] = 0; + _$jscoverage['/drag.js'].lineData[343] = 0; + _$jscoverage['/drag.js'].lineData[345] = 0; _$jscoverage['/drag.js'].lineData[346] = 0; _$jscoverage['/drag.js'].lineData[347] = 0; - _$jscoverage['/drag.js'].lineData[348] = 0; - _$jscoverage['/drag.js'].lineData[349] = 0; - _$jscoverage['/drag.js'].lineData[350] = 0; - _$jscoverage['/drag.js'].lineData[351] = 0; - _$jscoverage['/drag.js'].lineData[352] = 0; - _$jscoverage['/drag.js'].lineData[353] = 0; - _$jscoverage['/drag.js'].lineData[355] = 0; _$jscoverage['/drag.js'].lineData[356] = 0; _$jscoverage['/drag.js'].lineData[357] = 0; _$jscoverage['/drag.js'].lineData[358] = 0; _$jscoverage['/drag.js'].lineData[359] = 0; _$jscoverage['/drag.js'].lineData[360] = 0; + _$jscoverage['/drag.js'].lineData[361] = 0; + _$jscoverage['/drag.js'].lineData[362] = 0; + _$jscoverage['/drag.js'].lineData[363] = 0; + _$jscoverage['/drag.js'].lineData[365] = 0; + _$jscoverage['/drag.js'].lineData[366] = 0; + _$jscoverage['/drag.js'].lineData[367] = 0; + _$jscoverage['/drag.js'].lineData[368] = 0; + _$jscoverage['/drag.js'].lineData[369] = 0; _$jscoverage['/drag.js'].lineData[370] = 0; - _$jscoverage['/drag.js'].lineData[371] = 0; - _$jscoverage['/drag.js'].lineData[372] = 0; - _$jscoverage['/drag.js'].lineData[375] = 0; - _$jscoverage['/drag.js'].lineData[376] = 0; - _$jscoverage['/drag.js'].lineData[377] = 0; - _$jscoverage['/drag.js'].lineData[378] = 0; - _$jscoverage['/drag.js'].lineData[379] = 0; + _$jscoverage['/drag.js'].lineData[380] = 0; _$jscoverage['/drag.js'].lineData[381] = 0; + _$jscoverage['/drag.js'].lineData[382] = 0; + _$jscoverage['/drag.js'].lineData[385] = 0; + _$jscoverage['/drag.js'].lineData[386] = 0; _$jscoverage['/drag.js'].lineData[387] = 0; _$jscoverage['/drag.js'].lineData[388] = 0; - _$jscoverage['/drag.js'].lineData[390] = 0; - _$jscoverage['/drag.js'].lineData[392] = 0; - _$jscoverage['/drag.js'].lineData[393] = 0; - _$jscoverage['/drag.js'].lineData[394] = 0; + _$jscoverage['/drag.js'].lineData[389] = 0; + _$jscoverage['/drag.js'].lineData[391] = 0; _$jscoverage['/drag.js'].lineData[397] = 0; - _$jscoverage['/drag.js'].lineData[401] = 0; + _$jscoverage['/drag.js'].lineData[398] = 0; + _$jscoverage['/drag.js'].lineData[400] = 0; _$jscoverage['/drag.js'].lineData[402] = 0; _$jscoverage['/drag.js'].lineData[403] = 0; _$jscoverage['/drag.js'].lineData[404] = 0; - _$jscoverage['/drag.js'].lineData[405] = 0; - _$jscoverage['/drag.js'].lineData[406] = 0; _$jscoverage['/drag.js'].lineData[407] = 0; _$jscoverage['/drag.js'].lineData[411] = 0; _$jscoverage['/drag.js'].lineData[412] = 0; @@ -439,51 +438,58 @@ if (! _$jscoverage['/drag.js']) { _$jscoverage['/drag.js'].lineData[415] = 0; _$jscoverage['/drag.js'].lineData[416] = 0; _$jscoverage['/drag.js'].lineData[417] = 0; - _$jscoverage['/drag.js'].lineData[418] = 0; - _$jscoverage['/drag.js'].lineData[419] = 0; - _$jscoverage['/drag.js'].lineData[420] = 0; _$jscoverage['/drag.js'].lineData[421] = 0; + _$jscoverage['/drag.js'].lineData[422] = 0; + _$jscoverage['/drag.js'].lineData[423] = 0; + _$jscoverage['/drag.js'].lineData[424] = 0; + _$jscoverage['/drag.js'].lineData[425] = 0; _$jscoverage['/drag.js'].lineData[426] = 0; _$jscoverage['/drag.js'].lineData[427] = 0; _$jscoverage['/drag.js'].lineData[428] = 0; _$jscoverage['/drag.js'].lineData[429] = 0; _$jscoverage['/drag.js'].lineData[430] = 0; _$jscoverage['/drag.js'].lineData[431] = 0; - _$jscoverage['/drag.js'].lineData[432] = 0; + _$jscoverage['/drag.js'].lineData[436] = 0; _$jscoverage['/drag.js'].lineData[437] = 0; _$jscoverage['/drag.js'].lineData[438] = 0; _$jscoverage['/drag.js'].lineData[439] = 0; + _$jscoverage['/drag.js'].lineData[440] = 0; _$jscoverage['/drag.js'].lineData[441] = 0; _$jscoverage['/drag.js'].lineData[442] = 0; - _$jscoverage['/drag.js'].lineData[445] = 0; + _$jscoverage['/drag.js'].lineData[447] = 0; _$jscoverage['/drag.js'].lineData[448] = 0; _$jscoverage['/drag.js'].lineData[449] = 0; + _$jscoverage['/drag.js'].lineData[451] = 0; _$jscoverage['/drag.js'].lineData[452] = 0; - _$jscoverage['/drag.js'].lineData[454] = 0; _$jscoverage['/drag.js'].lineData[455] = 0; + _$jscoverage['/drag.js'].lineData[458] = 0; + _$jscoverage['/drag.js'].lineData[459] = 0; _$jscoverage['/drag.js'].lineData[462] = 0; - _$jscoverage['/drag.js'].lineData[463] = 0; - _$jscoverage['/drag.js'].lineData[466] = 0; - _$jscoverage['/drag.js'].lineData[467] = 0; - _$jscoverage['/drag.js'].lineData[468] = 0; - _$jscoverage['/drag.js'].lineData[469] = 0; + _$jscoverage['/drag.js'].lineData[464] = 0; + _$jscoverage['/drag.js'].lineData[465] = 0; + _$jscoverage['/drag.js'].lineData[472] = 0; _$jscoverage['/drag.js'].lineData[473] = 0; - _$jscoverage['/drag.js'].lineData[474] = 0; - _$jscoverage['/drag.js'].lineData[475] = 0; + _$jscoverage['/drag.js'].lineData[476] = 0; + _$jscoverage['/drag.js'].lineData[477] = 0; _$jscoverage['/drag.js'].lineData[478] = 0; _$jscoverage['/drag.js'].lineData[479] = 0; + _$jscoverage['/drag.js'].lineData[483] = 0; + _$jscoverage['/drag.js'].lineData[484] = 0; + _$jscoverage['/drag.js'].lineData[485] = 0; _$jscoverage['/drag.js'].lineData[488] = 0; - _$jscoverage['/drag.js'].lineData[490] = 0; - _$jscoverage['/drag.js'].lineData[491] = 0; - _$jscoverage['/drag.js'].lineData[492] = 0; - _$jscoverage['/drag.js'].lineData[493] = 0; - _$jscoverage['/drag.js'].lineData[494] = 0; + _$jscoverage['/drag.js'].lineData[489] = 0; + _$jscoverage['/drag.js'].lineData[498] = 0; _$jscoverage['/drag.js'].lineData[500] = 0; + _$jscoverage['/drag.js'].lineData[501] = 0; _$jscoverage['/drag.js'].lineData[502] = 0; - _$jscoverage['/drag.js'].lineData[506] = 0; - _$jscoverage['/drag.js'].lineData[510] = 0; + _$jscoverage['/drag.js'].lineData[503] = 0; + _$jscoverage['/drag.js'].lineData[504] = 0; + _$jscoverage['/drag.js'].lineData[512] = 0; _$jscoverage['/drag.js'].lineData[514] = 0; - _$jscoverage['/drag.js'].lineData[515] = 0; + _$jscoverage['/drag.js'].lineData[518] = 0; + _$jscoverage['/drag.js'].lineData[522] = 0; + _$jscoverage['/drag.js'].lineData[526] = 0; + _$jscoverage['/drag.js'].lineData[527] = 0; } if (! _$jscoverage['/drag.js'].functionData) { _$jscoverage['/drag.js'].functionData = []; @@ -564,394 +570,412 @@ if (! _$jscoverage['/drag.js'].branchData) { _$jscoverage['/drag.js'].branchData['206'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['217'] = []; _$jscoverage['/drag.js'].branchData['217'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['228'] = []; - _$jscoverage['/drag.js'].branchData['228'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['237'] = []; - _$jscoverage['/drag.js'].branchData['237'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['244'] = []; - _$jscoverage['/drag.js'].branchData['244'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['227'] = []; + _$jscoverage['/drag.js'].branchData['227'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['232'] = []; + _$jscoverage['/drag.js'].branchData['232'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['241'] = []; + _$jscoverage['/drag.js'].branchData['241'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['248'] = []; + _$jscoverage['/drag.js'].branchData['248'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['261'] = []; _$jscoverage['/drag.js'].branchData['261'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['274'] = []; - _$jscoverage['/drag.js'].branchData['274'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['277'] = []; - _$jscoverage['/drag.js'].branchData['277'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['287'] = []; - _$jscoverage['/drag.js'].branchData['287'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['290'] = []; - _$jscoverage['/drag.js'].branchData['290'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['291'] = []; - _$jscoverage['/drag.js'].branchData['291'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['294'] = []; - _$jscoverage['/drag.js'].branchData['294'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['294'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['294'][3] = new BranchData(); + _$jscoverage['/drag.js'].branchData['267'] = []; + _$jscoverage['/drag.js'].branchData['267'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['280'] = []; + _$jscoverage['/drag.js'].branchData['280'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['283'] = []; + _$jscoverage['/drag.js'].branchData['283'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['293'] = []; + _$jscoverage['/drag.js'].branchData['293'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['296'] = []; + _$jscoverage['/drag.js'].branchData['296'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['297'] = []; _$jscoverage['/drag.js'].branchData['297'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['300'] = []; + _$jscoverage['/drag.js'].branchData['300'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['300'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['300'][3] = new BranchData(); _$jscoverage['/drag.js'].branchData['303'] = []; _$jscoverage['/drag.js'].branchData['303'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['303'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['303'][3] = new BranchData(); - _$jscoverage['/drag.js'].branchData['306'] = []; - _$jscoverage['/drag.js'].branchData['306'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['313'] = []; - _$jscoverage['/drag.js'].branchData['313'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['324'] = []; - _$jscoverage['/drag.js'].branchData['324'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['332'] = []; - _$jscoverage['/drag.js'].branchData['332'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['352'] = []; - _$jscoverage['/drag.js'].branchData['352'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['352'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['353'] = []; - _$jscoverage['/drag.js'].branchData['353'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['353'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['357'] = []; - _$jscoverage['/drag.js'].branchData['357'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['370'] = []; - _$jscoverage['/drag.js'].branchData['370'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['392'] = []; - _$jscoverage['/drag.js'].branchData['392'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['393'] = []; - _$jscoverage['/drag.js'].branchData['393'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['401'] = []; - _$jscoverage['/drag.js'].branchData['401'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['309'] = []; + _$jscoverage['/drag.js'].branchData['309'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['309'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['309'][3] = new BranchData(); + _$jscoverage['/drag.js'].branchData['312'] = []; + _$jscoverage['/drag.js'].branchData['312'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['319'] = []; + _$jscoverage['/drag.js'].branchData['319'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['330'] = []; + _$jscoverage['/drag.js'].branchData['330'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['335'] = []; + _$jscoverage['/drag.js'].branchData['335'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['342'] = []; + _$jscoverage['/drag.js'].branchData['342'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['362'] = []; + _$jscoverage['/drag.js'].branchData['362'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['362'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['363'] = []; + _$jscoverage['/drag.js'].branchData['363'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['363'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['367'] = []; + _$jscoverage['/drag.js'].branchData['367'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['380'] = []; + _$jscoverage['/drag.js'].branchData['380'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['402'] = []; + _$jscoverage['/drag.js'].branchData['402'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['403'] = []; _$jscoverage['/drag.js'].branchData['403'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['404'] = []; - _$jscoverage['/drag.js'].branchData['404'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['404'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['404'][3] = new BranchData(); - _$jscoverage['/drag.js'].branchData['406'] = []; - _$jscoverage['/drag.js'].branchData['406'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['406'][2] = new BranchData(); - _$jscoverage['/drag.js'].branchData['406'][3] = new BranchData(); + _$jscoverage['/drag.js'].branchData['411'] = []; + _$jscoverage['/drag.js'].branchData['411'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['413'] = []; + _$jscoverage['/drag.js'].branchData['413'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['414'] = []; _$jscoverage['/drag.js'].branchData['414'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['414'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['414'][3] = new BranchData(); _$jscoverage['/drag.js'].branchData['416'] = []; _$jscoverage['/drag.js'].branchData['416'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['418'] = []; - _$jscoverage['/drag.js'].branchData['418'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['419'] = []; - _$jscoverage['/drag.js'].branchData['419'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['427'] = []; - _$jscoverage['/drag.js'].branchData['427'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['416'][2] = new BranchData(); + _$jscoverage['/drag.js'].branchData['416'][3] = new BranchData(); + _$jscoverage['/drag.js'].branchData['424'] = []; + _$jscoverage['/drag.js'].branchData['424'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['426'] = []; + _$jscoverage['/drag.js'].branchData['426'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['428'] = []; + _$jscoverage['/drag.js'].branchData['428'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['429'] = []; _$jscoverage['/drag.js'].branchData['429'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['430'] = []; - _$jscoverage['/drag.js'].branchData['430'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['437'] = []; _$jscoverage['/drag.js'].branchData['437'][1] = new BranchData(); - _$jscoverage['/drag.js'].branchData['438'] = []; - _$jscoverage['/drag.js'].branchData['438'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['439'] = []; + _$jscoverage['/drag.js'].branchData['439'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['440'] = []; + _$jscoverage['/drag.js'].branchData['440'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['447'] = []; + _$jscoverage['/drag.js'].branchData['447'][1] = new BranchData(); _$jscoverage['/drag.js'].branchData['448'] = []; _$jscoverage['/drag.js'].branchData['448'][1] = new BranchData(); + _$jscoverage['/drag.js'].branchData['458'] = []; + _$jscoverage['/drag.js'].branchData['458'][1] = new BranchData(); } -_$jscoverage['/drag.js'].branchData['448'][1].init(30, 16, 'allowX || allowY'); -function visit77_448_1(result) { +_$jscoverage['/drag.js'].branchData['458'][1].init(29, 16, 'allowX || allowY'); +function visit80_458_1(result) { + _$jscoverage['/drag.js'].branchData['458'][1].ranCondition(result); + return result; +}_$jscoverage['/drag.js'].branchData['448'][1].init(33, 26, 'newPageIndex !== pageIndex'); +function visit79_448_1(result) { _$jscoverage['/drag.js'].branchData['448'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['438'][1].init(34, 26, 'newPageIndex !== pageIndex'); -function visit76_438_1(result) { - _$jscoverage['/drag.js'].branchData['438'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['447'][1].init(2113, 26, 'newPageIndex !== undefined'); +function visit78_447_1(result) { + _$jscoverage['/drag.js'].branchData['447'][1].ranCondition(result); + return result; +}_$jscoverage['/drag.js'].branchData['440'][1].init(41, 23, 'min < nowXY.top - x.top'); +function visit77_440_1(result) { + _$jscoverage['/drag.js'].branchData['440'][1].ranCondition(result); + return result; +}_$jscoverage['/drag.js'].branchData['439'][1].init(86, 17, 'x.top < nowXY.top'); +function visit76_439_1(result) { + _$jscoverage['/drag.js'].branchData['439'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['437'][1].init(2157, 26, 'newPageIndex !== undefined'); +}_$jscoverage['/drag.js'].branchData['437'][1].init(93, 15, 'i < prepareXLen'); function visit75_437_1(result) { _$jscoverage['/drag.js'].branchData['437'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['430'][1].init(42, 23, 'min < nowXY.top - x.top'); -function visit74_430_1(result) { - _$jscoverage['/drag.js'].branchData['430'][1].ranCondition(result); - return result; -}_$jscoverage['/drag.js'].branchData['429'][1].init(88, 17, 'x.top < nowXY.top'); -function visit73_429_1(result) { +}_$jscoverage['/drag.js'].branchData['429'][1].init(41, 23, 'min < x.top - nowXY.top'); +function visit74_429_1(result) { _$jscoverage['/drag.js'].branchData['429'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['427'][1].init(95, 15, 'i < prepareXLen'); -function visit72_427_1(result) { - _$jscoverage['/drag.js'].branchData['427'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['428'][1].init(86, 17, 'x.top > nowXY.top'); +function visit73_428_1(result) { + _$jscoverage['/drag.js'].branchData['428'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['419'][1].init(42, 23, 'min < x.top - nowXY.top'); -function visit71_419_1(result) { - _$jscoverage['/drag.js'].branchData['419'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['426'][1].init(93, 15, 'i < prepareXLen'); +function visit72_426_1(result) { + _$jscoverage['/drag.js'].branchData['426'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['418'][1].init(88, 17, 'x.top > nowXY.top'); -function visit70_418_1(result) { - _$jscoverage['/drag.js'].branchData['418'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['424'][1].init(957, 11, 'offsetY > 0'); +function visit71_424_1(result) { + _$jscoverage['/drag.js'].branchData['424'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['416'][1].init(95, 15, 'i < prepareXLen'); -function visit69_416_1(result) { - _$jscoverage['/drag.js'].branchData['416'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['416'][3].init(198, 24, 'offset.left < nowXY.left'); +function visit70_416_3(result) { + _$jscoverage['/drag.js'].branchData['416'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['414'][1].init(978, 11, 'offsetY > 0'); -function visit68_414_1(result) { - _$jscoverage['/drag.js'].branchData['414'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['416'][2].init(183, 11, 'offsetX < 0'); +function visit69_416_2(result) { + _$jscoverage['/drag.js'].branchData['416'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['406'][3].init(201, 24, 'offset.left < nowXY.left'); -function visit67_406_3(result) { - _$jscoverage['/drag.js'].branchData['406'][3].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['416'][1].init(183, 39, 'offsetX < 0 && offset.left < nowXY.left'); +function visit68_416_1(result) { + _$jscoverage['/drag.js'].branchData['416'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['406'][2].init(186, 11, 'offsetX < 0'); -function visit66_406_2(result) { - _$jscoverage['/drag.js'].branchData['406'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['414'][3].init(52, 24, 'offset.left > nowXY.left'); +function visit67_414_3(result) { + _$jscoverage['/drag.js'].branchData['414'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['406'][1].init(186, 39, 'offsetX < 0 && offset.left < nowXY.left'); -function visit65_406_1(result) { - _$jscoverage['/drag.js'].branchData['406'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['414'][2].init(37, 11, 'offsetX > 0'); +function visit66_414_2(result) { + _$jscoverage['/drag.js'].branchData['414'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['404'][3].init(53, 24, 'offset.left > nowXY.left'); -function visit64_404_3(result) { - _$jscoverage['/drag.js'].branchData['404'][3].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['414'][1].init(37, 39, 'offsetX > 0 && offset.left > nowXY.left'); +function visit65_414_1(result) { + _$jscoverage['/drag.js'].branchData['414'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['404'][2].init(38, 11, 'offsetX > 0'); -function visit63_404_2(result) { - _$jscoverage['/drag.js'].branchData['404'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['413'][1].init(90, 6, 'offset'); +function visit64_413_1(result) { + _$jscoverage['/drag.js'].branchData['413'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['404'][1].init(38, 39, 'offsetX > 0 && offset.left > nowXY.left'); -function visit62_404_1(result) { - _$jscoverage['/drag.js'].branchData['404'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['411'][1].init(307, 18, 'i < pagesOffsetLen'); +function visit63_411_1(result) { + _$jscoverage['/drag.js'].branchData['411'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['403'][1].init(92, 6, 'offset'); -function visit61_403_1(result) { +}_$jscoverage['/drag.js'].branchData['403'][1].init(25, 16, 'allowX && allowY'); +function visit62_403_1(result) { _$jscoverage['/drag.js'].branchData['403'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['401'][1].init(315, 18, 'i < pagesOffsetLen'); -function visit60_401_1(result) { - _$jscoverage['/drag.js'].branchData['401'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['402'][1].init(1195, 16, 'allowX || allowY'); +function visit61_402_1(result) { + _$jscoverage['/drag.js'].branchData['402'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['393'][1].init(26, 16, 'allowX && allowY'); -function visit59_393_1(result) { - _$jscoverage['/drag.js'].branchData['393'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['380'][1].init(469, 17, '!self.pagesOffset'); +function visit60_380_1(result) { + _$jscoverage['/drag.js'].branchData['380'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['392'][1].init(1230, 16, 'allowX || allowY'); -function visit58_392_1(result) { - _$jscoverage['/drag.js'].branchData['392'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['367'][1].init(38, 11, 'count === 2'); +function visit59_367_1(result) { + _$jscoverage['/drag.js'].branchData['367'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['370'][1].init(482, 17, '!self.pagesOffset'); -function visit57_370_1(result) { - _$jscoverage['/drag.js'].branchData['370'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['363'][2].init(293, 33, 'Math.abs(offsetY) > snapThreshold'); +function visit58_363_2(result) { + _$jscoverage['/drag.js'].branchData['363'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['357'][1].init(40, 11, 'count === 2'); -function visit56_357_1(result) { - _$jscoverage['/drag.js'].branchData['357'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['363'][1].init(269, 57, 'self.allowScroll.top && Math.abs(offsetY) > snapThreshold'); +function visit57_363_1(result) { + _$jscoverage['/drag.js'].branchData['363'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['353'][2].init(300, 33, 'Math.abs(offsetY) > snapThreshold'); -function visit55_353_2(result) { - _$jscoverage['/drag.js'].branchData['353'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['362'][2].init(213, 33, 'Math.abs(offsetX) > snapThreshold'); +function visit56_362_2(result) { + _$jscoverage['/drag.js'].branchData['362'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['353'][1].init(276, 57, 'self.allowScroll.top && Math.abs(offsetY) > snapThreshold'); -function visit54_353_1(result) { - _$jscoverage['/drag.js'].branchData['353'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['362'][1].init(188, 58, 'self.allowScroll.left && Math.abs(offsetX) > snapThreshold'); +function visit55_362_1(result) { + _$jscoverage['/drag.js'].branchData['362'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['352'][2].init(219, 33, 'Math.abs(offsetX) > snapThreshold'); -function visit53_352_2(result) { - _$jscoverage['/drag.js'].branchData['352'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['342'][1].init(260, 35, '!startMousePos || !self.isScrolling'); +function visit54_342_1(result) { + _$jscoverage['/drag.js'].branchData['342'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['352'][1].init(194, 58, 'self.allowScroll.left && Math.abs(offsetX) > snapThreshold'); -function visit52_352_1(result) { - _$jscoverage['/drag.js'].branchData['352'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['335'][1].init(13, 10, '!e.isTouch'); +function visit53_335_1(result) { + _$jscoverage['/drag.js'].branchData['335'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['332'][1].init(151, 35, '!startMousePos || !self.isScrolling'); -function visit51_332_1(result) { - _$jscoverage['/drag.js'].branchData['332'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['330'][1].init(10717, 7, 'S.UA.ie'); +function visit52_330_1(result) { + _$jscoverage['/drag.js'].branchData['330'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['324'][1].init(10958, 7, 'S.UA.ie'); -function visit50_324_1(result) { - _$jscoverage['/drag.js'].branchData['324'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['319'][1].init(1765, 33, 'S.Features.isTouchEventSupported()'); +function visit51_319_1(result) { + _$jscoverage['/drag.js'].branchData['319'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['313'][1].init(1817, 34, 'S.Features.isTouchEventSupported()'); -function visit49_313_1(result) { - _$jscoverage['/drag.js'].branchData['313'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['312'][1].init(110, 27, 'self.get(\'preventDefaultY\')'); +function visit50_312_1(result) { + _$jscoverage['/drag.js'].branchData['312'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['306'][1].init(113, 27, 'self.get(\'preventDefaultY\')'); -function visit48_306_1(result) { - _$jscoverage['/drag.js'].branchData['306'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['309'][3].init(569, 27, 'dragInitDirection === \'top\''); +function visit49_309_3(result) { + _$jscoverage['/drag.js'].branchData['309'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['303'][3].init(585, 27, 'dragInitDirection === \'top\''); -function visit47_303_3(result) { - _$jscoverage['/drag.js'].branchData['303'][3].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['309'][2].init(569, 67, 'dragInitDirection === \'top\' && !self.allowScroll[dragInitDirection]'); +function visit48_309_2(result) { + _$jscoverage['/drag.js'].branchData['309'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['303'][2].init(585, 67, 'dragInitDirection === \'top\' && !self.allowScroll[dragInitDirection]'); -function visit46_303_2(result) { - _$jscoverage['/drag.js'].branchData['303'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['309'][1].init(560, 76, 'lockY && dragInitDirection === \'top\' && !self.allowScroll[dragInitDirection]'); +function visit47_309_1(result) { + _$jscoverage['/drag.js'].branchData['309'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['303'][1].init(576, 76, 'lockY && dragInitDirection === \'top\' && !self.allowScroll[dragInitDirection]'); -function visit45_303_1(result) { +}_$jscoverage['/drag.js'].branchData['303'][1].init(110, 27, 'self.get(\'preventDefaultX\')'); +function visit46_303_1(result) { _$jscoverage['/drag.js'].branchData['303'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['297'][1].init(113, 27, 'self.get(\'preventDefaultX\')'); -function visit44_297_1(result) { - _$jscoverage['/drag.js'].branchData['297'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['300'][3].init(235, 28, 'dragInitDirection === \'left\''); +function visit45_300_3(result) { + _$jscoverage['/drag.js'].branchData['300'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['294'][3].init(242, 28, 'dragInitDirection === \'left\''); -function visit43_294_3(result) { - _$jscoverage['/drag.js'].branchData['294'][3].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['300'][2].init(235, 68, 'dragInitDirection === \'left\' && !self.allowScroll[dragInitDirection]'); +function visit44_300_2(result) { + _$jscoverage['/drag.js'].branchData['300'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['294'][2].init(242, 68, 'dragInitDirection === \'left\' && !self.allowScroll[dragInitDirection]'); -function visit42_294_2(result) { - _$jscoverage['/drag.js'].branchData['294'][2].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['300'][1].init(226, 77, 'lockX && dragInitDirection === \'left\' && !self.allowScroll[dragInitDirection]'); +function visit43_300_1(result) { + _$jscoverage['/drag.js'].branchData['300'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['294'][1].init(233, 77, 'lockX && dragInitDirection === \'left\' && !self.allowScroll[dragInitDirection]'); -function visit41_294_1(result) { - _$jscoverage['/drag.js'].branchData['294'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['297'][1].init(62, 13, 'xDiff > yDiff'); +function visit42_297_1(result) { + _$jscoverage['/drag.js'].branchData['297'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['291'][1].init(63, 13, 'xDiff > yDiff'); -function visit40_291_1(result) { - _$jscoverage['/drag.js'].branchData['291'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['296'][1].init(53, 45, '!(dragInitDirection = self.dragInitDirection)'); +function visit41_296_1(result) { + _$jscoverage['/drag.js'].branchData['296'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['290'][1].init(56, 45, '!(dragInitDirection = self.dragInitDirection)'); -function visit39_290_1(result) { - _$jscoverage['/drag.js'].branchData['290'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['293'][1].init(849, 14, 'lockX || lockY'); +function visit40_293_1(result) { + _$jscoverage['/drag.js'].branchData['293'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['287'][1].init(875, 14, 'lockX || lockY'); -function visit38_287_1(result) { - _$jscoverage['/drag.js'].branchData['287'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['283'][1].init(17, 17, '!self.isScrolling'); +function visit39_283_1(result) { + _$jscoverage['/drag.js'].branchData['283'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['277'][1].init(18, 17, '!self.isScrolling'); -function visit37_277_1(result) { - _$jscoverage['/drag.js'].branchData['277'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['280'][1].init(452, 37, 'Math.max(xDiff, yDiff) < PIXEL_THRESH'); +function visit38_280_1(result) { + _$jscoverage['/drag.js'].branchData['280'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['274'][1].init(465, 37, 'Math.max(xDiff, yDiff) < PIXEL_THRESH'); -function visit36_274_1(result) { - _$jscoverage['/drag.js'].branchData['274'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['267'][1].init(143, 14, '!startMousePos'); +function visit37_267_1(result) { + _$jscoverage['/drag.js'].branchData['267'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['261'][1].init(125, 14, '!startMousePos'); -function visit35_261_1(result) { +}_$jscoverage['/drag.js'].branchData['261'][1].init(13, 10, '!e.isTouch'); +function visit36_261_1(result) { _$jscoverage['/drag.js'].branchData['261'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['244'][1].init(570, 18, 'touches.length > 1'); -function visit34_244_1(result) { - _$jscoverage['/drag.js'].branchData['244'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['248'][1].init(646, 18, 'touches.length > 1'); +function visit35_248_1(result) { + _$jscoverage['/drag.js'].branchData['248'][1].ranCondition(result); + return result; +}_$jscoverage['/drag.js'].branchData['241'][1].init(414, 11, 'isScrolling'); +function visit34_241_1(result) { + _$jscoverage['/drag.js'].branchData['241'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['237'][1].init(331, 11, 'isScrolling'); -function visit33_237_1(result) { - _$jscoverage['/drag.js'].branchData['237'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['232'][1].init(188, 20, 'self.get(\'disabled\')'); +function visit33_232_1(result) { + _$jscoverage['/drag.js'].branchData['232'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['228'][1].init(74, 20, 'self.get(\'disabled\')'); -function visit32_228_1(result) { - _$jscoverage['/drag.js'].branchData['228'][1].ranCondition(result); +}_$jscoverage['/drag.js'].branchData['227'][1].init(74, 10, '!e.isTouch'); +function visit32_227_1(result) { + _$jscoverage['/drag.js'].branchData['227'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['217'][1].init(355, 11, 'value === 0'); +}_$jscoverage['/drag.js'].branchData['217'][1].init(347, 11, 'value === 0'); function visit31_217_1(result) { _$jscoverage['/drag.js'].branchData['217'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['206'][1].init(1181, 18, 'value <= minScroll'); +}_$jscoverage['/drag.js'].branchData['206'][1].init(1156, 18, 'value <= minScroll'); function visit30_206_1(result) { _$jscoverage['/drag.js'].branchData['206'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['191'][1].init(58, 22, 'fx.lastValue === value'); +}_$jscoverage['/drag.js'].branchData['191'][1].init(56, 22, 'fx.lastValue === value'); function visit29_191_1(result) { _$jscoverage['/drag.js'].branchData['191'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['189'][3].init(400, 17, 'value < maxScroll'); +}_$jscoverage['/drag.js'].branchData['189'][3].init(392, 17, 'value < maxScroll'); function visit28_189_3(result) { _$jscoverage['/drag.js'].branchData['189'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['189'][2].init(379, 17, 'value > minScroll'); +}_$jscoverage['/drag.js'].branchData['189'][2].init(371, 17, 'value > minScroll'); function visit27_189_2(result) { _$jscoverage['/drag.js'].branchData['189'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['189'][1].init(379, 38, 'value > minScroll && value < maxScroll'); +}_$jscoverage['/drag.js'].branchData['189'][1].init(371, 38, 'value > minScroll && value < maxScroll'); function visit26_189_1(result) { _$jscoverage['/drag.js'].branchData['189'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['181'][1].init(102, 7, 'inertia'); +}_$jscoverage['/drag.js'].branchData['181'][1].init(98, 7, 'inertia'); function visit25_181_1(result) { _$jscoverage['/drag.js'].branchData['181'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['134'][3].init(1251, 14, 'distance === 0'); +}_$jscoverage['/drag.js'].branchData['134'][3].init(1212, 14, 'distance === 0'); function visit24_134_3(result) { _$jscoverage['/drag.js'].branchData['134'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['134'][2].init(1233, 14, 'duration === 0'); +}_$jscoverage['/drag.js'].branchData['134'][2].init(1194, 14, 'duration === 0'); function visit23_134_2(result) { _$jscoverage['/drag.js'].branchData['134'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['134'][1].init(1233, 32, 'duration === 0 || distance === 0'); +}_$jscoverage['/drag.js'].branchData['134'][1].init(1194, 32, 'duration === 0 || distance === 0'); function visit22_134_1(result) { _$jscoverage['/drag.js'].branchData['134'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['124'][1].init(970, 16, 'self.pagesOffset'); +}_$jscoverage['/drag.js'].branchData['124'][1].init(941, 16, 'self.pagesOffset'); function visit21_124_1(result) { _$jscoverage['/drag.js'].branchData['124'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['112'][1].init(590, 19, 'bound !== undefined'); +}_$jscoverage['/drag.js'].branchData['112'][1].init(573, 19, 'bound !== undefined'); function visit20_112_1(result) { _$jscoverage['/drag.js'].branchData['112'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['109'][1].init(489, 30, 'scroll > maxScroll[scrollType]'); +}_$jscoverage['/drag.js'].branchData['109'][1].init(475, 30, 'scroll > maxScroll[scrollType]'); function visit19_109_1(result) { _$jscoverage['/drag.js'].branchData['109'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['107'][1].init(390, 30, 'scroll < minScroll[scrollType]'); +}_$jscoverage['/drag.js'].branchData['107'][1].init(378, 30, 'scroll < minScroll[scrollType]'); function visit18_107_1(result) { _$jscoverage['/drag.js'].branchData['107'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['96'][1].init(14, 28, 'forbidDrag(self, scrollType)'); +}_$jscoverage['/drag.js'].branchData['96'][1].init(13, 28, 'forbidDrag(self, scrollType)'); function visit17_96_1(result) { _$jscoverage['/drag.js'].branchData['96'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['89'][1].init(79, 49, '!self.allowScroll[scrollType] && self.get(lockXY)'); +}_$jscoverage['/drag.js'].branchData['89'][1].init(77, 49, '!self.allowScroll[scrollType] && self.get(lockXY)'); function visit16_89_1(result) { _$jscoverage['/drag.js'].branchData['89'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['88'][1].init(23, 21, 'scrollType === \'left\''); +}_$jscoverage['/drag.js'].branchData['88'][1].init(22, 21, 'scrollType === \'left\''); function visit15_88_1(result) { _$jscoverage['/drag.js'].branchData['88'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['75'][2].init(118, 32, 'timeDiff > SWIPE_SAMPLE_INTERVAL'); +}_$jscoverage['/drag.js'].branchData['75'][2].init(117, 32, 'timeDiff > SWIPE_SAMPLE_INTERVAL'); function visit14_75_2(result) { _$jscoverage['/drag.js'].branchData['75'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['75'][1].init(55, 39, 'lastDirection[scrollType] !== direction'); +}_$jscoverage['/drag.js'].branchData['75'][1].init(54, 39, 'lastDirection[scrollType] !== direction'); function visit13_75_1(result) { _$jscoverage['/drag.js'].branchData['75'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['74'][4].init(1678, 39, 'lastDirection[scrollType] !== undefined'); +}_$jscoverage['/drag.js'].branchData['74'][4].init(1613, 39, 'lastDirection[scrollType] !== undefined'); function visit12_74_4(result) { _$jscoverage['/drag.js'].branchData['74'][4].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['74'][3].init(1678, 95, 'lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction'); +}_$jscoverage['/drag.js'].branchData['74'][3].init(1613, 94, 'lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction'); function visit11_74_3(result) { _$jscoverage['/drag.js'].branchData['74'][3].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['74'][2].init(1658, 115, '!eqWithLastPoint && lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction'); +}_$jscoverage['/drag.js'].branchData['74'][2].init(1593, 114, '!eqWithLastPoint && lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction'); function visit10_74_2(result) { _$jscoverage['/drag.js'].branchData['74'][2].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['74'][1].init(1658, 151, '!eqWithLastPoint && lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction || timeDiff > SWIPE_SAMPLE_INTERVAL'); +}_$jscoverage['/drag.js'].branchData['74'][1].init(1593, 150, '!eqWithLastPoint && lastDirection[scrollType] !== undefined && lastDirection[scrollType] !== direction || timeDiff > SWIPE_SAMPLE_INTERVAL'); function visit9_74_1(result) { _$jscoverage['/drag.js'].branchData['74'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['65'][1].init(1362, 30, 'scroll > maxScroll[scrollType]'); +}_$jscoverage['/drag.js'].branchData['65'][1].init(1306, 30, 'scroll > maxScroll[scrollType]'); function visit8_65_1(result) { _$jscoverage['/drag.js'].branchData['65'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['61'][1].init(1158, 30, 'scroll < minScroll[scrollType]'); +}_$jscoverage['/drag.js'].branchData['61'][1].init(1106, 30, 'scroll < minScroll[scrollType]'); function visit7_61_1(result) { _$jscoverage['/drag.js'].branchData['61'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['57'][1].init(1013, 19, '!self.get(\'bounce\')'); +}_$jscoverage['/drag.js'].branchData['57'][1].init(965, 19, '!self.get(\'bounce\')'); function visit6_57_1(result) { _$jscoverage['/drag.js'].branchData['57'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['54'][1].init(119, 61, '(pos[pageOffsetProperty] - lastPageXY[pageOffsetProperty]) > 0'); +}_$jscoverage['/drag.js'].branchData['54'][1].init(117, 61, '(pos[pageOffsetProperty] - lastPageXY[pageOffsetProperty]) > 0'); function visit5_54_1(result) { _$jscoverage['/drag.js'].branchData['54'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['53'][1].init(32, 58, 'pos[pageOffsetProperty] === lastPageXY[pageOffsetProperty]'); +}_$jscoverage['/drag.js'].branchData['53'][1].init(31, 58, 'pos[pageOffsetProperty] === lastPageXY[pageOffsetProperty]'); function visit4_53_1(result) { _$jscoverage['/drag.js'].branchData['53'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['52'][1].init(772, 30, 'lastPageXY[pageOffsetProperty]'); +}_$jscoverage['/drag.js'].branchData['52'][1].init(729, 30, 'lastPageXY[pageOffsetProperty]'); function visit3_52_1(result) { _$jscoverage['/drag.js'].branchData['52'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['39'][1].init(224, 21, 'scrollType === \'left\''); +}_$jscoverage['/drag.js'].branchData['39'][1].init(194, 21, 'scrollType === \'left\''); function visit2_39_1(result) { _$jscoverage['/drag.js'].branchData['39'][1].ranCondition(result); return result; -}_$jscoverage['/drag.js'].branchData['32'][1].init(14, 28, 'forbidDrag(self, scrollType)'); +}_$jscoverage['/drag.js'].branchData['32'][1].init(13, 28, 'forbidDrag(self, scrollType)'); function visit1_32_1(result) { _$jscoverage['/drag.js'].branchData['32'][1].ranCondition(result); return result; @@ -998,8 +1022,8 @@ KISSY.add(function(S, require) { } _$jscoverage['/drag.js'].lineData[35]++; var pos = { - pageX: e.touches[0].pageX, - pageY: e.touches[0].pageY}; + pageX: e.pageX, + pageY: e.pageY}; _$jscoverage['/drag.js'].lineData[39]++; var pageOffsetProperty = visit2_39_1(scrollType === 'left') ? 'pageX' : 'pageY', lastPageXY = self.lastPageXY; _$jscoverage['/drag.js'].lineData[41]++; @@ -1215,185 +1239,200 @@ KISSY.add(function(S, require) { _$jscoverage['/drag.js'].lineData[225]++; function onDragStartHandler(e) { _$jscoverage['/drag.js'].functionData[7]++; - _$jscoverage['/drag.js'].lineData[226]++; + _$jscoverage['/drag.js'].lineData[227]++; + if (visit32_227_1(!e.isTouch)) { + _$jscoverage['/drag.js'].lineData[228]++; + return; + } + _$jscoverage['/drag.js'].lineData[230]++; var self = this, touches = e.touches; - _$jscoverage['/drag.js'].lineData[228]++; - if (visit32_228_1(self.get('disabled'))) { - _$jscoverage['/drag.js'].lineData[229]++; + _$jscoverage['/drag.js'].lineData[232]++; + if (visit33_232_1(self.get('disabled'))) { + _$jscoverage['/drag.js'].lineData[233]++; return; } - _$jscoverage['/drag.js'].lineData[231]++; + _$jscoverage['/drag.js'].lineData[235]++; self.stopAnimation(); - _$jscoverage['/drag.js'].lineData[232]++; - var pos = { - pageX: e.touches[0].pageX, - pageY: e.touches[0].pageY}; _$jscoverage['/drag.js'].lineData[236]++; + var pos = { + pageX: e.pageX, + pageY: e.pageY}; + _$jscoverage['/drag.js'].lineData[240]++; var isScrolling = self.isScrolling; - _$jscoverage['/drag.js'].lineData[237]++; - if (visit33_237_1(isScrolling)) { - _$jscoverage['/drag.js'].lineData[238]++; + _$jscoverage['/drag.js'].lineData[241]++; + if (visit34_241_1(isScrolling)) { + _$jscoverage['/drag.js'].lineData[242]++; var pageIndex = self.get('pageIndex'); - _$jscoverage['/drag.js'].lineData[239]++; + _$jscoverage['/drag.js'].lineData[243]++; self.fire('scrollEnd', S.mix({ fromPageIndex: pageIndex, pageIndex: pageIndex}, pos)); } - _$jscoverage['/drag.js'].lineData[244]++; - if (visit34_244_1(touches.length > 1)) { - _$jscoverage['/drag.js'].lineData[245]++; + _$jscoverage['/drag.js'].lineData[248]++; + if (visit35_248_1(touches.length > 1)) { + _$jscoverage['/drag.js'].lineData[249]++; return; } - _$jscoverage['/drag.js'].lineData[247]++; + _$jscoverage['/drag.js'].lineData[251]++; initStates(self); - _$jscoverage['/drag.js'].lineData[248]++; + _$jscoverage['/drag.js'].lineData[252]++; self.startMousePos = pos; - _$jscoverage['/drag.js'].lineData[249]++; + _$jscoverage['/drag.js'].lineData[253]++; onDragStart(self, e, 'left'); - _$jscoverage['/drag.js'].lineData[250]++; + _$jscoverage['/drag.js'].lineData[254]++; onDragStart(self, e, 'top'); - _$jscoverage['/drag.js'].lineData[253]++; + _$jscoverage['/drag.js'].lineData[257]++; $document.on(Gesture.move, onDragHandler, self).on(Gesture.end, onDragEndHandler, self); } - _$jscoverage['/drag.js'].lineData[256]++; + _$jscoverage['/drag.js'].lineData[260]++; var onDragHandler = function(e) { _$jscoverage['/drag.js'].functionData[8]++; - _$jscoverage['/drag.js'].lineData[257]++; - var self = this, touches = e.touches, startMousePos = self.startMousePos; _$jscoverage['/drag.js'].lineData[261]++; - if (visit35_261_1(!startMousePos)) { + if (visit36_261_1(!e.isTouch)) { _$jscoverage['/drag.js'].lineData[262]++; return; } - _$jscoverage['/drag.js'].lineData[265]++; + _$jscoverage['/drag.js'].lineData[264]++; + var self = this, startMousePos = self.startMousePos; + _$jscoverage['/drag.js'].lineData[267]++; + if (visit37_267_1(!startMousePos)) { + _$jscoverage['/drag.js'].lineData[268]++; + return; + } + _$jscoverage['/drag.js'].lineData[271]++; var pos = { - pageX: touches[0].pageX, - pageY: touches[0].pageY}; - _$jscoverage['/drag.js'].lineData[270]++; + pageX: e.pageX, + pageY: e.pageY}; + _$jscoverage['/drag.js'].lineData[276]++; var xDiff = Math.abs(pos.pageX - startMousePos.pageX); - _$jscoverage['/drag.js'].lineData[271]++; + _$jscoverage['/drag.js'].lineData[277]++; var yDiff = Math.abs(pos.pageY - startMousePos.pageY); - _$jscoverage['/drag.js'].lineData[274]++; - if (visit36_274_1(Math.max(xDiff, yDiff) < PIXEL_THRESH)) { - _$jscoverage['/drag.js'].lineData[275]++; + _$jscoverage['/drag.js'].lineData[280]++; + if (visit38_280_1(Math.max(xDiff, yDiff) < PIXEL_THRESH)) { + _$jscoverage['/drag.js'].lineData[281]++; return; } else { - _$jscoverage['/drag.js'].lineData[277]++; - if (visit37_277_1(!self.isScrolling)) { - _$jscoverage['/drag.js'].lineData[278]++; + _$jscoverage['/drag.js'].lineData[283]++; + if (visit39_283_1(!self.isScrolling)) { + _$jscoverage['/drag.js'].lineData[284]++; self.fire('scrollStart', pos); - _$jscoverage['/drag.js'].lineData[279]++; + _$jscoverage['/drag.js'].lineData[285]++; self.isScrolling = 1; } } - _$jscoverage['/drag.js'].lineData[283]++; + _$jscoverage['/drag.js'].lineData[289]++; var lockX = self.get('lockX'), lockY = self.get('lockY'); - _$jscoverage['/drag.js'].lineData[287]++; - if (visit38_287_1(lockX || lockY)) { - _$jscoverage['/drag.js'].lineData[288]++; + _$jscoverage['/drag.js'].lineData[293]++; + if (visit40_293_1(lockX || lockY)) { + _$jscoverage['/drag.js'].lineData[294]++; var dragInitDirection; - _$jscoverage['/drag.js'].lineData[290]++; - if (visit39_290_1(!(dragInitDirection = self.dragInitDirection))) { - _$jscoverage['/drag.js'].lineData[291]++; - self.dragInitDirection = dragInitDirection = visit40_291_1(xDiff > yDiff) ? 'left' : 'top'; + _$jscoverage['/drag.js'].lineData[296]++; + if (visit41_296_1(!(dragInitDirection = self.dragInitDirection))) { + _$jscoverage['/drag.js'].lineData[297]++; + self.dragInitDirection = dragInitDirection = visit42_297_1(xDiff > yDiff) ? 'left' : 'top'; } - _$jscoverage['/drag.js'].lineData[294]++; - if (visit41_294_1(lockX && visit42_294_2(visit43_294_3(dragInitDirection === 'left') && !self.allowScroll[dragInitDirection]))) { - _$jscoverage['/drag.js'].lineData[296]++; + _$jscoverage['/drag.js'].lineData[300]++; + if (visit43_300_1(lockX && visit44_300_2(visit45_300_3(dragInitDirection === 'left') && !self.allowScroll[dragInitDirection]))) { + _$jscoverage['/drag.js'].lineData[302]++; self.isScrolling = 0; - _$jscoverage['/drag.js'].lineData[297]++; - if (visit44_297_1(self.get('preventDefaultX'))) { - _$jscoverage['/drag.js'].lineData[298]++; + _$jscoverage['/drag.js'].lineData[303]++; + if (visit46_303_1(self.get('preventDefaultX'))) { + _$jscoverage['/drag.js'].lineData[304]++; e.preventDefault(); } - _$jscoverage['/drag.js'].lineData[300]++; + _$jscoverage['/drag.js'].lineData[306]++; return; } - _$jscoverage['/drag.js'].lineData[303]++; - if (visit45_303_1(lockY && visit46_303_2(visit47_303_3(dragInitDirection === 'top') && !self.allowScroll[dragInitDirection]))) { - _$jscoverage['/drag.js'].lineData[305]++; + _$jscoverage['/drag.js'].lineData[309]++; + if (visit47_309_1(lockY && visit48_309_2(visit49_309_3(dragInitDirection === 'top') && !self.allowScroll[dragInitDirection]))) { + _$jscoverage['/drag.js'].lineData[311]++; self.isScrolling = 0; - _$jscoverage['/drag.js'].lineData[306]++; - if (visit48_306_1(self.get('preventDefaultY'))) { - _$jscoverage['/drag.js'].lineData[307]++; + _$jscoverage['/drag.js'].lineData[312]++; + if (visit50_312_1(self.get('preventDefaultY'))) { + _$jscoverage['/drag.js'].lineData[313]++; e.preventDefault(); } - _$jscoverage['/drag.js'].lineData[309]++; + _$jscoverage['/drag.js'].lineData[315]++; return; } } - _$jscoverage['/drag.js'].lineData[313]++; - if (visit49_313_1(S.Features.isTouchEventSupported())) { - _$jscoverage['/drag.js'].lineData[314]++; + _$jscoverage['/drag.js'].lineData[319]++; + if (visit51_319_1(S.Features.isTouchEventSupported())) { + _$jscoverage['/drag.js'].lineData[320]++; e.preventDefault(); } - _$jscoverage['/drag.js'].lineData[317]++; + _$jscoverage['/drag.js'].lineData[323]++; onDragScroll(self, e, 'left', startMousePos); - _$jscoverage['/drag.js'].lineData[318]++; + _$jscoverage['/drag.js'].lineData[324]++; onDragScroll(self, e, 'top', startMousePos); - _$jscoverage['/drag.js'].lineData[321]++; + _$jscoverage['/drag.js'].lineData[327]++; self.fire('scrollMove', pos); }; - _$jscoverage['/drag.js'].lineData[324]++; - if (visit50_324_1(S.UA.ie)) { - _$jscoverage['/drag.js'].lineData[325]++; + _$jscoverage['/drag.js'].lineData[330]++; + if (visit52_330_1(S.UA.ie)) { + _$jscoverage['/drag.js'].lineData[331]++; onDragHandler = S.throttle(onDragHandler, 30); } - _$jscoverage['/drag.js'].lineData[328]++; + _$jscoverage['/drag.js'].lineData[334]++; function onDragEndHandler(e) { _$jscoverage['/drag.js'].functionData[9]++; - _$jscoverage['/drag.js'].lineData[329]++; + _$jscoverage['/drag.js'].lineData[335]++; + if (visit53_335_1(!e.isTouch)) { + _$jscoverage['/drag.js'].lineData[336]++; + return; + } + _$jscoverage['/drag.js'].lineData[338]++; var self = this; - _$jscoverage['/drag.js'].lineData[330]++; + _$jscoverage['/drag.js'].lineData[339]++; var startMousePos = self.startMousePos; - _$jscoverage['/drag.js'].lineData[331]++; - $document.detach(Gesture.move, onDragHandler, self); - _$jscoverage['/drag.js'].lineData[332]++; - if (visit51_332_1(!startMousePos || !self.isScrolling)) { - _$jscoverage['/drag.js'].lineData[333]++; + _$jscoverage['/drag.js'].lineData[341]++; + $document.detach(Gesture.move, onDragHandler, self).detach(Gesture.end, onDragEndHandler, self); + _$jscoverage['/drag.js'].lineData[342]++; + if (visit54_342_1(!startMousePos || !self.isScrolling)) { + _$jscoverage['/drag.js'].lineData[343]++; return; } - _$jscoverage['/drag.js'].lineData[335]++; + _$jscoverage['/drag.js'].lineData[345]++; var offsetX = startMousePos.pageX - e.pageX; - _$jscoverage['/drag.js'].lineData[336]++; + _$jscoverage['/drag.js'].lineData[346]++; var offsetY = startMousePos.pageY - e.pageY; - _$jscoverage['/drag.js'].lineData[337]++; + _$jscoverage['/drag.js'].lineData[347]++; self.fire('dragend', { pageX: e.pageX, deltaX: -offsetX, deltaY: -offsetY, pageY: e.pageY}); } - _$jscoverage['/drag.js'].lineData[346]++; + _$jscoverage['/drag.js'].lineData[356]++; function defaultDragEndFn(e) { _$jscoverage['/drag.js'].functionData[10]++; - _$jscoverage['/drag.js'].lineData[347]++; + _$jscoverage['/drag.js'].lineData[357]++; var self = this; - _$jscoverage['/drag.js'].lineData[348]++; + _$jscoverage['/drag.js'].lineData[358]++; var count = 0; - _$jscoverage['/drag.js'].lineData[349]++; + _$jscoverage['/drag.js'].lineData[359]++; var offsetX = -e.deltaX; - _$jscoverage['/drag.js'].lineData[350]++; + _$jscoverage['/drag.js'].lineData[360]++; var offsetY = -e.deltaY; - _$jscoverage['/drag.js'].lineData[351]++; + _$jscoverage['/drag.js'].lineData[361]++; var snapThreshold = self._snapThresholdCfg; - _$jscoverage['/drag.js'].lineData[352]++; - var allowX = visit52_352_1(self.allowScroll.left && visit53_352_2(Math.abs(offsetX) > snapThreshold)); - _$jscoverage['/drag.js'].lineData[353]++; - var allowY = visit54_353_1(self.allowScroll.top && visit55_353_2(Math.abs(offsetY) > snapThreshold)); - _$jscoverage['/drag.js'].lineData[355]++; + _$jscoverage['/drag.js'].lineData[362]++; + var allowX = visit55_362_1(self.allowScroll.left && visit56_362_2(Math.abs(offsetX) > snapThreshold)); + _$jscoverage['/drag.js'].lineData[363]++; + var allowY = visit57_363_1(self.allowScroll.top && visit58_363_2(Math.abs(offsetY) > snapThreshold)); + _$jscoverage['/drag.js'].lineData[365]++; function endCallback() { _$jscoverage['/drag.js'].functionData[11]++; - _$jscoverage['/drag.js'].lineData[356]++; + _$jscoverage['/drag.js'].lineData[366]++; count++; - _$jscoverage['/drag.js'].lineData[357]++; - if (visit56_357_1(count === 2)) { - _$jscoverage['/drag.js'].lineData[358]++; + _$jscoverage['/drag.js'].lineData[367]++; + if (visit59_367_1(count === 2)) { + _$jscoverage['/drag.js'].lineData[368]++; var scrollEnd = function() { _$jscoverage['/drag.js'].functionData[12]++; - _$jscoverage['/drag.js'].lineData[359]++; + _$jscoverage['/drag.js'].lineData[369]++; self.isScrolling = 0; - _$jscoverage['/drag.js'].lineData[360]++; + _$jscoverage['/drag.js'].lineData[370]++; self.fire('scrollEnd', { pageX: e.pageX, pageY: e.pageY, @@ -1402,207 +1441,208 @@ KISSY.add(function(S, require) { fromPageIndex: pageIndex, pageIndex: self.get('pageIndex')}); }; - _$jscoverage['/drag.js'].lineData[370]++; - if (visit57_370_1(!self.pagesOffset)) { - _$jscoverage['/drag.js'].lineData[371]++; + _$jscoverage['/drag.js'].lineData[380]++; + if (visit60_380_1(!self.pagesOffset)) { + _$jscoverage['/drag.js'].lineData[381]++; scrollEnd(); - _$jscoverage['/drag.js'].lineData[372]++; + _$jscoverage['/drag.js'].lineData[382]++; return; } - _$jscoverage['/drag.js'].lineData[375]++; + _$jscoverage['/drag.js'].lineData[385]++; var snapDuration = self._snapDurationCfg; - _$jscoverage['/drag.js'].lineData[376]++; + _$jscoverage['/drag.js'].lineData[386]++; var snapEasing = self._snapEasingCfg; - _$jscoverage['/drag.js'].lineData[377]++; + _$jscoverage['/drag.js'].lineData[387]++; var pageIndex = self.get('pageIndex'); - _$jscoverage['/drag.js'].lineData[378]++; + _$jscoverage['/drag.js'].lineData[388]++; var scrollLeft = self.get('scrollLeft'); - _$jscoverage['/drag.js'].lineData[379]++; + _$jscoverage['/drag.js'].lineData[389]++; var scrollTop = self.get('scrollTop'); - _$jscoverage['/drag.js'].lineData[381]++; + _$jscoverage['/drag.js'].lineData[391]++; var animCfg = { duration: snapDuration, easing: snapEasing, complete: scrollEnd}; - _$jscoverage['/drag.js'].lineData[387]++; + _$jscoverage['/drag.js'].lineData[397]++; var pagesOffset = self.pagesOffset; - _$jscoverage['/drag.js'].lineData[388]++; + _$jscoverage['/drag.js'].lineData[398]++; var pagesOffsetLen = pagesOffset.length; - _$jscoverage['/drag.js'].lineData[390]++; + _$jscoverage['/drag.js'].lineData[400]++; self.isScrolling = 0; - _$jscoverage['/drag.js'].lineData[392]++; - if (visit58_392_1(allowX || allowY)) { - _$jscoverage['/drag.js'].lineData[393]++; - if (visit59_393_1(allowX && allowY)) { - _$jscoverage['/drag.js'].lineData[394]++; + _$jscoverage['/drag.js'].lineData[402]++; + if (visit61_402_1(allowX || allowY)) { + _$jscoverage['/drag.js'].lineData[403]++; + if (visit62_403_1(allowX && allowY)) { + _$jscoverage['/drag.js'].lineData[404]++; var prepareX = [], i, newPageIndex; - _$jscoverage['/drag.js'].lineData[397]++; + _$jscoverage['/drag.js'].lineData[407]++; var nowXY = { left: scrollLeft, top: scrollTop}; - _$jscoverage['/drag.js'].lineData[401]++; - for (i = 0; visit60_401_1(i < pagesOffsetLen); i++) { - _$jscoverage['/drag.js'].lineData[402]++; + _$jscoverage['/drag.js'].lineData[411]++; + for (i = 0; visit63_411_1(i < pagesOffsetLen); i++) { + _$jscoverage['/drag.js'].lineData[412]++; var offset = pagesOffset[i]; - _$jscoverage['/drag.js'].lineData[403]++; - if (visit61_403_1(offset)) { - _$jscoverage['/drag.js'].lineData[404]++; - if (visit62_404_1(visit63_404_2(offsetX > 0) && visit64_404_3(offset.left > nowXY.left))) { - _$jscoverage['/drag.js'].lineData[405]++; + _$jscoverage['/drag.js'].lineData[413]++; + if (visit64_413_1(offset)) { + _$jscoverage['/drag.js'].lineData[414]++; + if (visit65_414_1(visit66_414_2(offsetX > 0) && visit67_414_3(offset.left > nowXY.left))) { + _$jscoverage['/drag.js'].lineData[415]++; prepareX.push(offset); } else { - _$jscoverage['/drag.js'].lineData[406]++; - if (visit65_406_1(visit66_406_2(offsetX < 0) && visit67_406_3(offset.left < nowXY.left))) { - _$jscoverage['/drag.js'].lineData[407]++; + _$jscoverage['/drag.js'].lineData[416]++; + if (visit68_416_1(visit69_416_2(offsetX < 0) && visit70_416_3(offset.left < nowXY.left))) { + _$jscoverage['/drag.js'].lineData[417]++; prepareX.push(offset); } } } } - _$jscoverage['/drag.js'].lineData[411]++; + _$jscoverage['/drag.js'].lineData[421]++; var min; - _$jscoverage['/drag.js'].lineData[412]++; + _$jscoverage['/drag.js'].lineData[422]++; var prepareXLen = prepareX.length; - _$jscoverage['/drag.js'].lineData[413]++; + _$jscoverage['/drag.js'].lineData[423]++; var x; - _$jscoverage['/drag.js'].lineData[414]++; - if (visit68_414_1(offsetY > 0)) { - _$jscoverage['/drag.js'].lineData[415]++; + _$jscoverage['/drag.js'].lineData[424]++; + if (visit71_424_1(offsetY > 0)) { + _$jscoverage['/drag.js'].lineData[425]++; min = Number.MAX_VALUE; - _$jscoverage['/drag.js'].lineData[416]++; - for (i = 0; visit69_416_1(i < prepareXLen); i++) { - _$jscoverage['/drag.js'].lineData[417]++; + _$jscoverage['/drag.js'].lineData[426]++; + for (i = 0; visit72_426_1(i < prepareXLen); i++) { + _$jscoverage['/drag.js'].lineData[427]++; x = prepareX[i]; - _$jscoverage['/drag.js'].lineData[418]++; - if (visit70_418_1(x.top > nowXY.top)) { - _$jscoverage['/drag.js'].lineData[419]++; - if (visit71_419_1(min < x.top - nowXY.top)) { - _$jscoverage['/drag.js'].lineData[420]++; + _$jscoverage['/drag.js'].lineData[428]++; + if (visit73_428_1(x.top > nowXY.top)) { + _$jscoverage['/drag.js'].lineData[429]++; + if (visit74_429_1(min < x.top - nowXY.top)) { + _$jscoverage['/drag.js'].lineData[430]++; min = x.top - nowXY.top; - _$jscoverage['/drag.js'].lineData[421]++; + _$jscoverage['/drag.js'].lineData[431]++; newPageIndex = prepareX.index; } } } } else { - _$jscoverage['/drag.js'].lineData[426]++; + _$jscoverage['/drag.js'].lineData[436]++; min = Number.MAX_VALUE; - _$jscoverage['/drag.js'].lineData[427]++; - for (i = 0; visit72_427_1(i < prepareXLen); i++) { - _$jscoverage['/drag.js'].lineData[428]++; + _$jscoverage['/drag.js'].lineData[437]++; + for (i = 0; visit75_437_1(i < prepareXLen); i++) { + _$jscoverage['/drag.js'].lineData[438]++; x = prepareX[i]; - _$jscoverage['/drag.js'].lineData[429]++; - if (visit73_429_1(x.top < nowXY.top)) { - _$jscoverage['/drag.js'].lineData[430]++; - if (visit74_430_1(min < nowXY.top - x.top)) { - _$jscoverage['/drag.js'].lineData[431]++; + _$jscoverage['/drag.js'].lineData[439]++; + if (visit76_439_1(x.top < nowXY.top)) { + _$jscoverage['/drag.js'].lineData[440]++; + if (visit77_440_1(min < nowXY.top - x.top)) { + _$jscoverage['/drag.js'].lineData[441]++; min = nowXY.top - x.top; - _$jscoverage['/drag.js'].lineData[432]++; + _$jscoverage['/drag.js'].lineData[442]++; newPageIndex = prepareX.index; } } } } - _$jscoverage['/drag.js'].lineData[437]++; - if (visit75_437_1(newPageIndex !== undefined)) { - _$jscoverage['/drag.js'].lineData[438]++; - if (visit76_438_1(newPageIndex !== pageIndex)) { - _$jscoverage['/drag.js'].lineData[439]++; + _$jscoverage['/drag.js'].lineData[447]++; + if (visit78_447_1(newPageIndex !== undefined)) { + _$jscoverage['/drag.js'].lineData[448]++; + if (visit79_448_1(newPageIndex !== pageIndex)) { + _$jscoverage['/drag.js'].lineData[449]++; self.scrollToPage(newPageIndex, animCfg); } else { - _$jscoverage['/drag.js'].lineData[441]++; + _$jscoverage['/drag.js'].lineData[451]++; self.scrollToPage(newPageIndex); - _$jscoverage['/drag.js'].lineData[442]++; + _$jscoverage['/drag.js'].lineData[452]++; scrollEnd(); } } else { - _$jscoverage['/drag.js'].lineData[445]++; + _$jscoverage['/drag.js'].lineData[455]++; scrollEnd(); } } else { - _$jscoverage['/drag.js'].lineData[448]++; - if (visit77_448_1(allowX || allowY)) { - _$jscoverage['/drag.js'].lineData[449]++; + _$jscoverage['/drag.js'].lineData[458]++; + if (visit80_458_1(allowX || allowY)) { + _$jscoverage['/drag.js'].lineData[459]++; var toPageIndex = self._getPageIndexFromXY(allowX ? scrollLeft : scrollTop, allowX, allowX ? offsetX : offsetY); - _$jscoverage['/drag.js'].lineData[452]++; + _$jscoverage['/drag.js'].lineData[462]++; self.scrollToPage(toPageIndex, animCfg); } else { - _$jscoverage['/drag.js'].lineData[454]++; + _$jscoverage['/drag.js'].lineData[464]++; self.scrollToPage(pageIndex); - _$jscoverage['/drag.js'].lineData[455]++; + _$jscoverage['/drag.js'].lineData[465]++; scrollEnd(); } } } } } - _$jscoverage['/drag.js'].lineData[462]++; + _$jscoverage['/drag.js'].lineData[472]++; onDragEndAxis(self, e, 'left', endCallback); - _$jscoverage['/drag.js'].lineData[463]++; + _$jscoverage['/drag.js'].lineData[473]++; onDragEndAxis(self, e, 'top', endCallback); } - _$jscoverage['/drag.js'].lineData[466]++; + _$jscoverage['/drag.js'].lineData[476]++; function initStates(self) { _$jscoverage['/drag.js'].functionData[13]++; - _$jscoverage['/drag.js'].lineData[467]++; + _$jscoverage['/drag.js'].lineData[477]++; self.lastPageXY = {}; - _$jscoverage['/drag.js'].lineData[468]++; + _$jscoverage['/drag.js'].lineData[478]++; self.lastDirection = {}; - _$jscoverage['/drag.js'].lineData[469]++; + _$jscoverage['/drag.js'].lineData[479]++; self.swipe = { left: {}, top: {}}; - _$jscoverage['/drag.js'].lineData[473]++; + _$jscoverage['/drag.js'].lineData[483]++; self.startMousePos = null; - _$jscoverage['/drag.js'].lineData[474]++; + _$jscoverage['/drag.js'].lineData[484]++; self.startScroll = {}; - _$jscoverage['/drag.js'].lineData[475]++; + _$jscoverage['/drag.js'].lineData[485]++; self.dragInitDirection = null; } - _$jscoverage['/drag.js'].lineData[478]++; + _$jscoverage['/drag.js'].lineData[488]++; function preventDefault(e) { _$jscoverage['/drag.js'].functionData[14]++; - _$jscoverage['/drag.js'].lineData[479]++; + _$jscoverage['/drag.js'].lineData[489]++; e.preventDefault(); } - _$jscoverage['/drag.js'].lineData[488]++; + _$jscoverage['/drag.js'].lineData[498]++; return ScrollViewBase.extend({ initializer: function() { _$jscoverage['/drag.js'].functionData[15]++; - _$jscoverage['/drag.js'].lineData[490]++; + _$jscoverage['/drag.js'].lineData[500]++; var self = this; - _$jscoverage['/drag.js'].lineData[491]++; + _$jscoverage['/drag.js'].lineData[501]++; self._snapThresholdCfg = self.get('snapThreshold'); - _$jscoverage['/drag.js'].lineData[492]++; + _$jscoverage['/drag.js'].lineData[502]++; self._snapDurationCfg = self.get('snapDuration'); - _$jscoverage['/drag.js'].lineData[493]++; + _$jscoverage['/drag.js'].lineData[503]++; self._snapEasingCfg = self.get('snapEasing'); - _$jscoverage['/drag.js'].lineData[494]++; + _$jscoverage['/drag.js'].lineData[504]++; self.publish('dragend', { - defaultFn: defaultDragEndFn}); + defaultFn: defaultDragEndFn, + defaultTargetOnly: true}); }, bindUI: function() { _$jscoverage['/drag.js'].functionData[16]++; - _$jscoverage['/drag.js'].lineData[500]++; + _$jscoverage['/drag.js'].lineData[512]++; var self = this; - _$jscoverage['/drag.js'].lineData[502]++; + _$jscoverage['/drag.js'].lineData[514]++; self.$contentEl.on('dragstart', preventDefault).on(Gesture.start, onDragStartHandler, self); }, syncUI: function() { _$jscoverage['/drag.js'].functionData[17]++; - _$jscoverage['/drag.js'].lineData[506]++; + _$jscoverage['/drag.js'].lineData[518]++; initStates(this); }, destructor: function() { _$jscoverage['/drag.js'].functionData[18]++; - _$jscoverage['/drag.js'].lineData[510]++; + _$jscoverage['/drag.js'].lineData[522]++; this.stopAnimation(); }, stopAnimation: function() { _$jscoverage['/drag.js'].functionData[19]++; - _$jscoverage['/drag.js'].lineData[514]++; + _$jscoverage['/drag.js'].lineData[526]++; this.callSuper(); - _$jscoverage['/drag.js'].lineData[515]++; + _$jscoverage['/drag.js'].lineData[527]++; this.isScrolling = 0; }}, { ATTRS: { diff --git a/src/scroll-view/sub-modules/drag/src/drag.js b/src/scroll-view/sub-modules/drag/src/drag.js index 5a73d17ad0..aa18401012 100644 --- a/src/scroll-view/sub-modules/drag/src/drag.js +++ b/src/scroll-view/sub-modules/drag/src/drag.js @@ -33,8 +33,8 @@ KISSY.add(function (S, require) { return; } var pos = { - pageX: e.touches[0].pageX, - pageY: e.touches[0].pageY + pageX: e.pageX, + pageY: e.pageY }; var pageOffsetProperty = scrollType === 'left' ? 'pageX' : 'pageY', lastPageXY = self.lastPageXY; @@ -223,6 +223,10 @@ KISSY.add(function (S, require) { } function onDragStartHandler(e) { + // does not allow drag by mouse in win8 touch screen + if (!e.isTouch) { + return; + } var self = this, touches = e.touches; if (self.get('disabled')) { @@ -230,8 +234,8 @@ KISSY.add(function (S, require) { } self.stopAnimation(); var pos = { - pageX: e.touches[0].pageX, - pageY: e.touches[0].pageY + pageX: e.pageX, + pageY: e.pageY }; var isScrolling = self.isScrolling; if (isScrolling) { @@ -254,8 +258,10 @@ KISSY.add(function (S, require) { } var onDragHandler = function (e) { + if (!e.isTouch) { + return; + } var self = this, - touches = e.touches, startMousePos = self.startMousePos; if (!startMousePos) { @@ -263,8 +269,8 @@ KISSY.add(function (S, require) { } var pos = { - pageX: touches[0].pageX, - pageY: touches[0].pageY + pageX: e.pageX, + pageY: e.pageY }; var xDiff = Math.abs(pos.pageX - startMousePos.pageX); @@ -326,9 +332,13 @@ KISSY.add(function (S, require) { } function onDragEndHandler(e) { + if (!e.isTouch) { + return; + } var self = this; var startMousePos = self.startMousePos; - $document.detach(Gesture.move, onDragHandler, self); + $document.detach(Gesture.move, onDragHandler, self) + .detach(Gesture.end, onDragEndHandler, self); if (!startMousePos || !self.isScrolling) { return; } @@ -492,7 +502,9 @@ KISSY.add(function (S, require) { self._snapDurationCfg = self.get('snapDuration'); self._snapEasingCfg = self.get('snapEasing'); self.publish('dragend', { - defaultFn: defaultDragEndFn + defaultFn: defaultDragEndFn, + // only process its own default function + defaultTargetOnly: true }); }, diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js index ba03141a2f..b5a83aaf72 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js @@ -5,6 +5,7 @@ */ KISSY.add(function (S, require) { var Node = require('node'); + var $document = Node.all(document); var Control = require('component/control'); var ScrollBarRender = require('./render'); @@ -14,9 +15,40 @@ KISSY.add(function (S, require) { var Gesture = Node.Gesture; - var Features = S.Features; + function preventDefault(e) { + e.preventDefault(); + } - var allowDrag = !Features.isTouchGestureSupported(); + function onDragStartHandler(e) { + e.stopPropagation(); + if (!e.isTouch) { + e.preventDefault(); + } + var self = this; + if (self.get('disabled')) { + return; + } + self.startMousePos = e[self.pageXyProperty]; + self.startScroll = self.scrollView.get(self.scrollProperty); + // ie10 if mouse out of window + $document.on(Gesture.move, onDragHandler, self) + .on(Gesture.end, onDragEndHandler, self); + } + + function onDragHandler(e) { + var self = this, + diff = e[self.pageXyProperty] - self.startMousePos, + scrollView = self.scrollView, + scrollType = self.scrollType, + scrollCfg = {}; + scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; + scrollView.scrollToWithBounds(scrollCfg); + } + + function onDragEndHandler() { + $document.detach(Gesture.move, onDragHandler, this) + .detach(Gesture.end, onDragEndHandler, this); + } /** * @class KISSY.ScrollView.ScrollBar @@ -53,27 +85,16 @@ KISSY.add(function (S, require) { .on(Gesture.end, self.onUpDownBtnMouseUp, self); }); self.$trackEl.on(Gesture.start, self.onTrackElMouseDown, self); - if (allowDrag) { - S.use('dd', function (S, DD) { - self.dd = new DD.Draggable({ - node: self.$dragEl, - disabled: self.get('disabled'), - groups: false, - // allow nested scroll-view - halt: true - }).on('drag', self.onDrag, self) - .on('dragstart', self.onDragStart, self); - }); - } + self.$dragEl.on('dragstart', preventDefault) + .on(Gesture.start, onDragStartHandler, self); + scrollView + .on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, + self.afterScrollChange, self) + .on('scrollEnd' + SCROLLBAR_EVENT_NS, self.onScrollEnd, self) + .on('afterDisabledChange', self.onScrollViewDisabled, self); } - scrollView - .on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, - self.afterScrollChange, self) - .on('scrollEnd' + SCROLLBAR_EVENT_NS, self.onScrollEnd, self) - .on('afterDisabledChange', self.onScrollViewDisabled, self); }, - destructor: function () { this.get('scrollView').detach(SCROLLBAR_EVENT_NS); this.clearHideTimer(); @@ -83,23 +104,6 @@ KISSY.add(function (S, require) { this.set('disabled', e.newVal); }, - onDragStart: function () { - var self = this, - scrollView = self.scrollView; - self.startMousePos = self.dd.get('startMousePos')[self.scrollType]; - self.startScroll = scrollView.get(self.scrollProperty); - }, - - onDrag: function (e) { - var self = this, - diff = e[self.pageXyProperty] - self.startMousePos, - scrollView = self.scrollView, - scrollType = self.scrollType, - scrollCfg = {}; - scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; - scrollView.scrollToWithBounds(scrollCfg); - }, - startHideTimer: function () { var self = this; self.clearHideTimer(); @@ -269,11 +273,13 @@ KISSY.add(function (S, require) { }, dragLeft: { - view: 1 + view: 1, + value: 0 }, dragTop: { - view: 1 + view: 1, + value: 0 }, dragEl: { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js index 31c18403c2..86bba8999a 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js @@ -9,7 +9,7 @@ KISSY.add(function (S, require) { var isTransform3dSupported = S.Features.isTransform3dSupported(); // http://www.html5rocks.com/en/tutorials/speed/html5/ - var supportCss3 = S.Features.isTransformSupported(); + var supportCss3 = S.Features.getVendorCssPropPrefix('transform') !== false; var methods = { beforeCreateDom: function (renderData, childrenElSelectors) { @@ -113,16 +113,19 @@ KISSY.add(function (S, require) { } }; - var transformProperty = S.Features.getTransformProperty(); if (supportCss3) { + var transformProperty = S.Features.getVendorCssPropName('transform'); + methods._onSetDragLeft = function (v) { this.control.dragEl.style[transformProperty] = 'translateX(' + v + 'px)' + + ' translateY(' + this.control.get('dragTop') + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; methods._onSetDragTop = function (v) { - this.control.dragEl.style[transformProperty] = 'translateY(' + v + 'px)' + + this.control.dragEl.style[transformProperty] = 'translateX(' + this.control.get('dragLeft') + 'px)' + + ' translateY(' + v + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; } diff --git a/src/seed/coverage/src/features.js b/src/seed/coverage/src/features.js index d17ceff409..915422e40a 100644 --- a/src/seed/coverage/src/features.js +++ b/src/seed/coverage/src/features.js @@ -255,23 +255,38 @@ if (! _$jscoverage['/features.js']) { _$jscoverage['/features.js'].lineData[72] = 0; _$jscoverage['/features.js'].lineData[73] = 0; _$jscoverage['/features.js'].lineData[74] = 0; - _$jscoverage['/features.js'].lineData[84] = 0; - _$jscoverage['/features.js'].lineData[92] = 0; - _$jscoverage['/features.js'].lineData[101] = 0; - _$jscoverage['/features.js'].lineData[109] = 0; - _$jscoverage['/features.js'].lineData[113] = 0; - _$jscoverage['/features.js'].lineData[121] = 0; - _$jscoverage['/features.js'].lineData[132] = 0; - _$jscoverage['/features.js'].lineData[140] = 0; + _$jscoverage['/features.js'].lineData[78] = 0; + _$jscoverage['/features.js'].lineData[80] = 0; + _$jscoverage['/features.js'].lineData[81] = 0; + _$jscoverage['/features.js'].lineData[82] = 0; + _$jscoverage['/features.js'].lineData[85] = 0; + _$jscoverage['/features.js'].lineData[86] = 0; + _$jscoverage['/features.js'].lineData[91] = 0; + _$jscoverage['/features.js'].lineData[95] = 0; + _$jscoverage['/features.js'].lineData[96] = 0; + _$jscoverage['/features.js'].lineData[97] = 0; + _$jscoverage['/features.js'].lineData[98] = 0; + _$jscoverage['/features.js'].lineData[105] = 0; + _$jscoverage['/features.js'].lineData[110] = 0; + _$jscoverage['/features.js'].lineData[119] = 0; + _$jscoverage['/features.js'].lineData[127] = 0; + _$jscoverage['/features.js'].lineData[136] = 0; + _$jscoverage['/features.js'].lineData[144] = 0; _$jscoverage['/features.js'].lineData[148] = 0; _$jscoverage['/features.js'].lineData[156] = 0; - _$jscoverage['/features.js'].lineData[164] = 0; - _$jscoverage['/features.js'].lineData[173] = 0; + _$jscoverage['/features.js'].lineData[167] = 0; + _$jscoverage['/features.js'].lineData[175] = 0; _$jscoverage['/features.js'].lineData[183] = 0; _$jscoverage['/features.js'].lineData[191] = 0; _$jscoverage['/features.js'].lineData[199] = 0; - _$jscoverage['/features.js'].lineData[207] = 0; - _$jscoverage['/features.js'].lineData[215] = 0; + _$jscoverage['/features.js'].lineData[208] = 0; + _$jscoverage['/features.js'].lineData[218] = 0; + _$jscoverage['/features.js'].lineData[226] = 0; + _$jscoverage['/features.js'].lineData[234] = 0; + _$jscoverage['/features.js'].lineData[242] = 0; + _$jscoverage['/features.js'].lineData[250] = 0; + _$jscoverage['/features.js'].lineData[254] = 0; + _$jscoverage['/features.js'].lineData[258] = 0; } if (! _$jscoverage['/features.js'].functionData) { _$jscoverage['/features.js'].functionData = []; @@ -293,6 +308,9 @@ if (! _$jscoverage['/features.js'].functionData) { _$jscoverage['/features.js'].functionData[15] = 0; _$jscoverage['/features.js'].functionData[16] = 0; _$jscoverage['/features.js'].functionData[17] = 0; + _$jscoverage['/features.js'].functionData[18] = 0; + _$jscoverage['/features.js'].functionData[19] = 0; + _$jscoverage['/features.js'].functionData[20] = 0; } if (! _$jscoverage['/features.js'].branchData) { _$jscoverage['/features.js'].branchData = {}; @@ -324,62 +342,86 @@ if (! _$jscoverage['/features.js'].branchData) { _$jscoverage['/features.js'].branchData['74'][3] = new BranchData(); _$jscoverage['/features.js'].branchData['74'][4] = new BranchData(); _$jscoverage['/features.js'].branchData['74'][5] = new BranchData(); - _$jscoverage['/features.js'].branchData['113'] = []; - _$jscoverage['/features.js'].branchData['113'][1] = new BranchData(); - _$jscoverage['/features.js'].branchData['113'][2] = new BranchData(); - _$jscoverage['/features.js'].branchData['132'] = []; - _$jscoverage['/features.js'].branchData['132'][1] = new BranchData(); - _$jscoverage['/features.js'].branchData['132'][2] = new BranchData(); - _$jscoverage['/features.js'].branchData['132'][3] = new BranchData(); - _$jscoverage['/features.js'].branchData['140'] = []; - _$jscoverage['/features.js'].branchData['140'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['81'] = []; + _$jscoverage['/features.js'].branchData['81'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['85'] = []; + _$jscoverage['/features.js'].branchData['85'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['97'] = []; + _$jscoverage['/features.js'].branchData['97'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['105'] = []; + _$jscoverage['/features.js'].branchData['105'][1] = new BranchData(); _$jscoverage['/features.js'].branchData['148'] = []; _$jscoverage['/features.js'].branchData['148'][1] = new BranchData(); - _$jscoverage['/features.js'].branchData['173'] = []; - _$jscoverage['/features.js'].branchData['173'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['148'][2] = new BranchData(); + _$jscoverage['/features.js'].branchData['167'] = []; + _$jscoverage['/features.js'].branchData['167'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['167'][2] = new BranchData(); + _$jscoverage['/features.js'].branchData['167'][3] = new BranchData(); + _$jscoverage['/features.js'].branchData['175'] = []; + _$jscoverage['/features.js'].branchData['175'][1] = new BranchData(); _$jscoverage['/features.js'].branchData['183'] = []; _$jscoverage['/features.js'].branchData['183'][1] = new BranchData(); - _$jscoverage['/features.js'].branchData['183'][2] = new BranchData(); + _$jscoverage['/features.js'].branchData['208'] = []; + _$jscoverage['/features.js'].branchData['208'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['218'] = []; + _$jscoverage['/features.js'].branchData['218'][1] = new BranchData(); + _$jscoverage['/features.js'].branchData['218'][2] = new BranchData(); } -_$jscoverage['/features.js'].branchData['183'][2].init(29, 6, 'ie < v'); -function visit36_183_2(result) { - _$jscoverage['/features.js'].branchData['183'][2].ranCondition(result); +_$jscoverage['/features.js'].branchData['218'][2].init(29, 6, 'ie < v'); +function visit40_218_2(result) { + _$jscoverage['/features.js'].branchData['218'][2].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['183'][1].init(23, 12, 'ie && ie < v'); -function visit35_183_1(result) { +}_$jscoverage['/features.js'].branchData['218'][1].init(23, 12, 'ie && ie < v'); +function visit39_218_1(result) { + _$jscoverage['/features.js'].branchData['218'][1].ranCondition(result); + return result; +}_$jscoverage['/features.js'].branchData['208'][1].init(67, 74, '!S.config(\'dom/selector\') && isQuerySelectorSupportedState'); +function visit38_208_1(result) { + _$jscoverage['/features.js'].branchData['208'][1].ranCondition(result); + return result; +}_$jscoverage['/features.js'].branchData['183'][1].init(20, 29, 'transformPrefix !== undefined'); +function visit37_183_1(result) { _$jscoverage['/features.js'].branchData['183'][1].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['173'][1].init(67, 74, '!S.config(\'dom/selector\') && isQuerySelectorSupportedState'); -function visit34_173_1(result) { - _$jscoverage['/features.js'].branchData['173'][1].ranCondition(result); +}_$jscoverage['/features.js'].branchData['175'][1].init(20, 30, 'transitionPrefix !== undefined'); +function visit36_175_1(result) { + _$jscoverage['/features.js'].branchData['175'][1].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['148'][1].init(20, 29, 'transformPrefix !== undefined'); -function visit33_148_1(result) { - _$jscoverage['/features.js'].branchData['148'][1].ranCondition(result); +}_$jscoverage['/features.js'].branchData['167'][3].init(193, 6, 'ie > 7'); +function visit35_167_3(result) { + _$jscoverage['/features.js'].branchData['167'][3].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['140'][1].init(20, 30, 'transitionPrefix !== undefined'); -function visit32_140_1(result) { - _$jscoverage['/features.js'].branchData['140'][1].ranCondition(result); +}_$jscoverage['/features.js'].branchData['167'][2].init(186, 13, '!ie || ie > 7'); +function visit34_167_2(result) { + _$jscoverage['/features.js'].branchData['167'][2].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['132'][3].init(193, 6, 'ie > 7'); -function visit31_132_3(result) { - _$jscoverage['/features.js'].branchData['132'][3].ranCondition(result); +}_$jscoverage['/features.js'].branchData['167'][1].init(159, 41, '(\'onhashchange\' in win) && (!ie || ie > 7)'); +function visit33_167_1(result) { + _$jscoverage['/features.js'].branchData['167'][1].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['132'][2].init(186, 13, '!ie || ie > 7'); -function visit30_132_2(result) { - _$jscoverage['/features.js'].branchData['132'][2].ranCondition(result); +}_$jscoverage['/features.js'].branchData['148'][2].init(50, 42, 'isPointerSupported || isMsPointerSupported'); +function visit32_148_2(result) { + _$jscoverage['/features.js'].branchData['148'][2].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['132'][1].init(159, 41, '(\'onhashchange\' in win) && (!ie || ie > 7)'); -function visit29_132_1(result) { - _$jscoverage['/features.js'].branchData['132'][1].ranCondition(result); +}_$jscoverage['/features.js'].branchData['148'][1].init(20, 72, 'isTouchEventSupportedState || isPointerSupported || isMsPointerSupported'); +function visit31_148_1(result) { + _$jscoverage['/features.js'].branchData['148'][1].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['113'][2].init(50, 42, 'isPointerSupported || isMsPointerSupported'); -function visit28_113_2(result) { - _$jscoverage['/features.js'].branchData['113'][2].ranCondition(result); +}_$jscoverage['/features.js'].branchData['105'][1].init(502, 94, 'vendorInfos[name] || {\n name: name, \n prefix: false}'); +function visit30_105_1(result) { + _$jscoverage['/features.js'].branchData['105'][1].ranCondition(result); return result; -}_$jscoverage['/features.js'].branchData['113'][1].init(20, 72, 'isTouchEventSupportedState || isPointerSupported || isMsPointerSupported'); -function visit27_113_1(result) { - _$jscoverage['/features.js'].branchData['113'][1].ranCondition(result); +}_$jscoverage['/features.js'].branchData['97'][1].init(79, 34, 'vendorName in documentElementStyle'); +function visit29_97_1(result) { + _$jscoverage['/features.js'].branchData['97'][1].ranCondition(result); + return result; +}_$jscoverage['/features.js'].branchData['85'][1].init(147, 53, '!documentElementStyle || name in documentElementStyle'); +function visit28_85_1(result) { + _$jscoverage['/features.js'].branchData['85'][1].ranCondition(result); + return result; +}_$jscoverage['/features.js'].branchData['81'][1].init(13, 17, 'vendorInfos[name]'); +function visit27_81_1(result) { + _$jscoverage['/features.js'].branchData['81'][1].ranCondition(result); return result; }_$jscoverage['/features.js'].branchData['74'][5].init(656, 16, 'has3d !== \'none\''); function visit26_74_5(result) { @@ -509,86 +551,135 @@ function visit10_19_1(result) { isTransform3dSupported = (visit22_74_1(visit23_74_2(has3d !== undefined) && visit24_74_3(visit25_74_4(has3d.length > 0) && visit26_74_5(has3d !== 'none')))); } } - _$jscoverage['/features.js'].lineData[84]++; + _$jscoverage['/features.js'].lineData[78]++; + var vendorInfos = {}; + _$jscoverage['/features.js'].lineData[80]++; + function getVendorInfo(name) { + _$jscoverage['/features.js'].functionData[2]++; + _$jscoverage['/features.js'].lineData[81]++; + if (visit27_81_1(vendorInfos[name])) { + _$jscoverage['/features.js'].lineData[82]++; + return vendorInfos[name]; + } + _$jscoverage['/features.js'].lineData[85]++; + if (visit28_85_1(!documentElementStyle || name in documentElementStyle)) { + _$jscoverage['/features.js'].lineData[86]++; + vendorInfos[name] = { + name: name, + prefix: ''}; + } else { + _$jscoverage['/features.js'].lineData[91]++; + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), vendorName, i = VENDORS.length; + _$jscoverage['/features.js'].lineData[95]++; + while (i--) { + _$jscoverage['/features.js'].lineData[96]++; + vendorName = VENDORS[i] + upperFirstName; + _$jscoverage['/features.js'].lineData[97]++; + if (visit29_97_1(vendorName in documentElementStyle)) { + _$jscoverage['/features.js'].lineData[98]++; + vendorInfos[name] = { + name: vendorName, + prefix: VENDORS[i]}; + } + } + _$jscoverage['/features.js'].lineData[105]++; + vendorInfos[name] = visit30_105_1(vendorInfos[name] || { + name: name, + prefix: false}); + } + _$jscoverage['/features.js'].lineData[110]++; + return vendorInfos[name]; + } + _$jscoverage['/features.js'].lineData[119]++; S.Features = { isMsPointerSupported: function() { - _$jscoverage['/features.js'].functionData[2]++; - _$jscoverage['/features.js'].lineData[92]++; + _$jscoverage['/features.js'].functionData[3]++; + _$jscoverage['/features.js'].lineData[127]++; return isMsPointerSupported; }, isPointerSupported: function() { - _$jscoverage['/features.js'].functionData[3]++; - _$jscoverage['/features.js'].lineData[101]++; + _$jscoverage['/features.js'].functionData[4]++; + _$jscoverage['/features.js'].lineData[136]++; return isPointerSupported; }, isTouchEventSupported: function() { - _$jscoverage['/features.js'].functionData[4]++; - _$jscoverage['/features.js'].lineData[109]++; + _$jscoverage['/features.js'].functionData[5]++; + _$jscoverage['/features.js'].lineData[144]++; return isTouchEventSupportedState; }, isTouchGestureSupported: function() { - _$jscoverage['/features.js'].functionData[5]++; - _$jscoverage['/features.js'].lineData[113]++; - return visit27_113_1(isTouchEventSupportedState || visit28_113_2(isPointerSupported || isMsPointerSupported)); + _$jscoverage['/features.js'].functionData[6]++; + _$jscoverage['/features.js'].lineData[148]++; + return visit31_148_1(isTouchEventSupportedState || visit32_148_2(isPointerSupported || isMsPointerSupported)); }, isDeviceMotionSupported: function() { - _$jscoverage['/features.js'].functionData[6]++; - _$jscoverage['/features.js'].lineData[121]++; + _$jscoverage['/features.js'].functionData[7]++; + _$jscoverage['/features.js'].lineData[156]++; return !!win.DeviceMotionEvent; }, 'isHashChangeSupported': function() { - _$jscoverage['/features.js'].functionData[7]++; - _$jscoverage['/features.js'].lineData[132]++; - return visit29_132_1(('onhashchange' in win) && (visit30_132_2(!ie || visit31_132_3(ie > 7)))); + _$jscoverage['/features.js'].functionData[8]++; + _$jscoverage['/features.js'].lineData[167]++; + return visit33_167_1(('onhashchange' in win) && (visit34_167_2(!ie || visit35_167_3(ie > 7)))); }, 'isTransitionSupported': function() { - _$jscoverage['/features.js'].functionData[8]++; - _$jscoverage['/features.js'].lineData[140]++; - return visit32_140_1(transitionPrefix !== undefined); + _$jscoverage['/features.js'].functionData[9]++; + _$jscoverage['/features.js'].lineData[175]++; + return visit36_175_1(transitionPrefix !== undefined); }, 'isTransformSupported': function() { - _$jscoverage['/features.js'].functionData[9]++; - _$jscoverage['/features.js'].lineData[148]++; - return visit33_148_1(transformPrefix !== undefined); + _$jscoverage['/features.js'].functionData[10]++; + _$jscoverage['/features.js'].lineData[183]++; + return visit37_183_1(transformPrefix !== undefined); }, 'isTransform3dSupported': function() { - _$jscoverage['/features.js'].functionData[10]++; - _$jscoverage['/features.js'].lineData[156]++; + _$jscoverage['/features.js'].functionData[11]++; + _$jscoverage['/features.js'].lineData[191]++; return isTransform3dSupported; }, 'isClassListSupported': function() { - _$jscoverage['/features.js'].functionData[11]++; - _$jscoverage['/features.js'].lineData[164]++; + _$jscoverage['/features.js'].functionData[12]++; + _$jscoverage['/features.js'].lineData[199]++; return isClassListSupportedState; }, 'isQuerySelectorSupported': function() { - _$jscoverage['/features.js'].functionData[12]++; - _$jscoverage['/features.js'].lineData[173]++; - return visit34_173_1(!S.config('dom/selector') && isQuerySelectorSupportedState); + _$jscoverage['/features.js'].functionData[13]++; + _$jscoverage['/features.js'].lineData[208]++; + return visit38_208_1(!S.config('dom/selector') && isQuerySelectorSupportedState); }, 'isIELessThan': function(v) { - _$jscoverage['/features.js'].functionData[13]++; - _$jscoverage['/features.js'].lineData[183]++; - return !!(visit35_183_1(ie && visit36_183_2(ie < v))); + _$jscoverage['/features.js'].functionData[14]++; + _$jscoverage['/features.js'].lineData[218]++; + return !!(visit39_218_1(ie && visit40_218_2(ie < v))); }, 'getTransitionPrefix': function() { - _$jscoverage['/features.js'].functionData[14]++; - _$jscoverage['/features.js'].lineData[191]++; + _$jscoverage['/features.js'].functionData[15]++; + _$jscoverage['/features.js'].lineData[226]++; return transitionPrefix; }, 'getTransformPrefix': function() { - _$jscoverage['/features.js'].functionData[15]++; - _$jscoverage['/features.js'].lineData[199]++; + _$jscoverage['/features.js'].functionData[16]++; + _$jscoverage['/features.js'].lineData[234]++; return transformPrefix; }, 'getTransitionProperty': function() { - _$jscoverage['/features.js'].functionData[16]++; - _$jscoverage['/features.js'].lineData[207]++; + _$jscoverage['/features.js'].functionData[17]++; + _$jscoverage['/features.js'].lineData[242]++; return transitionProperty; }, 'getTransformProperty': function() { - _$jscoverage['/features.js'].functionData[17]++; - _$jscoverage['/features.js'].lineData[215]++; + _$jscoverage['/features.js'].functionData[18]++; + _$jscoverage['/features.js'].lineData[250]++; return transformProperty; +}, + getVendorCssPropPrefix: function(name) { + _$jscoverage['/features.js'].functionData[19]++; + _$jscoverage['/features.js'].lineData[254]++; + return getVendorInfo(name).prefix; +}, + getVendorCssPropName: function(name) { + _$jscoverage['/features.js'].functionData[20]++; + _$jscoverage['/features.js'].lineData[258]++; + return getVendorInfo(name).name; }}; })(KISSY); diff --git a/src/seed/coverage/src/kissy.js b/src/seed/coverage/src/kissy.js index c83773faf3..5f59130a80 100644 --- a/src/seed/coverage/src/kissy.js +++ b/src/seed/coverage/src/kissy.js @@ -371,131 +371,131 @@ if (! _$jscoverage['/kissy.js'].branchData) { _$jscoverage['/kissy.js'].branchData['282'][1] = new BranchData(); } _$jscoverage['/kissy.js'].branchData['282'][1].init(8943, 9, '\'@DEBUG@\''); -function visit68_282_1(result) { +function visit72_282_1(result) { _$jscoverage['/kissy.js'].branchData['282'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['278'][1].init(21, 12, 'pre || EMPTY'); -function visit67_278_1(result) { +function visit71_278_1(result) { _$jscoverage['/kissy.js'].branchData['278'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['266'][1].init(17, 9, '\'@DEBUG@\''); -function visit66_266_1(result) { +function visit70_266_1(result) { _$jscoverage['/kissy.js'].branchData['266'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['246'][1].init(29, 19, 'cat && console[cat]'); -function visit65_246_1(result) { +function visit69_246_1(result) { _$jscoverage['/kissy.js'].branchData['246'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['245'][3].init(1827, 22, 'console.log && matched'); -function visit64_245_3(result) { +function visit68_245_3(result) { _$jscoverage['/kissy.js'].branchData['245'][3].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['245'][2].init(1793, 30, 'typeof console !== \'undefined\''); -function visit63_245_2(result) { +function visit67_245_2(result) { _$jscoverage['/kissy.js'].branchData['245'][2].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['245'][1].init(1793, 56, 'typeof console !== \'undefined\' && console.log && matched'); -function visit62_245_1(result) { +function visit66_245_1(result) { _$jscoverage['/kissy.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['240'][1].init(1574, 7, 'matched'); -function visit61_240_1(result) { +function visit65_240_1(result) { _$jscoverage['/kissy.js'].branchData['240'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['234'][4].init(309, 17, 'maxLevel >= level'); -function visit60_234_4(result) { +function visit64_234_4(result) { _$jscoverage['/kissy.js'].branchData['234'][4].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['234'][3].init(309, 38, 'maxLevel >= level && logger.match(reg)'); -function visit59_234_3(result) { +function visit63_234_3(result) { _$jscoverage['/kissy.js'].branchData['234'][3].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['234'][2].init(288, 17, 'minLevel <= level'); -function visit58_234_2(result) { +function visit62_234_2(result) { _$jscoverage['/kissy.js'].branchData['234'][2].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['234'][1].init(288, 59, 'minLevel <= level && maxLevel >= level && logger.match(reg)'); -function visit57_234_1(result) { +function visit61_234_1(result) { _$jscoverage['/kissy.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['233'][1].init(210, 44, 'loggerLevel[l.minLevel] || loggerLevel.debug'); -function visit56_233_1(result) { +function visit60_233_1(result) { _$jscoverage['/kissy.js'].branchData['233'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['232'][1].init(125, 44, 'loggerLevel[l.maxLevel] || loggerLevel.error'); -function visit55_232_1(result) { +function visit59_232_1(result) { _$jscoverage['/kissy.js'].branchData['232'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['229'][1].init(74, 15, 'i < list.length'); -function visit54_229_1(result) { +function visit58_229_1(result) { _$jscoverage['/kissy.js'].branchData['229'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['222'][4].init(309, 17, 'maxLevel >= level'); -function visit53_222_4(result) { +function visit57_222_4(result) { _$jscoverage['/kissy.js'].branchData['222'][4].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['222'][3].init(309, 38, 'maxLevel >= level && logger.match(reg)'); -function visit52_222_3(result) { +function visit56_222_3(result) { _$jscoverage['/kissy.js'].branchData['222'][3].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['222'][2].init(288, 17, 'minLevel <= level'); -function visit51_222_2(result) { +function visit55_222_2(result) { _$jscoverage['/kissy.js'].branchData['222'][2].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['222'][1].init(288, 59, 'minLevel <= level && maxLevel >= level && logger.match(reg)'); -function visit50_222_1(result) { +function visit54_222_1(result) { _$jscoverage['/kissy.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['221'][1].init(210, 44, 'loggerLevel[l.minLevel] || loggerLevel.debug'); -function visit49_221_1(result) { +function visit53_221_1(result) { _$jscoverage['/kissy.js'].branchData['221'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['220'][1].init(125, 44, 'loggerLevel[l.maxLevel] || loggerLevel.error'); -function visit48_220_1(result) { +function visit52_220_1(result) { _$jscoverage['/kissy.js'].branchData['220'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['217'][1].init(74, 15, 'i < list.length'); -function visit47_217_1(result) { +function visit51_217_1(result) { _$jscoverage['/kissy.js'].branchData['217'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['214'][1].init(198, 37, 'loggerLevel[cat] || loggerLevel.debug'); -function visit46_214_1(result) { +function visit50_214_1(result) { _$jscoverage['/kissy.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['213'][1].init(154, 14, 'cat || \'debug\''); -function visit45_213_1(result) { +function visit49_213_1(result) { _$jscoverage['/kissy.js'].branchData['213'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['211'][1].init(37, 21, 'S.Config.logger || {}'); -function visit44_211_1(result) { +function visit48_211_1(result) { _$jscoverage['/kissy.js'].branchData['211'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['210'][1].init(54, 6, 'logger'); -function visit43_210_1(result) { +function visit47_210_1(result) { _$jscoverage['/kissy.js'].branchData['210'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['208'][1].init(17, 9, '\'@DEBUG@\''); -function visit42_208_1(result) { +function visit46_208_1(result) { _$jscoverage['/kissy.js'].branchData['208'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['190'][1].init(25, 3, 'cfg'); -function visit41_190_1(result) { +function visit45_190_1(result) { _$jscoverage['/kissy.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['184'][1].init(25, 3, 'cfg'); -function visit40_184_1(result) { +function visit44_184_1(result) { _$jscoverage['/kissy.js'].branchData['184'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['183'][1].init(66, 25, 'configValue === undefined'); -function visit39_183_1(result) { +function visit43_183_1(result) { _$jscoverage['/kissy.js'].branchData['183'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['175'][1].init(64, 2, 'fn'); -function visit38_175_1(result) { +function visit42_175_1(result) { _$jscoverage['/kissy.js'].branchData['175'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].branchData['172'][1].init(181, 22, 'S.isObject(configName)'); -function visit37_172_1(result) { +function visit41_172_1(result) { _$jscoverage['/kissy.js'].branchData['172'][1].ranCondition(result); return result; }_$jscoverage['/kissy.js'].lineData[26]++; @@ -544,14 +544,14 @@ var KISSY = (function(undefined) { _$jscoverage['/kissy.js'].lineData[166]++; var cfg, r, self = this, fn, Config = S.Config, configFns = Config.fns; _$jscoverage['/kissy.js'].lineData[172]++; - if (visit37_172_1(S.isObject(configName))) { + if (visit41_172_1(S.isObject(configName))) { _$jscoverage['/kissy.js'].lineData[173]++; S.each(configName, function(configValue, p) { _$jscoverage['/kissy.js'].functionData[5]++; _$jscoverage['/kissy.js'].lineData[174]++; fn = configFns[p]; _$jscoverage['/kissy.js'].lineData[175]++; - if (visit38_175_1(fn)) { + if (visit42_175_1(fn)) { _$jscoverage['/kissy.js'].lineData[176]++; fn.call(self, configValue); } else { @@ -563,9 +563,9 @@ var KISSY = (function(undefined) { _$jscoverage['/kissy.js'].lineData[182]++; cfg = configFns[configName]; _$jscoverage['/kissy.js'].lineData[183]++; - if (visit39_183_1(configValue === undefined)) { + if (visit43_183_1(configValue === undefined)) { _$jscoverage['/kissy.js'].lineData[184]++; - if (visit40_184_1(cfg)) { + if (visit44_184_1(cfg)) { _$jscoverage['/kissy.js'].lineData[185]++; r = cfg.call(self); } else { @@ -574,7 +574,7 @@ var KISSY = (function(undefined) { } } else { _$jscoverage['/kissy.js'].lineData[190]++; - if (visit41_190_1(cfg)) { + if (visit45_190_1(cfg)) { _$jscoverage['/kissy.js'].lineData[191]++; r = cfg.call(self, configValue); } else { @@ -589,33 +589,33 @@ var KISSY = (function(undefined) { log: function(msg, cat, logger) { _$jscoverage['/kissy.js'].functionData[6]++; _$jscoverage['/kissy.js'].lineData[208]++; - if (visit42_208_1('@DEBUG@')) { + if (visit46_208_1('@DEBUG@')) { _$jscoverage['/kissy.js'].lineData[209]++; var matched = 1; _$jscoverage['/kissy.js'].lineData[210]++; - if (visit43_210_1(logger)) { + if (visit47_210_1(logger)) { _$jscoverage['/kissy.js'].lineData[211]++; - var loggerCfg = visit44_211_1(S.Config.logger || {}), list, i, l, level, minLevel, maxLevel, reg; + var loggerCfg = visit48_211_1(S.Config.logger || {}), list, i, l, level, minLevel, maxLevel, reg; _$jscoverage['/kissy.js'].lineData[213]++; - cat = visit45_213_1(cat || 'debug'); + cat = visit49_213_1(cat || 'debug'); _$jscoverage['/kissy.js'].lineData[214]++; - level = visit46_214_1(loggerLevel[cat] || loggerLevel.debug); + level = visit50_214_1(loggerLevel[cat] || loggerLevel.debug); _$jscoverage['/kissy.js'].lineData[215]++; if ((list = loggerCfg.includes)) { _$jscoverage['/kissy.js'].lineData[216]++; matched = 0; _$jscoverage['/kissy.js'].lineData[217]++; - for (i = 0; visit47_217_1(i < list.length); i++) { + for (i = 0; visit51_217_1(i < list.length); i++) { _$jscoverage['/kissy.js'].lineData[218]++; l = list[i]; _$jscoverage['/kissy.js'].lineData[219]++; reg = l.logger; _$jscoverage['/kissy.js'].lineData[220]++; - maxLevel = visit48_220_1(loggerLevel[l.maxLevel] || loggerLevel.error); + maxLevel = visit52_220_1(loggerLevel[l.maxLevel] || loggerLevel.error); _$jscoverage['/kissy.js'].lineData[221]++; - minLevel = visit49_221_1(loggerLevel[l.minLevel] || loggerLevel.debug); + minLevel = visit53_221_1(loggerLevel[l.minLevel] || loggerLevel.debug); _$jscoverage['/kissy.js'].lineData[222]++; - if (visit50_222_1(visit51_222_2(minLevel <= level) && visit52_222_3(visit53_222_4(maxLevel >= level) && logger.match(reg)))) { + if (visit54_222_1(visit55_222_2(minLevel <= level) && visit56_222_3(visit57_222_4(maxLevel >= level) && logger.match(reg)))) { _$jscoverage['/kissy.js'].lineData[223]++; matched = 1; _$jscoverage['/kissy.js'].lineData[224]++; @@ -628,17 +628,17 @@ var KISSY = (function(undefined) { _$jscoverage['/kissy.js'].lineData[228]++; matched = 1; _$jscoverage['/kissy.js'].lineData[229]++; - for (i = 0; visit54_229_1(i < list.length); i++) { + for (i = 0; visit58_229_1(i < list.length); i++) { _$jscoverage['/kissy.js'].lineData[230]++; l = list[i]; _$jscoverage['/kissy.js'].lineData[231]++; reg = l.logger; _$jscoverage['/kissy.js'].lineData[232]++; - maxLevel = visit55_232_1(loggerLevel[l.maxLevel] || loggerLevel.error); + maxLevel = visit59_232_1(loggerLevel[l.maxLevel] || loggerLevel.error); _$jscoverage['/kissy.js'].lineData[233]++; - minLevel = visit56_233_1(loggerLevel[l.minLevel] || loggerLevel.debug); + minLevel = visit60_233_1(loggerLevel[l.minLevel] || loggerLevel.debug); _$jscoverage['/kissy.js'].lineData[234]++; - if (visit57_234_1(visit58_234_2(minLevel <= level) && visit59_234_3(visit60_234_4(maxLevel >= level) && logger.match(reg)))) { + if (visit61_234_1(visit62_234_2(minLevel <= level) && visit63_234_3(visit64_234_4(maxLevel >= level) && logger.match(reg)))) { _$jscoverage['/kissy.js'].lineData[235]++; matched = 0; _$jscoverage['/kissy.js'].lineData[236]++; @@ -648,15 +648,15 @@ var KISSY = (function(undefined) { } } _$jscoverage['/kissy.js'].lineData[240]++; - if (visit61_240_1(matched)) { + if (visit65_240_1(matched)) { _$jscoverage['/kissy.js'].lineData[241]++; msg = logger + ': ' + msg; } } _$jscoverage['/kissy.js'].lineData[245]++; - if (visit62_245_1(visit63_245_2(typeof console !== 'undefined') && visit64_245_3(console.log && matched))) { + if (visit66_245_1(visit67_245_2(typeof console !== 'undefined') && visit68_245_3(console.log && matched))) { _$jscoverage['/kissy.js'].lineData[246]++; - console[visit65_246_1(cat && console[cat]) ? cat : 'log'](msg); + console[visit69_246_1(cat && console[cat]) ? cat : 'log'](msg); _$jscoverage['/kissy.js'].lineData[247]++; return msg; } @@ -672,7 +672,7 @@ var KISSY = (function(undefined) { error: function(msg) { _$jscoverage['/kissy.js'].functionData[8]++; _$jscoverage['/kissy.js'].lineData[266]++; - if (visit66_266_1('@DEBUG@')) { + if (visit70_266_1('@DEBUG@')) { _$jscoverage['/kissy.js'].lineData[268]++; throw msg instanceof Error ? msg : new Error(msg); } @@ -680,10 +680,10 @@ var KISSY = (function(undefined) { guid: function(pre) { _$jscoverage['/kissy.js'].functionData[9]++; _$jscoverage['/kissy.js'].lineData[278]++; - return (visit67_278_1(pre || EMPTY)) + guid++; + return (visit71_278_1(pre || EMPTY)) + guid++; }}; _$jscoverage['/kissy.js'].lineData[282]++; - if (visit68_282_1('@DEBUG@')) { + if (visit72_282_1('@DEBUG@')) { _$jscoverage['/kissy.js'].lineData[283]++; S.Config.logger = { excludes: [{ diff --git a/src/seed/coverage/src/lang/array.js b/src/seed/coverage/src/lang/array.js index 180c78dd1c..e24af21387 100644 --- a/src/seed/coverage/src/lang/array.js +++ b/src/seed/coverage/src/lang/array.js @@ -458,239 +458,239 @@ if (! _$jscoverage['/lang/array.js'].branchData) { _$jscoverage['/lang/array.js'].branchData['332'][1] = new BranchData(); } _$jscoverage['/lang/array.js'].branchData['332'][1].init(812, 5, 'i < l'); -function visit127_332_1(result) { +function visit131_332_1(result) { _$jscoverage['/lang/array.js'].branchData['332'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['328'][4].init(147, 23, 'lengthType === \'number\''); -function visit126_328_4(result) { +function visit130_328_4(result) { _$jscoverage['/lang/array.js'].branchData['328'][4].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['328'][3].init(132, 38, '\'item\' in o && lengthType === \'number\''); -function visit125_328_3(result) { +function visit129_328_3(result) { _$jscoverage['/lang/array.js'].branchData['328'][3].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['328'][2].init(105, 20, 'oType === \'function\''); -function visit124_328_2(result) { +function visit128_328_2(result) { _$jscoverage['/lang/array.js'].branchData['328'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['328'][1].init(105, 66, 'oType === \'function\' && !(\'item\' in o && lengthType === \'number\')'); -function visit123_328_1(result) { +function visit127_328_1(result) { _$jscoverage['/lang/array.js'].branchData['328'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['326'][2].init(528, 18, 'oType === \'string\''); -function visit122_326_2(result) { +function visit126_326_2(result) { _$jscoverage['/lang/array.js'].branchData['326'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['326'][1].init(26, 173, 'oType === \'string\' || (oType === \'function\' && !(\'item\' in o && lengthType === \'number\'))'); -function visit121_326_1(result) { +function visit125_326_1(result) { _$jscoverage['/lang/array.js'].branchData['326'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['325'][1].init(198, 200, 'o.alert || oType === \'string\' || (oType === \'function\' && !(\'item\' in o && lengthType === \'number\'))'); -function visit120_325_1(result) { +function visit124_325_1(result) { _$jscoverage['/lang/array.js'].branchData['325'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['320'][2].init(299, 23, 'lengthType !== \'number\''); -function visit119_320_2(result) { +function visit123_320_2(result) { _$jscoverage['/lang/array.js'].branchData['320'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['320'][1].init(299, 399, 'lengthType !== \'number\' || o.alert || oType === \'string\' || (oType === \'function\' && !(\'item\' in o && lengthType === \'number\'))'); -function visit118_320_1(result) { +function visit122_320_1(result) { _$jscoverage['/lang/array.js'].branchData['320'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['314'][1].init(87, 12, 'S.isArray(o)'); -function visit117_314_1(result) { +function visit121_314_1(result) { _$jscoverage['/lang/array.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['311'][1].init(17, 9, 'o == null'); -function visit116_311_1(result) { +function visit120_311_1(result) { _$jscoverage['/lang/array.js'].branchData['311'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['298'][1].init(25, 44, 'i in arr && fn.call(context, arr[i], i, arr)'); -function visit115_298_1(result) { +function visit119_298_1(result) { _$jscoverage['/lang/array.js'].branchData['298'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['297'][1].init(83, 7, 'i < len'); -function visit114_297_1(result) { +function visit118_297_1(result) { _$jscoverage['/lang/array.js'].branchData['297'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['296'][2].init(27, 17, 'arr && arr.length'); -function visit113_296_2(result) { +function visit117_296_2(result) { _$jscoverage['/lang/array.js'].branchData['296'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['296'][1].init(27, 22, 'arr && arr.length || 0'); -function visit112_296_1(result) { +function visit116_296_1(result) { _$jscoverage['/lang/array.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['293'][1].init(43, 15, 'context || this'); -function visit111_293_1(result) { +function visit115_293_1(result) { _$jscoverage['/lang/array.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['275'][1].init(25, 45, 'i in arr && !fn.call(context, arr[i], i, arr)'); -function visit110_275_1(result) { +function visit114_275_1(result) { _$jscoverage['/lang/array.js'].branchData['275'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['274'][1].init(83, 7, 'i < len'); -function visit109_274_1(result) { +function visit113_274_1(result) { _$jscoverage['/lang/array.js'].branchData['274'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['273'][2].init(27, 17, 'arr && arr.length'); -function visit108_273_2(result) { +function visit112_273_2(result) { _$jscoverage['/lang/array.js'].branchData['273'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['273'][1].init(27, 22, 'arr && arr.length || 0'); -function visit107_273_1(result) { +function visit111_273_1(result) { _$jscoverage['/lang/array.js'].branchData['273'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['270'][1].init(44, 15, 'context || this'); -function visit106_270_1(result) { +function visit110_270_1(result) { _$jscoverage['/lang/array.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['250'][1].init(21, 8, 'k in arr'); -function visit105_250_1(result) { +function visit109_250_1(result) { _$jscoverage['/lang/array.js'].branchData['250'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['249'][1].init(990, 7, 'k < len'); -function visit104_249_1(result) { +function visit108_249_1(result) { _$jscoverage['/lang/array.js'].branchData['249'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['242'][1].init(270, 8, 'k >= len'); -function visit103_242_1(result) { +function visit107_242_1(result) { _$jscoverage['/lang/array.js'].branchData['242'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['235'][1].init(25, 8, 'k in arr'); -function visit102_235_1(result) { +function visit106_235_1(result) { _$jscoverage['/lang/array.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['230'][1].init(435, 21, 'arguments.length >= 3'); -function visit101_230_1(result) { +function visit105_230_1(result) { _$jscoverage['/lang/array.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['224'][3].init(268, 22, 'arguments.length === 2'); -function visit100_224_3(result) { +function visit104_224_3(result) { _$jscoverage['/lang/array.js'].branchData['224'][3].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['224'][2].init(255, 9, 'len === 0'); -function visit99_224_2(result) { +function visit103_224_2(result) { _$jscoverage['/lang/array.js'].branchData['224'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['224'][1].init(255, 35, 'len === 0 && arguments.length === 2'); -function visit98_224_1(result) { +function visit102_224_1(result) { _$jscoverage['/lang/array.js'].branchData['224'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['219'][1].init(51, 30, 'typeof callback !== \'function\''); -function visit97_219_1(result) { +function visit101_219_1(result) { _$jscoverage['/lang/array.js'].branchData['219'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['198'][1].init(42, 15, 'context || this'); -function visit96_198_1(result) { +function visit100_198_1(result) { _$jscoverage['/lang/array.js'].branchData['198'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['195'][1].init(104, 106, 'el || i in arr'); -function visit95_195_1(result) { +function visit99_195_1(result) { _$jscoverage['/lang/array.js'].branchData['195'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['194'][1].init(30, 23, 'typeof arr === \'string\''); -function visit94_194_1(result) { +function visit98_194_1(result) { _$jscoverage['/lang/array.js'].branchData['194'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['193'][1].init(113, 7, 'i < len'); -function visit93_193_1(result) { +function visit97_193_1(result) { _$jscoverage['/lang/array.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['188'][1].init(42, 15, 'context || this'); -function visit92_188_1(result) { +function visit96_188_1(result) { _$jscoverage['/lang/array.js'].branchData['188'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['166'][2].init(33, 15, 'context || this'); -function visit91_166_2(result) { +function visit95_166_2(result) { _$jscoverage['/lang/array.js'].branchData['166'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['166'][1].init(25, 38, 'fn.call(context || this, item, i, arr)'); -function visit90_166_1(result) { +function visit94_166_1(result) { _$jscoverage['/lang/array.js'].branchData['166'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['161'][1].init(45, 15, 'context || this'); -function visit89_161_1(result) { +function visit93_161_1(result) { _$jscoverage['/lang/array.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['144'][1].init(20, 25, 'S.indexOf(item, arr) > -1'); -function visit88_144_1(result) { +function visit92_144_1(result) { _$jscoverage['/lang/array.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['130'][1].init(402, 8, 'override'); -function visit87_130_1(result) { +function visit91_130_1(result) { _$jscoverage['/lang/array.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['124'][1].init(54, 33, '(n = S.lastIndexOf(item, b)) !== i'); -function visit86_124_1(result) { +function visit90_124_1(result) { _$jscoverage['/lang/array.js'].branchData['124'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['122'][1].init(187, 12, 'i < b.length'); -function visit85_122_1(result) { +function visit89_122_1(result) { _$jscoverage['/lang/array.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['115'][1].init(48, 8, 'override'); -function visit84_115_1(result) { +function visit88_115_1(result) { _$jscoverage['/lang/array.js'].branchData['115'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['98'][1].init(25, 15, 'arr[i] === item'); -function visit83_98_1(result) { +function visit87_98_1(result) { _$jscoverage['/lang/array.js'].branchData['98'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['97'][1].init(46, 6, 'i >= 0'); -function visit82_97_1(result) { +function visit86_97_1(result) { _$jscoverage['/lang/array.js'].branchData['97'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['75'][1].init(25, 15, 'arr[i] === item'); -function visit81_75_1(result) { +function visit85_75_1(result) { _$jscoverage['/lang/array.js'].branchData['75'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['74'][1].init(51, 7, 'i < len'); -function visit80_74_1(result) { +function visit84_74_1(result) { _$jscoverage['/lang/array.js'].branchData['74'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['52'][1].init(29, 42, 'fn.call(context, val, i, object) === FALSE'); -function visit79_52_1(result) { +function visit83_52_1(result) { _$jscoverage['/lang/array.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['51'][1].init(46, 10, 'i < length'); -function visit78_51_1(result) { +function visit82_51_1(result) { _$jscoverage['/lang/array.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['45'][1].init(122, 52, 'fn.call(context, object[key], key, object) === FALSE'); -function visit77_45_1(result) { +function visit81_45_1(result) { _$jscoverage['/lang/array.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['42'][1].init(71, 15, 'i < keys.length'); -function visit76_42_1(result) { +function visit80_42_1(result) { _$jscoverage['/lang/array.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['40'][1].init(379, 5, 'isObj'); -function visit75_40_1(result) { +function visit79_40_1(result) { _$jscoverage['/lang/array.js'].branchData['40'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['38'][1].init(341, 15, 'context || null'); -function visit74_38_1(result) { +function visit78_38_1(result) { _$jscoverage['/lang/array.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['36'][3].init(265, 29, 'S.type(object) === \'function\''); -function visit73_36_3(result) { +function visit77_36_3(result) { _$jscoverage['/lang/array.js'].branchData['36'][3].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['36'][2].init(241, 20, 'length === undefined'); -function visit72_36_2(result) { +function visit76_36_2(result) { _$jscoverage['/lang/array.js'].branchData['36'][2].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['36'][1].init(241, 53, 'length === undefined || S.type(object) === \'function\''); -function visit71_36_1(result) { +function visit75_36_1(result) { _$jscoverage['/lang/array.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['34'][1].init(115, 23, 'object && object.length'); -function visit70_34_1(result) { +function visit74_34_1(result) { _$jscoverage['/lang/array.js'].branchData['34'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].branchData['29'][1].init(17, 6, 'object'); -function visit69_29_1(result) { +function visit73_29_1(result) { _$jscoverage['/lang/array.js'].branchData['29'][1].ranCondition(result); return result; }_$jscoverage['/lang/array.js'].lineData[7]++; @@ -703,30 +703,30 @@ function visit69_29_1(result) { each: function(object, fn, context) { _$jscoverage['/lang/array.js'].functionData[1]++; _$jscoverage['/lang/array.js'].lineData[29]++; - if (visit69_29_1(object)) { + if (visit73_29_1(object)) { _$jscoverage['/lang/array.js'].lineData[30]++; - var key, val, keys, i = 0, length = visit70_34_1(object && object.length), isObj = visit71_36_1(visit72_36_2(length === undefined) || visit73_36_3(S.type(object) === 'function')); + var key, val, keys, i = 0, length = visit74_34_1(object && object.length), isObj = visit75_36_1(visit76_36_2(length === undefined) || visit77_36_3(S.type(object) === 'function')); _$jscoverage['/lang/array.js'].lineData[38]++; - context = visit74_38_1(context || null); + context = visit78_38_1(context || null); _$jscoverage['/lang/array.js'].lineData[40]++; - if (visit75_40_1(isObj)) { + if (visit79_40_1(isObj)) { _$jscoverage['/lang/array.js'].lineData[41]++; keys = S.keys(object); _$jscoverage['/lang/array.js'].lineData[42]++; - for (; visit76_42_1(i < keys.length); i++) { + for (; visit80_42_1(i < keys.length); i++) { _$jscoverage['/lang/array.js'].lineData[43]++; key = keys[i]; _$jscoverage['/lang/array.js'].lineData[45]++; - if (visit77_45_1(fn.call(context, object[key], key, object) === FALSE)) { + if (visit81_45_1(fn.call(context, object[key], key, object) === FALSE)) { _$jscoverage['/lang/array.js'].lineData[46]++; break; } } } else { _$jscoverage['/lang/array.js'].lineData[50]++; - for (val = object[0]; visit78_51_1(i < length); val = object[++i]) { + for (val = object[0]; visit82_51_1(i < length); val = object[++i]) { _$jscoverage['/lang/array.js'].lineData[52]++; - if (visit79_52_1(fn.call(context, val, i, object) === FALSE)) { + if (visit83_52_1(fn.call(context, val, i, object) === FALSE)) { _$jscoverage['/lang/array.js'].lineData[53]++; break; } @@ -743,9 +743,9 @@ function visit69_29_1(result) { } : function(item, arr) { _$jscoverage['/lang/array.js'].functionData[3]++; _$jscoverage['/lang/array.js'].lineData[74]++; - for (var i = 0, len = arr.length; visit80_74_1(i < len); ++i) { + for (var i = 0, len = arr.length; visit84_74_1(i < len); ++i) { _$jscoverage['/lang/array.js'].lineData[75]++; - if (visit81_75_1(arr[i] === item)) { + if (visit85_75_1(arr[i] === item)) { _$jscoverage['/lang/array.js'].lineData[76]++; return i; } @@ -760,9 +760,9 @@ function visit69_29_1(result) { } : function(item, arr) { _$jscoverage['/lang/array.js'].functionData[5]++; _$jscoverage['/lang/array.js'].lineData[97]++; - for (var i = arr.length - 1; visit82_97_1(i >= 0); i--) { + for (var i = arr.length - 1; visit86_97_1(i >= 0); i--) { _$jscoverage['/lang/array.js'].lineData[98]++; - if (visit83_98_1(arr[i] === item)) { + if (visit87_98_1(arr[i] === item)) { _$jscoverage['/lang/array.js'].lineData[99]++; break; } @@ -775,18 +775,18 @@ function visit69_29_1(result) { _$jscoverage['/lang/array.js'].lineData[114]++; var b = a.slice(); _$jscoverage['/lang/array.js'].lineData[115]++; - if (visit84_115_1(override)) { + if (visit88_115_1(override)) { _$jscoverage['/lang/array.js'].lineData[116]++; b.reverse(); } _$jscoverage['/lang/array.js'].lineData[118]++; var i = 0, n, item; _$jscoverage['/lang/array.js'].lineData[122]++; - while (visit85_122_1(i < b.length)) { + while (visit89_122_1(i < b.length)) { _$jscoverage['/lang/array.js'].lineData[123]++; item = b[i]; _$jscoverage['/lang/array.js'].lineData[124]++; - while (visit86_124_1((n = S.lastIndexOf(item, b)) !== i)) { + while (visit90_124_1((n = S.lastIndexOf(item, b)) !== i)) { _$jscoverage['/lang/array.js'].lineData[125]++; b.splice(n, 1); } @@ -794,7 +794,7 @@ function visit69_29_1(result) { i += 1; } _$jscoverage['/lang/array.js'].lineData[130]++; - if (visit87_130_1(override)) { + if (visit91_130_1(override)) { _$jscoverage['/lang/array.js'].lineData[131]++; b.reverse(); } @@ -804,12 +804,12 @@ function visit69_29_1(result) { inArray: function(item, arr) { _$jscoverage['/lang/array.js'].functionData[7]++; _$jscoverage['/lang/array.js'].lineData[144]++; - return visit88_144_1(S.indexOf(item, arr) > -1); + return visit92_144_1(S.indexOf(item, arr) > -1); }, filter: filter ? function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[8]++; _$jscoverage['/lang/array.js'].lineData[161]++; - return filter.call(arr, fn, visit89_161_1(context || this)); + return filter.call(arr, fn, visit93_161_1(context || this)); } : function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[9]++; _$jscoverage['/lang/array.js'].lineData[164]++; @@ -818,7 +818,7 @@ function visit69_29_1(result) { S.each(arr, function(item, i, arr) { _$jscoverage['/lang/array.js'].functionData[10]++; _$jscoverage['/lang/array.js'].lineData[166]++; - if (visit90_166_1(fn.call(visit91_166_2(context || this), item, i, arr))) { + if (visit94_166_1(fn.call(visit95_166_2(context || this), item, i, arr))) { _$jscoverage['/lang/array.js'].lineData[167]++; ret.push(item); } @@ -829,19 +829,19 @@ function visit69_29_1(result) { map: map ? function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[11]++; _$jscoverage['/lang/array.js'].lineData[188]++; - return map.call(arr, fn, visit92_188_1(context || this)); + return map.call(arr, fn, visit96_188_1(context || this)); } : function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[12]++; _$jscoverage['/lang/array.js'].lineData[191]++; var len = arr.length, res = new Array(len); _$jscoverage['/lang/array.js'].lineData[193]++; - for (var i = 0; visit93_193_1(i < len); i++) { + for (var i = 0; visit97_193_1(i < len); i++) { _$jscoverage['/lang/array.js'].lineData[194]++; - var el = visit94_194_1(typeof arr === 'string') ? arr.charAt(i) : arr[i]; + var el = visit98_194_1(typeof arr === 'string') ? arr.charAt(i) : arr[i]; _$jscoverage['/lang/array.js'].lineData[195]++; - if (visit95_195_1(el || i in arr)) { + if (visit99_195_1(el || i in arr)) { _$jscoverage['/lang/array.js'].lineData[198]++; - res[i] = fn.call(visit96_198_1(context || this), el, i, arr); + res[i] = fn.call(visit100_198_1(context || this), el, i, arr); } } _$jscoverage['/lang/array.js'].lineData[201]++; @@ -852,12 +852,12 @@ function visit69_29_1(result) { _$jscoverage['/lang/array.js'].lineData[218]++; var len = arr.length; _$jscoverage['/lang/array.js'].lineData[219]++; - if (visit97_219_1(typeof callback !== 'function')) { + if (visit101_219_1(typeof callback !== 'function')) { _$jscoverage['/lang/array.js'].lineData[220]++; throw new TypeError('callback is not function!'); } _$jscoverage['/lang/array.js'].lineData[224]++; - if (visit98_224_1(visit99_224_2(len === 0) && visit100_224_3(arguments.length === 2))) { + if (visit102_224_1(visit103_224_2(len === 0) && visit104_224_3(arguments.length === 2))) { _$jscoverage['/lang/array.js'].lineData[225]++; throw new TypeError('arguments invalid'); } @@ -866,14 +866,14 @@ function visit69_29_1(result) { _$jscoverage['/lang/array.js'].lineData[229]++; var accumulator; _$jscoverage['/lang/array.js'].lineData[230]++; - if (visit101_230_1(arguments.length >= 3)) { + if (visit105_230_1(arguments.length >= 3)) { _$jscoverage['/lang/array.js'].lineData[231]++; accumulator = initialValue; } else { _$jscoverage['/lang/array.js'].lineData[234]++; do { _$jscoverage['/lang/array.js'].lineData[235]++; - if (visit102_235_1(k in arr)) { + if (visit106_235_1(k in arr)) { _$jscoverage['/lang/array.js'].lineData[236]++; accumulator = arr[k++]; _$jscoverage['/lang/array.js'].lineData[237]++; @@ -882,16 +882,16 @@ function visit69_29_1(result) { _$jscoverage['/lang/array.js'].lineData[241]++; k += 1; _$jscoverage['/lang/array.js'].lineData[242]++; - if (visit103_242_1(k >= len)) { + if (visit107_242_1(k >= len)) { _$jscoverage['/lang/array.js'].lineData[243]++; throw new TypeError(); } } while (TRUE); } _$jscoverage['/lang/array.js'].lineData[249]++; - while (visit104_249_1(k < len)) { + while (visit108_249_1(k < len)) { _$jscoverage['/lang/array.js'].lineData[250]++; - if (visit105_250_1(k in arr)) { + if (visit109_250_1(k in arr)) { _$jscoverage['/lang/array.js'].lineData[251]++; accumulator = callback.call(undefined, accumulator, arr[k], k, arr); } @@ -904,15 +904,15 @@ function visit69_29_1(result) { every: every ? function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[14]++; _$jscoverage['/lang/array.js'].lineData[270]++; - return every.call(arr, fn, visit106_270_1(context || this)); + return every.call(arr, fn, visit110_270_1(context || this)); } : function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[15]++; _$jscoverage['/lang/array.js'].lineData[273]++; - var len = visit107_273_1(visit108_273_2(arr && arr.length) || 0); + var len = visit111_273_1(visit112_273_2(arr && arr.length) || 0); _$jscoverage['/lang/array.js'].lineData[274]++; - for (var i = 0; visit109_274_1(i < len); i++) { + for (var i = 0; visit113_274_1(i < len); i++) { _$jscoverage['/lang/array.js'].lineData[275]++; - if (visit110_275_1(i in arr && !fn.call(context, arr[i], i, arr))) { + if (visit114_275_1(i in arr && !fn.call(context, arr[i], i, arr))) { _$jscoverage['/lang/array.js'].lineData[276]++; return FALSE; } @@ -923,15 +923,15 @@ function visit69_29_1(result) { some: some ? function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[16]++; _$jscoverage['/lang/array.js'].lineData[293]++; - return some.call(arr, fn, visit111_293_1(context || this)); + return some.call(arr, fn, visit115_293_1(context || this)); } : function(arr, fn, context) { _$jscoverage['/lang/array.js'].functionData[17]++; _$jscoverage['/lang/array.js'].lineData[296]++; - var len = visit112_296_1(visit113_296_2(arr && arr.length) || 0); + var len = visit116_296_1(visit117_296_2(arr && arr.length) || 0); _$jscoverage['/lang/array.js'].lineData[297]++; - for (var i = 0; visit114_297_1(i < len); i++) { + for (var i = 0; visit118_297_1(i < len); i++) { _$jscoverage['/lang/array.js'].lineData[298]++; - if (visit115_298_1(i in arr && fn.call(context, arr[i], i, arr))) { + if (visit119_298_1(i in arr && fn.call(context, arr[i], i, arr))) { _$jscoverage['/lang/array.js'].lineData[299]++; return TRUE; } @@ -942,26 +942,26 @@ function visit69_29_1(result) { makeArray: function(o) { _$jscoverage['/lang/array.js'].functionData[18]++; _$jscoverage['/lang/array.js'].lineData[311]++; - if (visit116_311_1(o == null)) { + if (visit120_311_1(o == null)) { _$jscoverage['/lang/array.js'].lineData[312]++; return []; } _$jscoverage['/lang/array.js'].lineData[314]++; - if (visit117_314_1(S.isArray(o))) { + if (visit121_314_1(S.isArray(o))) { _$jscoverage['/lang/array.js'].lineData[315]++; return o; } _$jscoverage['/lang/array.js'].lineData[317]++; var lengthType = typeof o.length, oType = typeof o; _$jscoverage['/lang/array.js'].lineData[320]++; - if (visit118_320_1(visit119_320_2(lengthType !== 'number') || visit120_325_1(o.alert || visit121_326_1(visit122_326_2(oType === 'string') || (visit123_328_1(visit124_328_2(oType === 'function') && !(visit125_328_3('item' in o && visit126_328_4(lengthType === 'number'))))))))) { + if (visit122_320_1(visit123_320_2(lengthType !== 'number') || visit124_325_1(o.alert || visit125_326_1(visit126_326_2(oType === 'string') || (visit127_328_1(visit128_328_2(oType === 'function') && !(visit129_328_3('item' in o && visit130_328_4(lengthType === 'number'))))))))) { _$jscoverage['/lang/array.js'].lineData[329]++; return [o]; } _$jscoverage['/lang/array.js'].lineData[331]++; var ret = []; _$jscoverage['/lang/array.js'].lineData[332]++; - for (var i = 0, l = o.length; visit127_332_1(i < l); i++) { + for (var i = 0, l = o.length; visit131_332_1(i < l); i++) { _$jscoverage['/lang/array.js'].lineData[333]++; ret[i] = o[i]; } diff --git a/src/seed/coverage/src/lang/escape.js b/src/seed/coverage/src/lang/escape.js index e19957f92e..4a6b040a42 100644 --- a/src/seed/coverage/src/lang/escape.js +++ b/src/seed/coverage/src/lang/escape.js @@ -388,107 +388,107 @@ if (! _$jscoverage['/lang/escape.js'].branchData) { _$jscoverage['/lang/escape.js'].branchData['256'][1] = new BranchData(); } _$jscoverage['/lang/escape.js'].branchData['256'][1].init(25, 19, 'S.isArray(ret[key])'); -function visit153_256_1(result) { +function visit157_256_1(result) { _$jscoverage['/lang/escape.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['255'][1].init(779, 10, 'key in ret'); -function visit152_255_1(result) { +function visit156_255_1(result) { _$jscoverage['/lang/escape.js'].branchData['255'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['251'][1].init(438, 21, 'S.endsWith(key, \'[]\')'); -function visit151_251_1(result) { +function visit155_251_1(result) { _$jscoverage['/lang/escape.js'].branchData['251'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['238'][1].init(69, 14, 'eqIndex === -1'); -function visit150_238_1(result) { +function visit154_238_1(result) { _$jscoverage['/lang/escape.js'].branchData['238'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['236'][1].init(384, 7, 'i < len'); -function visit149_236_1(result) { +function visit153_236_1(result) { _$jscoverage['/lang/escape.js'].branchData['236'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['228'][1].init(156, 8, 'eq || EQ'); -function visit148_228_1(result) { +function visit152_228_1(result) { _$jscoverage['/lang/escape.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['227'][1].init(127, 10, 'sep || SEP'); -function visit147_227_1(result) { +function visit151_227_1(result) { _$jscoverage['/lang/escape.js'].branchData['227'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['224'][2].init(17, 23, 'typeof str !== \'string\''); -function visit146_224_2(result) { +function visit150_224_2(result) { _$jscoverage['/lang/escape.js'].branchData['224'][2].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['224'][1].init(17, 47, 'typeof str !== \'string\' || !(str = S.trim(str))'); -function visit145_224_1(result) { +function visit149_224_1(result) { _$jscoverage['/lang/escape.js'].branchData['224'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['194'][1].init(117, 15, 'v !== undefined'); -function visit144_194_1(result) { +function visit148_194_1(result) { _$jscoverage['/lang/escape.js'].branchData['194'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['192'][1].init(65, 20, 'isValidParamValue(v)'); -function visit143_192_1(result) { +function visit147_192_1(result) { _$jscoverage['/lang/escape.js'].branchData['192'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['190'][1].init(51, 7, 'i < len'); -function visit142_190_1(result) { +function visit146_190_1(result) { _$jscoverage['/lang/escape.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['189'][1].init(444, 28, 'S.isArray(val) && val.length'); -function visit141_189_1(result) { +function visit145_189_1(result) { _$jscoverage['/lang/escape.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['183'][1].init(60, 17, 'val !== undefined'); -function visit140_183_1(result) { +function visit144_183_1(result) { _$jscoverage['/lang/escape.js'].branchData['183'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['181'][1].init(136, 22, 'isValidParamValue(val)'); -function visit139_181_1(result) { +function visit143_181_1(result) { _$jscoverage['/lang/escape.js'].branchData['181'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['170'][1].init(74, 28, 'serializeArray === undefined'); -function visit138_170_1(result) { +function visit142_170_1(result) { _$jscoverage['/lang/escape.js'].branchData['170'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['169'][1].init(48, 8, 'eq || EQ'); -function visit137_169_1(result) { +function visit141_169_1(result) { _$jscoverage['/lang/escape.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['168'][1].init(19, 10, 'sep || SEP'); -function visit136_168_1(result) { +function visit140_168_1(result) { _$jscoverage['/lang/escape.js'].branchData['168'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['146'][1].init(24, 42, 'htmlEntities[m] || String.fromCharCode(+n)'); -function visit135_146_1(result) { +function visit139_146_1(result) { _$jscoverage['/lang/escape.js'].branchData['146'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['62'][1].init(13, 11, 'unEscapeReg'); -function visit134_62_1(result) { +function visit138_62_1(result) { _$jscoverage['/lang/escape.js'].branchData['62'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['49'][1].init(13, 9, 'escapeReg'); -function visit133_49_1(result) { +function visit137_49_1(result) { _$jscoverage['/lang/escape.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['45'][5].init(166, 16, 't !== \'function\''); -function visit132_45_5(result) { +function visit136_45_5(result) { _$jscoverage['/lang/escape.js'].branchData['45'][5].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['45'][4].init(148, 14, 't !== \'object\''); -function visit131_45_4(result) { +function visit135_45_4(result) { _$jscoverage['/lang/escape.js'].branchData['45'][4].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['45'][3].init(148, 34, 't !== \'object\' && t !== \'function\''); -function visit130_45_3(result) { +function visit134_45_3(result) { _$jscoverage['/lang/escape.js'].branchData['45'][3].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['45'][2].init(132, 11, 'val == null'); -function visit129_45_2(result) { +function visit133_45_2(result) { _$jscoverage['/lang/escape.js'].branchData['45'][2].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].branchData['45'][1].init(132, 51, 'val == null || (t !== \'object\' && t !== \'function\')'); -function visit128_45_1(result) { +function visit132_45_1(result) { _$jscoverage['/lang/escape.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/lang/escape.js'].lineData[7]++; @@ -520,13 +520,13 @@ function visit128_45_1(result) { _$jscoverage['/lang/escape.js'].lineData[43]++; var t = typeof val; _$jscoverage['/lang/escape.js'].lineData[45]++; - return visit128_45_1(visit129_45_2(val == null) || (visit130_45_3(visit131_45_4(t !== 'object') && visit132_45_5(t !== 'function')))); + return visit132_45_1(visit133_45_2(val == null) || (visit134_45_3(visit135_45_4(t !== 'object') && visit136_45_5(t !== 'function')))); } _$jscoverage['/lang/escape.js'].lineData[48]++; function getEscapeReg() { _$jscoverage['/lang/escape.js'].functionData[3]++; _$jscoverage['/lang/escape.js'].lineData[49]++; - if (visit133_49_1(escapeReg)) { + if (visit137_49_1(escapeReg)) { _$jscoverage['/lang/escape.js'].lineData[50]++; return escapeReg; } @@ -549,7 +549,7 @@ function visit128_45_1(result) { function getUnEscapeReg() { _$jscoverage['/lang/escape.js'].functionData[5]++; _$jscoverage['/lang/escape.js'].lineData[62]++; - if (visit134_62_1(unEscapeReg)) { + if (visit138_62_1(unEscapeReg)) { _$jscoverage['/lang/escape.js'].lineData[63]++; return unEscapeReg; } @@ -609,17 +609,17 @@ function visit128_45_1(result) { return str.replace(getUnEscapeReg(), function(m, n) { _$jscoverage['/lang/escape.js'].functionData[15]++; _$jscoverage['/lang/escape.js'].lineData[146]++; - return visit135_146_1(htmlEntities[m] || String.fromCharCode(+n)); + return visit139_146_1(htmlEntities[m] || String.fromCharCode(+n)); }); }, param: function(o, sep, eq, serializeArray) { _$jscoverage['/lang/escape.js'].functionData[16]++; _$jscoverage['/lang/escape.js'].lineData[168]++; - sep = visit136_168_1(sep || SEP); + sep = visit140_168_1(sep || SEP); _$jscoverage['/lang/escape.js'].lineData[169]++; - eq = visit137_169_1(eq || EQ); + eq = visit141_169_1(eq || EQ); _$jscoverage['/lang/escape.js'].lineData[170]++; - if (visit138_170_1(serializeArray === undefined)) { + if (visit142_170_1(serializeArray === undefined)) { _$jscoverage['/lang/escape.js'].lineData[171]++; serializeArray = TRUE; } @@ -632,11 +632,11 @@ function visit128_45_1(result) { _$jscoverage['/lang/escape.js'].lineData[178]++; key = encode(key); _$jscoverage['/lang/escape.js'].lineData[181]++; - if (visit139_181_1(isValidParamValue(val))) { + if (visit143_181_1(isValidParamValue(val))) { _$jscoverage['/lang/escape.js'].lineData[182]++; buf.push(key); _$jscoverage['/lang/escape.js'].lineData[183]++; - if (visit140_183_1(val !== undefined)) { + if (visit144_183_1(val !== undefined)) { _$jscoverage['/lang/escape.js'].lineData[184]++; buf.push(eq, encode(val + EMPTY)); } @@ -644,17 +644,17 @@ function visit128_45_1(result) { buf.push(sep); } else { _$jscoverage['/lang/escape.js'].lineData[189]++; - if (visit141_189_1(S.isArray(val) && val.length)) { + if (visit145_189_1(S.isArray(val) && val.length)) { _$jscoverage['/lang/escape.js'].lineData[190]++; - for (i = 0 , len = val.length; visit142_190_1(i < len); ++i) { + for (i = 0 , len = val.length; visit146_190_1(i < len); ++i) { _$jscoverage['/lang/escape.js'].lineData[191]++; v = val[i]; _$jscoverage['/lang/escape.js'].lineData[192]++; - if (visit143_192_1(isValidParamValue(v))) { + if (visit147_192_1(isValidParamValue(v))) { _$jscoverage['/lang/escape.js'].lineData[193]++; buf.push(key, (serializeArray ? encode('[]') : EMPTY)); _$jscoverage['/lang/escape.js'].lineData[194]++; - if (visit144_194_1(v !== undefined)) { + if (visit148_194_1(v !== undefined)) { _$jscoverage['/lang/escape.js'].lineData[195]++; buf.push(eq, encode(v + EMPTY)); } @@ -673,22 +673,22 @@ function visit128_45_1(result) { unparam: function(str, sep, eq) { _$jscoverage['/lang/escape.js'].functionData[17]++; _$jscoverage['/lang/escape.js'].lineData[224]++; - if (visit145_224_1(visit146_224_2(typeof str !== 'string') || !(str = S.trim(str)))) { + if (visit149_224_1(visit150_224_2(typeof str !== 'string') || !(str = S.trim(str)))) { _$jscoverage['/lang/escape.js'].lineData[225]++; return {}; } _$jscoverage['/lang/escape.js'].lineData[227]++; - sep = visit147_227_1(sep || SEP); + sep = visit151_227_1(sep || SEP); _$jscoverage['/lang/escape.js'].lineData[228]++; - eq = visit148_228_1(eq || EQ); + eq = visit152_228_1(eq || EQ); _$jscoverage['/lang/escape.js'].lineData[229]++; var ret = {}, eqIndex, decode = S.urlDecode, pairs = str.split(sep), key, val, i = 0, len = pairs.length; _$jscoverage['/lang/escape.js'].lineData[236]++; - for (; visit149_236_1(i < len); ++i) { + for (; visit153_236_1(i < len); ++i) { _$jscoverage['/lang/escape.js'].lineData[237]++; eqIndex = pairs[i].indexOf(eq); _$jscoverage['/lang/escape.js'].lineData[238]++; - if (visit150_238_1(eqIndex === -1)) { + if (visit154_238_1(eqIndex === -1)) { _$jscoverage['/lang/escape.js'].lineData[239]++; key = decode(pairs[i]); _$jscoverage['/lang/escape.js'].lineData[240]++; @@ -709,15 +709,15 @@ function visit128_45_1(result) { logger.error(e); } _$jscoverage['/lang/escape.js'].lineData[251]++; - if (visit151_251_1(S.endsWith(key, '[]'))) { + if (visit155_251_1(S.endsWith(key, '[]'))) { _$jscoverage['/lang/escape.js'].lineData[252]++; key = key.substring(0, key.length - 2); } } _$jscoverage['/lang/escape.js'].lineData[255]++; - if (visit152_255_1(key in ret)) { + if (visit156_255_1(key in ret)) { _$jscoverage['/lang/escape.js'].lineData[256]++; - if (visit153_256_1(S.isArray(ret[key]))) { + if (visit157_256_1(S.isArray(ret[key]))) { _$jscoverage['/lang/escape.js'].lineData[257]++; ret[key].push(val); } else { diff --git a/src/seed/coverage/src/lang/function.js b/src/seed/coverage/src/lang/function.js index 5ca8ec2528..b60a381e19 100644 --- a/src/seed/coverage/src/lang/function.js +++ b/src/seed/coverage/src/lang/function.js @@ -328,63 +328,63 @@ if (! _$jscoverage['/lang/function.js'].branchData) { _$jscoverage['/lang/function.js'].branchData['173'][1] = new BranchData(); } _$jscoverage['/lang/function.js'].branchData['173'][1].init(21, 11, 'bufferTimer'); -function visit168_173_1(result) { +function visit172_173_1(result) { _$jscoverage['/lang/function.js'].branchData['173'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['169'][1].init(76, 15, 'context || this'); -function visit167_169_1(result) { +function visit171_169_1(result) { _$jscoverage['/lang/function.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['162'][1].init(30, 15, 'context || this'); -function visit166_162_1(result) { +function visit170_162_1(result) { _$jscoverage['/lang/function.js'].branchData['162'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['160'][1].init(46, 9, 'ms === -1'); -function visit165_160_1(result) { +function visit169_160_1(result) { _$jscoverage['/lang/function.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['158'][1].init(18, 9, 'ms || 150'); -function visit164_158_1(result) { +function visit168_158_1(result) { _$jscoverage['/lang/function.js'].branchData['158'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['144'][1].init(62, 15, 'context || this'); -function visit163_144_1(result) { +function visit167_144_1(result) { _$jscoverage['/lang/function.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['142'][1].init(56, 15, 'now - last > ms'); -function visit162_142_1(result) { +function visit166_142_1(result) { _$jscoverage['/lang/function.js'].branchData['142'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['134'][1].init(30, 15, 'context || this'); -function visit161_134_1(result) { +function visit165_134_1(result) { _$jscoverage['/lang/function.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['132'][1].init(46, 9, 'ms === -1'); -function visit160_132_1(result) { +function visit164_132_1(result) { _$jscoverage['/lang/function.js'].branchData['132'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['130'][1].init(18, 9, 'ms || 150'); -function visit159_130_1(result) { +function visit163_130_1(result) { _$jscoverage['/lang/function.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['110'][1].init(25, 13, 'this.interval'); -function visit158_110_1(result) { +function visit162_110_1(result) { _$jscoverage['/lang/function.js'].branchData['110'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['96'][1].init(239, 2, '!m'); -function visit157_96_1(result) { +function visit161_96_1(result) { _$jscoverage['/lang/function.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['92'][1].init(149, 22, 'typeof fn === \'string\''); -function visit156_92_1(result) { +function visit160_92_1(result) { _$jscoverage['/lang/function.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['86'][1].init(20, 9, 'when || 0'); -function visit155_86_1(result) { +function visit159_86_1(result) { _$jscoverage['/lang/function.js'].branchData['86'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].branchData['20'][1].init(101, 11, 'obj || this'); -function visit154_20_1(result) { +function visit158_20_1(result) { _$jscoverage['/lang/function.js'].branchData['20'][1].ranCondition(result); return result; }_$jscoverage['/lang/function.js'].lineData[7]++; @@ -403,7 +403,7 @@ function visit154_20_1(result) { _$jscoverage['/lang/function.js'].lineData[16]++; var inArgs = slice.call(arguments); _$jscoverage['/lang/function.js'].lineData[17]++; - return fn.apply(this instanceof FNOP ? this : visit154_20_1(obj || this), (r ? inArgs.concat(args) : args.concat(inArgs))); + return fn.apply(this instanceof FNOP ? this : visit158_20_1(obj || this), (r ? inArgs.concat(args) : args.concat(inArgs))); }; _$jscoverage['/lang/function.js'].lineData[24]++; FNOP.prototype = fn.prototype; @@ -422,16 +422,16 @@ function visit154_20_1(result) { later: function(fn, when, periodic, context, data) { _$jscoverage['/lang/function.js'].functionData[5]++; _$jscoverage['/lang/function.js'].lineData[86]++; - when = visit155_86_1(when || 0); + when = visit159_86_1(when || 0); _$jscoverage['/lang/function.js'].lineData[87]++; var m = fn, d = S.makeArray(data), f, r; _$jscoverage['/lang/function.js'].lineData[92]++; - if (visit156_92_1(typeof fn === 'string')) { + if (visit160_92_1(typeof fn === 'string')) { _$jscoverage['/lang/function.js'].lineData[93]++; m = context[fn]; } _$jscoverage['/lang/function.js'].lineData[96]++; - if (visit157_96_1(!m)) { + if (visit161_96_1(!m)) { _$jscoverage['/lang/function.js'].lineData[97]++; S.error('method undefined'); } @@ -450,7 +450,7 @@ function visit154_20_1(result) { cancel: function() { _$jscoverage['/lang/function.js'].functionData[7]++; _$jscoverage['/lang/function.js'].lineData[110]++; - if (visit158_110_1(this.interval)) { + if (visit162_110_1(this.interval)) { _$jscoverage['/lang/function.js'].lineData[111]++; clearInterval(r); } else { @@ -462,14 +462,14 @@ function visit154_20_1(result) { throttle: function(fn, ms, context) { _$jscoverage['/lang/function.js'].functionData[8]++; _$jscoverage['/lang/function.js'].lineData[130]++; - ms = visit159_130_1(ms || 150); + ms = visit163_130_1(ms || 150); _$jscoverage['/lang/function.js'].lineData[132]++; - if (visit160_132_1(ms === -1)) { + if (visit164_132_1(ms === -1)) { _$jscoverage['/lang/function.js'].lineData[133]++; return function() { _$jscoverage['/lang/function.js'].functionData[9]++; _$jscoverage['/lang/function.js'].lineData[134]++; - fn.apply(visit161_134_1(context || this), arguments); + fn.apply(visit165_134_1(context || this), arguments); }; } _$jscoverage['/lang/function.js'].lineData[138]++; @@ -480,25 +480,25 @@ function visit154_20_1(result) { _$jscoverage['/lang/function.js'].lineData[141]++; var now = S.now(); _$jscoverage['/lang/function.js'].lineData[142]++; - if (visit162_142_1(now - last > ms)) { + if (visit166_142_1(now - last > ms)) { _$jscoverage['/lang/function.js'].lineData[143]++; last = now; _$jscoverage['/lang/function.js'].lineData[144]++; - fn.apply(visit163_144_1(context || this), arguments); + fn.apply(visit167_144_1(context || this), arguments); } }; }, buffer: function(fn, ms, context) { _$jscoverage['/lang/function.js'].functionData[11]++; _$jscoverage['/lang/function.js'].lineData[158]++; - ms = visit164_158_1(ms || 150); + ms = visit168_158_1(ms || 150); _$jscoverage['/lang/function.js'].lineData[160]++; - if (visit165_160_1(ms === -1)) { + if (visit169_160_1(ms === -1)) { _$jscoverage['/lang/function.js'].lineData[161]++; return function() { _$jscoverage['/lang/function.js'].functionData[12]++; _$jscoverage['/lang/function.js'].lineData[162]++; - fn.apply(visit166_162_1(context || this), arguments); + fn.apply(visit170_162_1(context || this), arguments); }; } _$jscoverage['/lang/function.js'].lineData[165]++; @@ -509,13 +509,13 @@ function visit154_20_1(result) { _$jscoverage['/lang/function.js'].lineData[168]++; f.stop(); _$jscoverage['/lang/function.js'].lineData[169]++; - bufferTimer = S.later(fn, ms, 0, visit167_169_1(context || this), arguments); + bufferTimer = S.later(fn, ms, 0, visit171_169_1(context || this), arguments); } _$jscoverage['/lang/function.js'].lineData[172]++; f.stop = function() { _$jscoverage['/lang/function.js'].functionData[14]++; _$jscoverage['/lang/function.js'].lineData[173]++; - if (visit168_173_1(bufferTimer)) { + if (visit172_173_1(bufferTimer)) { _$jscoverage['/lang/function.js'].lineData[174]++; bufferTimer.cancel(); _$jscoverage['/lang/function.js'].lineData[175]++; diff --git a/src/seed/coverage/src/lang/lang.js b/src/seed/coverage/src/lang/lang.js index b7fbc08fd8..9061bfe9e7 100644 --- a/src/seed/coverage/src/lang/lang.js +++ b/src/seed/coverage/src/lang/lang.js @@ -410,235 +410,235 @@ if (! _$jscoverage['/lang/lang.js'].branchData) { _$jscoverage['/lang/lang.js'].branchData['201'][3] = new BranchData(); } _$jscoverage['/lang/lang.js'].branchData['201'][3].init(1555, 27, 'mismatchValues.length === 0'); -function visit226_201_3(result) { +function visit230_201_3(result) { _$jscoverage['/lang/lang.js'].branchData['201'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['201'][2].init(1526, 25, 'mismatchKeys.length === 0'); -function visit225_201_2(result) { +function visit229_201_2(result) { _$jscoverage['/lang/lang.js'].branchData['201'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['201'][1].init(1526, 56, 'mismatchKeys.length === 0 && mismatchValues.length === 0'); -function visit224_201_1(result) { +function visit228_201_1(result) { _$jscoverage['/lang/lang.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['196'][3].init(1339, 21, 'a.length !== b.length'); -function visit223_196_3(result) { +function visit227_196_3(result) { _$jscoverage['/lang/lang.js'].branchData['196'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['196'][2].init(1323, 37, 'S.isArray(b) && a.length !== b.length'); -function visit222_196_2(result) { +function visit226_196_2(result) { _$jscoverage['/lang/lang.js'].branchData['196'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['196'][1].init(1307, 53, 'S.isArray(a) && S.isArray(b) && a.length !== b.length'); -function visit221_196_1(result) { +function visit225_196_1(result) { _$jscoverage['/lang/lang.js'].branchData['196'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['188'][1].init(105, 65, '!S.equals(a[property], b[property], mismatchKeys, mismatchValues)'); -function visit220_188_1(result) { +function visit224_188_1(result) { _$jscoverage['/lang/lang.js'].branchData['188'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['185'][1].init(18, 27, 'property === COMPARE_MARKER'); -function visit219_185_1(result) { +function visit223_185_1(result) { _$jscoverage['/lang/lang.js'].branchData['185'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['178'][1].init(18, 43, '!hasKey(b, property) && hasKey(a, property)'); -function visit218_178_1(result) { +function visit222_178_1(result) { _$jscoverage['/lang/lang.js'].branchData['178'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['171'][1].init(18, 43, '!hasKey(a, property) && hasKey(b, property)'); -function visit217_171_1(result) { +function visit221_171_1(result) { _$jscoverage['/lang/lang.js'].branchData['171'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['167'][5].init(59, 26, 'obj[keyName] !== undefined'); -function visit216_167_5(result) { +function visit220_167_5(result) { _$jscoverage['/lang/lang.js'].branchData['167'][5].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['167'][4].init(37, 17, 'obj !== undefined'); -function visit215_167_4(result) { +function visit219_167_4(result) { _$jscoverage['/lang/lang.js'].branchData['167'][4].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['167'][3].init(21, 12, 'obj !== null'); -function visit214_167_3(result) { +function visit218_167_3(result) { _$jscoverage['/lang/lang.js'].branchData['167'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['167'][2].init(21, 33, 'obj !== null && obj !== undefined'); -function visit213_167_2(result) { +function visit217_167_2(result) { _$jscoverage['/lang/lang.js'].branchData['167'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['167'][1].init(21, 64, '(obj !== null && obj !== undefined) && obj[keyName] !== undefined'); -function visit212_167_1(result) { +function visit216_167_1(result) { _$jscoverage['/lang/lang.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['161'][3].init(71, 23, 'b[COMPARE_MARKER] === a'); -function visit211_161_3(result) { +function visit215_161_3(result) { _$jscoverage['/lang/lang.js'].branchData['161'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['161'][2].init(44, 23, 'a[COMPARE_MARKER] === b'); -function visit210_161_2(result) { +function visit214_161_2(result) { _$jscoverage['/lang/lang.js'].branchData['161'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['161'][1].init(44, 50, 'a[COMPARE_MARKER] === b && b[COMPARE_MARKER] === a'); -function visit209_161_1(result) { +function visit213_161_1(result) { _$jscoverage['/lang/lang.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['149'][2].init(49, 43, 'f.call(input, input[k], k, input) !== FALSE'); -function visit208_149_2(result) { +function visit212_149_2(result) { _$jscoverage['/lang/lang.js'].branchData['149'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['149'][1].init(42, 51, '!f || (f.call(input, input[k], k, input) !== FALSE)'); -function visit207_149_1(result) { +function visit211_149_1(result) { _$jscoverage['/lang/lang.js'].branchData['149'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['148'][2].init(22, 18, 'k !== CLONE_MARKER'); -function visit206_148_2(result) { +function visit210_148_2(result) { _$jscoverage['/lang/lang.js'].branchData['148'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['148'][1].init(22, 95, 'k !== CLONE_MARKER && (!f || (f.call(input, input[k], k, input) !== FALSE))'); -function visit205_148_1(result) { +function visit209_148_1(result) { _$jscoverage['/lang/lang.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['145'][1].init(2082, 13, 'isPlainObject'); -function visit204_145_1(result) { +function visit208_145_1(result) { _$jscoverage['/lang/lang.js'].branchData['145'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['142'][1].init(29, 22, 'i < destination.length'); -function visit203_142_1(result) { +function visit207_142_1(result) { _$jscoverage['/lang/lang.js'].branchData['142'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['141'][1].init(1903, 7, 'isArray'); -function visit202_141_1(result) { +function visit206_141_1(result) { _$jscoverage['/lang/lang.js'].branchData['141'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['116'][1].init(90, 63, 'S.inArray(Constructor, [Boolean, String, Number, Date, RegExp])'); -function visit201_116_1(result) { +function visit205_116_1(result) { _$jscoverage['/lang/lang.js'].branchData['116'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['113'][1].init(499, 25, 'typeof input === \'object\''); -function visit200_113_1(result) { +function visit204_113_1(result) { _$jscoverage['/lang/lang.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['110'][1].init(372, 19, 'input[CLONE_MARKER]'); -function visit199_110_1(result) { +function visit203_110_1(result) { _$jscoverage['/lang/lang.js'].branchData['110'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['103'][1].init(128, 6, '!input'); -function visit198_103_1(result) { +function visit202_103_1(result) { _$jscoverage['/lang/lang.js'].branchData['103'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['92'][1].init(2990, 67, 'Date.now || function() {\n return +new Date();\n}'); -function visit197_92_1(result) { +function visit201_92_1(result) { _$jscoverage['/lang/lang.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['71'][1].init(81, 15, 'v[CLONE_MARKER]'); -function visit196_71_1(result) { +function visit200_71_1(result) { _$jscoverage['/lang/lang.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['49'][1].init(943, 7, 'a === b'); -function visit195_49_1(result) { +function visit199_49_1(result) { _$jscoverage['/lang/lang.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['45'][3].init(779, 21, 'typeof b === \'object\''); -function visit194_45_3(result) { +function visit198_45_3(result) { _$jscoverage['/lang/lang.js'].branchData['45'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['45'][2].init(754, 21, 'typeof a === \'object\''); -function visit193_45_2(result) { +function visit197_45_2(result) { _$jscoverage['/lang/lang.js'].branchData['45'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['45'][1].init(754, 46, 'typeof a === \'object\' && typeof b === \'object\''); -function visit192_45_1(result) { +function visit196_45_1(result) { _$jscoverage['/lang/lang.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['43'][1].init(25, 7, 'a === b'); -function visit191_43_1(result) { +function visit195_43_1(result) { _$jscoverage['/lang/lang.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['42'][3].init(665, 21, 'typeof b === \'number\''); -function visit190_42_3(result) { +function visit194_42_3(result) { _$jscoverage['/lang/lang.js'].branchData['42'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['42'][2].init(640, 21, 'typeof a === \'number\''); -function visit189_42_2(result) { +function visit193_42_2(result) { _$jscoverage['/lang/lang.js'].branchData['42'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['42'][1].init(640, 46, 'typeof a === \'number\' && typeof b === \'number\''); -function visit188_42_1(result) { +function visit192_42_1(result) { _$jscoverage['/lang/lang.js'].branchData['42'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['40'][1].init(25, 7, 'a === b'); -function visit187_40_1(result) { +function visit191_40_1(result) { _$jscoverage['/lang/lang.js'].branchData['40'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['39'][3].init(551, 21, 'typeof b === \'string\''); -function visit186_39_3(result) { +function visit190_39_3(result) { _$jscoverage['/lang/lang.js'].branchData['39'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['39'][2].init(526, 21, 'typeof a === \'string\''); -function visit185_39_2(result) { +function visit189_39_2(result) { _$jscoverage['/lang/lang.js'].branchData['39'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['39'][1].init(526, 46, 'typeof a === \'string\' && typeof b === \'string\''); -function visit184_39_1(result) { +function visit188_39_1(result) { _$jscoverage['/lang/lang.js'].branchData['39'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['37'][1].init(24, 27, 'a.getTime() === b.getTime()'); -function visit183_37_1(result) { +function visit187_37_1(result) { _$jscoverage['/lang/lang.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['36'][1].init(402, 38, 'a instanceof Date && b instanceof Date'); -function visit182_36_1(result) { +function visit186_36_1(result) { _$jscoverage['/lang/lang.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['34'][3].init(75, 9, 'b == null'); -function visit181_34_3(result) { +function visit185_34_3(result) { _$jscoverage['/lang/lang.js'].branchData['34'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['34'][2].init(62, 9, 'a == null'); -function visit180_34_2(result) { +function visit184_34_2(result) { _$jscoverage['/lang/lang.js'].branchData['34'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['34'][1].init(62, 22, 'a == null && b == null'); -function visit179_34_1(result) { +function visit183_34_1(result) { _$jscoverage['/lang/lang.js'].branchData['34'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][7].init(273, 10, 'b === null'); -function visit178_32_7(result) { +function visit182_32_7(result) { _$jscoverage['/lang/lang.js'].branchData['32'][7].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][6].init(254, 15, 'b === undefined'); -function visit177_32_6(result) { +function visit181_32_6(result) { _$jscoverage['/lang/lang.js'].branchData['32'][6].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][5].init(254, 29, 'b === undefined || b === null'); -function visit176_32_5(result) { +function visit180_32_5(result) { _$jscoverage['/lang/lang.js'].branchData['32'][5].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][4].init(240, 10, 'a === null'); -function visit175_32_4(result) { +function visit179_32_4(result) { _$jscoverage['/lang/lang.js'].branchData['32'][4].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][3].init(240, 43, 'a === null || b === undefined || b === null'); -function visit174_32_3(result) { +function visit178_32_3(result) { _$jscoverage['/lang/lang.js'].branchData['32'][3].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][2].init(221, 15, 'a === undefined'); -function visit173_32_2(result) { +function visit177_32_2(result) { _$jscoverage['/lang/lang.js'].branchData['32'][2].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['32'][1].init(221, 62, 'a === undefined || a === null || b === undefined || b === null'); -function visit172_32_1(result) { +function visit176_32_1(result) { _$jscoverage['/lang/lang.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['29'][1].init(151, 7, 'a === b'); -function visit171_29_1(result) { +function visit175_29_1(result) { _$jscoverage['/lang/lang.js'].branchData['29'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['27'][1].init(112, 20, 'mismatchValues || []'); -function visit170_27_1(result) { +function visit174_27_1(result) { _$jscoverage['/lang/lang.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].branchData['26'][1].init(63, 18, 'mismatchKeys || []'); -function visit169_26_1(result) { +function visit173_26_1(result) { _$jscoverage['/lang/lang.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/lang/lang.js'].lineData[7]++; @@ -651,41 +651,41 @@ function visit169_26_1(result) { equals: function(a, b, mismatchKeys, mismatchValues) { _$jscoverage['/lang/lang.js'].functionData[1]++; _$jscoverage['/lang/lang.js'].lineData[26]++; - mismatchKeys = visit169_26_1(mismatchKeys || []); + mismatchKeys = visit173_26_1(mismatchKeys || []); _$jscoverage['/lang/lang.js'].lineData[27]++; - mismatchValues = visit170_27_1(mismatchValues || []); + mismatchValues = visit174_27_1(mismatchValues || []); _$jscoverage['/lang/lang.js'].lineData[29]++; - if (visit171_29_1(a === b)) { + if (visit175_29_1(a === b)) { _$jscoverage['/lang/lang.js'].lineData[30]++; return TRUE; } _$jscoverage['/lang/lang.js'].lineData[32]++; - if (visit172_32_1(visit173_32_2(a === undefined) || visit174_32_3(visit175_32_4(a === null) || visit176_32_5(visit177_32_6(b === undefined) || visit178_32_7(b === null))))) { + if (visit176_32_1(visit177_32_2(a === undefined) || visit178_32_3(visit179_32_4(a === null) || visit180_32_5(visit181_32_6(b === undefined) || visit182_32_7(b === null))))) { _$jscoverage['/lang/lang.js'].lineData[34]++; - return visit179_34_1(visit180_34_2(a == null) && visit181_34_3(b == null)); + return visit183_34_1(visit184_34_2(a == null) && visit185_34_3(b == null)); } _$jscoverage['/lang/lang.js'].lineData[36]++; - if (visit182_36_1(a instanceof Date && b instanceof Date)) { + if (visit186_36_1(a instanceof Date && b instanceof Date)) { _$jscoverage['/lang/lang.js'].lineData[37]++; - return visit183_37_1(a.getTime() === b.getTime()); + return visit187_37_1(a.getTime() === b.getTime()); } _$jscoverage['/lang/lang.js'].lineData[39]++; - if (visit184_39_1(visit185_39_2(typeof a === 'string') && visit186_39_3(typeof b === 'string'))) { + if (visit188_39_1(visit189_39_2(typeof a === 'string') && visit190_39_3(typeof b === 'string'))) { _$jscoverage['/lang/lang.js'].lineData[40]++; - return (visit187_40_1(a === b)); + return (visit191_40_1(a === b)); } _$jscoverage['/lang/lang.js'].lineData[42]++; - if (visit188_42_1(visit189_42_2(typeof a === 'number') && visit190_42_3(typeof b === 'number'))) { + if (visit192_42_1(visit193_42_2(typeof a === 'number') && visit194_42_3(typeof b === 'number'))) { _$jscoverage['/lang/lang.js'].lineData[43]++; - return (visit191_43_1(a === b)); + return (visit195_43_1(a === b)); } _$jscoverage['/lang/lang.js'].lineData[45]++; - if (visit192_45_1(visit193_45_2(typeof a === 'object') && visit194_45_3(typeof b === 'object'))) { + if (visit196_45_1(visit197_45_2(typeof a === 'object') && visit198_45_3(typeof b === 'object'))) { _$jscoverage['/lang/lang.js'].lineData[46]++; return compareObjects(a, b, mismatchKeys, mismatchValues); } _$jscoverage['/lang/lang.js'].lineData[49]++; - return (visit195_49_1(a === b)); + return (visit199_49_1(a === b)); }, clone: function(input, filter) { _$jscoverage['/lang/lang.js'].functionData[2]++; @@ -697,7 +697,7 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[70]++; v = v.input; _$jscoverage['/lang/lang.js'].lineData[71]++; - if (visit196_71_1(v[CLONE_MARKER])) { + if (visit200_71_1(v[CLONE_MARKER])) { _$jscoverage['/lang/lang.js'].lineData[72]++; try { _$jscoverage['/lang/lang.js'].lineData[73]++; @@ -713,7 +713,7 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[80]++; return ret; }, - now: visit197_92_1(Date.now || function() { + now: visit201_92_1(Date.now || function() { _$jscoverage['/lang/lang.js'].functionData[4]++; _$jscoverage['/lang/lang.js'].lineData[93]++; return +new Date(); @@ -724,21 +724,21 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[98]++; var destination = input, isArray, isPlainObject, k, stamp; _$jscoverage['/lang/lang.js'].lineData[103]++; - if (visit198_103_1(!input)) { + if (visit202_103_1(!input)) { _$jscoverage['/lang/lang.js'].lineData[104]++; return destination; } _$jscoverage['/lang/lang.js'].lineData[110]++; - if (visit199_110_1(input[CLONE_MARKER])) { + if (visit203_110_1(input[CLONE_MARKER])) { _$jscoverage['/lang/lang.js'].lineData[112]++; return memory[input[CLONE_MARKER]].destination; } else { _$jscoverage['/lang/lang.js'].lineData[113]++; - if (visit200_113_1(typeof input === 'object')) { + if (visit204_113_1(typeof input === 'object')) { _$jscoverage['/lang/lang.js'].lineData[115]++; var Constructor = input.constructor; _$jscoverage['/lang/lang.js'].lineData[116]++; - if (visit201_116_1(S.inArray(Constructor, [Boolean, String, Number, Date, RegExp]))) { + if (visit205_116_1(S.inArray(Constructor, [Boolean, String, Number, Date, RegExp]))) { _$jscoverage['/lang/lang.js'].lineData[117]++; destination = new Constructor(input.valueOf()); } else { @@ -763,19 +763,19 @@ function visit169_26_1(result) { } } _$jscoverage['/lang/lang.js'].lineData[141]++; - if (visit202_141_1(isArray)) { + if (visit206_141_1(isArray)) { _$jscoverage['/lang/lang.js'].lineData[142]++; - for (var i = 0; visit203_142_1(i < destination.length); i++) { + for (var i = 0; visit207_142_1(i < destination.length); i++) { _$jscoverage['/lang/lang.js'].lineData[143]++; destination[i] = cloneInternal(destination[i], f, memory); } } else { _$jscoverage['/lang/lang.js'].lineData[145]++; - if (visit204_145_1(isPlainObject)) { + if (visit208_145_1(isPlainObject)) { _$jscoverage['/lang/lang.js'].lineData[146]++; for (k in input) { _$jscoverage['/lang/lang.js'].lineData[148]++; - if (visit205_148_1(visit206_148_2(k !== CLONE_MARKER) && (visit207_149_1(!f || (visit208_149_2(f.call(input, input[k], k, input) !== FALSE)))))) { + if (visit209_148_1(visit210_148_2(k !== CLONE_MARKER) && (visit211_149_1(!f || (visit212_149_2(f.call(input, input[k], k, input) !== FALSE)))))) { _$jscoverage['/lang/lang.js'].lineData[150]++; destination[k] = cloneInternal(input[k], f, memory); } @@ -789,7 +789,7 @@ function visit169_26_1(result) { function compareObjects(a, b, mismatchKeys, mismatchValues) { _$jscoverage['/lang/lang.js'].functionData[6]++; _$jscoverage['/lang/lang.js'].lineData[161]++; - if (visit209_161_1(visit210_161_2(a[COMPARE_MARKER] === b) && visit211_161_3(b[COMPARE_MARKER] === a))) { + if (visit213_161_1(visit214_161_2(a[COMPARE_MARKER] === b) && visit215_161_3(b[COMPARE_MARKER] === a))) { _$jscoverage['/lang/lang.js'].lineData[162]++; return TRUE; } @@ -801,12 +801,12 @@ function visit169_26_1(result) { var hasKey = function(obj, keyName) { _$jscoverage['/lang/lang.js'].functionData[7]++; _$jscoverage['/lang/lang.js'].lineData[167]++; - return visit212_167_1((visit213_167_2(visit214_167_3(obj !== null) && visit215_167_4(obj !== undefined))) && visit216_167_5(obj[keyName] !== undefined)); + return visit216_167_1((visit217_167_2(visit218_167_3(obj !== null) && visit219_167_4(obj !== undefined))) && visit220_167_5(obj[keyName] !== undefined)); }; _$jscoverage['/lang/lang.js'].lineData[169]++; for (var property in b) { _$jscoverage['/lang/lang.js'].lineData[171]++; - if (visit217_171_1(!hasKey(a, property) && hasKey(b, property))) { + if (visit221_171_1(!hasKey(a, property) && hasKey(b, property))) { _$jscoverage['/lang/lang.js'].lineData[172]++; mismatchKeys.push('expected has key ' + property + '", but missing from actual.'); } @@ -814,7 +814,7 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[176]++; for (property in a) { _$jscoverage['/lang/lang.js'].lineData[178]++; - if (visit218_178_1(!hasKey(b, property) && hasKey(a, property))) { + if (visit222_178_1(!hasKey(b, property) && hasKey(a, property))) { _$jscoverage['/lang/lang.js'].lineData[179]++; mismatchKeys.push('expected missing key "' + property + '", but present in actual.'); } @@ -822,18 +822,18 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[183]++; for (property in b) { _$jscoverage['/lang/lang.js'].lineData[185]++; - if (visit219_185_1(property === COMPARE_MARKER)) { + if (visit223_185_1(property === COMPARE_MARKER)) { _$jscoverage['/lang/lang.js'].lineData[186]++; continue; } _$jscoverage['/lang/lang.js'].lineData[188]++; - if (visit220_188_1(!S.equals(a[property], b[property], mismatchKeys, mismatchValues))) { + if (visit224_188_1(!S.equals(a[property], b[property], mismatchKeys, mismatchValues))) { _$jscoverage['/lang/lang.js'].lineData[189]++; mismatchValues.push('"' + property + '" was "' + (b[property] ? (b[property].toString()) : b[property]) + '" in expected, but was "' + (a[property] ? (a[property].toString()) : a[property]) + '" in actual.'); } } _$jscoverage['/lang/lang.js'].lineData[196]++; - if (visit221_196_1(S.isArray(a) && visit222_196_2(S.isArray(b) && visit223_196_3(a.length !== b.length)))) { + if (visit225_196_1(S.isArray(a) && visit226_196_2(S.isArray(b) && visit227_196_3(a.length !== b.length)))) { _$jscoverage['/lang/lang.js'].lineData[197]++; mismatchValues.push('arrays were not the same length'); } @@ -842,6 +842,6 @@ function visit169_26_1(result) { _$jscoverage['/lang/lang.js'].lineData[200]++; delete b[COMPARE_MARKER]; _$jscoverage['/lang/lang.js'].lineData[201]++; - return (visit224_201_1(visit225_201_2(mismatchKeys.length === 0) && visit226_201_3(mismatchValues.length === 0))); + return (visit228_201_1(visit229_201_2(mismatchKeys.length === 0) && visit230_201_3(mismatchValues.length === 0))); } })(KISSY); diff --git a/src/seed/coverage/src/lang/object.js b/src/seed/coverage/src/lang/object.js index ecefaa82a0..f39612798f 100644 --- a/src/seed/coverage/src/lang/object.js +++ b/src/seed/coverage/src/lang/object.js @@ -463,191 +463,191 @@ if (! _$jscoverage['/lang/object.js'].branchData) { _$jscoverage['/lang/object.js'].branchData['360'][3] = new BranchData(); } _$jscoverage['/lang/object.js'].branchData['360'][3].init(1062, 15, 'ov || !(p in r)'); -function visit273_360_3(result) { +function visit277_360_3(result) { _$jscoverage['/lang/object.js'].branchData['360'][3].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['360'][2].init(1040, 17, 'src !== undefined'); -function visit272_360_2(result) { +function visit276_360_2(result) { _$jscoverage['/lang/object.js'].branchData['360'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['360'][1].init(1040, 38, 'src !== undefined && (ov || !(p in r))'); -function visit271_360_1(result) { +function visit275_360_1(result) { _$jscoverage['/lang/object.js'].branchData['360'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['354'][2].init(136, 44, 'S.isArray(target) || S.isPlainObject(target)'); -function visit270_354_2(result) { +function visit274_354_2(result) { _$jscoverage['/lang/object.js'].branchData['354'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['354'][1].init(125, 56, 'target && (S.isArray(target) || S.isPlainObject(target))'); -function visit269_354_1(result) { +function visit273_354_1(result) { _$jscoverage['/lang/object.js'].branchData['354'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['349'][1].init(21, 27, 'src[MIX_CIRCULAR_DETECTION]'); -function visit268_349_1(result) { +function visit272_349_1(result) { _$jscoverage['/lang/object.js'].branchData['349'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['348'][3].init(455, 38, 'S.isArray(src) || S.isPlainObject(src)'); -function visit267_348_3(result) { +function visit271_348_3(result) { _$jscoverage['/lang/object.js'].branchData['348'][3].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['348'][2].init(447, 47, 'src && (S.isArray(src) || S.isPlainObject(src))'); -function visit266_348_2(result) { +function visit270_348_2(result) { _$jscoverage['/lang/object.js'].branchData['348'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['348'][1].init(439, 55, 'deep && src && (S.isArray(src) || S.isPlainObject(src))'); -function visit265_348_1(result) { +function visit269_348_1(result) { _$jscoverage['/lang/object.js'].branchData['348'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['344'][1].init(326, 2, 'wl'); -function visit264_344_1(result) { +function visit268_344_1(result) { _$jscoverage['/lang/object.js'].branchData['344'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['339'][1].init(64, 20, 'target === undefined'); -function visit263_339_1(result) { +function visit267_339_1(result) { _$jscoverage['/lang/object.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['337'][1].init(114, 14, 'target === src'); -function visit262_337_1(result) { +function visit266_337_1(result) { _$jscoverage['/lang/object.js'].branchData['337'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['333'][2].init(73, 17, '!(p in r) || deep'); -function visit261_333_2(result) { +function visit265_333_2(result) { _$jscoverage['/lang/object.js'].branchData['333'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['333'][1].init(67, 23, 'ov || !(p in r) || deep'); -function visit260_333_1(result) { +function visit264_333_1(result) { _$jscoverage['/lang/object.js'].branchData['333'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['326'][1].init(16, 19, 'k === \'constructor\''); -function visit259_326_1(result) { +function visit263_326_1(result) { _$jscoverage['/lang/object.js'].branchData['326'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['316'][1].init(42, 28, 'p !== MIX_CIRCULAR_DETECTION'); -function visit258_316_1(result) { +function visit262_316_1(result) { _$jscoverage['/lang/object.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['314'][1].init(297, 7, 'i < len'); -function visit257_314_1(result) { +function visit261_314_1(result) { _$jscoverage['/lang/object.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['300'][1].init(13, 8, '!s || !r'); -function visit256_300_1(result) { +function visit260_300_1(result) { _$jscoverage['/lang/object.js'].branchData['300'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['283'][1].init(35, 12, 'objectCreate'); -function visit255_283_1(result) { +function visit259_283_1(result) { _$jscoverage['/lang/object.js'].branchData['283'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['270'][1].init(35, 14, 'o[p[j]] || {}'); -function visit254_270_1(result) { +function visit258_270_1(result) { _$jscoverage['/lang/object.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['269'][2].init(146, 12, 'j < p.length'); -function visit253_269_2(result) { +function visit257_269_2(result) { _$jscoverage['/lang/object.js'].branchData['269'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['269'][1].init(119, 16, 'host[p[0]] === o'); -function visit252_269_1(result) { +function visit256_269_1(result) { _$jscoverage['/lang/object.js'].branchData['269'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['266'][1].init(197, 5, 'i < l'); -function visit251_266_1(result) { +function visit255_266_1(result) { _$jscoverage['/lang/object.js'].branchData['266'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['264'][2].init(128, 20, 'args[l - 1] === TRUE'); -function visit250_264_2(result) { +function visit254_264_2(result) { _$jscoverage['/lang/object.js'].branchData['264'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['264'][1].init(128, 27, 'args[l - 1] === TRUE && l--'); -function visit249_264_1(result) { +function visit253_264_1(result) { _$jscoverage['/lang/object.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['239'][1].init(818, 2, 'sx'); -function visit248_239_1(result) { +function visit252_239_1(result) { _$jscoverage['/lang/object.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['234'][1].init(714, 2, 'px'); -function visit247_234_1(result) { +function visit251_234_1(result) { _$jscoverage['/lang/object.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['216'][1].init(217, 8, '!s || !r'); -function visit246_216_1(result) { +function visit250_216_1(result) { _$jscoverage['/lang/object.js'].branchData['216'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['213'][1].init(119, 2, '!s'); -function visit245_213_1(result) { +function visit249_213_1(result) { _$jscoverage['/lang/object.js'].branchData['213'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['210'][1].init(21, 2, '!r'); -function visit244_210_1(result) { +function visit248_210_1(result) { _$jscoverage['/lang/object.js'].branchData['210'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['209'][1].init(17, 9, '\'@DEBUG@\''); -function visit243_209_1(result) { +function visit247_209_1(result) { _$jscoverage['/lang/object.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['186'][1].init(515, 7, 'i < len'); -function visit242_186_1(result) { +function visit246_186_1(result) { _$jscoverage['/lang/object.js'].branchData['186'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['181'][1].init(399, 23, 'typeof ov !== \'boolean\''); -function visit241_181_1(result) { +function visit245_181_1(result) { _$jscoverage['/lang/object.js'].branchData['181'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['176'][1].init(271, 14, '!S.isArray(wl)'); -function visit240_176_1(result) { +function visit244_176_1(result) { _$jscoverage['/lang/object.js'].branchData['176'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['150'][1].init(150, 5, 'i < l'); -function visit239_150_1(result) { +function visit243_150_1(result) { _$jscoverage['/lang/object.js'].branchData['150'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['122'][1].init(508, 16, 'ov === undefined'); -function visit238_122_1(result) { +function visit242_122_1(result) { _$jscoverage['/lang/object.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['115'][2].init(274, 24, 'typeof wl !== \'function\''); -function visit237_115_2(result) { +function visit241_115_2(result) { _$jscoverage['/lang/object.js'].branchData['115'][2].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['115'][1].init(267, 32, 'wl && (typeof wl !== \'function\')'); -function visit236_115_1(result) { +function visit240_115_1(result) { _$jscoverage['/lang/object.js'].branchData['115'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['106'][1].init(17, 22, 'typeof ov === \'object\''); -function visit235_106_1(result) { +function visit239_106_1(result) { _$jscoverage['/lang/object.js'].branchData['106'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['74'][1].init(68, 19, 'o.hasOwnProperty(p)'); -function visit234_74_1(result) { +function visit238_74_1(result) { _$jscoverage['/lang/object.js'].branchData['74'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['72'][1].init(53, 6, 'i >= 0'); -function visit233_72_1(result) { +function visit237_72_1(result) { _$jscoverage['/lang/object.js'].branchData['72'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['71'][1].init(228, 10, 'hasEnumBug'); -function visit232_71_1(result) { +function visit236_71_1(result) { _$jscoverage['/lang/object.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['66'][1].init(57, 19, 'o.hasOwnProperty(p)'); -function visit231_66_1(result) { +function visit235_66_1(result) { _$jscoverage['/lang/object.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['61'][1].init(975, 556, 'Obj.keys || function(o) {\n var result = [], p, i;\n for (p in o) {\n if (o.hasOwnProperty(p)) {\n result.push(p);\n }\n }\n if (hasEnumBug) {\n for (i = enumProperties.length - 1; i >= 0; i--) {\n p = enumProperties[i];\n if (o.hasOwnProperty(p)) {\n result.push(p);\n }\n }\n }\n return result;\n}'); -function visit230_61_1(result) { +function visit234_61_1(result) { _$jscoverage['/lang/object.js'].branchData['61'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['43'][1].init(157, 9, '!readOnly'); -function visit229_43_1(result) { +function visit233_43_1(result) { _$jscoverage['/lang/object.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['41'][1].init(96, 4, 'guid'); -function visit228_41_1(result) { +function visit232_41_1(result) { _$jscoverage['/lang/object.js'].branchData['41'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].branchData['39'][1].init(22, 22, 'marker || STAMP_MARKER'); -function visit227_39_1(result) { +function visit231_39_1(result) { _$jscoverage['/lang/object.js'].branchData['39'][1].ranCondition(result); return result; }_$jscoverage['/lang/object.js'].lineData[7]++; @@ -663,16 +663,16 @@ function visit227_39_1(result) { stamp: function(o, readOnly, marker) { _$jscoverage['/lang/object.js'].functionData[1]++; _$jscoverage['/lang/object.js'].lineData[39]++; - marker = visit227_39_1(marker || STAMP_MARKER); + marker = visit231_39_1(marker || STAMP_MARKER); _$jscoverage['/lang/object.js'].lineData[40]++; var guid = o[marker]; _$jscoverage['/lang/object.js'].lineData[41]++; - if (visit228_41_1(guid)) { + if (visit232_41_1(guid)) { _$jscoverage['/lang/object.js'].lineData[42]++; return guid; } else { _$jscoverage['/lang/object.js'].lineData[43]++; - if (visit229_43_1(!readOnly)) { + if (visit233_43_1(!readOnly)) { _$jscoverage['/lang/object.js'].lineData[44]++; try { _$jscoverage['/lang/object.js'].lineData[45]++; @@ -686,26 +686,26 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[51]++; return guid; }, - keys: visit230_61_1(Obj.keys || function(o) { + keys: visit234_61_1(Obj.keys || function(o) { _$jscoverage['/lang/object.js'].functionData[2]++; _$jscoverage['/lang/object.js'].lineData[62]++; var result = [], p, i; _$jscoverage['/lang/object.js'].lineData[64]++; for (p in o) { _$jscoverage['/lang/object.js'].lineData[66]++; - if (visit231_66_1(o.hasOwnProperty(p))) { + if (visit235_66_1(o.hasOwnProperty(p))) { _$jscoverage['/lang/object.js'].lineData[67]++; result.push(p); } } _$jscoverage['/lang/object.js'].lineData[71]++; - if (visit232_71_1(hasEnumBug)) { + if (visit236_71_1(hasEnumBug)) { _$jscoverage['/lang/object.js'].lineData[72]++; - for (i = enumProperties.length - 1; visit233_72_1(i >= 0); i--) { + for (i = enumProperties.length - 1; visit237_72_1(i >= 0); i--) { _$jscoverage['/lang/object.js'].lineData[73]++; p = enumProperties[i]; _$jscoverage['/lang/object.js'].lineData[74]++; - if (visit234_74_1(o.hasOwnProperty(p))) { + if (visit238_74_1(o.hasOwnProperty(p))) { _$jscoverage['/lang/object.js'].lineData[75]++; result.push(p); } @@ -717,7 +717,7 @@ function visit227_39_1(result) { mix: function(r, s, ov, wl, deep) { _$jscoverage['/lang/object.js'].functionData[3]++; _$jscoverage['/lang/object.js'].lineData[106]++; - if (visit235_106_1(typeof ov === 'object')) { + if (visit239_106_1(typeof ov === 'object')) { _$jscoverage['/lang/object.js'].lineData[107]++; wl = ov.whitelist; _$jscoverage['/lang/object.js'].lineData[111]++; @@ -726,7 +726,7 @@ function visit227_39_1(result) { ov = ov.overwrite; } _$jscoverage['/lang/object.js'].lineData[115]++; - if (visit236_115_1(wl && (visit237_115_2(typeof wl !== 'function')))) { + if (visit240_115_1(wl && (visit241_115_2(typeof wl !== 'function')))) { _$jscoverage['/lang/object.js'].lineData[116]++; var originalWl = wl; _$jscoverage['/lang/object.js'].lineData[117]++; @@ -737,7 +737,7 @@ function visit227_39_1(result) { }; } _$jscoverage['/lang/object.js'].lineData[122]++; - if (visit238_122_1(ov === undefined)) { + if (visit242_122_1(ov === undefined)) { _$jscoverage['/lang/object.js'].lineData[123]++; ov = TRUE; } @@ -760,7 +760,7 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[147]++; var o = {}, i, l = varArgs.length; _$jscoverage['/lang/object.js'].lineData[150]++; - for (i = 0; visit239_150_1(i < l); i++) { + for (i = 0; visit243_150_1(i < l); i++) { _$jscoverage['/lang/object.js'].lineData[151]++; S.mix(o, varArgs[i]); } @@ -774,7 +774,7 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[174]++; args[1] = varArgs; _$jscoverage['/lang/object.js'].lineData[176]++; - if (visit240_176_1(!S.isArray(wl))) { + if (visit244_176_1(!S.isArray(wl))) { _$jscoverage['/lang/object.js'].lineData[177]++; ov = wl; _$jscoverage['/lang/object.js'].lineData[178]++; @@ -783,14 +783,14 @@ function visit227_39_1(result) { len++; } _$jscoverage['/lang/object.js'].lineData[181]++; - if (visit241_181_1(typeof ov !== 'boolean')) { + if (visit245_181_1(typeof ov !== 'boolean')) { _$jscoverage['/lang/object.js'].lineData[182]++; ov = undefined; _$jscoverage['/lang/object.js'].lineData[183]++; len++; } _$jscoverage['/lang/object.js'].lineData[186]++; - for (; visit242_186_1(i < len); i++) { + for (; visit246_186_1(i < len); i++) { _$jscoverage['/lang/object.js'].lineData[187]++; arg = args[i]; _$jscoverage['/lang/object.js'].lineData[188]++; @@ -807,19 +807,19 @@ function visit227_39_1(result) { extend: function(r, s, px, sx) { _$jscoverage['/lang/object.js'].functionData[7]++; _$jscoverage['/lang/object.js'].lineData[209]++; - if (visit243_209_1('@DEBUG@')) { + if (visit247_209_1('@DEBUG@')) { _$jscoverage['/lang/object.js'].lineData[210]++; - if (visit244_210_1(!r)) { + if (visit248_210_1(!r)) { _$jscoverage['/lang/object.js'].lineData[211]++; logger.error('extend r is null'); } _$jscoverage['/lang/object.js'].lineData[213]++; - if (visit245_213_1(!s)) { + if (visit249_213_1(!s)) { _$jscoverage['/lang/object.js'].lineData[214]++; logger.error('extend s is null'); } _$jscoverage['/lang/object.js'].lineData[216]++; - if (visit246_216_1(!s || !r)) { + if (visit250_216_1(!s || !r)) { _$jscoverage['/lang/object.js'].lineData[217]++; return r; } @@ -835,12 +835,12 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[231]++; r.superclass = sp; _$jscoverage['/lang/object.js'].lineData[234]++; - if (visit247_234_1(px)) { + if (visit251_234_1(px)) { _$jscoverage['/lang/object.js'].lineData[235]++; S.mix(rp, px); } _$jscoverage['/lang/object.js'].lineData[239]++; - if (visit248_239_1(sx)) { + if (visit252_239_1(sx)) { _$jscoverage['/lang/object.js'].lineData[240]++; S.mix(r, sx); } @@ -850,17 +850,17 @@ function visit227_39_1(result) { namespace: function() { _$jscoverage['/lang/object.js'].functionData[8]++; _$jscoverage['/lang/object.js'].lineData[261]++; - var args = S.makeArray(arguments), l = args.length, o = null, i, j, p, global = (visit249_264_1(visit250_264_2(args[l - 1] === TRUE) && l--)); + var args = S.makeArray(arguments), l = args.length, o = null, i, j, p, global = (visit253_264_1(visit254_264_2(args[l - 1] === TRUE) && l--)); _$jscoverage['/lang/object.js'].lineData[266]++; - for (i = 0; visit251_266_1(i < l); i++) { + for (i = 0; visit255_266_1(i < l); i++) { _$jscoverage['/lang/object.js'].lineData[267]++; p = (EMPTY + args[i]).split('.'); _$jscoverage['/lang/object.js'].lineData[268]++; o = global ? host : this; _$jscoverage['/lang/object.js'].lineData[269]++; - for (j = (visit252_269_1(host[p[0]] === o)) ? 1 : 0; visit253_269_2(j < p.length); ++j) { + for (j = (visit256_269_1(host[p[0]] === o)) ? 1 : 0; visit257_269_2(j < p.length); ++j) { _$jscoverage['/lang/object.js'].lineData[270]++; - o = o[p[j]] = visit254_270_1(o[p[j]] || {}); + o = o[p[j]] = visit258_270_1(o[p[j]] || {}); } } _$jscoverage['/lang/object.js'].lineData[273]++; @@ -876,7 +876,7 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[282]++; var newProto; _$jscoverage['/lang/object.js'].lineData[283]++; - if (visit255_283_1(objectCreate)) { + if (visit259_283_1(objectCreate)) { _$jscoverage['/lang/object.js'].lineData[284]++; newProto = objectCreate(proto); } else { @@ -903,7 +903,7 @@ function visit227_39_1(result) { function mixInternal(r, s, ov, wl, deep, cache) { _$jscoverage['/lang/object.js'].functionData[12]++; _$jscoverage['/lang/object.js'].lineData[300]++; - if (visit256_300_1(!s || !r)) { + if (visit260_300_1(!s || !r)) { _$jscoverage['/lang/object.js'].lineData[301]++; return r; } @@ -918,11 +918,11 @@ function visit227_39_1(result) { _$jscoverage['/lang/object.js'].lineData[313]++; len = keys.length; _$jscoverage['/lang/object.js'].lineData[314]++; - for (i = 0; visit257_314_1(i < len); i++) { + for (i = 0; visit261_314_1(i < len); i++) { _$jscoverage['/lang/object.js'].lineData[315]++; p = keys[i]; _$jscoverage['/lang/object.js'].lineData[316]++; - if (visit258_316_1(p !== MIX_CIRCULAR_DETECTION)) { + if (visit262_316_1(p !== MIX_CIRCULAR_DETECTION)) { _$jscoverage['/lang/object.js'].lineData[318]++; _mix(p, r, s, ov, wl, deep, cache); } @@ -934,19 +934,19 @@ function visit227_39_1(result) { function removeConstructor(k, v) { _$jscoverage['/lang/object.js'].functionData[13]++; _$jscoverage['/lang/object.js'].lineData[326]++; - return visit259_326_1(k === 'constructor') ? undefined : v; + return visit263_326_1(k === 'constructor') ? undefined : v; } _$jscoverage['/lang/object.js'].lineData[329]++; function _mix(p, r, s, ov, wl, deep, cache) { _$jscoverage['/lang/object.js'].functionData[14]++; _$jscoverage['/lang/object.js'].lineData[333]++; - if (visit260_333_1(ov || visit261_333_2(!(p in r) || deep))) { + if (visit264_333_1(ov || visit265_333_2(!(p in r) || deep))) { _$jscoverage['/lang/object.js'].lineData[334]++; var target = r[p], src = s[p]; _$jscoverage['/lang/object.js'].lineData[337]++; - if (visit262_337_1(target === src)) { + if (visit266_337_1(target === src)) { _$jscoverage['/lang/object.js'].lineData[339]++; - if (visit263_339_1(target === undefined)) { + if (visit267_339_1(target === undefined)) { _$jscoverage['/lang/object.js'].lineData[340]++; r[p] = target; } @@ -954,19 +954,19 @@ function visit227_39_1(result) { return; } _$jscoverage['/lang/object.js'].lineData[344]++; - if (visit264_344_1(wl)) { + if (visit268_344_1(wl)) { _$jscoverage['/lang/object.js'].lineData[345]++; src = wl.call(s, p, src); } _$jscoverage['/lang/object.js'].lineData[348]++; - if (visit265_348_1(deep && visit266_348_2(src && (visit267_348_3(S.isArray(src) || S.isPlainObject(src)))))) { + if (visit269_348_1(deep && visit270_348_2(src && (visit271_348_3(S.isArray(src) || S.isPlainObject(src)))))) { _$jscoverage['/lang/object.js'].lineData[349]++; - if (visit268_349_1(src[MIX_CIRCULAR_DETECTION])) { + if (visit272_349_1(src[MIX_CIRCULAR_DETECTION])) { _$jscoverage['/lang/object.js'].lineData[350]++; r[p] = src[MIX_CIRCULAR_DETECTION]; } else { _$jscoverage['/lang/object.js'].lineData[354]++; - var clone = visit269_354_1(target && (visit270_354_2(S.isArray(target) || S.isPlainObject(target)))) ? target : (S.isArray(src) ? [] : {}); + var clone = visit273_354_1(target && (visit274_354_2(S.isArray(target) || S.isPlainObject(target)))) ? target : (S.isArray(src) ? [] : {}); _$jscoverage['/lang/object.js'].lineData[357]++; r[p] = clone; _$jscoverage['/lang/object.js'].lineData[358]++; @@ -974,7 +974,7 @@ function visit227_39_1(result) { } } else { _$jscoverage['/lang/object.js'].lineData[360]++; - if (visit271_360_1(visit272_360_2(src !== undefined) && (visit273_360_3(ov || !(p in r))))) { + if (visit275_360_1(visit276_360_2(src !== undefined) && (visit277_360_3(ov || !(p in r))))) { _$jscoverage['/lang/object.js'].lineData[361]++; r[p] = src; } diff --git a/src/seed/coverage/src/lang/set-immediate.js b/src/seed/coverage/src/lang/set-immediate.js index 9381c67afd..848574950b 100644 --- a/src/seed/coverage/src/lang/set-immediate.js +++ b/src/seed/coverage/src/lang/set-immediate.js @@ -300,35 +300,35 @@ if (! _$jscoverage['/lang/set-immediate.js'].branchData) { _$jscoverage['/lang/set-immediate.js'].branchData['56'][1] = new BranchData(); } _$jscoverage['/lang/set-immediate.js'].branchData['56'][1].init(1192, 37, 'typeof MessageChannel !== \'undefined\''); -function visit281_56_1(result) { +function visit285_56_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['52'][3].init(1048, 39, 'typeof process.nextTick === \'function\''); -function visit280_52_3(result) { +function visit284_52_3(result) { _$jscoverage['/lang/set-immediate.js'].branchData['52'][3].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['52'][2].init(1014, 30, 'typeof process !== \'undefined\''); -function visit279_52_2(result) { +function visit283_52_2(result) { _$jscoverage['/lang/set-immediate.js'].branchData['52'][2].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['52'][1].init(1014, 73, 'typeof process !== \'undefined\' && typeof process.nextTick === \'function\''); -function visit278_52_1(result) { +function visit282_52_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['47'][1].init(878, 34, 'typeof setImmediate === \'function\''); -function visit277_47_1(result) { +function visit281_47_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['47'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['40'][1].init(37, 9, '!flushing'); -function visit276_40_1(result) { +function visit280_40_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['40'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['27'][1].init(348, 5, 'i > 1'); -function visit275_27_1(result) { +function visit279_27_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].branchData['20'][1].init(23, 12, 'e.stack || e'); -function visit274_20_1(result) { +function visit278_20_1(result) { _$jscoverage['/lang/set-immediate.js'].branchData['20'][1].ranCondition(result); return result; }_$jscoverage['/lang/set-immediate.js'].lineData[5]++; @@ -351,7 +351,7 @@ function visit274_20_1(result) { item(); } catch (e) { _$jscoverage['/lang/set-immediate.js'].lineData[20]++; - S.log(visit274_20_1(e.stack || e), 'error'); + S.log(visit278_20_1(e.stack || e), 'error'); _$jscoverage['/lang/set-immediate.js'].lineData[22]++; setTimeout(function() { _$jscoverage['/lang/set-immediate.js'].functionData[2]++; @@ -361,7 +361,7 @@ function visit274_20_1(result) { } } _$jscoverage['/lang/set-immediate.js'].lineData[27]++; - if (visit275_27_1(i > 1)) { + if (visit279_27_1(i > 1)) { _$jscoverage['/lang/set-immediate.js'].lineData[28]++; queue = []; } @@ -374,7 +374,7 @@ function visit274_20_1(result) { _$jscoverage['/lang/set-immediate.js'].lineData[39]++; queue.push(fn); _$jscoverage['/lang/set-immediate.js'].lineData[40]++; - if (visit276_40_1(!flushing)) { + if (visit280_40_1(!flushing)) { _$jscoverage['/lang/set-immediate.js'].lineData[41]++; flushing = 1; _$jscoverage['/lang/set-immediate.js'].lineData[42]++; @@ -384,7 +384,7 @@ function visit274_20_1(result) { _$jscoverage['/lang/set-immediate.js'].lineData[46]++; var requestFlush; _$jscoverage['/lang/set-immediate.js'].lineData[47]++; - if (visit277_47_1(typeof setImmediate === 'function')) { + if (visit281_47_1(typeof setImmediate === 'function')) { _$jscoverage['/lang/set-immediate.js'].lineData[48]++; requestFlush = function() { _$jscoverage['/lang/set-immediate.js'].functionData[4]++; @@ -393,7 +393,7 @@ function visit274_20_1(result) { }; } else { _$jscoverage['/lang/set-immediate.js'].lineData[52]++; - if (visit278_52_1(visit279_52_2(typeof process !== 'undefined') && visit280_52_3(typeof process.nextTick === 'function'))) { + if (visit282_52_1(visit283_52_2(typeof process !== 'undefined') && visit284_52_3(typeof process.nextTick === 'function'))) { _$jscoverage['/lang/set-immediate.js'].lineData[53]++; requestFlush = function() { _$jscoverage['/lang/set-immediate.js'].functionData[5]++; @@ -402,7 +402,7 @@ function visit274_20_1(result) { }; } else { _$jscoverage['/lang/set-immediate.js'].lineData[56]++; - if (visit281_56_1(typeof MessageChannel !== 'undefined')) { + if (visit285_56_1(typeof MessageChannel !== 'undefined')) { _$jscoverage['/lang/set-immediate.js'].lineData[59]++; var channel = new MessageChannel(); _$jscoverage['/lang/set-immediate.js'].lineData[62]++; diff --git a/src/seed/coverage/src/lang/string.js b/src/seed/coverage/src/lang/string.js index 8f70684c1c..f5c6c90245 100644 --- a/src/seed/coverage/src/lang/string.js +++ b/src/seed/coverage/src/lang/string.js @@ -280,47 +280,47 @@ if (! _$jscoverage['/lang/string.js'].branchData) { _$jscoverage['/lang/string.js'].branchData['81'][3] = new BranchData(); } _$jscoverage['/lang/string.js'].branchData['81'][3].init(82, 32, 'str.indexOf(suffix, ind) === ind'); -function visit292_81_3(result) { +function visit296_81_3(result) { _$jscoverage['/lang/string.js'].branchData['81'][3].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['81'][2].init(70, 8, 'ind >= 0'); -function visit291_81_2(result) { +function visit295_81_2(result) { _$jscoverage['/lang/string.js'].branchData['81'][2].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['81'][1].init(70, 44, 'ind >= 0 && str.indexOf(suffix, ind) === ind'); -function visit290_81_1(result) { +function visit294_81_1(result) { _$jscoverage['/lang/string.js'].branchData['81'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['69'][1].init(20, 32, 'str.lastIndexOf(prefix, 0) === 0'); -function visit289_69_1(result) { +function visit293_69_1(result) { _$jscoverage['/lang/string.js'].branchData['69'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['48'][1].init(134, 21, 'o[name] === undefined'); -function visit288_48_1(result) { +function visit292_48_1(result) { _$jscoverage['/lang/string.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['45'][1].init(21, 24, 'match.charAt(0) === \'\\\\\''); -function visit287_45_1(result) { +function visit291_45_1(result) { _$jscoverage['/lang/string.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['44'][1].init(124, 24, 'regexp || SUBSTITUTE_REG'); -function visit286_44_1(result) { +function visit290_44_1(result) { _$jscoverage['/lang/string.js'].branchData['44'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['40'][2].init(17, 23, 'typeof str !== \'string\''); -function visit285_40_2(result) { +function visit289_40_2(result) { _$jscoverage['/lang/string.js'].branchData['40'][2].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['40'][1].init(17, 29, 'typeof str !== \'string\' || !o'); -function visit284_40_1(result) { +function visit288_40_1(result) { _$jscoverage['/lang/string.js'].branchData['40'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['28'][1].init(24, 11, 'str == null'); -function visit283_28_1(result) { +function visit287_28_1(result) { _$jscoverage['/lang/string.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].branchData['25'][1].init(24, 11, 'str == null'); -function visit282_25_1(result) { +function visit286_25_1(result) { _$jscoverage['/lang/string.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/lang/string.js'].lineData[7]++; @@ -333,29 +333,29 @@ function visit282_25_1(result) { trim: trim ? function(str) { _$jscoverage['/lang/string.js'].functionData[1]++; _$jscoverage['/lang/string.js'].lineData[25]++; - return visit282_25_1(str == null) ? EMPTY : trim.call(str); + return visit286_25_1(str == null) ? EMPTY : trim.call(str); } : function(str) { _$jscoverage['/lang/string.js'].functionData[2]++; _$jscoverage['/lang/string.js'].lineData[28]++; - return visit283_28_1(str == null) ? EMPTY : (str + '').replace(RE_TRIM, EMPTY); + return visit287_28_1(str == null) ? EMPTY : (str + '').replace(RE_TRIM, EMPTY); }, substitute: function(str, o, regexp) { _$jscoverage['/lang/string.js'].functionData[3]++; _$jscoverage['/lang/string.js'].lineData[40]++; - if (visit284_40_1(visit285_40_2(typeof str !== 'string') || !o)) { + if (visit288_40_1(visit289_40_2(typeof str !== 'string') || !o)) { _$jscoverage['/lang/string.js'].lineData[41]++; return str; } _$jscoverage['/lang/string.js'].lineData[44]++; - return str.replace(visit286_44_1(regexp || SUBSTITUTE_REG), function(match, name) { + return str.replace(visit290_44_1(regexp || SUBSTITUTE_REG), function(match, name) { _$jscoverage['/lang/string.js'].functionData[4]++; _$jscoverage['/lang/string.js'].lineData[45]++; - if (visit287_45_1(match.charAt(0) === '\\')) { + if (visit291_45_1(match.charAt(0) === '\\')) { _$jscoverage['/lang/string.js'].lineData[46]++; return match.slice(1); } _$jscoverage['/lang/string.js'].lineData[48]++; - return (visit288_48_1(o[name] === undefined)) ? EMPTY : o[name]; + return (visit292_48_1(o[name] === undefined)) ? EMPTY : o[name]; }); }, ucfirst: function(s) { @@ -368,13 +368,13 @@ function visit282_25_1(result) { startsWith: function(str, prefix) { _$jscoverage['/lang/string.js'].functionData[6]++; _$jscoverage['/lang/string.js'].lineData[69]++; - return visit289_69_1(str.lastIndexOf(prefix, 0) === 0); + return visit293_69_1(str.lastIndexOf(prefix, 0) === 0); }, endsWith: function(str, suffix) { _$jscoverage['/lang/string.js'].functionData[7]++; _$jscoverage['/lang/string.js'].lineData[80]++; var ind = str.length - suffix.length; _$jscoverage['/lang/string.js'].lineData[81]++; - return visit290_81_1(visit291_81_2(ind >= 0) && visit292_81_3(str.indexOf(suffix, ind) === ind)); + return visit294_81_1(visit295_81_2(ind >= 0) && visit296_81_3(str.indexOf(suffix, ind) === ind)); }}); })(KISSY); diff --git a/src/seed/coverage/src/lang/type.js b/src/seed/coverage/src/lang/type.js index 16a7cc1935..c9b91c1709 100644 --- a/src/seed/coverage/src/lang/type.js +++ b/src/seed/coverage/src/lang/type.js @@ -303,71 +303,71 @@ if (! _$jscoverage['/lang/type.js'].branchData) { _$jscoverage['/lang/type.js'].branchData['177'][1] = new BranchData(); } _$jscoverage['/lang/type.js'].branchData['177'][1].init(4763, 26, 'Array.isArray || S.isArray'); -function visit309_177_1(result) { +function visit313_177_1(result) { _$jscoverage['/lang/type.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['174'][1].init(20, 16, 'S.type(o) === lc'); -function visit308_174_1(result) { +function visit312_174_1(result) { _$jscoverage['/lang/type.js'].branchData['174'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['99'][1].init(2667, 9, '\'@DEBUG@\''); -function visit307_99_1(result) { +function visit311_99_1(result) { _$jscoverage['/lang/type.js'].branchData['99'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['95'][2].init(1151, 17, 'key === undefined'); -function visit306_95_2(result) { +function visit310_95_2(result) { _$jscoverage['/lang/type.js'].branchData['95'][2].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['95'][1].init(1151, 46, '(key === undefined) || hasOwnProperty(obj, key)'); -function visit305_95_1(result) { +function visit309_95_1(result) { _$jscoverage['/lang/type.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['81'][2].init(122, 97, '!hasOwnProperty(obj, \'constructor\') && !hasOwnProperty(objConstructor.prototype, \'isPrototypeOf\')'); -function visit304_81_2(result) { +function visit308_81_2(result) { _$jscoverage['/lang/type.js'].branchData['81'][2].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['81'][1].init(85, 134, '(objConstructor = obj.constructor) && !hasOwnProperty(obj, \'constructor\') && !hasOwnProperty(objConstructor.prototype, \'isPrototypeOf\')'); -function visit303_81_1(result) { +function visit307_81_1(result) { _$jscoverage['/lang/type.js'].branchData['81'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['73'][1].init(106, 17, 'obj.window == obj'); -function visit302_73_1(result) { +function visit306_73_1(result) { _$jscoverage['/lang/type.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['70'][4].init(268, 124, 'obj.nodeType || obj.window == obj'); -function visit301_70_4(result) { +function visit305_70_4(result) { _$jscoverage['/lang/type.js'].branchData['70'][4].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['70'][3].init(240, 24, 'S.type(obj) !== \'object\''); -function visit300_70_3(result) { +function visit304_70_3(result) { _$jscoverage['/lang/type.js'].branchData['70'][3].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['70'][2].init(240, 152, 'S.type(obj) !== \'object\' || obj.nodeType || obj.window == obj'); -function visit299_70_2(result) { +function visit303_70_2(result) { _$jscoverage['/lang/type.js'].branchData['70'][2].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['70'][1].init(232, 160, '!obj || S.type(obj) !== \'object\' || obj.nodeType || obj.window == obj'); -function visit298_70_1(result) { +function visit302_70_1(result) { _$jscoverage['/lang/type.js'].branchData['70'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['54'][1].init(21, 15, 'p !== undefined'); -function visit297_54_1(result) { +function visit301_54_1(result) { _$jscoverage['/lang/type.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['45'][1].init(20, 15, 'o === undefined'); -function visit296_45_1(result) { +function visit300_45_1(result) { _$jscoverage['/lang/type.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['36'][1].init(20, 10, 'o === null'); -function visit295_36_1(result) { +function visit299_36_1(result) { _$jscoverage['/lang/type.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['27'][1].init(55, 40, 'class2type[toString.call(o)] || \'object\''); -function visit294_27_1(result) { +function visit298_27_1(result) { _$jscoverage['/lang/type.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].branchData['25'][1].init(20, 9, 'o == null'); -function visit293_25_1(result) { +function visit297_25_1(result) { _$jscoverage['/lang/type.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/lang/type.js'].lineData[7]++; @@ -386,24 +386,24 @@ function visit293_25_1(result) { type: function(o) { _$jscoverage['/lang/type.js'].functionData[2]++; _$jscoverage['/lang/type.js'].lineData[25]++; - return visit293_25_1(o == null) ? String(o) : visit294_27_1(class2type[toString.call(o)] || 'object'); + return visit297_25_1(o == null) ? String(o) : visit298_27_1(class2type[toString.call(o)] || 'object'); }, isNull: function(o) { _$jscoverage['/lang/type.js'].functionData[3]++; _$jscoverage['/lang/type.js'].lineData[36]++; - return visit295_36_1(o === null); + return visit299_36_1(o === null); }, isUndefined: function(o) { _$jscoverage['/lang/type.js'].functionData[4]++; _$jscoverage['/lang/type.js'].lineData[45]++; - return visit296_45_1(o === undefined); + return visit300_45_1(o === undefined); }, isEmptyObject: function(o) { _$jscoverage['/lang/type.js'].functionData[5]++; _$jscoverage['/lang/type.js'].lineData[53]++; for (var p in o) { _$jscoverage['/lang/type.js'].lineData[54]++; - if (visit297_54_1(p !== undefined)) { + if (visit301_54_1(p !== undefined)) { _$jscoverage['/lang/type.js'].lineData[55]++; return FALSE; } @@ -414,7 +414,7 @@ function visit293_25_1(result) { isPlainObject: function(obj) { _$jscoverage['/lang/type.js'].functionData[6]++; _$jscoverage['/lang/type.js'].lineData[70]++; - if (visit298_70_1(!obj || visit299_70_2(visit300_70_3(S.type(obj) !== 'object') || visit301_70_4(obj.nodeType || visit302_73_1(obj.window == obj))))) { + if (visit302_70_1(!obj || visit303_70_2(visit304_70_3(S.type(obj) !== 'object') || visit305_70_4(obj.nodeType || visit306_73_1(obj.window == obj))))) { _$jscoverage['/lang/type.js'].lineData[74]++; return FALSE; } @@ -423,7 +423,7 @@ function visit293_25_1(result) { _$jscoverage['/lang/type.js'].lineData[79]++; try { _$jscoverage['/lang/type.js'].lineData[81]++; - if (visit303_81_1((objConstructor = obj.constructor) && visit304_81_2(!hasOwnProperty(obj, 'constructor') && !hasOwnProperty(objConstructor.prototype, 'isPrototypeOf')))) { + if (visit307_81_1((objConstructor = obj.constructor) && visit308_81_2(!hasOwnProperty(obj, 'constructor') && !hasOwnProperty(objConstructor.prototype, 'isPrototypeOf')))) { _$jscoverage['/lang/type.js'].lineData[82]++; return FALSE; } @@ -435,10 +435,10 @@ function visit293_25_1(result) { for (key in obj) { } _$jscoverage['/lang/type.js'].lineData[95]++; - return (visit305_95_1((visit306_95_2(key === undefined)) || hasOwnProperty(obj, key))); + return (visit309_95_1((visit310_95_2(key === undefined)) || hasOwnProperty(obj, key))); }}); _$jscoverage['/lang/type.js'].lineData[99]++; - if (visit307_99_1('@DEBUG@')) { + if (visit311_99_1('@DEBUG@')) { _$jscoverage['/lang/type.js'].lineData[100]++; S.mix(S, { isBoolean: noop, @@ -459,9 +459,9 @@ function visit293_25_1(result) { S['is' + name] = function(o) { _$jscoverage['/lang/type.js'].functionData[8]++; _$jscoverage['/lang/type.js'].lineData[174]++; - return visit308_174_1(S.type(o) === lc); + return visit312_174_1(S.type(o) === lc); }; }); _$jscoverage['/lang/type.js'].lineData[177]++; - S.isArray = visit309_177_1(Array.isArray || S.isArray); + S.isArray = visit313_177_1(Array.isArray || S.isArray); })(KISSY); diff --git a/src/seed/coverage/src/loader/combo-loader.js b/src/seed/coverage/src/loader/combo-loader.js index 49dcb62d1f..6aad0ba752 100644 --- a/src/seed/coverage/src/loader/combo-loader.js +++ b/src/seed/coverage/src/loader/combo-loader.js @@ -588,248 +588,248 @@ if (! _$jscoverage['/loader/combo-loader.js'].branchData) { _$jscoverage['/loader/combo-loader.js'].branchData['468'][1] = new BranchData(); } _$jscoverage['/loader/combo-loader.js'].branchData['468'][1].init(2583, 23, 'currentComboUrls.length'); -function visit366_468_1(result) { +function visit370_468_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['468'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['459'][1].init(68, 72, 'l + currentComboUrls.join(comboSep).length + suffixLength > maxUrlLength'); -function visit365_459_1(result) { +function visit369_459_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['459'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['458'][2].init(778, 36, 'currentComboUrls.length > maxFileNum'); -function visit364_458_2(result) { +function visit368_458_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['458'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['458'][1].init(778, 142, 'currentComboUrls.length > maxFileNum || (l + currentComboUrls.join(comboSep).length + suffixLength > maxUrlLength)'); -function visit363_458_1(result) { +function visit367_458_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['458'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['445'][1].init(195, 25, '!currentMod.canBeCombined'); -function visit362_445_1(result) { +function visit366_445_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['445'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['441'][1].init(1281, 15, 'i < mods.length'); -function visit361_441_1(result) { +function visit365_441_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['441'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['418'][1].init(226, 15, 'tags.length > 1'); -function visit360_418_1(result) { +function visit364_418_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['418'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['383'][4].init(53, 20, 'mods.tags[0] === tag'); -function visit359_383_4(result) { +function visit363_383_4(result) { _$jscoverage['/loader/combo-loader.js'].branchData['383'][4].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['383'][3].init(27, 22, 'mods.tags.length === 1'); -function visit358_383_3(result) { +function visit362_383_3(result) { _$jscoverage['/loader/combo-loader.js'].branchData['383'][3].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['383'][2].init(27, 46, 'mods.tags.length === 1 && mods.tags[0] === tag'); -function visit357_383_2(result) { +function visit361_383_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['383'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['383'][1].init(25, 49, '!(mods.tags.length === 1 && mods.tags[0] === tag)'); -function visit356_383_1(result) { +function visit360_383_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['383'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['378'][1].init(1790, 32, '!(mods = typedCombos[comboName])'); -function visit355_378_1(result) { +function visit359_378_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['377'][1].init(1747, 21, 'comboMods[type] || {}'); -function visit354_377_1(result) { +function visit358_377_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['377'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['363'][1].init(29, 41, 'groupPrefixUri.isSameOriginAs(packageUri)'); -function visit353_363_1(result) { +function visit357_363_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['363'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['356'][2].init(744, 82, 'packageInfo.isCombine() && S.startsWith(fullpath, packagePath)'); -function visit352_356_2(result) { +function visit356_356_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['356'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['356'][1].init(724, 112, '(mod.canBeCombined = packageInfo.isCombine() && S.startsWith(fullpath, packagePath)) && group'); -function visit351_356_1(result) { +function visit355_356_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['356'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['341'][1].init(338, 5, 'i < l'); -function visit350_341_1(result) { +function visit354_341_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['341'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['309'][1].init(29, 21, 'modStatus !== LOADING'); -function visit349_309_1(result) { +function visit353_309_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['309'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['308'][1].init(25, 27, '!waitingModules.contains(m)'); -function visit348_308_1(result) { +function visit352_308_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['308'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['307'][1].init(362, 20, 'modStatus !== LOADED'); -function visit347_307_1(result) { +function visit351_307_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['307'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['304'][1].init(262, 28, 'modStatus >= READY_TO_ATTACH'); -function visit346_304_1(result) { +function visit350_304_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['304'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['298'][1].init(54, 8, 'cache[m]'); -function visit345_298_1(result) { +function visit349_298_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['298'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['296'][1].init(369, 19, 'i < modNames.length'); -function visit344_296_1(result) { +function visit348_296_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['294'][1].init(331, 11, 'cache || {}'); -function visit343_294_1(result) { +function visit347_294_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['294'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['291'][1].init(229, 9, 'ret || {}'); -function visit342_291_1(result) { +function visit346_291_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['291'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['264'][1].init(150, 12, '!mod.factory'); -function visit341_264_1(result) { +function visit345_264_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['256'][1].init(25, 9, '\'@DEBUG@\''); -function visit340_256_1(result) { +function visit344_256_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['227'][1].init(25, 9, '\'@DEBUG@\''); -function visit339_227_1(result) { +function visit343_227_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['227'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['200'][1].init(17, 19, 'str1[i] !== str2[i]'); -function visit338_200_1(result) { +function visit342_200_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['200'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['199'][1].init(143, 5, 'i < l'); -function visit337_199_1(result) { +function visit341_199_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['199'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['189'][1].init(199, 9, 'ms.length'); -function visit336_189_1(result) { +function visit340_189_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['185'][1].init(21, 19, 'm.status === LOADED'); -function visit335_185_1(result) { +function visit339_185_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['185'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['166'][1].init(373, 2, 're'); -function visit334_166_1(result) { +function visit338_166_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['166'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['161'][1].init(50, 35, 'script.readyState === \'interactive\''); -function visit333_161_1(result) { +function visit337_161_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['159'][1].init(182, 6, 'i >= 0'); -function visit332_159_1(result) { +function visit336_159_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['159'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['139'][1].init(74, 5, 'oldIE'); -function visit331_139_1(result) { +function visit335_139_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['123'][1].init(132, 5, 'oldIE'); -function visit330_123_1(result) { +function visit334_123_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['123'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['119'][3].init(391, 13, 'argsLen === 1'); -function visit329_119_3(result) { +function visit333_119_3(result) { _$jscoverage['/loader/combo-loader.js'].branchData['119'][3].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['119'][2].init(361, 26, 'typeof name === \'function\''); -function visit328_119_2(result) { +function visit332_119_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['119'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['119'][1].init(361, 43, 'typeof name === \'function\' || argsLen === 1'); -function visit327_119_1(result) { +function visit331_119_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['119'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['110'][2].init(57, 13, 'argsLen === 3'); -function visit326_110_2(result) { +function visit330_110_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['110'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['110'][1].init(57, 35, 'argsLen === 3 && S.isArray(factory)'); -function visit325_110_1(result) { +function visit329_110_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['110'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['101'][2].init(80, 30, 'config.requires && !config.cjs'); -function visit324_101_2(result) { +function visit328_101_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['101'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['101'][1].init(70, 40, 'config && config.requires && !config.cjs'); -function visit323_101_1(result) { +function visit327_101_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['101'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['96'][1].init(26, 12, 'config || {}'); -function visit322_96_1(result) { +function visit326_96_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['95'][1].init(78, 15, 'requires.length'); -function visit321_95_1(result) { +function visit325_95_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['93'][4].init(148, 18, 'factory.length > 1'); -function visit320_93_4(result) { +function visit324_93_4(result) { _$jscoverage['/loader/combo-loader.js'].branchData['93'][4].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['93'][3].init(115, 29, 'typeof factory === \'function\''); -function visit319_93_3(result) { +function visit323_93_3(result) { _$jscoverage['/loader/combo-loader.js'].branchData['93'][3].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['93'][2].init(115, 51, 'typeof factory === \'function\' && factory.length > 1'); -function visit318_93_2(result) { +function visit322_93_2(result) { _$jscoverage['/loader/combo-loader.js'].branchData['93'][2].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['93'][1].init(104, 62, '!config && typeof factory === \'function\' && factory.length > 1'); -function visit317_93_1(result) { +function visit321_93_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['93'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['46'][1].init(163, 5, 'oldIE'); -function visit316_46_1(result) { +function visit320_46_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['43'][1].init(55, 23, 'mod.getType() === \'css\''); -function visit315_43_1(result) { +function visit319_43_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['41'][1].init(816, 11, '!rs.combine'); -function visit314_41_1(result) { +function visit318_41_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['41'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['27'][1].init(67, 17, 'mod && currentMod'); -function visit313_27_1(result) { +function visit317_27_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['16'][1].init(17, 10, '!(--count)'); -function visit312_16_1(result) { +function visit316_16_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['16'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['11'][1].init(21, 17, 'rss && rss.length'); -function visit311_11_1(result) { +function visit315_11_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['11'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].branchData['8'][1].init(43, 16, 'S.UA.ieMode < 10'); -function visit310_8_1(result) { +function visit314_8_1(result) { _$jscoverage['/loader/combo-loader.js'].branchData['8'][1].ranCondition(result); return result; }_$jscoverage['/loader/combo-loader.js'].lineData[6]++; (function(S, undefined) { _$jscoverage['/loader/combo-loader.js'].functionData[0]++; _$jscoverage['/loader/combo-loader.js'].lineData[8]++; - var oldIE = visit310_8_1(S.UA.ieMode < 10); + var oldIE = visit314_8_1(S.UA.ieMode < 10); _$jscoverage['/loader/combo-loader.js'].lineData[10]++; function loadScripts(runtime, rss, callback, charset, timeout) { _$jscoverage['/loader/combo-loader.js'].functionData[1]++; _$jscoverage['/loader/combo-loader.js'].lineData[11]++; - var count = visit311_11_1(rss && rss.length), errorList = [], successList = []; + var count = visit315_11_1(rss && rss.length), errorList = [], successList = []; _$jscoverage['/loader/combo-loader.js'].lineData[15]++; function complete() { _$jscoverage['/loader/combo-loader.js'].functionData[2]++; _$jscoverage['/loader/combo-loader.js'].lineData[16]++; - if (visit312_16_1(!(--count))) { + if (visit316_16_1(!(--count))) { _$jscoverage['/loader/combo-loader.js'].lineData[17]++; callback(successList, errorList); } @@ -847,7 +847,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[26]++; successList.push(rs); _$jscoverage['/loader/combo-loader.js'].lineData[27]++; - if (visit313_27_1(mod && currentMod)) { + if (visit317_27_1(mod && currentMod)) { _$jscoverage['/loader/combo-loader.js'].lineData[29]++; logger.debug('standard browser get mod name after load : ' + mod.name); _$jscoverage['/loader/combo-loader.js'].lineData[30]++; @@ -867,16 +867,16 @@ function visit310_8_1(result) { }, charset: charset}; _$jscoverage['/loader/combo-loader.js'].lineData[41]++; - if (visit314_41_1(!rs.combine)) { + if (visit318_41_1(!rs.combine)) { _$jscoverage['/loader/combo-loader.js'].lineData[42]++; mod = rs.mods[0]; _$jscoverage['/loader/combo-loader.js'].lineData[43]++; - if (visit315_43_1(mod.getType() === 'css')) { + if (visit319_43_1(mod.getType() === 'css')) { _$jscoverage['/loader/combo-loader.js'].lineData[44]++; mod = undefined; } else { _$jscoverage['/loader/combo-loader.js'].lineData[46]++; - if (visit316_46_1(oldIE)) { + if (visit320_46_1(oldIE)) { _$jscoverage['/loader/combo-loader.js'].lineData[47]++; startLoadModName = mod.name; _$jscoverage['/loader/combo-loader.js'].lineData[48]++; @@ -915,19 +915,19 @@ function visit310_8_1(result) { function checkKISSYRequire(config, factory) { _$jscoverage['/loader/combo-loader.js'].functionData[7]++; _$jscoverage['/loader/combo-loader.js'].lineData[93]++; - if (visit317_93_1(!config && visit318_93_2(visit319_93_3(typeof factory === 'function') && visit320_93_4(factory.length > 1)))) { + if (visit321_93_1(!config && visit322_93_2(visit323_93_3(typeof factory === 'function') && visit324_93_4(factory.length > 1)))) { _$jscoverage['/loader/combo-loader.js'].lineData[94]++; var requires = Utils.getRequiresFromFn(factory); _$jscoverage['/loader/combo-loader.js'].lineData[95]++; - if (visit321_95_1(requires.length)) { + if (visit325_95_1(requires.length)) { _$jscoverage['/loader/combo-loader.js'].lineData[96]++; - config = visit322_96_1(config || {}); + config = visit326_96_1(config || {}); _$jscoverage['/loader/combo-loader.js'].lineData[97]++; config.requires = requires; } } else { _$jscoverage['/loader/combo-loader.js'].lineData[101]++; - if (visit323_101_1(config && visit324_101_2(config.requires && !config.cjs))) { + if (visit327_101_1(config && visit328_101_2(config.requires && !config.cjs))) { _$jscoverage['/loader/combo-loader.js'].lineData[102]++; config.cjs = 0; } @@ -939,7 +939,7 @@ function visit310_8_1(result) { ComboLoader.add = function(name, factory, config, runtime, argsLen) { _$jscoverage['/loader/combo-loader.js'].functionData[8]++; _$jscoverage['/loader/combo-loader.js'].lineData[110]++; - if (visit325_110_1(visit326_110_2(argsLen === 3) && S.isArray(factory))) { + if (visit329_110_1(visit330_110_2(argsLen === 3) && S.isArray(factory))) { _$jscoverage['/loader/combo-loader.js'].lineData[111]++; var tmp = factory; _$jscoverage['/loader/combo-loader.js'].lineData[112]++; @@ -950,7 +950,7 @@ function visit310_8_1(result) { cjs: 1}; } _$jscoverage['/loader/combo-loader.js'].lineData[119]++; - if (visit327_119_1(visit328_119_2(typeof name === 'function') || visit329_119_3(argsLen === 1))) { + if (visit331_119_1(visit332_119_2(typeof name === 'function') || visit333_119_3(argsLen === 1))) { _$jscoverage['/loader/combo-loader.js'].lineData[120]++; config = factory; _$jscoverage['/loader/combo-loader.js'].lineData[121]++; @@ -958,7 +958,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[122]++; config = checkKISSYRequire(config, factory); _$jscoverage['/loader/combo-loader.js'].lineData[123]++; - if (visit330_123_1(oldIE)) { + if (visit334_123_1(oldIE)) { _$jscoverage['/loader/combo-loader.js'].lineData[125]++; name = findModuleNameByInteractive(); _$jscoverage['/loader/combo-loader.js'].lineData[127]++; @@ -975,7 +975,7 @@ function visit310_8_1(result) { } } else { _$jscoverage['/loader/combo-loader.js'].lineData[139]++; - if (visit331_139_1(oldIE)) { + if (visit335_139_1(oldIE)) { _$jscoverage['/loader/combo-loader.js'].lineData[140]++; startLoadModName = null; _$jscoverage['/loader/combo-loader.js'].lineData[141]++; @@ -996,11 +996,11 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[153]++; var scripts = S.Env.host.document.getElementsByTagName('script'), re, i, name, script; _$jscoverage['/loader/combo-loader.js'].lineData[159]++; - for (i = scripts.length - 1; visit332_159_1(i >= 0); i--) { + for (i = scripts.length - 1; visit336_159_1(i >= 0); i--) { _$jscoverage['/loader/combo-loader.js'].lineData[160]++; script = scripts[i]; _$jscoverage['/loader/combo-loader.js'].lineData[161]++; - if (visit333_161_1(script.readyState === 'interactive')) { + if (visit337_161_1(script.readyState === 'interactive')) { _$jscoverage['/loader/combo-loader.js'].lineData[162]++; re = script; _$jscoverage['/loader/combo-loader.js'].lineData[163]++; @@ -1008,7 +1008,7 @@ function visit310_8_1(result) { } } _$jscoverage['/loader/combo-loader.js'].lineData[166]++; - if (visit334_166_1(re)) { + if (visit338_166_1(re)) { _$jscoverage['/loader/combo-loader.js'].lineData[167]++; name = re.getAttribute('data-mod-name'); } else { @@ -1034,13 +1034,13 @@ function visit310_8_1(result) { S.each(rs.mods, function(m) { _$jscoverage['/loader/combo-loader.js'].functionData[12]++; _$jscoverage['/loader/combo-loader.js'].lineData[185]++; - if (visit335_185_1(m.status === LOADED)) { + if (visit339_185_1(m.status === LOADED)) { _$jscoverage['/loader/combo-loader.js'].lineData[186]++; ms.push(m.name); } }); _$jscoverage['/loader/combo-loader.js'].lineData[189]++; - if (visit336_189_1(ms.length)) { + if (visit340_189_1(ms.length)) { _$jscoverage['/loader/combo-loader.js'].lineData[190]++; logger.info('load remote modules: "' + ms.join(', ') + '" from: "' + rs.fullpath + '"'); } @@ -1056,9 +1056,9 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[198]++; var l = Math.min(str1.length, str2.length); _$jscoverage['/loader/combo-loader.js'].lineData[199]++; - for (var i = 0; visit337_199_1(i < l); i++) { + for (var i = 0; visit341_199_1(i < l); i++) { _$jscoverage['/loader/combo-loader.js'].lineData[200]++; - if (visit338_200_1(str1[i] !== str2[i])) { + if (visit342_200_1(str1[i] !== str2[i])) { _$jscoverage['/loader/combo-loader.js'].lineData[201]++; break; } @@ -1085,7 +1085,7 @@ function visit310_8_1(result) { loadScripts(runtime, cssOne, function(success, error) { _$jscoverage['/loader/combo-loader.js'].functionData[16]++; _$jscoverage['/loader/combo-loader.js'].lineData[227]++; - if (visit339_227_1('@DEBUG@')) { + if (visit343_227_1('@DEBUG@')) { _$jscoverage['/loader/combo-loader.js'].lineData[228]++; debugRemoteModules(success); } @@ -1126,7 +1126,7 @@ function visit310_8_1(result) { loadScripts(runtime, jsOne, function(success) { _$jscoverage['/loader/combo-loader.js'].functionData[22]++; _$jscoverage['/loader/combo-loader.js'].lineData[256]++; - if (visit340_256_1('@DEBUG@')) { + if (visit344_256_1('@DEBUG@')) { _$jscoverage['/loader/combo-loader.js'].lineData[257]++; debugRemoteModules(success); } @@ -1137,7 +1137,7 @@ function visit310_8_1(result) { S.each(one.mods, function(mod) { _$jscoverage['/loader/combo-loader.js'].functionData[24]++; _$jscoverage['/loader/combo-loader.js'].lineData[264]++; - if (visit341_264_1(!mod.factory)) { + if (visit345_264_1(!mod.factory)) { _$jscoverage['/loader/combo-loader.js'].lineData[265]++; var msg = mod.name + ' is not loaded! can not find module in path : ' + one.fullpath; _$jscoverage['/loader/combo-loader.js'].lineData[268]++; @@ -1157,15 +1157,15 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[283]++; var i, m, mod, modStatus, self = this, waitingModules = self.waitingModules, runtime = self.runtime; _$jscoverage['/loader/combo-loader.js'].lineData[291]++; - ret = visit342_291_1(ret || {}); + ret = visit346_291_1(ret || {}); _$jscoverage['/loader/combo-loader.js'].lineData[294]++; - cache = visit343_294_1(cache || {}); + cache = visit347_294_1(cache || {}); _$jscoverage['/loader/combo-loader.js'].lineData[296]++; - for (i = 0; visit344_296_1(i < modNames.length); i++) { + for (i = 0; visit348_296_1(i < modNames.length); i++) { _$jscoverage['/loader/combo-loader.js'].lineData[297]++; m = modNames[i]; _$jscoverage['/loader/combo-loader.js'].lineData[298]++; - if (visit345_298_1(cache[m])) { + if (visit349_298_1(cache[m])) { _$jscoverage['/loader/combo-loader.js'].lineData[299]++; continue; } @@ -1176,16 +1176,16 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[303]++; modStatus = mod.status; _$jscoverage['/loader/combo-loader.js'].lineData[304]++; - if (visit346_304_1(modStatus >= READY_TO_ATTACH)) { + if (visit350_304_1(modStatus >= READY_TO_ATTACH)) { _$jscoverage['/loader/combo-loader.js'].lineData[305]++; continue; } _$jscoverage['/loader/combo-loader.js'].lineData[307]++; - if (visit347_307_1(modStatus !== LOADED)) { + if (visit351_307_1(modStatus !== LOADED)) { _$jscoverage['/loader/combo-loader.js'].lineData[308]++; - if (visit348_308_1(!waitingModules.contains(m))) { + if (visit352_308_1(!waitingModules.contains(m))) { _$jscoverage['/loader/combo-loader.js'].lineData[309]++; - if (visit349_309_1(modStatus !== LOADING)) { + if (visit353_309_1(modStatus !== LOADING)) { _$jscoverage['/loader/combo-loader.js'].lineData[310]++; mod.status = LOADING; _$jscoverage['/loader/combo-loader.js'].lineData[311]++; @@ -1214,7 +1214,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[332]++; var comboMods = {}, packageUri, runtime = this.runtime, i = 0, l = modNames.length, modName, mod, packageInfo, type, typedCombos, mods, tag, charset, packagePath, packageName, group, fullpath; _$jscoverage['/loader/combo-loader.js'].lineData[341]++; - for (; visit350_341_1(i < l); ++i) { + for (; visit354_341_1(i < l); ++i) { _$jscoverage['/loader/combo-loader.js'].lineData[342]++; modName = modNames[i]; _$jscoverage['/loader/combo-loader.js'].lineData[343]++; @@ -1240,7 +1240,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[354]++; var comboName = packageName; _$jscoverage['/loader/combo-loader.js'].lineData[356]++; - if (visit351_356_1((mod.canBeCombined = visit352_356_2(packageInfo.isCombine() && S.startsWith(fullpath, packagePath))) && group)) { + if (visit355_356_1((mod.canBeCombined = visit356_356_2(packageInfo.isCombine() && S.startsWith(fullpath, packagePath))) && group)) { _$jscoverage['/loader/combo-loader.js'].lineData[359]++; comboName = group + '_' + charset + '_' + groupTag; _$jscoverage['/loader/combo-loader.js'].lineData[361]++; @@ -1248,7 +1248,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[362]++; if ((groupPrefixUri = comboPrefixes[comboName])) { _$jscoverage['/loader/combo-loader.js'].lineData[363]++; - if (visit353_363_1(groupPrefixUri.isSameOriginAs(packageUri))) { + if (visit357_363_1(groupPrefixUri.isSameOriginAs(packageUri))) { _$jscoverage['/loader/combo-loader.js'].lineData[364]++; groupPrefixUri.setPath(getCommonPrefix(groupPrefixUri.getPath(), packageUri.getPath())); } else { @@ -1266,9 +1266,9 @@ function visit310_8_1(result) { comboPrefixes[packageName] = packageUri; } _$jscoverage['/loader/combo-loader.js'].lineData[377]++; - typedCombos = comboMods[type] = visit354_377_1(comboMods[type] || {}); + typedCombos = comboMods[type] = visit358_377_1(comboMods[type] || {}); _$jscoverage['/loader/combo-loader.js'].lineData[378]++; - if (visit355_378_1(!(mods = typedCombos[comboName]))) { + if (visit359_378_1(!(mods = typedCombos[comboName]))) { _$jscoverage['/loader/combo-loader.js'].lineData[379]++; mods = typedCombos[comboName] = []; _$jscoverage['/loader/combo-loader.js'].lineData[380]++; @@ -1277,7 +1277,7 @@ function visit310_8_1(result) { mods.tags = [tag]; } else { _$jscoverage['/loader/combo-loader.js'].lineData[383]++; - if (visit356_383_1(!(visit357_383_2(visit358_383_3(mods.tags.length === 1) && visit359_383_4(mods.tags[0] === tag))))) { + if (visit360_383_1(!(visit361_383_2(visit362_383_3(mods.tags.length === 1) && visit363_383_4(mods.tags[0] === tag))))) { _$jscoverage['/loader/combo-loader.js'].lineData[384]++; mods.tags.push(tag); } @@ -1313,7 +1313,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[417]++; var tags = mods.tags; _$jscoverage['/loader/combo-loader.js'].lineData[418]++; - var tag = visit360_418_1(tags.length > 1) ? getHash(tags.join('')) : tags[0]; + var tag = visit364_418_1(tags.length > 1) ? getHash(tags.join('')) : tags[0]; _$jscoverage['/loader/combo-loader.js'].lineData[420]++; var suffix = (tag ? '?t=' + encodeURIComponent(tag) + '.' + type : ''), suffixLength = suffix.length, basePrefix = comboPrefixes[comboName].toString(), baseLen = basePrefix.length, prefix = basePrefix + comboPrefix, res = comboRes[type][comboName] = []; _$jscoverage['/loader/combo-loader.js'].lineData[427]++; @@ -1332,7 +1332,7 @@ function visit310_8_1(result) { mods: currentComboMods}); }; _$jscoverage['/loader/combo-loader.js'].lineData[441]++; - for (var i = 0; visit361_441_1(i < mods.length); i++) { + for (var i = 0; visit365_441_1(i < mods.length); i++) { _$jscoverage['/loader/combo-loader.js'].lineData[442]++; var currentMod = mods[i]; _$jscoverage['/loader/combo-loader.js'].lineData[443]++; @@ -1340,7 +1340,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[444]++; var fullpath = currentMod.getFullPath(); _$jscoverage['/loader/combo-loader.js'].lineData[445]++; - if (visit362_445_1(!currentMod.canBeCombined)) { + if (visit366_445_1(!currentMod.canBeCombined)) { _$jscoverage['/loader/combo-loader.js'].lineData[446]++; res.push({ combine: 0, @@ -1356,7 +1356,7 @@ function visit310_8_1(result) { _$jscoverage['/loader/combo-loader.js'].lineData[456]++; currentComboMods.push(currentMod); _$jscoverage['/loader/combo-loader.js'].lineData[458]++; - if (visit363_458_1(visit364_458_2(currentComboUrls.length > maxFileNum) || (visit365_459_1(l + currentComboUrls.join(comboSep).length + suffixLength > maxUrlLength)))) { + if (visit367_458_1(visit368_458_2(currentComboUrls.length > maxFileNum) || (visit369_459_1(l + currentComboUrls.join(comboSep).length + suffixLength > maxUrlLength)))) { _$jscoverage['/loader/combo-loader.js'].lineData[460]++; currentComboUrls.pop(); _$jscoverage['/loader/combo-loader.js'].lineData[461]++; @@ -1372,7 +1372,7 @@ function visit310_8_1(result) { } } _$jscoverage['/loader/combo-loader.js'].lineData[468]++; - if (visit366_468_1(currentComboUrls.length)) { + if (visit370_468_1(currentComboUrls.length)) { _$jscoverage['/loader/combo-loader.js'].lineData[469]++; pushComboUrl(); } diff --git a/src/seed/coverage/src/loader/configs.js b/src/seed/coverage/src/loader/configs.js index cff1e51a30..0b2c0637df 100644 --- a/src/seed/coverage/src/loader/configs.js +++ b/src/seed/coverage/src/loader/configs.js @@ -323,59 +323,59 @@ if (! _$jscoverage['/loader/configs.js'].branchData) { _$jscoverage['/loader/configs.js'].branchData['91'][1] = new BranchData(); } _$jscoverage['/loader/configs.js'].branchData['91'][1].init(94, 28, '!S.startsWith(base, \'file:\')'); -function visit380_91_1(result) { +function visit384_91_1(result) { _$jscoverage['/loader/configs.js'].branchData['91'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['86'][1].init(162, 17, 'simulatedLocation'); -function visit379_86_1(result) { +function visit383_86_1(result) { _$jscoverage['/loader/configs.js'].branchData['86'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['83'][1].init(75, 36, 'base.charAt(base.length - 1) !== \'/\''); -function visit378_83_1(result) { +function visit382_83_1(result) { _$jscoverage['/loader/configs.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['71'][1].init(93, 5, '!base'); -function visit377_71_1(result) { +function visit381_71_1(result) { _$jscoverage['/loader/configs.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['60'][1].init(137, 33, 'mod.status === Loader.Status.INIT'); -function visit376_60_1(result) { +function visit380_60_1(result) { _$jscoverage['/loader/configs.js'].branchData['60'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['56'][1].init(38, 7, 'modules'); -function visit375_56_1(result) { +function visit379_56_1(result) { _$jscoverage['/loader/configs.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['46'][1].init(766, 16, 'config === false'); -function visit374_46_1(result) { +function visit378_46_1(result) { _$jscoverage['/loader/configs.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['39'][1].init(367, 8, 'ps[name]'); -function visit373_39_1(result) { +function visit377_39_1(result) { _$jscoverage['/loader/configs.js'].branchData['39'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['32'][1].init(138, 20, 'cfg.base || cfg.path'); -function visit372_32_1(result) { +function visit376_32_1(result) { _$jscoverage['/loader/configs.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['30'][1].init(50, 15, 'cfg.name || key'); -function visit371_30_1(result) { +function visit375_30_1(result) { _$jscoverage['/loader/configs.js'].branchData['30'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['27'][1].init(123, 6, 'config'); -function visit370_27_1(result) { +function visit374_27_1(result) { _$jscoverage['/loader/configs.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['26'][1].init(78, 21, 'Config.packages || {}'); -function visit369_26_1(result) { +function visit373_26_1(result) { _$jscoverage['/loader/configs.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['15'][2].init(227, 42, 'location && (locationHref = location.href)'); -function visit368_15_2(result) { +function visit372_15_2(result) { _$jscoverage['/loader/configs.js'].branchData['15'][2].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].branchData['15'][1].init(211, 58, '!S.UA.nodejs && location && (locationHref = location.href)'); -function visit367_15_1(result) { +function visit371_15_1(result) { _$jscoverage['/loader/configs.js'].branchData['15'][1].ranCondition(result); return result; }_$jscoverage['/loader/configs.js'].lineData[6]++; @@ -384,7 +384,7 @@ function visit367_15_1(result) { _$jscoverage['/loader/configs.js'].lineData[7]++; var Loader = S.Loader, Utils = Loader.Utils, host = S.Env.host, location = host.location, simulatedLocation, locationHref, configFns = S.Config.fns; _$jscoverage['/loader/configs.js'].lineData[15]++; - if (visit367_15_1(!S.UA.nodejs && visit368_15_2(location && (locationHref = location.href)))) { + if (visit371_15_1(!S.UA.nodejs && visit372_15_2(location && (locationHref = location.href)))) { _$jscoverage['/loader/configs.js'].lineData[16]++; simulatedLocation = new S.Uri(locationHref); } @@ -398,16 +398,16 @@ function visit367_15_1(result) { configFns.packages = function(config) { _$jscoverage['/loader/configs.js'].functionData[2]++; _$jscoverage['/loader/configs.js'].lineData[24]++; - var name, Config = this.Config, ps = Config.packages = visit369_26_1(Config.packages || {}); + var name, Config = this.Config, ps = Config.packages = visit373_26_1(Config.packages || {}); _$jscoverage['/loader/configs.js'].lineData[27]++; - if (visit370_27_1(config)) { + if (visit374_27_1(config)) { _$jscoverage['/loader/configs.js'].lineData[28]++; S.each(config, function(cfg, key) { _$jscoverage['/loader/configs.js'].functionData[3]++; _$jscoverage['/loader/configs.js'].lineData[30]++; - name = visit371_30_1(cfg.name || key); + name = visit375_30_1(cfg.name || key); _$jscoverage['/loader/configs.js'].lineData[32]++; - var baseUri = normalizeBase(visit372_32_1(cfg.base || cfg.path)); + var baseUri = normalizeBase(visit376_32_1(cfg.base || cfg.path)); _$jscoverage['/loader/configs.js'].lineData[34]++; cfg.name = name; _$jscoverage['/loader/configs.js'].lineData[35]++; @@ -419,7 +419,7 @@ function visit367_15_1(result) { _$jscoverage['/loader/configs.js'].lineData[38]++; delete cfg.path; _$jscoverage['/loader/configs.js'].lineData[39]++; - if (visit373_39_1(ps[name])) { + if (visit377_39_1(ps[name])) { _$jscoverage['/loader/configs.js'].lineData[40]++; ps[name].reset(cfg); } else { @@ -431,7 +431,7 @@ function visit367_15_1(result) { return undefined; } else { _$jscoverage['/loader/configs.js'].lineData[46]++; - if (visit374_46_1(config === false)) { + if (visit378_46_1(config === false)) { _$jscoverage['/loader/configs.js'].lineData[47]++; Config.packages = {}; _$jscoverage['/loader/configs.js'].lineData[48]++; @@ -448,14 +448,14 @@ function visit367_15_1(result) { _$jscoverage['/loader/configs.js'].lineData[55]++; var self = this; _$jscoverage['/loader/configs.js'].lineData[56]++; - if (visit375_56_1(modules)) { + if (visit379_56_1(modules)) { _$jscoverage['/loader/configs.js'].lineData[57]++; S.each(modules, function(modCfg, modName) { _$jscoverage['/loader/configs.js'].functionData[5]++; _$jscoverage['/loader/configs.js'].lineData[58]++; var mod = Utils.createModuleInfo(self, modName, modCfg); _$jscoverage['/loader/configs.js'].lineData[60]++; - if (visit376_60_1(mod.status === Loader.Status.INIT)) { + if (visit380_60_1(mod.status === Loader.Status.INIT)) { _$jscoverage['/loader/configs.js'].lineData[61]++; S.mix(mod, modCfg); } @@ -468,7 +468,7 @@ function visit367_15_1(result) { _$jscoverage['/loader/configs.js'].lineData[68]++; var self = this, Config = self.Config, baseUri; _$jscoverage['/loader/configs.js'].lineData[71]++; - if (visit377_71_1(!base)) { + if (visit381_71_1(!base)) { _$jscoverage['/loader/configs.js'].lineData[72]++; return Config.base; } @@ -489,17 +489,17 @@ function visit367_15_1(result) { _$jscoverage['/loader/configs.js'].lineData[82]++; base = base.replace(/\\/g, '/'); _$jscoverage['/loader/configs.js'].lineData[83]++; - if (visit378_83_1(base.charAt(base.length - 1) !== '/')) { + if (visit382_83_1(base.charAt(base.length - 1) !== '/')) { _$jscoverage['/loader/configs.js'].lineData[84]++; base += '/'; } _$jscoverage['/loader/configs.js'].lineData[86]++; - if (visit379_86_1(simulatedLocation)) { + if (visit383_86_1(simulatedLocation)) { _$jscoverage['/loader/configs.js'].lineData[87]++; baseUri = simulatedLocation.resolve(base); } else { _$jscoverage['/loader/configs.js'].lineData[91]++; - if (visit380_91_1(!S.startsWith(base, 'file:'))) { + if (visit384_91_1(!S.startsWith(base, 'file:'))) { _$jscoverage['/loader/configs.js'].lineData[92]++; base = 'file:' + base; } diff --git a/src/seed/coverage/src/loader/css-onload.js b/src/seed/coverage/src/loader/css-onload.js index 3f23eb0ab0..2cf9b8c692 100644 --- a/src/seed/coverage/src/loader/css-onload.js +++ b/src/seed/coverage/src/loader/css-onload.js @@ -303,39 +303,39 @@ if (! _$jscoverage['/loader/css-onload.js'].branchData) { _$jscoverage['/loader/css-onload.js'].branchData['67'][1] = new BranchData(); } _$jscoverage['/loader/css-onload.js'].branchData['67'][1].init(355, 25, 'S.isEmptyObject(monitors)'); -function visit389_67_1(result) { +function visit393_67_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['67'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['60'][1].init(21, 20, 'callbackObj.callback'); -function visit388_60_1(result) { +function visit392_60_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['60'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['59'][1].init(103, 22, 'isCssLoaded(node, url)'); -function visit387_59_1(result) { +function visit391_59_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['45'][1].init(90, 38, 'exName === \'NS_ERROR_DOM_SECURITY_ERR\''); -function visit386_45_1(result) { +function visit390_45_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['35'][1].init(73, 8, 'cssRules'); -function visit385_35_1(result) { +function visit389_35_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['32'][1].init(277, 10, 'node.sheet'); -function visit384_32_1(result) { +function visit388_32_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['28'][1].init(88, 10, 'node.sheet'); -function visit383_28_1(result) { +function visit387_28_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['26'][1].init(37, 9, 'UA.webkit'); -function visit382_26_1(result) { +function visit386_26_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].branchData['18'][1].init(13, 6, '!timer'); -function visit381_18_1(result) { +function visit385_18_1(result) { _$jscoverage['/loader/css-onload.js'].branchData['18'][1].ranCondition(result); return result; }_$jscoverage['/loader/css-onload.js'].lineData[6]++; @@ -349,7 +349,7 @@ function visit381_18_1(result) { function startCssTimer() { _$jscoverage['/loader/css-onload.js'].functionData[1]++; _$jscoverage['/loader/css-onload.js'].lineData[18]++; - if (visit381_18_1(!timer)) { + if (visit385_18_1(!timer)) { _$jscoverage['/loader/css-onload.js'].lineData[19]++; logger.debug('start css poll timer'); _$jscoverage['/loader/css-onload.js'].lineData[20]++; @@ -362,9 +362,9 @@ function visit381_18_1(result) { _$jscoverage['/loader/css-onload.js'].lineData[25]++; var loaded = 0; _$jscoverage['/loader/css-onload.js'].lineData[26]++; - if (visit382_26_1(UA.webkit)) { + if (visit386_26_1(UA.webkit)) { _$jscoverage['/loader/css-onload.js'].lineData[28]++; - if (visit383_28_1(node.sheet)) { + if (visit387_28_1(node.sheet)) { _$jscoverage['/loader/css-onload.js'].lineData[29]++; logger.debug('webkit css poll loaded: ' + url); _$jscoverage['/loader/css-onload.js'].lineData[30]++; @@ -372,13 +372,13 @@ function visit381_18_1(result) { } } else { _$jscoverage['/loader/css-onload.js'].lineData[32]++; - if (visit384_32_1(node.sheet)) { + if (visit388_32_1(node.sheet)) { _$jscoverage['/loader/css-onload.js'].lineData[33]++; try { _$jscoverage['/loader/css-onload.js'].lineData[34]++; var cssRules = node.sheet.cssRules; _$jscoverage['/loader/css-onload.js'].lineData[35]++; - if (visit385_35_1(cssRules)) { + if (visit389_35_1(cssRules)) { _$jscoverage['/loader/css-onload.js'].lineData[36]++; logger.debug('same domain css poll loaded: ' + url); _$jscoverage['/loader/css-onload.js'].lineData[37]++; @@ -390,7 +390,7 @@ function visit381_18_1(result) { _$jscoverage['/loader/css-onload.js'].lineData[41]++; logger.debug('css poll exception: ' + exName + ' ' + ex.code + ' ' + url); _$jscoverage['/loader/css-onload.js'].lineData[43]++; - if (visit386_45_1(exName === 'NS_ERROR_DOM_SECURITY_ERR')) { + if (visit390_45_1(exName === 'NS_ERROR_DOM_SECURITY_ERR')) { _$jscoverage['/loader/css-onload.js'].lineData[46]++; logger.debug('css poll exception: ' + exName + 'loaded : ' + url); _$jscoverage['/loader/css-onload.js'].lineData[47]++; @@ -410,9 +410,9 @@ function visit381_18_1(result) { _$jscoverage['/loader/css-onload.js'].lineData[57]++; var callbackObj = monitors[url], node = callbackObj.node; _$jscoverage['/loader/css-onload.js'].lineData[59]++; - if (visit387_59_1(isCssLoaded(node, url))) { + if (visit391_59_1(isCssLoaded(node, url))) { _$jscoverage['/loader/css-onload.js'].lineData[60]++; - if (visit388_60_1(callbackObj.callback)) { + if (visit392_60_1(callbackObj.callback)) { _$jscoverage['/loader/css-onload.js'].lineData[61]++; callbackObj.callback.call(node); } @@ -421,7 +421,7 @@ function visit381_18_1(result) { } } _$jscoverage['/loader/css-onload.js'].lineData[67]++; - if (visit389_67_1(S.isEmptyObject(monitors))) { + if (visit393_67_1(S.isEmptyObject(monitors))) { _$jscoverage['/loader/css-onload.js'].lineData[68]++; logger.debug('clear css poll timer'); _$jscoverage['/loader/css-onload.js'].lineData[69]++; diff --git a/src/seed/coverage/src/loader/data-structure.js b/src/seed/coverage/src/loader/data-structure.js index 663f97c640..9aa1c6f18e 100644 --- a/src/seed/coverage/src/loader/data-structure.js +++ b/src/seed/coverage/src/loader/data-structure.js @@ -442,111 +442,111 @@ if (! _$jscoverage['/loader/data-structure.js'].branchData) { _$jscoverage['/loader/data-structure.js'].branchData['423'][1] = new BranchData(); } _$jscoverage['/loader/data-structure.js'].branchData['423'][1].init(308, 32, 'packages[pName] || systemPackage'); -function visit416_423_1(result) { +function visit420_423_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['419'][2].init(56, 23, 'p.length > pName.length'); -function visit415_419_2(result) { +function visit419_419_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['419'][2].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['419'][1].init(17, 62, 'S.startsWith(modNameSlash, p + \'/\') && p.length > pName.length'); -function visit414_419_1(result) { +function visit418_419_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['419'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['401'][1].init(185, 24, 'm.getPackage().isDebug()'); -function visit413_401_1(result) { +function visit417_401_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['401'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['382'][1].init(112, 35, 'normalizedRequiresStatus === status'); -function visit412_382_1(result) { +function visit416_382_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['382'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['380'][1].init(338, 149, '(normalizedRequires = self.normalizedRequires) && (normalizedRequiresStatus === status)'); -function visit411_380_1(result) { +function visit415_380_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['380'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['379'][1].init(24, 14, 'requires || []'); -function visit410_379_1(result) { +function visit414_379_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['379'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['378'][2].init(249, 21, 'requires.length === 0'); -function visit409_378_2(result) { +function visit413_378_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['378'][2].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['378'][1].init(236, 34, '!requires || requires.length === 0'); -function visit408_378_1(result) { +function visit412_378_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['349'][1].init(249, 18, '!requiresWithAlias'); -function visit407_349_1(result) { +function visit411_349_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['349'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['348'][1].init(24, 14, 'requires || []'); -function visit406_348_1(result) { +function visit410_348_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['348'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['347'][2].init(161, 21, 'requires.length === 0'); -function visit405_347_2(result) { +function visit409_347_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['347'][2].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['347'][1].init(148, 34, '!requires || requires.length === 0'); -function visit404_347_1(result) { +function visit408_347_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['347'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['336'][1].init(49, 46, 'self.charset || self.getPackage().getCharset()'); -function visit403_336_1(result) { +function visit407_336_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['336'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['327'][1].init(49, 38, 'self.tag || self.getPackage().getTag()'); -function visit402_327_1(result) { +function visit406_327_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['327'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['316'][1].init(49, 92, 'self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))'); -function visit401_316_1(result) { +function visit405_316_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['299'][1].init(49, 55, 'self.path || (self.path = defaultComponentJsName(self))'); -function visit400_299_1(result) { +function visit404_299_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['299'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['286'][1].init(75, 14, '!self.fullpath'); -function visit399_286_1(result) { +function visit403_286_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['286'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['263'][1].init(212, 171, 'packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name)'); -function visit398_263_1(result) { +function visit402_263_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['263'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['256'][1].init(66, 13, 'self.fullpath'); -function visit397_256_1(result) { +function visit401_256_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['254'][1].init(206, 17, '!self.fullPathUri'); -function visit396_254_1(result) { +function visit400_254_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['254'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['232'][1].init(21, 48, 'Path.extname(self.name).toLowerCase() === \'.css\''); -function visit395_232_1(result) { +function visit399_232_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['232'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['231'][1].init(77, 2, '!v'); -function visit394_231_1(result) { +function visit398_231_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['214'][1].init(27, 12, 'e.stack || e'); -function visit393_214_1(result) { +function visit397_214_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['209'][1].init(120, 7, 'i < len'); -function visit392_209_1(result) { +function visit396_209_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['74'][1].init(46, 16, '!self.packageUri'); -function visit391_74_1(result) { +function visit395_74_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['74'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['63'][1].init(-1, 47, 'packageName && !self.isIgnorePackageNameInUri()'); -function visit390_63_1(result) { +function visit394_63_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].lineData[6]++; @@ -594,14 +594,14 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[60]++; var self = this, packageName = self.name; _$jscoverage['/loader/data-structure.js'].lineData[62]++; - return self.getBase() + (visit390_63_1(packageName && !self.isIgnorePackageNameInUri()) ? (packageName + '/') : ''); + return self.getBase() + (visit394_63_1(packageName && !self.isIgnorePackageNameInUri()) ? (packageName + '/') : ''); }, getPackageUri: function() { _$jscoverage['/loader/data-structure.js'].functionData[8]++; _$jscoverage['/loader/data-structure.js'].lineData[73]++; var self = this; _$jscoverage['/loader/data-structure.js'].lineData[74]++; - if (visit391_74_1(!self.packageUri)) { + if (visit395_74_1(!self.packageUri)) { _$jscoverage['/loader/data-structure.js'].lineData[75]++; self.packageUri = new S.Uri(this.getPrefixUriForCombo()); } @@ -698,7 +698,7 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[207]++; var len = this.waitedCallbacks.length, i = 0; _$jscoverage['/loader/data-structure.js'].lineData[209]++; - for (; visit392_209_1(i < len); i++) { + for (; visit396_209_1(i < len); i++) { _$jscoverage['/loader/data-structure.js'].lineData[210]++; callback = this.waitedCallbacks[i]; _$jscoverage['/loader/data-structure.js'].lineData[211]++; @@ -707,7 +707,7 @@ function visit390_63_1(result) { callback(this); } catch (e) { _$jscoverage['/loader/data-structure.js'].lineData[214]++; - S.log(visit393_214_1(e.stack || e), 'error'); + S.log(visit397_214_1(e.stack || e), 'error'); _$jscoverage['/loader/data-structure.js'].lineData[216]++; setTimeout(function() { _$jscoverage['/loader/data-structure.js'].functionData[22]++; @@ -724,9 +724,9 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[229]++; var self = this, v = self.type; _$jscoverage['/loader/data-structure.js'].lineData[231]++; - if (visit394_231_1(!v)) { + if (visit398_231_1(!v)) { _$jscoverage['/loader/data-structure.js'].lineData[232]++; - if (visit395_232_1(Path.extname(self.name).toLowerCase() === '.css')) { + if (visit399_232_1(Path.extname(self.name).toLowerCase() === '.css')) { _$jscoverage['/loader/data-structure.js'].lineData[233]++; v = 'css'; } else { @@ -744,9 +744,9 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[247]++; var self = this, t, fullPathUri, packageBaseUri, packageInfo, packageName, path; _$jscoverage['/loader/data-structure.js'].lineData[254]++; - if (visit396_254_1(!self.fullPathUri)) { + if (visit400_254_1(!self.fullPathUri)) { _$jscoverage['/loader/data-structure.js'].lineData[256]++; - if (visit397_256_1(self.fullpath)) { + if (visit401_256_1(self.fullpath)) { _$jscoverage['/loader/data-structure.js'].lineData[257]++; fullPathUri = new S.Uri(self.fullpath); } else { @@ -757,7 +757,7 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[261]++; path = self.getPath(); _$jscoverage['/loader/data-structure.js'].lineData[263]++; - if (visit398_263_1(packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name))) { + if (visit402_263_1(packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name))) { _$jscoverage['/loader/data-structure.js'].lineData[266]++; path = Path.relative(packageName, path); } @@ -782,7 +782,7 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[284]++; var self = this, fullPathUri; _$jscoverage['/loader/data-structure.js'].lineData[286]++; - if (visit399_286_1(!self.fullpath)) { + if (visit403_286_1(!self.fullpath)) { _$jscoverage['/loader/data-structure.js'].lineData[287]++; fullPathUri = self.getFullPathUri(); _$jscoverage['/loader/data-structure.js'].lineData[288]++; @@ -796,7 +796,7 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[298]++; var self = this; _$jscoverage['/loader/data-structure.js'].lineData[299]++; - return visit400_299_1(self.path || (self.path = defaultComponentJsName(self))); + return visit404_299_1(self.path || (self.path = defaultComponentJsName(self))); }, getName: function() { _$jscoverage['/loader/data-structure.js'].functionData[27]++; @@ -808,33 +808,33 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[315]++; var self = this; _$jscoverage['/loader/data-structure.js'].lineData[316]++; - return visit401_316_1(self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))); + return visit405_316_1(self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))); }, getTag: function() { _$jscoverage['/loader/data-structure.js'].functionData[29]++; _$jscoverage['/loader/data-structure.js'].lineData[326]++; var self = this; _$jscoverage['/loader/data-structure.js'].lineData[327]++; - return visit402_327_1(self.tag || self.getPackage().getTag()); + return visit406_327_1(self.tag || self.getPackage().getTag()); }, getCharset: function() { _$jscoverage['/loader/data-structure.js'].functionData[30]++; _$jscoverage['/loader/data-structure.js'].lineData[335]++; var self = this; _$jscoverage['/loader/data-structure.js'].lineData[336]++; - return visit403_336_1(self.charset || self.getPackage().getCharset()); + return visit407_336_1(self.charset || self.getPackage().getCharset()); }, getRequiresWithAlias: function() { _$jscoverage['/loader/data-structure.js'].functionData[31]++; _$jscoverage['/loader/data-structure.js'].lineData[344]++; var self = this, requiresWithAlias = self.requiresWithAlias, requires = self.requires; _$jscoverage['/loader/data-structure.js'].lineData[347]++; - if (visit404_347_1(!requires || visit405_347_2(requires.length === 0))) { + if (visit408_347_1(!requires || visit409_347_2(requires.length === 0))) { _$jscoverage['/loader/data-structure.js'].lineData[348]++; - return visit406_348_1(requires || []); + return visit410_348_1(requires || []); } else { _$jscoverage['/loader/data-structure.js'].lineData[349]++; - if (visit407_349_1(!requiresWithAlias)) { + if (visit411_349_1(!requiresWithAlias)) { _$jscoverage['/loader/data-structure.js'].lineData[350]++; self.requiresWithAlias = requiresWithAlias = Utils.normalizeModNamesWithAlias(self.runtime, requires, self.name); } @@ -858,12 +858,12 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[373]++; var self = this, normalizedRequires, normalizedRequiresStatus = self.normalizedRequiresStatus, status = self.status, requires = self.requires; _$jscoverage['/loader/data-structure.js'].lineData[378]++; - if (visit408_378_1(!requires || visit409_378_2(requires.length === 0))) { + if (visit412_378_1(!requires || visit413_378_2(requires.length === 0))) { _$jscoverage['/loader/data-structure.js'].lineData[379]++; - return visit410_379_1(requires || []); + return visit414_379_1(requires || []); } else { _$jscoverage['/loader/data-structure.js'].lineData[380]++; - if (visit411_380_1((normalizedRequires = self.normalizedRequires) && (visit412_382_1(normalizedRequiresStatus === status)))) { + if (visit415_380_1((normalizedRequires = self.normalizedRequires) && (visit416_382_1(normalizedRequiresStatus === status)))) { _$jscoverage['/loader/data-structure.js'].lineData[383]++; return normalizedRequires; } else { @@ -886,7 +886,7 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[399]++; name = Path.join(Path.dirname(name), Path.basename(name, extname)); _$jscoverage['/loader/data-structure.js'].lineData[401]++; - if (visit413_401_1(m.getPackage().isDebug())) { + if (visit417_401_1(m.getPackage().isDebug())) { _$jscoverage['/loader/data-structure.js'].lineData[402]++; min = ''; } @@ -905,12 +905,12 @@ function visit390_63_1(result) { _$jscoverage['/loader/data-structure.js'].lineData[418]++; for (p in packages) { _$jscoverage['/loader/data-structure.js'].lineData[419]++; - if (visit414_419_1(S.startsWith(modNameSlash, p + '/') && visit415_419_2(p.length > pName.length))) { + if (visit418_419_1(S.startsWith(modNameSlash, p + '/') && visit419_419_2(p.length > pName.length))) { _$jscoverage['/loader/data-structure.js'].lineData[420]++; pName = p; } } _$jscoverage['/loader/data-structure.js'].lineData[423]++; - return visit416_423_1(packages[pName] || systemPackage); + return visit420_423_1(packages[pName] || systemPackage); } })(KISSY); diff --git a/src/seed/coverage/src/loader/get-script-nodejs.js b/src/seed/coverage/src/loader/get-script-nodejs.js index a95aed4d02..b7677647bd 100644 --- a/src/seed/coverage/src/loader/get-script-nodejs.js +++ b/src/seed/coverage/src/loader/get-script-nodejs.js @@ -273,23 +273,23 @@ if (! _$jscoverage['/loader/get-script-nodejs.js'].branchData) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1] = new BranchData(); } _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1].init(101, 5, 'error'); -function visit421_43_1(result) { +function visit425_43_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['37'][1].init(250, 7, 'success'); -function visit420_37_1(result) { +function visit424_37_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['23'][1].init(80, 7, 'success'); -function visit419_23_1(result) { +function visit423_23_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['21'][1].init(197, 55, 'S.startsWith(S.Path.extname(url).toLowerCase(), \'.css\')'); -function visit418_21_1(result) { +function visit422_21_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['21'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['15'][1].init(33, 24, 'S.isPlainObject(success)'); -function visit417_15_1(result) { +function visit421_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['15'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].lineData[7]++; @@ -303,7 +303,7 @@ function visit417_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[13]++; var error; _$jscoverage['/loader/get-script-nodejs.js'].lineData[15]++; - if (visit417_15_1(S.isPlainObject(success))) { + if (visit421_15_1(S.isPlainObject(success))) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[16]++; charset = success.charset; _$jscoverage['/loader/get-script-nodejs.js'].lineData[17]++; @@ -312,11 +312,11 @@ function visit417_15_1(result) { success = success.success; } _$jscoverage['/loader/get-script-nodejs.js'].lineData[21]++; - if (visit418_21_1(S.startsWith(S.Path.extname(url).toLowerCase(), '.css'))) { + if (visit422_21_1(S.startsWith(S.Path.extname(url).toLowerCase(), '.css'))) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[22]++; S.log('node js can not load css: ' + url, 'warn'); _$jscoverage['/loader/get-script-nodejs.js'].lineData[23]++; - if (visit419_23_1(success)) { + if (visit423_23_1(success)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[24]++; success(); } @@ -334,7 +334,7 @@ function visit417_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[36]++; factory(S, require); _$jscoverage['/loader/get-script-nodejs.js'].lineData[37]++; - if (visit420_37_1(success)) { + if (visit424_37_1(success)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[38]++; success(); } @@ -344,7 +344,7 @@ function visit417_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[42]++; S.log(e.stack, 'error'); _$jscoverage['/loader/get-script-nodejs.js'].lineData[43]++; - if (visit421_43_1(error)) { + if (visit425_43_1(error)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[44]++; error(e); } diff --git a/src/seed/coverage/src/loader/get-script.js b/src/seed/coverage/src/loader/get-script.js index 14ef40db67..9378e7f9fb 100644 --- a/src/seed/coverage/src/loader/get-script.js +++ b/src/seed/coverage/src/loader/get-script.js @@ -352,91 +352,91 @@ if (! _$jscoverage['/loader/get-script.js'].branchData) { _$jscoverage['/loader/get-script.js'].branchData['161'][1] = new BranchData(); } _$jscoverage['/loader/get-script.js'].branchData['161'][1].init(3305, 3, 'css'); -function visit443_161_1(result) { +function visit447_161_1(result) { _$jscoverage['/loader/get-script.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['158'][1].init(3230, 9, '!headNode'); -function visit442_158_1(result) { +function visit446_158_1(result) { _$jscoverage['/loader/get-script.js'].branchData['158'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['153'][1].init(3081, 7, 'timeout'); -function visit441_153_1(result) { +function visit445_153_1(result) { _$jscoverage['/loader/get-script.js'].branchData['153'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['145'][1].init(2903, 3, 'css'); -function visit440_145_1(result) { +function visit444_145_1(result) { _$jscoverage['/loader/get-script.js'].branchData['145'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['137'][1].init(2673, 9, 'useNative'); -function visit439_137_1(result) { +function visit443_137_1(result) { _$jscoverage['/loader/get-script.js'].branchData['137'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['130'][1].init(42, 25, 'readyState === \'complete\''); -function visit438_130_1(result) { +function visit442_130_1(result) { _$jscoverage['/loader/get-script.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['129'][2].init(96, 23, 'readyState === \'loaded\''); -function visit437_129_2(result) { +function visit441_129_2(result) { _$jscoverage['/loader/get-script.js'].branchData['129'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['129'][1].init(30, 68, 'readyState === \'loaded\' || readyState === \'complete\''); -function visit436_129_1(result) { +function visit440_129_1(result) { _$jscoverage['/loader/get-script.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['128'][1].init(63, 99, '!readyState || readyState === \'loaded\' || readyState === \'complete\''); -function visit435_128_1(result) { +function visit439_128_1(result) { _$jscoverage['/loader/get-script.js'].branchData['128'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['122'][2].init(2251, 25, 'forceCssPoll && useNative'); -function visit434_122_2(result) { +function visit438_122_2(result) { _$jscoverage['/loader/get-script.js'].branchData['122'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['122'][1].init(2244, 32, 'css && forceCssPoll && useNative'); -function visit433_122_1(result) { +function visit437_122_1(result) { _$jscoverage['/loader/get-script.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][3].init(2213, 15, 'UA.webkit < 536'); -function visit432_120_3(result) { +function visit436_120_3(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][3].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][2].init(2200, 28, 'UA.webkit && UA.webkit < 536'); -function visit431_120_2(result) { +function visit435_120_2(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][1].init(2174, 55, 'S.Config.forceCssPoll || (UA.webkit && UA.webkit < 536)'); -function visit430_120_1(result) { +function visit434_120_1(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['92'][1].init(1269, 3, 'css'); -function visit429_92_1(result) { +function visit433_92_1(result) { _$jscoverage['/loader/get-script.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['88'][1].init(1199, 7, 'charset'); -function visit428_88_1(result) { +function visit432_88_1(result) { _$jscoverage['/loader/get-script.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['82'][1].init(1066, 5, 'attrs'); -function visit427_82_1(result) { +function visit431_82_1(result) { _$jscoverage['/loader/get-script.js'].branchData['82'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['76'][1].init(21, 5, 'timer'); -function visit426_76_1(result) { +function visit430_76_1(result) { _$jscoverage['/loader/get-script.js'].branchData['76'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['70'][1].init(744, 20, 'callbacks.length > 1'); -function visit425_70_1(result) { +function visit429_70_1(result) { _$jscoverage['/loader/get-script.js'].branchData['70'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['66'][1].init(661, 25, 'jsCssCallbacks[url] || []'); -function visit424_66_1(result) { +function visit428_66_1(result) { _$jscoverage['/loader/get-script.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['58'][1].init(399, 23, 'S.isPlainObject(config)'); -function visit423_58_1(result) { +function visit427_58_1(result) { _$jscoverage['/loader/get-script.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['54'][1].init(298, 53, 'S.startsWith(Path.extname(url).toLowerCase(), \'.css\')'); -function visit422_54_1(result) { +function visit426_54_1(result) { _$jscoverage['/loader/get-script.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].lineData[6]++; @@ -450,12 +450,12 @@ function visit422_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[46]++; var config = success, css = 0, error, timeout, attrs, callbacks, timer; _$jscoverage['/loader/get-script.js'].lineData[54]++; - if (visit422_54_1(S.startsWith(Path.extname(url).toLowerCase(), '.css'))) { + if (visit426_54_1(S.startsWith(Path.extname(url).toLowerCase(), '.css'))) { _$jscoverage['/loader/get-script.js'].lineData[55]++; css = 1; } _$jscoverage['/loader/get-script.js'].lineData[58]++; - if (visit423_58_1(S.isPlainObject(config))) { + if (visit427_58_1(S.isPlainObject(config))) { _$jscoverage['/loader/get-script.js'].lineData[59]++; success = config.success; _$jscoverage['/loader/get-script.js'].lineData[60]++; @@ -468,11 +468,11 @@ function visit422_54_1(result) { attrs = config.attrs; } _$jscoverage['/loader/get-script.js'].lineData[66]++; - callbacks = jsCssCallbacks[url] = visit424_66_1(jsCssCallbacks[url] || []); + callbacks = jsCssCallbacks[url] = visit428_66_1(jsCssCallbacks[url] || []); _$jscoverage['/loader/get-script.js'].lineData[68]++; callbacks.push([success, error]); _$jscoverage['/loader/get-script.js'].lineData[70]++; - if (visit425_70_1(callbacks.length > 1)) { + if (visit429_70_1(callbacks.length > 1)) { _$jscoverage['/loader/get-script.js'].lineData[71]++; return callbacks.node; } @@ -480,7 +480,7 @@ function visit422_54_1(result) { var node = doc.createElement(css ? 'link' : 'script'), clearTimer = function() { _$jscoverage['/loader/get-script.js'].functionData[2]++; _$jscoverage['/loader/get-script.js'].lineData[76]++; - if (visit426_76_1(timer)) { + if (visit430_76_1(timer)) { _$jscoverage['/loader/get-script.js'].lineData[77]++; timer.cancel(); _$jscoverage['/loader/get-script.js'].lineData[78]++; @@ -488,7 +488,7 @@ function visit422_54_1(result) { } }; _$jscoverage['/loader/get-script.js'].lineData[82]++; - if (visit427_82_1(attrs)) { + if (visit431_82_1(attrs)) { _$jscoverage['/loader/get-script.js'].lineData[83]++; S.each(attrs, function(v, n) { _$jscoverage['/loader/get-script.js'].functionData[3]++; @@ -497,12 +497,12 @@ function visit422_54_1(result) { }); } _$jscoverage['/loader/get-script.js'].lineData[88]++; - if (visit428_88_1(charset)) { + if (visit432_88_1(charset)) { _$jscoverage['/loader/get-script.js'].lineData[89]++; node.charset = charset; } _$jscoverage['/loader/get-script.js'].lineData[92]++; - if (visit429_92_1(css)) { + if (visit433_92_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[93]++; node.href = url; _$jscoverage['/loader/get-script.js'].lineData[94]++; @@ -537,9 +537,9 @@ function visit422_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[114]++; var useNative = 'onload' in node; _$jscoverage['/loader/get-script.js'].lineData[120]++; - var forceCssPoll = visit430_120_1(S.Config.forceCssPoll || (visit431_120_2(UA.webkit && visit432_120_3(UA.webkit < 536)))); + var forceCssPoll = visit434_120_1(S.Config.forceCssPoll || (visit435_120_2(UA.webkit && visit436_120_3(UA.webkit < 536)))); _$jscoverage['/loader/get-script.js'].lineData[122]++; - if (visit433_122_1(css && visit434_122_2(forceCssPoll && useNative))) { + if (visit437_122_1(css && visit438_122_2(forceCssPoll && useNative))) { _$jscoverage['/loader/get-script.js'].lineData[123]++; useNative = false; } @@ -549,7 +549,7 @@ function visit422_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[127]++; var readyState = node.readyState; _$jscoverage['/loader/get-script.js'].lineData[128]++; - if (visit435_128_1(!readyState || visit436_129_1(visit437_129_2(readyState === 'loaded') || visit438_130_1(readyState === 'complete')))) { + if (visit439_128_1(!readyState || visit440_129_1(visit441_129_2(readyState === 'loaded') || visit442_130_1(readyState === 'complete')))) { _$jscoverage['/loader/get-script.js'].lineData[131]++; node.onreadystatechange = node.onload = null; _$jscoverage['/loader/get-script.js'].lineData[132]++; @@ -557,7 +557,7 @@ function visit422_54_1(result) { } } _$jscoverage['/loader/get-script.js'].lineData[137]++; - if (visit439_137_1(useNative)) { + if (visit443_137_1(useNative)) { _$jscoverage['/loader/get-script.js'].lineData[138]++; node.onload = onload; _$jscoverage['/loader/get-script.js'].lineData[139]++; @@ -570,7 +570,7 @@ function visit422_54_1(result) { }; } else { _$jscoverage['/loader/get-script.js'].lineData[145]++; - if (visit440_145_1(css)) { + if (visit444_145_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[146]++; Utils.pollCss(node, function() { _$jscoverage['/loader/get-script.js'].functionData[8]++; @@ -583,7 +583,7 @@ function visit422_54_1(result) { } } _$jscoverage['/loader/get-script.js'].lineData[153]++; - if (visit441_153_1(timeout)) { + if (visit445_153_1(timeout)) { _$jscoverage['/loader/get-script.js'].lineData[154]++; timer = S.later(function() { _$jscoverage['/loader/get-script.js'].functionData[9]++; @@ -592,12 +592,12 @@ function visit422_54_1(result) { }, timeout * MILLISECONDS_OF_SECOND); } _$jscoverage['/loader/get-script.js'].lineData[158]++; - if (visit442_158_1(!headNode)) { + if (visit446_158_1(!headNode)) { _$jscoverage['/loader/get-script.js'].lineData[159]++; headNode = Utils.docHead(); } _$jscoverage['/loader/get-script.js'].lineData[161]++; - if (visit443_161_1(css)) { + if (visit447_161_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[164]++; headNode.appendChild(node); } else { diff --git a/src/seed/coverage/src/loader/init.js b/src/seed/coverage/src/loader/init.js index 6bb6ddf5d7..f87277b1b1 100644 --- a/src/seed/coverage/src/loader/init.js +++ b/src/seed/coverage/src/loader/init.js @@ -322,70 +322,70 @@ if (! _$jscoverage['/loader/init.js'].branchData) { _$jscoverage['/loader/init.js'].branchData['122'][1] = new BranchData(); } _$jscoverage['/loader/init.js'].branchData['122'][1].init(3509, 31, 'doc && doc.getElementsByTagName'); -function visit458_122_1(result) { +function visit462_122_1(result) { _$jscoverage['/loader/init.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['113'][1].init(3222, 11, 'S.UA.nodejs'); -function visit457_113_1(result) { +function visit461_113_1(result) { _$jscoverage['/loader/init.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['96'][1].init(209, 6, 'i >= 0'); -function visit456_96_1(result) { +function visit460_96_1(result) { _$jscoverage['/loader/init.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['73'][1].init(1679, 21, 'baseInfo.base || base'); -function visit455_73_1(result) { +function visit459_73_1(result) { _$jscoverage['/loader/init.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['66'][1].init(70, 17, 'queryIndex !== -1'); -function visit454_66_1(result) { +function visit458_66_1(result) { _$jscoverage['/loader/init.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['64'][1].init(1304, 20, '!(\'tag\' in baseInfo)'); -function visit453_64_1(result) { +function visit457_64_1(result) { _$jscoverage['/loader/init.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['56'][1].init(21, 23, 'part.match(baseTestReg)'); -function visit452_56_1(result) { +function visit456_56_1(result) { _$jscoverage['/loader/init.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['51'][1].init(179, 36, 'base.charAt(base.length - 1) !== \'/\''); -function visit451_51_1(result) { +function visit455_51_1(result) { _$jscoverage['/loader/init.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['45'][1].init(611, 12, 'index === -1'); -function visit450_45_1(result) { +function visit454_45_1(result) { _$jscoverage['/loader/init.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['38'][1].init(455, 36, 'baseInfo.comboSep || defaultComboSep'); -function visit449_38_1(result) { +function visit453_38_1(result) { _$jscoverage['/loader/init.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['37'][1].init(388, 42, 'baseInfo.comboPrefix || defaultComboPrefix'); -function visit448_37_1(result) { +function visit452_37_1(result) { _$jscoverage['/loader/init.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['31'][1].init(250, 8, 'baseInfo'); -function visit447_31_1(result) { +function visit451_31_1(result) { _$jscoverage['/loader/init.js'].branchData['31'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['25'][1].init(118, 23, '!src.match(baseTestReg)'); -function visit446_25_1(result) { +function visit450_25_1(result) { _$jscoverage['/loader/init.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['24'][1].init(88, 16, 'script.src || \'\''); -function visit445_24_1(result) { +function visit449_24_1(result) { _$jscoverage['/loader/init.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['6'][1].init(15, 33, 'S.Env.host && S.Env.host.document'); -function visit444_6_1(result) { +function visit448_6_1(result) { _$jscoverage['/loader/init.js'].branchData['6'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].lineData[5]++; (function(S) { _$jscoverage['/loader/init.js'].functionData[0]++; _$jscoverage['/loader/init.js'].lineData[6]++; - var doc = visit444_6_1(S.Env.host && S.Env.host.document); + var doc = visit448_6_1(S.Env.host && S.Env.host.document); _$jscoverage['/loader/init.js'].lineData[8]++; var Utils = S.Loader.Utils; _$jscoverage['/loader/init.js'].lineData[9]++; @@ -406,16 +406,16 @@ function visit444_6_1(result) { function getBaseInfoFromOneScript(script) { _$jscoverage['/loader/init.js'].functionData[2]++; _$jscoverage['/loader/init.js'].lineData[24]++; - var src = visit445_24_1(script.src || ''); + var src = visit449_24_1(script.src || ''); _$jscoverage['/loader/init.js'].lineData[25]++; - if (visit446_25_1(!src.match(baseTestReg))) { + if (visit450_25_1(!src.match(baseTestReg))) { _$jscoverage['/loader/init.js'].lineData[26]++; return 0; } _$jscoverage['/loader/init.js'].lineData[29]++; var baseInfo = script.getAttribute('data-config'); _$jscoverage['/loader/init.js'].lineData[31]++; - if (visit447_31_1(baseInfo)) { + if (visit451_31_1(baseInfo)) { _$jscoverage['/loader/init.js'].lineData[32]++; baseInfo = returnJson(baseInfo); } else { @@ -423,20 +423,20 @@ function visit444_6_1(result) { baseInfo = {}; } _$jscoverage['/loader/init.js'].lineData[37]++; - var comboPrefix = visit448_37_1(baseInfo.comboPrefix || defaultComboPrefix); + var comboPrefix = visit452_37_1(baseInfo.comboPrefix || defaultComboPrefix); _$jscoverage['/loader/init.js'].lineData[38]++; - var comboSep = visit449_38_1(baseInfo.comboSep || defaultComboSep); + var comboSep = visit453_38_1(baseInfo.comboSep || defaultComboSep); _$jscoverage['/loader/init.js'].lineData[40]++; var parts, base, index = src.indexOf(comboPrefix); _$jscoverage['/loader/init.js'].lineData[45]++; - if (visit450_45_1(index === -1)) { + if (visit454_45_1(index === -1)) { _$jscoverage['/loader/init.js'].lineData[46]++; base = src.replace(baseReg, '$1'); } else { _$jscoverage['/loader/init.js'].lineData[48]++; base = src.substring(0, index); _$jscoverage['/loader/init.js'].lineData[51]++; - if (visit451_51_1(base.charAt(base.length - 1) !== '/')) { + if (visit455_51_1(base.charAt(base.length - 1) !== '/')) { _$jscoverage['/loader/init.js'].lineData[52]++; base += '/'; } @@ -446,7 +446,7 @@ function visit444_6_1(result) { S.each(parts, function(part) { _$jscoverage['/loader/init.js'].functionData[3]++; _$jscoverage['/loader/init.js'].lineData[56]++; - if (visit452_56_1(part.match(baseTestReg))) { + if (visit456_56_1(part.match(baseTestReg))) { _$jscoverage['/loader/init.js'].lineData[57]++; base += part.replace(baseReg, '$1'); _$jscoverage['/loader/init.js'].lineData[58]++; @@ -457,11 +457,11 @@ function visit444_6_1(result) { }); } _$jscoverage['/loader/init.js'].lineData[64]++; - if (visit453_64_1(!('tag' in baseInfo))) { + if (visit457_64_1(!('tag' in baseInfo))) { _$jscoverage['/loader/init.js'].lineData[65]++; var queryIndex = src.lastIndexOf('?t='); _$jscoverage['/loader/init.js'].lineData[66]++; - if (visit454_66_1(queryIndex !== -1)) { + if (visit458_66_1(queryIndex !== -1)) { _$jscoverage['/loader/init.js'].lineData[67]++; var query = src.substring(queryIndex + 1); _$jscoverage['/loader/init.js'].lineData[69]++; @@ -469,7 +469,7 @@ function visit444_6_1(result) { } } _$jscoverage['/loader/init.js'].lineData[73]++; - baseInfo.base = visit455_73_1(baseInfo.base || base); + baseInfo.base = visit459_73_1(baseInfo.base || base); _$jscoverage['/loader/init.js'].lineData[75]++; return baseInfo; } @@ -479,7 +479,7 @@ function visit444_6_1(result) { _$jscoverage['/loader/init.js'].lineData[92]++; var scripts = doc.getElementsByTagName('script'), i, info; _$jscoverage['/loader/init.js'].lineData[96]++; - for (i = scripts.length - 1; visit456_96_1(i >= 0); i--) { + for (i = scripts.length - 1; visit460_96_1(i >= 0); i--) { _$jscoverage['/loader/init.js'].lineData[97]++; if ((info = getBaseInfoFromOneScript(scripts[i]))) { _$jscoverage['/loader/init.js'].lineData[98]++; @@ -498,14 +498,14 @@ function visit444_6_1(result) { charset: 'utf-8', lang: 'zh-cn'}); _$jscoverage['/loader/init.js'].lineData[113]++; - if (visit457_113_1(S.UA.nodejs)) { + if (visit461_113_1(S.UA.nodejs)) { _$jscoverage['/loader/init.js'].lineData[116]++; S.config({ charset: 'utf-8', base: __dirname.replace(/\\/g, '/').replace(/\/$/, '') + '/'}); } else { _$jscoverage['/loader/init.js'].lineData[122]++; - if (visit458_122_1(doc && doc.getElementsByTagName)) { + if (visit462_122_1(doc && doc.getElementsByTagName)) { _$jscoverage['/loader/init.js'].lineData[124]++; S.config(S.mix({ comboMaxUrlLength: 2000, diff --git a/src/seed/coverage/src/loader/loader.js b/src/seed/coverage/src/loader/loader.js index e6c0b7e22a..2fa6252508 100644 --- a/src/seed/coverage/src/loader/loader.js +++ b/src/seed/coverage/src/loader/loader.js @@ -327,43 +327,43 @@ if (! _$jscoverage['/loader/loader.js'].branchData) { _$jscoverage['/loader/loader.js'].branchData['169'][1] = new BranchData(); } _$jscoverage['/loader/loader.js'].branchData['169'][1].init(17, 10, 'moduleName'); -function visit468_169_1(result) { +function visit472_169_1(result) { _$jscoverage['/loader/loader.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['151'][1].init(2462, 4, 'sync'); -function visit467_151_1(result) { +function visit471_151_1(result) { _$jscoverage['/loader/loader.js'].branchData['151'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['131'][1].init(29, 4, 'sync'); -function visit466_131_1(result) { +function visit470_131_1(result) { _$jscoverage['/loader/loader.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['130'][1].init(25, 5, 'error'); -function visit465_130_1(result) { +function visit469_130_1(result) { _$jscoverage['/loader/loader.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['129'][1].init(744, 16, 'errorList.length'); -function visit464_129_1(result) { +function visit468_129_1(result) { _$jscoverage['/loader/loader.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['122'][1].init(29, 4, 'sync'); -function visit463_122_1(result) { +function visit467_122_1(result) { _$jscoverage['/loader/loader.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['121'][1].init(97, 7, 'success'); -function visit462_121_1(result) { +function visit466_121_1(result) { _$jscoverage['/loader/loader.js'].branchData['121'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['119'][1].init(327, 3, 'ret'); -function visit461_119_1(result) { +function visit465_119_1(result) { _$jscoverage['/loader/loader.js'].branchData['119'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['94'][1].init(247, 24, 'S.isPlainObject(success)'); -function visit460_94_1(result) { +function visit464_94_1(result) { _$jscoverage['/loader/loader.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['28'][1].init(76, 36, 'fn && S.isEmptyObject(self.waitMods)'); -function visit459_28_1(result) { +function visit463_28_1(result) { _$jscoverage['/loader/loader.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].lineData[6]++; @@ -389,7 +389,7 @@ function visit459_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[26]++; var self = this, fn = self.fn; _$jscoverage['/loader/loader.js'].lineData[28]++; - if (visit459_28_1(fn && S.isEmptyObject(self.waitMods))) { + if (visit463_28_1(fn && S.isEmptyObject(self.waitMods))) { _$jscoverage['/loader/loader.js'].lineData[29]++; self.fn = null; _$jscoverage['/loader/loader.js'].lineData[30]++; @@ -425,7 +425,7 @@ function visit459_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[86]++; var normalizedModNames, loader, error, sync, tryCount = 0, finalSuccess, waitingModules = new WaitingModules(loadReady); _$jscoverage['/loader/loader.js'].lineData[94]++; - if (visit460_94_1(S.isPlainObject(success))) { + if (visit464_94_1(S.isPlainObject(success))) { _$jscoverage['/loader/loader.js'].lineData[96]++; sync = success.sync; _$jscoverage['/loader/loader.js'].lineData[98]++; @@ -457,13 +457,13 @@ function visit459_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[118]++; logger.debug(tryCount + ' check duration ' + (S.now() - start)); _$jscoverage['/loader/loader.js'].lineData[119]++; - if (visit461_119_1(ret)) { + if (visit465_119_1(ret)) { _$jscoverage['/loader/loader.js'].lineData[120]++; Utils.attachModsRecursively(normalizedModNames, S); _$jscoverage['/loader/loader.js'].lineData[121]++; - if (visit462_121_1(success)) { + if (visit466_121_1(success)) { _$jscoverage['/loader/loader.js'].lineData[122]++; - if (visit463_122_1(sync)) { + if (visit467_122_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[123]++; finalSuccess(); } else { @@ -473,11 +473,11 @@ function visit459_28_1(result) { } } else { _$jscoverage['/loader/loader.js'].lineData[129]++; - if (visit464_129_1(errorList.length)) { + if (visit468_129_1(errorList.length)) { _$jscoverage['/loader/loader.js'].lineData[130]++; - if (visit465_130_1(error)) { + if (visit469_130_1(error)) { _$jscoverage['/loader/loader.js'].lineData[131]++; - if (visit466_131_1(sync)) { + if (visit470_131_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[132]++; error.apply(S, errorList); } else { @@ -502,7 +502,7 @@ function visit459_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[146]++; loader = new ComboLoader(S, waitingModules); _$jscoverage['/loader/loader.js'].lineData[151]++; - if (visit467_151_1(sync)) { + if (visit471_151_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[152]++; waitingModules.notifyAll(); } else { @@ -519,7 +519,7 @@ function visit459_28_1(result) { require: function(moduleName, refName) { _$jscoverage['/loader/loader.js'].functionData[12]++; _$jscoverage['/loader/loader.js'].lineData[169]++; - if (visit468_169_1(moduleName)) { + if (visit472_169_1(moduleName)) { _$jscoverage['/loader/loader.js'].lineData[170]++; var moduleNames = Utils.unalias(S, Utils.normalizeModNamesWithAlias(S, [moduleName], refName)); _$jscoverage['/loader/loader.js'].lineData[171]++; diff --git a/src/seed/coverage/src/loader/utils.js b/src/seed/coverage/src/loader/utils.js index f794605fdb..6abf049ec7 100644 --- a/src/seed/coverage/src/loader/utils.js +++ b/src/seed/coverage/src/loader/utils.js @@ -524,203 +524,203 @@ if (! _$jscoverage['/loader/utils.js'].branchData) { _$jscoverage['/loader/utils.js'].branchData['472'][1] = new BranchData(); } _$jscoverage['/loader/utils.js'].branchData['472'][1].init(56, 46, '!(m = str.match(/^\\s*["\']([^\'"\\s]+)["\']\\s*$/))'); -function visit518_472_1(result) { +function visit522_472_1(result) { _$jscoverage['/loader/utils.js'].branchData['472'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['445'][1].init(85, 8, '--i > -1'); -function visit517_445_1(result) { +function visit521_445_1(result) { _$jscoverage['/loader/utils.js'].branchData['445'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][2].init(170, 28, 'module.factory !== undefined'); -function visit516_416_2(result) { +function visit520_416_2(result) { _$jscoverage['/loader/utils.js'].branchData['416'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][1].init(160, 38, 'module && module.factory !== undefined'); -function visit515_416_1(result) { +function visit519_416_1(result) { _$jscoverage['/loader/utils.js'].branchData['416'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['397'][1].init(536, 10, 'refModName'); -function visit514_397_1(result) { +function visit518_397_1(result) { _$jscoverage['/loader/utils.js'].branchData['397'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['391'][1].init(143, 11, 'modNames[i]'); -function visit513_391_1(result) { +function visit517_391_1(result) { _$jscoverage['/loader/utils.js'].branchData['391'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['388'][1].init(84, 5, 'i < l'); -function visit512_388_1(result) { +function visit516_388_1(result) { _$jscoverage['/loader/utils.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['386'][1].init(51, 8, 'modNames'); -function visit511_386_1(result) { +function visit515_386_1(result) { _$jscoverage['/loader/utils.js'].branchData['386'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['366'][1].init(34, 9, '!alias[j]'); -function visit510_366_1(result) { +function visit514_366_1(result) { _$jscoverage['/loader/utils.js'].branchData['366'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['365'][1].init(259, 6, 'j >= 0'); -function visit509_365_1(result) { +function visit513_365_1(result) { _$jscoverage['/loader/utils.js'].branchData['365'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['362'][1].init(105, 25, 'typeof alias === \'string\''); -function visit508_362_1(result) { +function visit512_362_1(result) { _$jscoverage['/loader/utils.js'].branchData['362'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['359'][1].init(27, 35, '(m = mods[ret[i]]) && (\'alias\' in m)'); -function visit507_359_1(result) { +function visit511_359_1(result) { _$jscoverage['/loader/utils.js'].branchData['359'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['358'][1].init(68, 6, 'i >= 0'); -function visit506_358_1(result) { +function visit510_358_1(result) { _$jscoverage['/loader/utils.js'].branchData['358'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['320'][1].init(18, 28, 'typeof modNames === \'string\''); -function visit505_320_1(result) { +function visit509_320_1(result) { _$jscoverage['/loader/utils.js'].branchData['320'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['302'][1].init(698, 21, 'exports !== undefined'); -function visit504_302_1(result) { +function visit508_302_1(result) { _$jscoverage['/loader/utils.js'].branchData['302'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['293'][1].init(153, 41, 'module.requires && module.requires.length'); -function visit503_293_1(result) { +function visit507_293_1(result) { _$jscoverage['/loader/utils.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['289'][1].init(89, 29, 'typeof factory === \'function\''); -function visit502_289_1(result) { +function visit506_289_1(result) { _$jscoverage['/loader/utils.js'].branchData['289'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['271'][1].init(316, 5, 'm.cjs'); -function visit501_271_1(result) { +function visit505_271_1(result) { _$jscoverage['/loader/utils.js'].branchData['271'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['267'][1].init(201, 19, 'status >= ATTACHING'); -function visit500_267_1(result) { +function visit504_267_1(result) { _$jscoverage['/loader/utils.js'].branchData['267'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['245'][1].init(1088, 108, 'Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache)'); -function visit499_245_1(result) { +function visit503_245_1(result) { _$jscoverage['/loader/utils.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['237'][1].init(22, 25, 'S.inArray(modName, stack)'); -function visit498_237_1(result) { +function visit502_237_1(result) { _$jscoverage['/loader/utils.js'].branchData['237'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['236'][1].init(771, 9, '\'@DEBUG@\''); -function visit497_236_1(result) { +function visit501_236_1(result) { _$jscoverage['/loader/utils.js'].branchData['236'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['232'][1].init(646, 17, 'status !== LOADED'); -function visit496_232_1(result) { +function visit500_232_1(result) { _$jscoverage['/loader/utils.js'].branchData['232'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['228'][1].init(515, 25, 'status >= READY_TO_ATTACH'); -function visit495_228_1(result) { +function visit499_228_1(result) { _$jscoverage['/loader/utils.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['223'][1].init(355, 16, 'status === ERROR'); -function visit494_223_1(result) { +function visit498_223_1(result) { _$jscoverage['/loader/utils.js'].branchData['223'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['218'][1].init(213, 2, '!m'); -function visit493_218_1(result) { +function visit497_218_1(result) { _$jscoverage['/loader/utils.js'].branchData['218'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['215'][1].init(121, 16, 'modName in cache'); -function visit492_215_1(result) { +function visit496_215_1(result) { _$jscoverage['/loader/utils.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['205'][1].init(22, 81, 's && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)'); -function visit491_205_1(result) { +function visit495_205_1(result) { _$jscoverage['/loader/utils.js'].branchData['205'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['204'][1].init(340, 5, 'i < l'); -function visit490_204_1(result) { +function visit494_204_1(result) { _$jscoverage['/loader/utils.js'].branchData['204'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['199'][1].init(176, 11, 'cache || {}'); -function visit489_199_1(result) { +function visit493_199_1(result) { _$jscoverage['/loader/utils.js'].branchData['199'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['197'][1].init(77, 11, 'stack || []'); -function visit488_197_1(result) { +function visit492_197_1(result) { _$jscoverage['/loader/utils.js'].branchData['197'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['190'][1].init(84, 5, 'i < l'); -function visit487_190_1(result) { +function visit491_190_1(result) { _$jscoverage['/loader/utils.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['169'][1].init(367, 5, 'allOk'); -function visit486_169_1(result) { +function visit490_169_1(result) { _$jscoverage['/loader/utils.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][3].init(159, 21, 'm.status >= ATTACHING'); -function visit485_167_3(result) { +function visit489_167_3(result) { _$jscoverage['/loader/utils.js'].branchData['167'][3].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][2].init(154, 26, 'm && m.status >= ATTACHING'); -function visit484_167_2(result) { +function visit488_167_2(result) { _$jscoverage['/loader/utils.js'].branchData['167'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][1].init(149, 31, 'a && m && m.status >= ATTACHING'); -function visit483_167_1(result) { +function visit487_167_1(result) { _$jscoverage['/loader/utils.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['162'][2].init(81, 26, 'module.getType() !== \'css\''); -function visit482_162_2(result) { +function visit486_162_2(result) { _$jscoverage['/loader/utils.js'].branchData['162'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['162'][1].init(70, 37, '!module || module.getType() !== \'css\''); -function visit481_162_1(result) { +function visit485_162_1(result) { _$jscoverage['/loader/utils.js'].branchData['162'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['134'][1].init(169, 6, 'module'); -function visit480_134_1(result) { +function visit484_134_1(result) { _$jscoverage['/loader/utils.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['104'][1].init(477, 5, 'i < l'); -function visit479_104_1(result) { +function visit483_104_1(result) { _$jscoverage['/loader/utils.js'].branchData['104'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['96'][1].init(22, 55, 'startsWith(depName, \'../\') || startsWith(depName, \'./\')'); -function visit478_96_1(result) { +function visit482_96_1(result) { _$jscoverage['/loader/utils.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['95'][1].init(126, 27, 'typeof depName === \'string\''); -function visit477_95_1(result) { +function visit481_95_1(result) { _$jscoverage['/loader/utils.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['91'][1].init(47, 8, '!depName'); -function visit476_91_1(result) { +function visit480_91_1(result) { _$jscoverage['/loader/utils.js'].branchData['91'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['79'][1].init(21, 58, 'doc.getElementsByTagName(\'head\')[0] || doc.documentElement'); -function visit475_79_1(result) { +function visit479_79_1(result) { _$jscoverage['/loader/utils.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['63'][1].init(26, 12, 'Plugin.alias'); -function visit474_63_1(result) { +function visit478_63_1(result) { _$jscoverage['/loader/utils.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['57'][1].init(54, 12, 'index !== -1'); -function visit473_57_1(result) { +function visit477_57_1(result) { _$jscoverage['/loader/utils.js'].branchData['57'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['49'][1].init(134, 23, 'S.endsWith(name, \'.js\')'); -function visit472_49_1(result) { +function visit476_49_1(result) { _$jscoverage['/loader/utils.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['46'][1].init(40, 36, 'name.charAt(name.length - 1) === \'/\''); -function visit471_46_1(result) { +function visit475_46_1(result) { _$jscoverage['/loader/utils.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['37'][1].init(103, 5, 'i < l'); -function visit470_37_1(result) { +function visit474_37_1(result) { _$jscoverage['/loader/utils.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['31'][1].init(14, 21, 'typeof s === \'string\''); -function visit469_31_1(result) { +function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].branchData['31'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].lineData[6]++; @@ -732,14 +732,14 @@ function visit469_31_1(result) { function addIndexAndRemoveJsExt(s) { _$jscoverage['/loader/utils.js'].functionData[1]++; _$jscoverage['/loader/utils.js'].lineData[31]++; - if (visit469_31_1(typeof s === 'string')) { + if (visit473_31_1(typeof s === 'string')) { _$jscoverage['/loader/utils.js'].lineData[32]++; return addIndexAndRemoveJsExtFromName(s); } else { _$jscoverage['/loader/utils.js'].lineData[34]++; var ret = [], i = 0, l = s.length; _$jscoverage['/loader/utils.js'].lineData[37]++; - for (; visit470_37_1(i < l); i++) { + for (; visit474_37_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[38]++; ret[i] = addIndexAndRemoveJsExtFromName(s[i]); } @@ -751,12 +751,12 @@ function visit469_31_1(result) { function addIndexAndRemoveJsExtFromName(name) { _$jscoverage['/loader/utils.js'].functionData[2]++; _$jscoverage['/loader/utils.js'].lineData[46]++; - if (visit471_46_1(name.charAt(name.length - 1) === '/')) { + if (visit475_46_1(name.charAt(name.length - 1) === '/')) { _$jscoverage['/loader/utils.js'].lineData[47]++; name += 'index'; } _$jscoverage['/loader/utils.js'].lineData[49]++; - if (visit472_49_1(S.endsWith(name, '.js'))) { + if (visit476_49_1(S.endsWith(name, '.js'))) { _$jscoverage['/loader/utils.js'].lineData[50]++; name = name.slice(0, -3); } @@ -769,7 +769,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[56]++; var index = name.indexOf('!'); _$jscoverage['/loader/utils.js'].lineData[57]++; - if (visit473_57_1(index !== -1)) { + if (visit477_57_1(index !== -1)) { _$jscoverage['/loader/utils.js'].lineData[58]++; var pluginName = name.substring(0, index); _$jscoverage['/loader/utils.js'].lineData[59]++; @@ -780,7 +780,7 @@ function visit469_31_1(result) { success: function(S, Plugin) { _$jscoverage['/loader/utils.js'].functionData[4]++; _$jscoverage['/loader/utils.js'].lineData[63]++; - if (visit474_63_1(Plugin.alias)) { + if (visit478_63_1(Plugin.alias)) { _$jscoverage['/loader/utils.js'].lineData[65]++; name = Plugin.alias(runtime, name, pluginName); } @@ -794,21 +794,21 @@ function visit469_31_1(result) { docHead: function() { _$jscoverage['/loader/utils.js'].functionData[5]++; _$jscoverage['/loader/utils.js'].lineData[79]++; - return visit475_79_1(doc.getElementsByTagName('head')[0] || doc.documentElement); + return visit479_79_1(doc.getElementsByTagName('head')[0] || doc.documentElement); }, normalDepModuleName: function(moduleName, depName) { _$jscoverage['/loader/utils.js'].functionData[6]++; _$jscoverage['/loader/utils.js'].lineData[89]++; var i = 0, l; _$jscoverage['/loader/utils.js'].lineData[91]++; - if (visit476_91_1(!depName)) { + if (visit480_91_1(!depName)) { _$jscoverage['/loader/utils.js'].lineData[92]++; return depName; } _$jscoverage['/loader/utils.js'].lineData[95]++; - if (visit477_95_1(typeof depName === 'string')) { + if (visit481_95_1(typeof depName === 'string')) { _$jscoverage['/loader/utils.js'].lineData[96]++; - if (visit478_96_1(startsWith(depName, '../') || startsWith(depName, './'))) { + if (visit482_96_1(startsWith(depName, '../') || startsWith(depName, './'))) { _$jscoverage['/loader/utils.js'].lineData[98]++; return Path.resolve(Path.dirname(moduleName), depName); } @@ -816,7 +816,7 @@ function visit469_31_1(result) { return Path.normalize(depName); } _$jscoverage['/loader/utils.js'].lineData[104]++; - for (l = depName.length; visit479_104_1(i < l); i++) { + for (l = depName.length; visit483_104_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[105]++; depName[i] = Utils.normalDepModuleName(moduleName, depName[i]); } @@ -839,7 +839,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[131]++; var mods = runtime.Env.mods, module = mods[modName]; _$jscoverage['/loader/utils.js'].lineData[134]++; - if (visit480_134_1(module)) { + if (visit484_134_1(module)) { _$jscoverage['/loader/utils.js'].lineData[135]++; return module; } @@ -860,7 +860,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[161]++; module = runtimeMods[modName]; _$jscoverage['/loader/utils.js'].lineData[162]++; - if (visit481_162_1(!module || visit482_162_2(module.getType() !== 'css'))) { + if (visit485_162_1(!module || visit486_162_2(module.getType() !== 'css'))) { _$jscoverage['/loader/utils.js'].lineData[163]++; unalias = Utils.unalias(runtime, modName); _$jscoverage['/loader/utils.js'].lineData[164]++; @@ -869,10 +869,10 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[165]++; m = runtimeMods[n]; _$jscoverage['/loader/utils.js'].lineData[167]++; - return visit483_167_1(a && visit484_167_2(m && visit485_167_3(m.status >= ATTACHING))); + return visit487_167_1(a && visit488_167_2(m && visit489_167_3(m.status >= ATTACHING))); }, true); _$jscoverage['/loader/utils.js'].lineData[169]++; - if (visit486_169_1(allOk)) { + if (visit490_169_1(allOk)) { _$jscoverage['/loader/utils.js'].lineData[170]++; mods.push(runtimeMods[unalias[0]].exports); } else { @@ -892,7 +892,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[188]++; var i, l = modNames.length; _$jscoverage['/loader/utils.js'].lineData[190]++; - for (i = 0; visit487_190_1(i < l); i++) { + for (i = 0; visit491_190_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[191]++; Utils.attachModRecursively(modNames[i], runtime); } @@ -900,15 +900,15 @@ function visit469_31_1(result) { checkModsLoadRecursively: function(modNames, runtime, stack, errorList, cache) { _$jscoverage['/loader/utils.js'].functionData[14]++; _$jscoverage['/loader/utils.js'].lineData[197]++; - stack = visit488_197_1(stack || []); + stack = visit492_197_1(stack || []); _$jscoverage['/loader/utils.js'].lineData[199]++; - cache = visit489_199_1(cache || {}); + cache = visit493_199_1(cache || {}); _$jscoverage['/loader/utils.js'].lineData[200]++; var i, s = 1, l = modNames.length, stackDepth = stack.length; _$jscoverage['/loader/utils.js'].lineData[204]++; - for (i = 0; visit490_204_1(i < l); i++) { + for (i = 0; visit494_204_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[205]++; - s = visit491_205_1(s && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)); + s = visit495_205_1(s && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)); _$jscoverage['/loader/utils.js'].lineData[206]++; stack.length = stackDepth; } @@ -920,12 +920,12 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[212]++; var mods = runtime.Env.mods, status, m = mods[modName]; _$jscoverage['/loader/utils.js'].lineData[215]++; - if (visit492_215_1(modName in cache)) { + if (visit496_215_1(modName in cache)) { _$jscoverage['/loader/utils.js'].lineData[216]++; return cache[modName]; } _$jscoverage['/loader/utils.js'].lineData[218]++; - if (visit493_218_1(!m)) { + if (visit497_218_1(!m)) { _$jscoverage['/loader/utils.js'].lineData[219]++; cache[modName] = FALSE; _$jscoverage['/loader/utils.js'].lineData[220]++; @@ -934,7 +934,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[222]++; status = m.status; _$jscoverage['/loader/utils.js'].lineData[223]++; - if (visit494_223_1(status === ERROR)) { + if (visit498_223_1(status === ERROR)) { _$jscoverage['/loader/utils.js'].lineData[224]++; errorList.push(m); _$jscoverage['/loader/utils.js'].lineData[225]++; @@ -943,23 +943,23 @@ function visit469_31_1(result) { return FALSE; } _$jscoverage['/loader/utils.js'].lineData[228]++; - if (visit495_228_1(status >= READY_TO_ATTACH)) { + if (visit499_228_1(status >= READY_TO_ATTACH)) { _$jscoverage['/loader/utils.js'].lineData[229]++; cache[modName] = TRUE; _$jscoverage['/loader/utils.js'].lineData[230]++; return TRUE; } _$jscoverage['/loader/utils.js'].lineData[232]++; - if (visit496_232_1(status !== LOADED)) { + if (visit500_232_1(status !== LOADED)) { _$jscoverage['/loader/utils.js'].lineData[233]++; cache[modName] = FALSE; _$jscoverage['/loader/utils.js'].lineData[234]++; return FALSE; } _$jscoverage['/loader/utils.js'].lineData[236]++; - if (visit497_236_1('@DEBUG@')) { + if (visit501_236_1('@DEBUG@')) { _$jscoverage['/loader/utils.js'].lineData[237]++; - if (visit498_237_1(S.inArray(modName, stack))) { + if (visit502_237_1(S.inArray(modName, stack))) { _$jscoverage['/loader/utils.js'].lineData[238]++; S.log('find cyclic dependency between mods: ' + stack, 'warn'); _$jscoverage['/loader/utils.js'].lineData[239]++; @@ -971,7 +971,7 @@ function visit469_31_1(result) { stack.push(modName); } _$jscoverage['/loader/utils.js'].lineData[245]++; - if (visit499_245_1(Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache))) { + if (visit503_245_1(Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache))) { _$jscoverage['/loader/utils.js'].lineData[247]++; m.status = READY_TO_ATTACH; _$jscoverage['/loader/utils.js'].lineData[248]++; @@ -991,14 +991,14 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[265]++; status = m.status; _$jscoverage['/loader/utils.js'].lineData[267]++; - if (visit500_267_1(status >= ATTACHING)) { + if (visit504_267_1(status >= ATTACHING)) { _$jscoverage['/loader/utils.js'].lineData[268]++; return; } _$jscoverage['/loader/utils.js'].lineData[270]++; m.status = ATTACHING; _$jscoverage['/loader/utils.js'].lineData[271]++; - if (visit501_271_1(m.cjs)) { + if (visit505_271_1(m.cjs)) { _$jscoverage['/loader/utils.js'].lineData[273]++; Utils.attachMod(runtime, m); } else { @@ -1013,18 +1013,18 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[286]++; var factory = module.factory, exports; _$jscoverage['/loader/utils.js'].lineData[289]++; - if (visit502_289_1(typeof factory === 'function')) { + if (visit506_289_1(typeof factory === 'function')) { _$jscoverage['/loader/utils.js'].lineData[292]++; var require; _$jscoverage['/loader/utils.js'].lineData[293]++; - if (visit503_293_1(module.requires && module.requires.length)) { + if (visit507_293_1(module.requires && module.requires.length)) { _$jscoverage['/loader/utils.js'].lineData[294]++; require = S.bind(module.require, module); } _$jscoverage['/loader/utils.js'].lineData[299]++; exports = factory.apply(module, (module.cjs ? [runtime, require, module.exports, module] : Utils.getModules(runtime, module.getRequiresWithAlias()))); _$jscoverage['/loader/utils.js'].lineData[302]++; - if (visit504_302_1(exports !== undefined)) { + if (visit508_302_1(exports !== undefined)) { _$jscoverage['/loader/utils.js'].lineData[304]++; module.exports = exports; } @@ -1038,7 +1038,7 @@ function visit469_31_1(result) { getModNamesAsArray: function(modNames) { _$jscoverage['/loader/utils.js'].functionData[18]++; _$jscoverage['/loader/utils.js'].lineData[320]++; - if (visit505_320_1(typeof modNames === 'string')) { + if (visit509_320_1(typeof modNames === 'string')) { _$jscoverage['/loader/utils.js'].lineData[321]++; modNames = modNames.replace(/\s+/g, '').split(','); } @@ -1059,22 +1059,22 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[357]++; ok = 1; _$jscoverage['/loader/utils.js'].lineData[358]++; - for (i = ret.length - 1; visit506_358_1(i >= 0); i--) { + for (i = ret.length - 1; visit510_358_1(i >= 0); i--) { _$jscoverage['/loader/utils.js'].lineData[359]++; - if (visit507_359_1((m = mods[ret[i]]) && ('alias' in m))) { + if (visit511_359_1((m = mods[ret[i]]) && ('alias' in m))) { _$jscoverage['/loader/utils.js'].lineData[360]++; ok = 0; _$jscoverage['/loader/utils.js'].lineData[361]++; alias = m.alias; _$jscoverage['/loader/utils.js'].lineData[362]++; - if (visit508_362_1(typeof alias === 'string')) { + if (visit512_362_1(typeof alias === 'string')) { _$jscoverage['/loader/utils.js'].lineData[363]++; alias = [alias]; } _$jscoverage['/loader/utils.js'].lineData[365]++; - for (j = alias.length - 1; visit509_365_1(j >= 0); j--) { + for (j = alias.length - 1; visit513_365_1(j >= 0); j--) { _$jscoverage['/loader/utils.js'].lineData[366]++; - if (visit510_366_1(!alias[j])) { + if (visit514_366_1(!alias[j])) { _$jscoverage['/loader/utils.js'].lineData[367]++; alias.splice(j, 1); } @@ -1092,18 +1092,18 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[385]++; var ret = [], i, l; _$jscoverage['/loader/utils.js'].lineData[386]++; - if (visit511_386_1(modNames)) { + if (visit515_386_1(modNames)) { _$jscoverage['/loader/utils.js'].lineData[388]++; - for (i = 0 , l = modNames.length; visit512_388_1(i < l); i++) { + for (i = 0 , l = modNames.length; visit516_388_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[391]++; - if (visit513_391_1(modNames[i])) { + if (visit517_391_1(modNames[i])) { _$jscoverage['/loader/utils.js'].lineData[392]++; ret.push(pluginAlias(runtime, addIndexAndRemoveJsExt(modNames[i]))); } } } _$jscoverage['/loader/utils.js'].lineData[397]++; - if (visit514_397_1(refModName)) { + if (visit518_397_1(refModName)) { _$jscoverage['/loader/utils.js'].lineData[398]++; ret = Utils.normalDepModuleName(refModName, ret); } @@ -1117,7 +1117,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[413]++; var mods = runtime.Env.mods, module = mods[name]; _$jscoverage['/loader/utils.js'].lineData[416]++; - if (visit515_416_1(module && visit516_416_2(module.factory !== undefined))) { + if (visit519_416_1(module && visit520_416_2(module.factory !== undefined))) { _$jscoverage['/loader/utils.js'].lineData[417]++; S.log(name + ' is defined more than once', 'warn'); _$jscoverage['/loader/utils.js'].lineData[418]++; @@ -1140,7 +1140,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[443]++; var hash = 5381, i; _$jscoverage['/loader/utils.js'].lineData[445]++; - for (i = str.length; visit517_445_1(--i > -1); ) { + for (i = str.length; visit521_445_1(--i > -1); ) { _$jscoverage['/loader/utils.js'].lineData[446]++; hash = ((hash << 5) + hash) + str.charCodeAt(i); } @@ -1168,7 +1168,7 @@ function visit469_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[470]++; var m; _$jscoverage['/loader/utils.js'].lineData[472]++; - if (visit518_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { + if (visit522_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { _$jscoverage['/loader/utils.js'].lineData[473]++; S.error('can not find required mod in require call: ' + str); } diff --git a/src/seed/coverage/src/meta/base.js b/src/seed/coverage/src/meta/base.js index f85e11846e..43ef49916a 100644 --- a/src/seed/coverage/src/meta/base.js +++ b/src/seed/coverage/src/meta/base.js @@ -246,7 +246,7 @@ if (! _$jscoverage['/meta/base.js'].branchData) { _$jscoverage['/meta/base.js'].branchData['21'][1] = new BranchData(); } _$jscoverage['/meta/base.js'].branchData['21'][1].init(345, 31, 'typeof location !== \'undefined\''); -function visit519_21_1(result) { +function visit523_21_1(result) { _$jscoverage['/meta/base.js'].branchData['21'][1].ranCondition(result); return result; }_$jscoverage['/meta/base.js'].lineData[6]++; @@ -262,7 +262,7 @@ function visit519_21_1(result) { 'rich-base': { alias: 'base'}}}); _$jscoverage['/meta/base.js'].lineData[21]++; - if (visit519_21_1(typeof location !== 'undefined')) { + if (visit523_21_1(typeof location !== 'undefined')) { _$jscoverage['/meta/base.js'].lineData[22]++; var https = S.startsWith(location.href, 'https'); _$jscoverage['/meta/base.js'].lineData[23]++; diff --git a/src/seed/coverage/src/meta/modules.js b/src/seed/coverage/src/meta/modules.js index 1290805c37..4818ede4c4 100644 --- a/src/seed/coverage/src/meta/modules.js +++ b/src/seed/coverage/src/meta/modules.js @@ -294,8 +294,7 @@ if (! _$jscoverage['/meta/modules.js']) { _$jscoverage['/meta/modules.js'].lineData[270] = 0; _$jscoverage['/meta/modules.js'].lineData[274] = 0; _$jscoverage['/meta/modules.js'].lineData[278] = 0; - _$jscoverage['/meta/modules.js'].lineData[282] = 0; - _$jscoverage['/meta/modules.js'].lineData[287] = 0; + _$jscoverage['/meta/modules.js'].lineData[283] = 0; } if (! _$jscoverage['/meta/modules.js'].functionData) { _$jscoverage['/meta/modules.js'].functionData = []; @@ -387,11 +386,11 @@ _$jscoverage['/meta/modules.js'].lineData[3]++; _$jscoverage['/meta/modules.js'].lineData[81]++; config({ 'date/picker': { - requires: ['node', 'date/gregorian', 'i18n!date/picker', 'component/control', 'date/format']}}); + requires: ['node', 'date/gregorian', 'i18n!date/picker', 'component/control', 'date/format', 'date/picker-xtpl']}}); _$jscoverage['/meta/modules.js'].lineData[85]++; config({ 'date/popup-picker': { - requires: ['date/picker/picker-xtpl', 'date/picker', 'component/extension/shim', 'component/extension/align']}}); + requires: ['date/picker-xtpl', 'date/picker', 'component/extension/shim', 'component/extension/align']}}); _$jscoverage['/meta/modules.js'].lineData[89]++; config({ 'dd': { @@ -564,14 +563,10 @@ _$jscoverage['/meta/modules.js'].lineData[3]++; requires: ['xtemplate/runtime']}}); _$jscoverage['/meta/modules.js'].lineData[278]++; config({ - 'xtemplate/nodejs': { - requires: ['xtemplate']}}); - _$jscoverage['/meta/modules.js'].lineData[282]++; - config({ 'xtemplate/runtime': { requires: ['path']}}); })(function(c) { _$jscoverage['/meta/modules.js'].functionData[1]++; - _$jscoverage['/meta/modules.js'].lineData[287]++; + _$jscoverage['/meta/modules.js'].lineData[283]++; KISSY.config('modules', c); }, KISSY.Features, KISSY.UA); diff --git a/src/seed/coverage/src/path.js b/src/seed/coverage/src/path.js index ace7cd6553..c568dfe83c 100644 --- a/src/seed/coverage/src/path.js +++ b/src/seed/coverage/src/path.js @@ -375,131 +375,131 @@ if (! _$jscoverage['/path.js'].branchData) { _$jscoverage['/path.js'].branchData['212'][2] = new BranchData(); } _$jscoverage['/path.js'].branchData['212'][2].init(21, 29, 'path.match(splitPathRe) || []'); -function visit551_212_2(result) { +function visit555_212_2(result) { _$jscoverage['/path.js'].branchData['212'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['212'][1].init(21, 39, '(path.match(splitPathRe) || [])[4] || \'\''); -function visit550_212_1(result) { +function visit554_212_1(result) { _$jscoverage['/path.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['198'][1].init(259, 3, 'dir'); -function visit549_198_1(result) { +function visit553_198_1(result) { _$jscoverage['/path.js'].branchData['198'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['193'][1].init(153, 13, '!root && !dir'); -function visit548_193_1(result) { +function visit552_193_1(result) { _$jscoverage['/path.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['191'][1].init(105, 15, 'result[2] || \'\''); -function visit547_191_1(result) { +function visit551_191_1(result) { _$jscoverage['/path.js'].branchData['191'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['190'][1].init(66, 15, 'result[1] || \'\''); -function visit546_190_1(result) { +function visit550_190_1(result) { _$jscoverage['/path.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['189'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit545_189_1(result) { +function visit549_189_1(result) { _$jscoverage['/path.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][3].init(158, 39, 'basename.slice(-1 * ext.length) === ext'); -function visit544_177_3(result) { +function visit548_177_3(result) { _$jscoverage['/path.js'].branchData['177'][3].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][2].init(146, 51, 'basename && basename.slice(-1 * ext.length) === ext'); -function visit543_177_2(result) { +function visit547_177_2(result) { _$jscoverage['/path.js'].branchData['177'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][1].init(139, 58, 'ext && basename && basename.slice(-1 * ext.length) === ext'); -function visit542_177_1(result) { +function visit546_177_1(result) { _$jscoverage['/path.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['176'][1].init(106, 15, 'result[3] || \'\''); -function visit541_176_1(result) { +function visit545_176_1(result) { _$jscoverage['/path.js'].branchData['176'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['174'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit540_174_1(result) { +function visit544_174_1(result) { _$jscoverage['/path.js'].branchData['174'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['155'][1].init(716, 28, 'sameIndex < fromParts.length'); -function visit539_155_1(result) { +function visit543_155_1(result) { _$jscoverage['/path.js'].branchData['155'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['148'][1].init(21, 43, 'fromParts[sameIndex] !== toParts[sameIndex]'); -function visit538_148_1(result) { +function visit542_148_1(result) { _$jscoverage['/path.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['147'][1].init(492, 24, 'sameIndex < commonLength'); -function visit537_147_1(result) { +function visit541_147_1(result) { _$jscoverage['/path.js'].branchData['147'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][2].init(30, 21, 'typeof p === \'string\''); -function visit536_118_2(result) { +function visit540_118_2(result) { _$jscoverage['/path.js'].branchData['118'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][1].init(24, 28, 'p && (typeof p === \'string\')'); -function visit535_118_1(result) { +function visit539_118_1(result) { _$jscoverage['/path.js'].branchData['118'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['103'][1].init(348, 21, 'path && trailingSlash'); -function visit534_103_1(result) { +function visit538_103_1(result) { _$jscoverage['/path.js'].branchData['103'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['99'][1].init(267, 18, '!path && !absolute'); -function visit533_99_1(result) { +function visit537_99_1(result) { _$jscoverage['/path.js'].branchData['99'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['93'][1].init(70, 22, 'path.slice(-1) === \'/\''); -function visit532_93_1(result) { +function visit536_93_1(result) { _$jscoverage['/path.js'].branchData['93'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['92'][1].init(28, 22, 'path.charAt(0) === \'/\''); -function visit531_92_1(result) { +function visit535_92_1(result) { _$jscoverage['/path.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['78'][1].init(686, 46, '((absolute ? \'/\' : \'\') + resolvedPathStr) || \'.\''); -function visit530_78_1(result) { +function visit534_78_1(result) { _$jscoverage['/path.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['71'][1].init(223, 22, 'path.charAt(0) === \'/\''); -function visit529_71_1(result) { +function visit533_71_1(result) { _$jscoverage['/path.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][2].init(53, 24, 'typeof path !== \'string\''); -function visit528_67_2(result) { +function visit532_67_2(result) { _$jscoverage['/path.js'].branchData['67'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][1].init(53, 33, 'typeof path !== \'string\' || !path'); -function visit527_67_1(result) { +function visit531_67_1(result) { _$jscoverage['/path.js'].branchData['67'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][2].init(215, 6, 'i >= 0'); -function visit526_65_2(result) { +function visit530_65_2(result) { _$jscoverage['/path.js'].branchData['65'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][1].init(215, 19, 'i >= 0 && !absolute'); -function visit525_65_1(result) { +function visit529_65_1(result) { _$jscoverage['/path.js'].branchData['65'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['36'][1].init(591, 14, 'allowAboveRoot'); -function visit524_36_1(result) { +function visit528_36_1(result) { _$jscoverage['/path.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['27'][1].init(92, 2, 'up'); -function visit523_27_1(result) { +function visit527_27_1(result) { _$jscoverage['/path.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['25'][1].init(21, 13, 'last === \'..\''); -function visit522_25_1(result) { +function visit526_25_1(result) { _$jscoverage['/path.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['24'][1].init(46, 12, 'last !== \'.\''); -function visit521_24_1(result) { +function visit525_24_1(result) { _$jscoverage['/path.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['22'][1].init(213, 6, 'i >= 0'); -function visit520_22_1(result) { +function visit524_22_1(result) { _$jscoverage['/path.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].lineData[7]++; @@ -513,18 +513,18 @@ function visit520_22_1(result) { _$jscoverage['/path.js'].lineData[15]++; var up = 0, i = parts.length - 1, newParts = [], last; _$jscoverage['/path.js'].lineData[22]++; - for (; visit520_22_1(i >= 0); i--) { + for (; visit524_22_1(i >= 0); i--) { _$jscoverage['/path.js'].lineData[23]++; last = parts[i]; _$jscoverage['/path.js'].lineData[24]++; - if (visit521_24_1(last !== '.')) { + if (visit525_24_1(last !== '.')) { _$jscoverage['/path.js'].lineData[25]++; - if (visit522_25_1(last === '..')) { + if (visit526_25_1(last === '..')) { _$jscoverage['/path.js'].lineData[26]++; up++; } else { _$jscoverage['/path.js'].lineData[27]++; - if (visit523_27_1(up)) { + if (visit527_27_1(up)) { _$jscoverage['/path.js'].lineData[28]++; up--; } else { @@ -535,7 +535,7 @@ function visit520_22_1(result) { } } _$jscoverage['/path.js'].lineData[36]++; - if (visit524_36_1(allowAboveRoot)) { + if (visit528_36_1(allowAboveRoot)) { _$jscoverage['/path.js'].lineData[37]++; for (; up--; up) { _$jscoverage['/path.js'].lineData[38]++; @@ -554,18 +554,18 @@ function visit520_22_1(result) { _$jscoverage['/path.js'].lineData[58]++; var resolvedPath = '', resolvedPathStr, i, args = (arguments), path, absolute = 0; _$jscoverage['/path.js'].lineData[65]++; - for (i = args.length - 1; visit525_65_1(visit526_65_2(i >= 0) && !absolute); i--) { + for (i = args.length - 1; visit529_65_1(visit530_65_2(i >= 0) && !absolute); i--) { _$jscoverage['/path.js'].lineData[66]++; path = args[i]; _$jscoverage['/path.js'].lineData[67]++; - if (visit527_67_1(visit528_67_2(typeof path !== 'string') || !path)) { + if (visit531_67_1(visit532_67_2(typeof path !== 'string') || !path)) { _$jscoverage['/path.js'].lineData[68]++; continue; } _$jscoverage['/path.js'].lineData[70]++; resolvedPath = path + '/' + resolvedPath; _$jscoverage['/path.js'].lineData[71]++; - absolute = visit529_71_1(path.charAt(0) === '/'); + absolute = visit533_71_1(path.charAt(0) === '/'); } _$jscoverage['/path.js'].lineData[74]++; resolvedPathStr = normalizeArray(S.filter(resolvedPath.split('/'), function(p) { @@ -574,12 +574,12 @@ function visit520_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[78]++; - return visit530_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); + return visit534_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); }, normalize: function(path) { _$jscoverage['/path.js'].functionData[4]++; _$jscoverage['/path.js'].lineData[92]++; - var absolute = visit531_92_1(path.charAt(0) === '/'), trailingSlash = visit532_93_1(path.slice(-1) === '/'); + var absolute = visit535_92_1(path.charAt(0) === '/'), trailingSlash = visit536_93_1(path.slice(-1) === '/'); _$jscoverage['/path.js'].lineData[95]++; path = normalizeArray(S.filter(path.split('/'), function(p) { _$jscoverage['/path.js'].functionData[5]++; @@ -587,12 +587,12 @@ function visit520_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[99]++; - if (visit533_99_1(!path && !absolute)) { + if (visit537_99_1(!path && !absolute)) { _$jscoverage['/path.js'].lineData[100]++; path = '.'; } _$jscoverage['/path.js'].lineData[103]++; - if (visit534_103_1(path && trailingSlash)) { + if (visit538_103_1(path && trailingSlash)) { _$jscoverage['/path.js'].lineData[104]++; path += '/'; } @@ -607,7 +607,7 @@ function visit520_22_1(result) { return Path.normalize(S.filter(args, function(p) { _$jscoverage['/path.js'].functionData[7]++; _$jscoverage['/path.js'].lineData[118]++; - return visit535_118_1(p && (visit536_118_2(typeof p === 'string'))); + return visit539_118_1(p && (visit540_118_2(typeof p === 'string'))); }).join('/')); }, relative: function(from, to) { @@ -627,9 +627,9 @@ function visit520_22_1(result) { return !!p; }), commonLength = Math.min(fromParts.length, toParts.length); _$jscoverage['/path.js'].lineData[147]++; - for (sameIndex = 0; visit537_147_1(sameIndex < commonLength); sameIndex++) { + for (sameIndex = 0; visit541_147_1(sameIndex < commonLength); sameIndex++) { _$jscoverage['/path.js'].lineData[148]++; - if (visit538_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { + if (visit542_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { _$jscoverage['/path.js'].lineData[149]++; break; } @@ -637,7 +637,7 @@ function visit520_22_1(result) { _$jscoverage['/path.js'].lineData[153]++; sameIndex2 = sameIndex; _$jscoverage['/path.js'].lineData[155]++; - while (visit539_155_1(sameIndex < fromParts.length)) { + while (visit543_155_1(sameIndex < fromParts.length)) { _$jscoverage['/path.js'].lineData[156]++; path.push('..'); _$jscoverage['/path.js'].lineData[157]++; @@ -653,11 +653,11 @@ function visit520_22_1(result) { basename: function(path, ext) { _$jscoverage['/path.js'].functionData[11]++; _$jscoverage['/path.js'].lineData[174]++; - var result = visit540_174_1(path.match(splitPathRe) || []), basename; + var result = visit544_174_1(path.match(splitPathRe) || []), basename; _$jscoverage['/path.js'].lineData[176]++; - basename = visit541_176_1(result[3] || ''); + basename = visit545_176_1(result[3] || ''); _$jscoverage['/path.js'].lineData[177]++; - if (visit542_177_1(ext && visit543_177_2(basename && visit544_177_3(basename.slice(-1 * ext.length) === ext)))) { + if (visit546_177_1(ext && visit547_177_2(basename && visit548_177_3(basename.slice(-1 * ext.length) === ext)))) { _$jscoverage['/path.js'].lineData[178]++; basename = basename.slice(0, -1 * ext.length); } @@ -667,14 +667,14 @@ function visit520_22_1(result) { dirname: function(path) { _$jscoverage['/path.js'].functionData[12]++; _$jscoverage['/path.js'].lineData[189]++; - var result = visit545_189_1(path.match(splitPathRe) || []), root = visit546_190_1(result[1] || ''), dir = visit547_191_1(result[2] || ''); + var result = visit549_189_1(path.match(splitPathRe) || []), root = visit550_190_1(result[1] || ''), dir = visit551_191_1(result[2] || ''); _$jscoverage['/path.js'].lineData[193]++; - if (visit548_193_1(!root && !dir)) { + if (visit552_193_1(!root && !dir)) { _$jscoverage['/path.js'].lineData[195]++; return '.'; } _$jscoverage['/path.js'].lineData[198]++; - if (visit549_198_1(dir)) { + if (visit553_198_1(dir)) { _$jscoverage['/path.js'].lineData[200]++; dir = dir.substring(0, dir.length - 1); } @@ -684,6 +684,6 @@ function visit520_22_1(result) { extname: function(path) { _$jscoverage['/path.js'].functionData[13]++; _$jscoverage['/path.js'].lineData[212]++; - return visit550_212_1((visit551_212_2(path.match(splitPathRe) || []))[4] || ''); + return visit554_212_1((visit555_212_2(path.match(splitPathRe) || []))[4] || ''); }}; })(KISSY); diff --git a/src/seed/coverage/src/ua.js b/src/seed/coverage/src/ua.js index 12aa2be4b5..f54288e3bb 100644 --- a/src/seed/coverage/src/ua.js +++ b/src/seed/coverage/src/ua.js @@ -442,190 +442,190 @@ if (! _$jscoverage['/ua.js'].branchData) { _$jscoverage['/ua.js'].branchData['388'][1] = new BranchData(); } _$jscoverage['/ua.js'].branchData['388'][1].init(238, 17, 'S.trim(className)'); -function visit596_388_1(result) { +function visit600_388_1(result) { _$jscoverage['/ua.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['383'][1].init(46, 1, 'v'); -function visit595_383_1(result) { +function visit599_383_1(result) { _$jscoverage['/ua.js'].branchData['383'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['380'][1].init(12088, 15, 'documentElement'); -function visit594_380_1(result) { +function visit598_380_1(result) { _$jscoverage['/ua.js'].branchData['380'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['378'][1].init(307, 26, 'doc && doc.documentElement'); -function visit593_378_1(result) { +function visit597_378_1(result) { _$jscoverage['/ua.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['356'][1].init(50, 61, '(versions = process.versions) && (nodeVersion = versions.node)'); -function visit592_356_1(result) { +function visit596_356_1(result) { _$jscoverage['/ua.js'].branchData['356'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['353'][1].init(11364, 27, 'typeof process === \'object\''); -function visit591_353_1(result) { +function visit595_353_1(result) { _$jscoverage['/ua.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][2].init(10247, 25, 'UA.ie && doc.documentMode'); -function visit590_345_2(result) { +function visit594_345_2(result) { _$jscoverage['/ua.js'].branchData['345'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][1].init(10247, 34, 'UA.ie && doc.documentMode || UA.ie'); -function visit589_345_1(result) { +function visit593_345_1(result) { _$jscoverage['/ua.js'].branchData['345'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['343'][1].init(10184, 15, 'UA.core || core'); -function visit588_343_1(result) { +function visit592_343_1(result) { _$jscoverage['/ua.js'].branchData['343'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['337'][1].init(279, 18, '(/rhino/i).test(ua)'); -function visit587_337_1(result) { +function visit591_337_1(result) { _$jscoverage['/ua.js'].branchData['337'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['335'][1].init(202, 18, '(/linux/i).test(ua)'); -function visit586_335_1(result) { +function visit590_335_1(result) { _$jscoverage['/ua.js'].branchData['335'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['333'][1].init(105, 34, '(/macintosh|mac_powerpc/i).test(ua)'); -function visit585_333_1(result) { +function visit589_333_1(result) { _$jscoverage['/ua.js'].branchData['333'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['331'][1].init(18, 26, '(/windows|win32/i).test(ua)'); -function visit584_331_1(result) { +function visit588_331_1(result) { _$jscoverage['/ua.js'].branchData['331'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['330'][1].init(9787, 3, '!os'); -function visit583_330_1(result) { +function visit587_330_1(result) { _$jscoverage['/ua.js'].branchData['330'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['321'][1].init(484, 42, '(m = ua.match(/Firefox\\/([\\d.]*)/)) && m[1]'); -function visit582_321_1(result) { +function visit586_321_1(result) { _$jscoverage['/ua.js'].branchData['321'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['316'][1].init(97, 24, '/Mobile|Tablet/.test(ua)'); -function visit581_316_1(result) { +function visit585_316_1(result) { _$jscoverage['/ua.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['314'][1].init(125, 36, '(m = ua.match(/rv:([\\d.]*)/)) && m[1]'); -function visit580_314_1(result) { +function visit584_314_1(result) { _$jscoverage['/ua.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['296'][1].init(787, 37, '(m = ua.match(/Opera Mobi[^;]*/)) && m'); -function visit579_296_1(result) { +function visit583_296_1(result) { _$jscoverage['/ua.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['290'][1].init(338, 37, '(m = ua.match(/Opera Mini[^;]*/)) && m'); -function visit578_290_1(result) { +function visit582_290_1(result) { _$jscoverage['/ua.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['285'][1].init(131, 52, '(m = ua.match(/Opera\\/.* Version\\/([\\d.]*)/)) && m[1]'); -function visit577_285_1(result) { +function visit581_285_1(result) { _$jscoverage['/ua.js'].branchData['285'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['282'][1].init(115, 40, '(m = ua.match(/Opera\\/([\\d.]*)/)) && m[1]'); -function visit576_282_1(result) { +function visit580_282_1(result) { _$jscoverage['/ua.js'].branchData['282'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['278'][1].init(129, 41, '(m = ua.match(/Presto\\/([\\d.]*)/)) && m[1]'); -function visit575_278_1(result) { +function visit579_278_1(result) { _$jscoverage['/ua.js'].branchData['278'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['270'][1].init(1741, 44, '(m = ua.match(/PhantomJS\\/([^\\s]*)/)) && m[1]'); -function visit574_270_1(result) { +function visit578_270_1(result) { _$jscoverage['/ua.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['261'][1].init(199, 9, 'm && m[1]'); -function visit573_261_1(result) { +function visit577_261_1(result) { _$jscoverage['/ua.js'].branchData['261'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['257'][1].init(25, 17, '/Mobile/.test(ua)'); -function visit572_257_1(result) { +function visit576_257_1(result) { _$jscoverage['/ua.js'].branchData['257'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['256'][1].init(1137, 20, '/ Android/i.test(ua)'); -function visit571_256_1(result) { +function visit575_256_1(result) { _$jscoverage['/ua.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['253'][1].init(359, 9, 'm && m[0]'); -function visit570_253_1(result) { +function visit574_253_1(result) { _$jscoverage['/ua.js'].branchData['253'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['248'][1].init(146, 9, 'm && m[1]'); -function visit569_248_1(result) { +function visit573_248_1(result) { _$jscoverage['/ua.js'].branchData['248'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['244'][1].init(603, 52, '/ Mobile\\//.test(ua) && ua.match(/iPad|iPod|iPhone/)'); -function visit568_244_1(result) { +function visit572_244_1(result) { _$jscoverage['/ua.js'].branchData['244'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['239'][1].init(428, 42, '(m = ua.match(/\\/([\\d.]*) Safari/)) && m[1]'); -function visit567_239_1(result) { +function visit571_239_1(result) { _$jscoverage['/ua.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['235'][1].init(252, 41, '(m = ua.match(/Chrome\\/([\\d.]*)/)) && m[1]'); -function visit566_235_1(result) { +function visit570_235_1(result) { _$jscoverage['/ua.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['231'][1].init(78, 40, '(m = ua.match(/OPR\\/(\\d+\\.\\d+)/)) && m[1]'); -function visit565_231_1(result) { +function visit569_231_1(result) { _$jscoverage['/ua.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['228'][1].init(40, 46, '(m = ua.match(/AppleWebKit\\/([\\d.]*)/)) && m[1]'); -function visit564_228_1(result) { +function visit568_228_1(result) { _$jscoverage['/ua.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['222'][1].init(745, 40, '!UA.ie && (ieVersion = getIEVersion(ua))'); -function visit563_222_1(result) { +function visit567_222_1(result) { _$jscoverage['/ua.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['214'][1].init(100, 12, 's.length > 0'); -function visit562_214_1(result) { +function visit566_214_1(result) { _$jscoverage['/ua.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['212'][1].init(404, 8, 'v <= end'); -function visit561_212_1(result) { +function visit565_212_1(result) { _$jscoverage['/ua.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['202'][1].init(4366, 12, 's.length > 0'); -function visit560_202_1(result) { +function visit564_202_1(result) { _$jscoverage['/ua.js'].branchData['202'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['195'][1].init(3982, 31, 'div && div.getElementsByTagName'); -function visit559_195_1(result) { +function visit563_195_1(result) { _$jscoverage['/ua.js'].branchData['195'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['53'][1].init(343, 31, 'doc && doc.createElement(\'div\')'); -function visit558_53_1(result) { +function visit562_53_1(result) { _$jscoverage['/ua.js'].branchData['53'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['36'][1].init(82, 12, 'm[1] || m[2]'); -function visit557_36_1(result) { +function visit561_36_1(result) { _$jscoverage['/ua.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['35'][1].init(32, 97, '(m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\\s|:)?([0-9.]+)/)) && (v = (m[1] || m[2]))'); -function visit556_35_1(result) { +function visit560_35_1(result) { _$jscoverage['/ua.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['26'][1].init(157, 42, '(m = ua.match(/Trident\\/([\\d.]*)/)) && m[1]'); -function visit555_26_1(result) { +function visit559_26_1(result) { _$jscoverage['/ua.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['17'][1].init(21, 9, 'c++ === 0'); -function visit554_17_1(result) { +function visit558_17_1(result) { _$jscoverage['/ua.js'].branchData['17'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][2].init(97, 32, 'navigator && navigator.userAgent'); -function visit553_11_2(result) { +function visit557_11_2(result) { _$jscoverage['/ua.js'].branchData['11'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][1].init(97, 38, 'navigator && navigator.userAgent || \'\''); -function visit552_11_1(result) { +function visit556_11_1(result) { _$jscoverage['/ua.js'].branchData['11'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].lineData[5]++; (function(S, undefined) { _$jscoverage['/ua.js'].functionData[0]++; _$jscoverage['/ua.js'].lineData[8]++; - var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit552_11_1(visit553_11_2(navigator && navigator.userAgent) || ''); + var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit556_11_1(visit557_11_2(navigator && navigator.userAgent) || ''); _$jscoverage['/ua.js'].lineData[13]++; function numberify(s) { _$jscoverage['/ua.js'].functionData[1]++; @@ -635,7 +635,7 @@ function visit552_11_1(result) { return parseFloat(s.replace(/\./g, function() { _$jscoverage['/ua.js'].functionData[2]++; _$jscoverage['/ua.js'].lineData[17]++; - return (visit554_17_1(c++ === 0)) ? '.' : ''; + return (visit558_17_1(c++ === 0)) ? '.' : ''; })); } _$jscoverage['/ua.js'].lineData[21]++; @@ -646,7 +646,7 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[23]++; UA[core = 'trident'] = 0.1; _$jscoverage['/ua.js'].lineData[26]++; - if (visit555_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { + if (visit559_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[27]++; UA[core] = numberify(m[1]); } @@ -659,7 +659,7 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[34]++; var m, v; _$jscoverage['/ua.js'].lineData[35]++; - if (visit556_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit557_36_1(m[1] || m[2]))))) { + if (visit560_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit561_36_1(m[1] || m[2]))))) { _$jscoverage['/ua.js'].lineData[37]++; return numberify(v); } @@ -670,7 +670,7 @@ function visit552_11_1(result) { function getDescriptorFromUserAgent(ua) { _$jscoverage['/ua.js'].functionData[5]++; _$jscoverage['/ua.js'].lineData[43]++; - var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit558_53_1(doc && doc.createElement('div')), s = []; + var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit562_53_1(doc && doc.createElement('div')), s = []; _$jscoverage['/ua.js'].lineData[60]++; var UA = { webkit: undefined, @@ -695,22 +695,22 @@ function visit552_11_1(result) { android: undefined, nodejs: undefined}; _$jscoverage['/ua.js'].lineData[195]++; - if (visit559_195_1(div && div.getElementsByTagName)) { + if (visit563_195_1(div && div.getElementsByTagName)) { _$jscoverage['/ua.js'].lineData[198]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, ''); _$jscoverage['/ua.js'].lineData[199]++; s = div.getElementsByTagName('s'); } _$jscoverage['/ua.js'].lineData[202]++; - if (visit560_202_1(s.length > 0)) { + if (visit564_202_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[204]++; setTridentVersion(ua, UA); _$jscoverage['/ua.js'].lineData[212]++; - for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit561_212_1(v <= end); v++) { + for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit565_212_1(v <= end); v++) { _$jscoverage['/ua.js'].lineData[213]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, v); _$jscoverage['/ua.js'].lineData[214]++; - if (visit562_214_1(s.length > 0)) { + if (visit566_214_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[215]++; UA[shell = 'ie'] = v; _$jscoverage['/ua.js'].lineData[216]++; @@ -718,40 +718,40 @@ function visit552_11_1(result) { } } _$jscoverage['/ua.js'].lineData[222]++; - if (visit563_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { + if (visit567_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { _$jscoverage['/ua.js'].lineData[223]++; UA[shell = 'ie'] = ieVersion; } } else { _$jscoverage['/ua.js'].lineData[228]++; - if (visit564_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { + if (visit568_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[229]++; UA[core = 'webkit'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[231]++; - if (visit565_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { + if (visit569_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[232]++; UA[shell = 'opera'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[235]++; - if (visit566_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { + if (visit570_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[236]++; UA[shell = 'chrome'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[239]++; - if (visit567_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { + if (visit571_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { _$jscoverage['/ua.js'].lineData[240]++; UA[shell = 'safari'] = numberify(m[1]); } } } _$jscoverage['/ua.js'].lineData[244]++; - if (visit568_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { + if (visit572_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { _$jscoverage['/ua.js'].lineData[245]++; UA.mobile = 'apple'; _$jscoverage['/ua.js'].lineData[247]++; m = ua.match(/OS ([^\s]*)/); _$jscoverage['/ua.js'].lineData[248]++; - if (visit569_248_1(m && m[1])) { + if (visit573_248_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[249]++; UA.ios = numberify(m[1].replace('_', '.')); } @@ -760,22 +760,22 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[252]++; m = ua.match(/iPad|iPod|iPhone/); _$jscoverage['/ua.js'].lineData[253]++; - if (visit570_253_1(m && m[0])) { + if (visit574_253_1(m && m[0])) { _$jscoverage['/ua.js'].lineData[254]++; UA[m[0].toLowerCase()] = UA.ios; } } else { _$jscoverage['/ua.js'].lineData[256]++; - if (visit571_256_1(/ Android/i.test(ua))) { + if (visit575_256_1(/ Android/i.test(ua))) { _$jscoverage['/ua.js'].lineData[257]++; - if (visit572_257_1(/Mobile/.test(ua))) { + if (visit576_257_1(/Mobile/.test(ua))) { _$jscoverage['/ua.js'].lineData[258]++; os = UA.mobile = 'android'; } _$jscoverage['/ua.js'].lineData[260]++; m = ua.match(/Android ([^\s]*);/); _$jscoverage['/ua.js'].lineData[261]++; - if (visit573_261_1(m && m[1])) { + if (visit577_261_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[262]++; UA.android = numberify(m[1]); } @@ -788,31 +788,31 @@ function visit552_11_1(result) { } } _$jscoverage['/ua.js'].lineData[270]++; - if (visit574_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { + if (visit578_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[271]++; UA.phantomjs = numberify(m[1]); } } else { _$jscoverage['/ua.js'].lineData[278]++; - if (visit575_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { + if (visit579_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[279]++; UA[core = 'presto'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[282]++; - if (visit576_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { + if (visit580_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[283]++; UA[shell = 'opera'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[285]++; - if (visit577_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { + if (visit581_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[286]++; UA[shell] = numberify(m[1]); } _$jscoverage['/ua.js'].lineData[290]++; - if (visit578_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { + if (visit582_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[291]++; UA.mobile = m[0].toLowerCase(); } else { _$jscoverage['/ua.js'].lineData[296]++; - if (visit579_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { + if (visit583_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[297]++; UA.mobile = m[0]; } @@ -831,17 +831,17 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[313]++; UA[core = 'gecko'] = 0.1; _$jscoverage['/ua.js'].lineData[314]++; - if (visit580_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { + if (visit584_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[315]++; UA[core] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[316]++; - if (visit581_316_1(/Mobile|Tablet/.test(ua))) { + if (visit585_316_1(/Mobile|Tablet/.test(ua))) { _$jscoverage['/ua.js'].lineData[317]++; UA.mobile = 'firefox'; } } _$jscoverage['/ua.js'].lineData[321]++; - if (visit582_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { + if (visit586_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[322]++; UA[shell = 'firefox'] = numberify(m[1]); } @@ -851,24 +851,24 @@ function visit552_11_1(result) { } } _$jscoverage['/ua.js'].lineData[330]++; - if (visit583_330_1(!os)) { + if (visit587_330_1(!os)) { _$jscoverage['/ua.js'].lineData[331]++; - if (visit584_331_1((/windows|win32/i).test(ua))) { + if (visit588_331_1((/windows|win32/i).test(ua))) { _$jscoverage['/ua.js'].lineData[332]++; os = 'windows'; } else { _$jscoverage['/ua.js'].lineData[333]++; - if (visit585_333_1((/macintosh|mac_powerpc/i).test(ua))) { + if (visit589_333_1((/macintosh|mac_powerpc/i).test(ua))) { _$jscoverage['/ua.js'].lineData[334]++; os = 'macintosh'; } else { _$jscoverage['/ua.js'].lineData[335]++; - if (visit586_335_1((/linux/i).test(ua))) { + if (visit590_335_1((/linux/i).test(ua))) { _$jscoverage['/ua.js'].lineData[336]++; os = 'linux'; } else { _$jscoverage['/ua.js'].lineData[337]++; - if (visit587_337_1((/rhino/i).test(ua))) { + if (visit591_337_1((/rhino/i).test(ua))) { _$jscoverage['/ua.js'].lineData[338]++; os = 'rhino'; } @@ -879,22 +879,22 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[342]++; UA.os = os; _$jscoverage['/ua.js'].lineData[343]++; - UA.core = visit588_343_1(UA.core || core); + UA.core = visit592_343_1(UA.core || core); _$jscoverage['/ua.js'].lineData[344]++; UA.shell = shell; _$jscoverage['/ua.js'].lineData[345]++; - UA.ieMode = visit589_345_1(visit590_345_2(UA.ie && doc.documentMode) || UA.ie); + UA.ieMode = visit593_345_1(visit594_345_2(UA.ie && doc.documentMode) || UA.ie); _$jscoverage['/ua.js'].lineData[347]++; return UA; } _$jscoverage['/ua.js'].lineData[350]++; var UA = KISSY.UA = getDescriptorFromUserAgent(ua); _$jscoverage['/ua.js'].lineData[353]++; - if (visit591_353_1(typeof process === 'object')) { + if (visit595_353_1(typeof process === 'object')) { _$jscoverage['/ua.js'].lineData[354]++; var versions, nodeVersion; _$jscoverage['/ua.js'].lineData[356]++; - if (visit592_356_1((versions = process.versions) && (nodeVersion = versions.node))) { + if (visit596_356_1((versions = process.versions) && (nodeVersion = versions.node))) { _$jscoverage['/ua.js'].lineData[357]++; UA.os = process.platform; _$jscoverage['/ua.js'].lineData[358]++; @@ -904,16 +904,16 @@ function visit552_11_1(result) { _$jscoverage['/ua.js'].lineData[363]++; UA.getDescriptorFromUserAgent = getDescriptorFromUserAgent; _$jscoverage['/ua.js'].lineData[365]++; - var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit593_378_1(doc && doc.documentElement), className = ''; + var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit597_378_1(doc && doc.documentElement), className = ''; _$jscoverage['/ua.js'].lineData[380]++; - if (visit594_380_1(documentElement)) { + if (visit598_380_1(documentElement)) { _$jscoverage['/ua.js'].lineData[381]++; S.each(browsers, function(key) { _$jscoverage['/ua.js'].functionData[6]++; _$jscoverage['/ua.js'].lineData[382]++; var v = UA[key]; _$jscoverage['/ua.js'].lineData[383]++; - if (visit595_383_1(v)) { + if (visit599_383_1(v)) { _$jscoverage['/ua.js'].lineData[384]++; className += ' ks-' + key + (parseInt(v) + ''); _$jscoverage['/ua.js'].lineData[385]++; @@ -921,7 +921,7 @@ function visit552_11_1(result) { } }); _$jscoverage['/ua.js'].lineData[388]++; - if (visit596_388_1(S.trim(className))) { + if (visit600_388_1(S.trim(className))) { _$jscoverage['/ua.js'].lineData[389]++; documentElement.className = S.trim(documentElement.className + className); } diff --git a/src/seed/coverage/src/uri.js b/src/seed/coverage/src/uri.js index 9b13d1c9c0..8ad47081d0 100644 --- a/src/seed/coverage/src/uri.js +++ b/src/seed/coverage/src/uri.js @@ -538,147 +538,147 @@ if (! _$jscoverage['/uri.js'].branchData) { _$jscoverage['/uri.js'].branchData['659'][1] = new BranchData(); } _$jscoverage['/uri.js'].branchData['659'][1].init(42, 30, 'url.match(URI_SPLIT_REG) || []'); -function visit632_659_1(result) { +function visit636_659_1(result) { _$jscoverage['/uri.js'].branchData['659'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['658'][1].init(15, 9, 'url || \'\''); -function visit631_658_1(result) { +function visit635_658_1(result) { _$jscoverage['/uri.js'].branchData['658'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['634'][1].init(21, 36, 'hostname && !S.startsWith(path, \'/\')'); -function visit630_634_1(result) { +function visit634_634_1(result) { _$jscoverage['/uri.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['589'][1].init(66, 102, 'equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit629_589_1(result) { +function visit633_589_1(result) { _$jscoverage['/uri.js'].branchData['589'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['588'][1].init(97, 169, 'equalsIgnoreCase(self.hostname, other.hostname) && equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit628_588_1(result) { +function visit632_588_1(result) { _$jscoverage['/uri.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['573'][1].init(46, 27, 'S.startsWith(fragment, \'#\')'); -function visit627_573_1(result) { +function visit631_573_1(result) { _$jscoverage['/uri.js'].branchData['573'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['541'][1].init(21, 24, 'S.startsWith(query, \'?\')'); -function visit626_541_1(result) { +function visit630_541_1(result) { _$jscoverage['/uri.js'].branchData['541'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['540'][1].init(17, 25, 'typeof query === \'string\''); -function visit625_540_1(result) { +function visit629_540_1(result) { _$jscoverage['/uri.js'].branchData['540'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['435'][1].init(1637, 26, 'override || relativeUri[o]'); -function visit624_435_1(result) { +function visit628_435_1(result) { _$jscoverage['/uri.js'].branchData['435'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['431'][1].init(25, 40, 'override || relativeUri.query.toString()'); -function visit623_431_1(result) { +function visit627_431_1(result) { _$jscoverage['/uri.js'].branchData['431'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['430'][1].init(1398, 13, 'o === \'query\''); -function visit622_430_1(result) { +function visit626_430_1(result) { _$jscoverage['/uri.js'].branchData['430'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['421'][1].init(195, 21, 'lastSlashIndex !== -1'); -function visit621_421_1(result) { +function visit625_421_1(result) { _$jscoverage['/uri.js'].branchData['421'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['418'][1].init(242, 11, 'target.path'); -function visit620_418_1(result) { +function visit624_418_1(result) { _$jscoverage['/uri.js'].branchData['418'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['415'][1].init(37, 31, 'target.hostname && !target.path'); -function visit619_415_1(result) { +function visit623_415_1(result) { _$jscoverage['/uri.js'].branchData['415'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['414'][1].init(154, 24, '!S.startsWith(path, \'/\')'); -function visit618_414_1(result) { +function visit622_414_1(result) { _$jscoverage['/uri.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['411'][1].init(82, 4, 'path'); -function visit617_411_1(result) { +function visit621_411_1(result) { _$jscoverage['/uri.js'].branchData['411'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['407'][1].init(107, 8, 'override'); -function visit616_407_1(result) { +function visit620_407_1(result) { _$jscoverage['/uri.js'].branchData['407'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['405'][1].init(21, 12, 'o === \'path\''); -function visit615_405_1(result) { +function visit619_405_1(result) { _$jscoverage['/uri.js'].branchData['405'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['394'][1].init(18, 31, 'typeof relativeUri === \'string\''); -function visit614_394_1(result) { +function visit618_394_1(result) { _$jscoverage['/uri.js'].branchData['394'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['340'][1].init(42, 15, 'key === \'query\''); -function visit613_340_1(result) { +function visit617_340_1(result) { _$jscoverage['/uri.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['339'][1].init(17, 7, 'v || \'\''); -function visit612_339_1(result) { +function visit616_339_1(result) { _$jscoverage['/uri.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['292'][1].init(14, 22, 'uriStr instanceof Uri'); -function visit611_292_1(result) { +function visit615_292_1(result) { _$jscoverage['/uri.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['268'][1].init(16, 41, 'str1.toLowerCase() === str2.toLowerCase()'); -function visit610_268_1(result) { +function visit614_268_1(result) { _$jscoverage['/uri.js'].branchData['268'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['264'][1].init(16, 16, 'str.length === 1'); -function visit609_264_1(result) { +function visit613_264_1(result) { _$jscoverage['/uri.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['241'][1].init(21, 20, 'key instanceof Query'); -function visit608_241_1(result) { +function visit612_241_1(result) { _$jscoverage['/uri.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['234'][1].init(146, 26, 'currentValue === undefined'); -function visit607_234_1(result) { +function visit611_234_1(result) { _$jscoverage['/uri.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['230'][1].init(103, 23, 'typeof key === \'string\''); -function visit606_230_1(result) { +function visit610_230_1(result) { _$jscoverage['/uri.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['211'][1].init(76, 3, 'key'); -function visit605_211_1(result) { +function visit609_211_1(result) { _$jscoverage['/uri.js'].branchData['211'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['193'][1].init(21, 20, 'key instanceof Query'); -function visit604_193_1(result) { +function visit608_193_1(result) { _$jscoverage['/uri.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['190'][1].init(127, 23, 'typeof key === \'string\''); -function visit603_190_1(result) { +function visit607_190_1(result) { _$jscoverage['/uri.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['163'][1].init(127, 3, 'key'); -function visit602_163_1(result) { +function visit606_163_1(result) { _$jscoverage['/uri.js'].branchData['163'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['148'][1].init(127, 3, 'key'); -function visit601_148_1(result) { +function visit605_148_1(result) { _$jscoverage['/uri.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['130'][1].init(22, 23, 'S.isArray(_queryMap[k])'); -function visit600_130_1(result) { +function visit604_130_1(result) { _$jscoverage['/uri.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['112'][1].init(56, 11, 'query || \'\''); -function visit599_112_1(result) { +function visit603_112_1(result) { _$jscoverage['/uri.js'].branchData['112'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['90'][1].init(23, 11, 'query || \'\''); -function visit598_90_1(result) { +function visit602_90_1(result) { _$jscoverage['/uri.js'].branchData['90'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['79'][1].init(13, 15, '!self._queryMap'); -function visit597_79_1(result) { +function visit601_79_1(result) { _$jscoverage['/uri.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].lineData[6]++; @@ -699,7 +699,7 @@ function visit597_79_1(result) { function parseQuery(self) { _$jscoverage['/uri.js'].functionData[1]++; _$jscoverage['/uri.js'].lineData[79]++; - if (visit597_79_1(!self._queryMap)) { + if (visit601_79_1(!self._queryMap)) { _$jscoverage['/uri.js'].lineData[80]++; self._queryMap = S.unparam(self._query); } @@ -708,7 +708,7 @@ function visit597_79_1(result) { function Query(query) { _$jscoverage['/uri.js'].functionData[2]++; _$jscoverage['/uri.js'].lineData[90]++; - this._query = visit598_90_1(query || ''); + this._query = visit602_90_1(query || ''); } _$jscoverage['/uri.js'].lineData[93]++; Query.prototype = { @@ -723,7 +723,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[111]++; var self = this; _$jscoverage['/uri.js'].lineData[112]++; - self._query = visit599_112_1(query || ''); + self._query = visit603_112_1(query || ''); _$jscoverage['/uri.js'].lineData[113]++; self._queryMap = null; _$jscoverage['/uri.js'].lineData[114]++; @@ -740,7 +740,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[128]++; for (k in _queryMap) { _$jscoverage['/uri.js'].lineData[130]++; - if (visit600_130_1(S.isArray(_queryMap[k]))) { + if (visit604_130_1(S.isArray(_queryMap[k]))) { _$jscoverage['/uri.js'].lineData[131]++; count += _queryMap[k].length; } else { @@ -760,7 +760,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[147]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[148]++; - if (visit601_148_1(key)) { + if (visit605_148_1(key)) { _$jscoverage['/uri.js'].lineData[149]++; return key in _queryMap; } else { @@ -777,7 +777,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[162]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[163]++; - if (visit602_163_1(key)) { + if (visit606_163_1(key)) { _$jscoverage['/uri.js'].lineData[164]++; return _queryMap[key]; } else { @@ -803,12 +803,12 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[189]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[190]++; - if (visit603_190_1(typeof key === 'string')) { + if (visit607_190_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[191]++; self._queryMap[key] = value; } else { _$jscoverage['/uri.js'].lineData[193]++; - if (visit604_193_1(key instanceof Query)) { + if (visit608_193_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[194]++; key = key.get(); } @@ -829,7 +829,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[210]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[211]++; - if (visit605_211_1(key)) { + if (visit609_211_1(key)) { _$jscoverage['/uri.js'].lineData[212]++; delete self._queryMap[key]; } else { @@ -844,7 +844,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[227]++; var self = this, _queryMap, currentValue; _$jscoverage['/uri.js'].lineData[230]++; - if (visit606_230_1(typeof key === 'string')) { + if (visit610_230_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[231]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[232]++; @@ -852,7 +852,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[233]++; currentValue = _queryMap[key]; _$jscoverage['/uri.js'].lineData[234]++; - if (visit607_234_1(currentValue === undefined)) { + if (visit611_234_1(currentValue === undefined)) { _$jscoverage['/uri.js'].lineData[235]++; currentValue = value; } else { @@ -863,7 +863,7 @@ function visit597_79_1(result) { _queryMap[key] = currentValue; } else { _$jscoverage['/uri.js'].lineData[241]++; - if (visit608_241_1(key instanceof Query)) { + if (visit612_241_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[242]++; key = key.get(); } @@ -889,13 +889,13 @@ function visit597_79_1(result) { function padding2(str) { _$jscoverage['/uri.js'].functionData[14]++; _$jscoverage['/uri.js'].lineData[264]++; - return visit609_264_1(str.length === 1) ? '0' + str : str; + return visit613_264_1(str.length === 1) ? '0' + str : str; } _$jscoverage['/uri.js'].lineData[267]++; function equalsIgnoreCase(str1, str2) { _$jscoverage['/uri.js'].functionData[15]++; _$jscoverage['/uri.js'].lineData[268]++; - return visit610_268_1(str1.toLowerCase() === str2.toLowerCase()); + return visit614_268_1(str1.toLowerCase() === str2.toLowerCase()); } _$jscoverage['/uri.js'].lineData[274]++; function encodeSpecialChars(str, specialCharsReg) { @@ -911,7 +911,7 @@ function visit597_79_1(result) { function Uri(uriStr) { _$jscoverage['/uri.js'].functionData[18]++; _$jscoverage['/uri.js'].lineData[292]++; - if (visit611_292_1(uriStr instanceof Uri)) { + if (visit615_292_1(uriStr instanceof Uri)) { _$jscoverage['/uri.js'].lineData[293]++; return uriStr.clone(); } @@ -932,9 +932,9 @@ function visit597_79_1(result) { S.each(components, function(v, key) { _$jscoverage['/uri.js'].functionData[19]++; _$jscoverage['/uri.js'].lineData[339]++; - v = visit612_339_1(v || ''); + v = visit616_339_1(v || ''); _$jscoverage['/uri.js'].lineData[340]++; - if (visit613_340_1(key === 'query')) { + if (visit617_340_1(key === 'query')) { _$jscoverage['/uri.js'].lineData[342]++; self.query = new Query(v); } else { @@ -974,7 +974,7 @@ function visit597_79_1(result) { resolve: function(relativeUri) { _$jscoverage['/uri.js'].functionData[22]++; _$jscoverage['/uri.js'].lineData[394]++; - if (visit614_394_1(typeof relativeUri === 'string')) { + if (visit618_394_1(typeof relativeUri === 'string')) { _$jscoverage['/uri.js'].lineData[395]++; relativeUri = new Uri(relativeUri); } @@ -984,31 +984,31 @@ function visit597_79_1(result) { S.each(order, function(o) { _$jscoverage['/uri.js'].functionData[23]++; _$jscoverage['/uri.js'].lineData[405]++; - if (visit615_405_1(o === 'path')) { + if (visit619_405_1(o === 'path')) { _$jscoverage['/uri.js'].lineData[407]++; - if (visit616_407_1(override)) { + if (visit620_407_1(override)) { _$jscoverage['/uri.js'].lineData[408]++; target[o] = relativeUri[o]; } else { _$jscoverage['/uri.js'].lineData[410]++; var path = relativeUri.path; _$jscoverage['/uri.js'].lineData[411]++; - if (visit617_411_1(path)) { + if (visit621_411_1(path)) { _$jscoverage['/uri.js'].lineData[413]++; override = 1; _$jscoverage['/uri.js'].lineData[414]++; - if (visit618_414_1(!S.startsWith(path, '/'))) { + if (visit622_414_1(!S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[415]++; - if (visit619_415_1(target.hostname && !target.path)) { + if (visit623_415_1(target.hostname && !target.path)) { _$jscoverage['/uri.js'].lineData[417]++; path = '/' + path; } else { _$jscoverage['/uri.js'].lineData[418]++; - if (visit620_418_1(target.path)) { + if (visit624_418_1(target.path)) { _$jscoverage['/uri.js'].lineData[420]++; lastSlashIndex = target.path.lastIndexOf('/'); _$jscoverage['/uri.js'].lineData[421]++; - if (visit621_421_1(lastSlashIndex !== -1)) { + if (visit625_421_1(lastSlashIndex !== -1)) { _$jscoverage['/uri.js'].lineData[422]++; path = target.path.slice(0, lastSlashIndex + 1) + path; } @@ -1021,9 +1021,9 @@ function visit597_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[430]++; - if (visit622_430_1(o === 'query')) { + if (visit626_430_1(o === 'query')) { _$jscoverage['/uri.js'].lineData[431]++; - if (visit623_431_1(override || relativeUri.query.toString())) { + if (visit627_431_1(override || relativeUri.query.toString())) { _$jscoverage['/uri.js'].lineData[432]++; target.query = relativeUri.query.clone(); _$jscoverage['/uri.js'].lineData[433]++; @@ -1031,7 +1031,7 @@ function visit597_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[435]++; - if (visit624_435_1(override || relativeUri[o])) { + if (visit628_435_1(override || relativeUri[o])) { _$jscoverage['/uri.js'].lineData[436]++; target[o] = relativeUri[o]; _$jscoverage['/uri.js'].lineData[437]++; @@ -1106,9 +1106,9 @@ function visit597_79_1(result) { 'setQuery': function(query) { _$jscoverage['/uri.js'].functionData[34]++; _$jscoverage['/uri.js'].lineData[540]++; - if (visit625_540_1(typeof query === 'string')) { + if (visit629_540_1(typeof query === 'string')) { _$jscoverage['/uri.js'].lineData[541]++; - if (visit626_541_1(S.startsWith(query, '?'))) { + if (visit630_541_1(S.startsWith(query, '?'))) { _$jscoverage['/uri.js'].lineData[542]++; query = query.slice(1); } @@ -1135,7 +1135,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[572]++; var self = this; _$jscoverage['/uri.js'].lineData[573]++; - if (visit627_573_1(S.startsWith(fragment, '#'))) { + if (visit631_573_1(S.startsWith(fragment, '#'))) { _$jscoverage['/uri.js'].lineData[574]++; fragment = fragment.slice(1); } @@ -1149,7 +1149,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[586]++; var self = this; _$jscoverage['/uri.js'].lineData[588]++; - return visit628_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit629_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); + return visit632_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit633_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); }, toString: function(serializeArray) { _$jscoverage['/uri.js'].functionData[39]++; @@ -1186,7 +1186,7 @@ function visit597_79_1(result) { _$jscoverage['/uri.js'].lineData[633]++; if ((path = self.path)) { _$jscoverage['/uri.js'].lineData[634]++; - if (visit630_634_1(hostname && !S.startsWith(path, '/'))) { + if (visit634_634_1(hostname && !S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[635]++; path = '/' + path; } @@ -1218,9 +1218,9 @@ function visit597_79_1(result) { Uri.getComponents = function(url) { _$jscoverage['/uri.js'].functionData[40]++; _$jscoverage['/uri.js'].lineData[658]++; - url = visit631_658_1(url || ''); + url = visit635_658_1(url || ''); _$jscoverage['/uri.js'].lineData[659]++; - var m = visit632_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; + var m = visit636_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; _$jscoverage['/uri.js'].lineData[661]++; S.each(REG_INFO, function(index, key) { _$jscoverage['/uri.js'].functionData[41]++; diff --git a/src/seed/coverage/src/web.js b/src/seed/coverage/src/web.js index 2c9d950cfd..a07306fd85 100644 --- a/src/seed/coverage/src/web.js +++ b/src/seed/coverage/src/web.js @@ -401,123 +401,123 @@ if (! _$jscoverage['/web.js'].branchData) { _$jscoverage['/web.js'].branchData['241'][1] = new BranchData(); } _$jscoverage['/web.js'].branchData['241'][1].init(7665, 5, 'UA.ie'); -function visit662_241_1(result) { +function visit666_241_1(result) { _$jscoverage['/web.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][3].init(7384, 24, 'location.search || EMPTY'); -function visit661_231_3(result) { +function visit665_231_3(result) { _$jscoverage['/web.js'].branchData['231'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][2].init(7384, 52, '(location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit660_231_2(result) { +function visit664_231_2(result) { _$jscoverage['/web.js'].branchData['231'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][1].init(7371, 65, 'location && (location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit659_231_1(result) { +function visit663_231_1(result) { _$jscoverage['/web.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['215'][1].init(907, 20, 'doScroll && notframe'); -function visit658_215_1(result) { +function visit662_215_1(result) { _$jscoverage['/web.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['209'][1].init(29, 25, 'win.frameElement === null'); -function visit657_209_1(result) { +function visit661_209_1(result) { _$jscoverage['/web.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['206'][1].init(40, 27, 'docElem && docElem.doScroll'); -function visit656_206_1(result) { +function visit660_206_1(result) { _$jscoverage['/web.js'].branchData['206'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['193'][1].init(21, 27, 'doc.readyState === COMPLETE'); -function visit655_193_1(result) { +function visit659_193_1(result) { _$jscoverage['/web.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['182'][1].init(361, 18, 'standardEventModel'); -function visit654_182_1(result) { +function visit658_182_1(result) { _$jscoverage['/web.js'].branchData['182'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][2].init(125, 27, 'doc.readyState === COMPLETE'); -function visit653_173_2(result) { +function visit657_173_2(result) { _$jscoverage['/web.js'].branchData['173'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][1].init(117, 35, '!doc || doc.readyState === COMPLETE'); -function visit652_173_1(result) { +function visit656_173_1(result) { _$jscoverage['/web.js'].branchData['173'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['160'][1].init(23, 12, 'e.stack || e'); -function visit651_160_1(result) { +function visit655_160_1(result) { _$jscoverage['/web.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['156'][1].init(223, 20, 'i < callbacks.length'); -function visit650_156_1(result) { +function visit654_156_1(result) { _$jscoverage['/web.js'].branchData['156'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['152'][1].init(85, 17, 'doc && !UA.nodejs'); -function visit649_152_1(result) { +function visit653_152_1(result) { _$jscoverage['/web.js'].branchData['152'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['148'][1].init(13, 8, 'domReady'); -function visit648_148_1(result) { +function visit652_148_1(result) { _$jscoverage['/web.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['139'][1].init(205, 4, 'node'); -function visit647_139_1(result) { +function visit651_139_1(result) { _$jscoverage['/web.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['134'][1].init(21, 27, '++retryCount > POLL_RETIRES'); -function visit646_134_1(result) { +function visit650_134_1(result) { _$jscoverage['/web.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['113'][1].init(27, 12, 'e.stack || e'); -function visit645_113_1(result) { +function visit649_113_1(result) { _$jscoverage['/web.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['109'][1].init(17, 8, 'domReady'); -function visit644_109_1(result) { +function visit648_109_1(result) { _$jscoverage['/web.js'].branchData['109'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['92'][1].init(269, 14, 'win.execScript'); -function visit643_92_1(result) { +function visit647_92_1(result) { _$jscoverage['/web.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['88'][1].init(17, 36, 'data && RE_NOT_WHITESPACE.test(data)'); -function visit642_88_1(result) { +function visit646_88_1(result) { _$jscoverage['/web.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][2].init(711, 70, '!xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit641_77_2(result) { +function visit645_77_2(result) { _$jscoverage['/web.js'].branchData['77'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][1].init(703, 78, '!xml || !xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit640_77_1(result) { +function visit644_77_1(result) { _$jscoverage['/web.js'].branchData['77'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['64'][1].init(49, 13, 'win.DOMParser'); -function visit639_64_1(result) { +function visit643_64_1(result) { _$jscoverage['/web.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['58'][1].init(46, 20, 'data.documentElement'); -function visit638_58_1(result) { +function visit642_58_1(result) { _$jscoverage['/web.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][3].init(106, 17, 'obj == obj.window'); -function visit637_48_3(result) { +function visit641_48_3(result) { _$jscoverage['/web.js'].branchData['48'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][2].init(91, 11, 'obj != null'); -function visit636_48_2(result) { +function visit640_48_2(result) { _$jscoverage['/web.js'].branchData['48'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][1].init(91, 32, 'obj != null && obj == obj.window'); -function visit635_48_1(result) { +function visit639_48_1(result) { _$jscoverage['/web.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['24'][1].init(464, 27, 'doc && doc.addEventListener'); -function visit634_24_1(result) { +function visit638_24_1(result) { _$jscoverage['/web.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['12'][1].init(87, 26, 'doc && doc.documentElement'); -function visit633_12_1(result) { +function visit637_12_1(result) { _$jscoverage['/web.js'].branchData['12'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].lineData[6]++; @@ -526,7 +526,7 @@ function visit633_12_1(result) { _$jscoverage['/web.js'].lineData[7]++; var logger = S.getLogger('s/web'); _$jscoverage['/web.js'].lineData[8]++; - var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit633_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit634_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { + var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit637_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit638_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { _$jscoverage['/web.js'].functionData[1]++; _$jscoverage['/web.js'].lineData[30]++; el.addEventListener(type, fn, false); @@ -548,12 +548,12 @@ function visit633_12_1(result) { isWindow: function(obj) { _$jscoverage['/web.js'].functionData[5]++; _$jscoverage['/web.js'].lineData[48]++; - return visit635_48_1(visit636_48_2(obj != null) && visit637_48_3(obj == obj.window)); + return visit639_48_1(visit640_48_2(obj != null) && visit641_48_3(obj == obj.window)); }, parseXML: function(data) { _$jscoverage['/web.js'].functionData[6]++; _$jscoverage['/web.js'].lineData[58]++; - if (visit638_58_1(data.documentElement)) { + if (visit642_58_1(data.documentElement)) { _$jscoverage['/web.js'].lineData[59]++; return data; } @@ -562,7 +562,7 @@ function visit633_12_1(result) { _$jscoverage['/web.js'].lineData[62]++; try { _$jscoverage['/web.js'].lineData[64]++; - if (visit639_64_1(win.DOMParser)) { + if (visit643_64_1(win.DOMParser)) { _$jscoverage['/web.js'].lineData[65]++; xml = new DOMParser().parseFromString(data, 'text/xml'); } else { @@ -582,7 +582,7 @@ function visit633_12_1(result) { xml = undefined; } _$jscoverage['/web.js'].lineData[77]++; - if (visit640_77_1(!xml || visit641_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { + if (visit644_77_1(!xml || visit645_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { _$jscoverage['/web.js'].lineData[78]++; S.error('Invalid XML: ' + data); } @@ -592,9 +592,9 @@ function visit633_12_1(result) { globalEval: function(data) { _$jscoverage['/web.js'].functionData[7]++; _$jscoverage['/web.js'].lineData[88]++; - if (visit642_88_1(data && RE_NOT_WHITESPACE.test(data))) { + if (visit646_88_1(data && RE_NOT_WHITESPACE.test(data))) { _$jscoverage['/web.js'].lineData[92]++; - if (visit643_92_1(win.execScript)) { + if (visit647_92_1(win.execScript)) { _$jscoverage['/web.js'].lineData[93]++; win.execScript(data); } else { @@ -610,14 +610,14 @@ function visit633_12_1(result) { ready: function(fn) { _$jscoverage['/web.js'].functionData[9]++; _$jscoverage['/web.js'].lineData[109]++; - if (visit644_109_1(domReady)) { + if (visit648_109_1(domReady)) { _$jscoverage['/web.js'].lineData[110]++; try { _$jscoverage['/web.js'].lineData[111]++; fn(S); } catch (e) { _$jscoverage['/web.js'].lineData[113]++; - S.log(visit645_113_1(e.stack || e), 'error'); + S.log(visit649_113_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[114]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[10]++; @@ -642,7 +642,7 @@ function visit633_12_1(result) { var timer = S.later(function() { _$jscoverage['/web.js'].functionData[12]++; _$jscoverage['/web.js'].lineData[134]++; - if (visit646_134_1(++retryCount > POLL_RETIRES)) { + if (visit650_134_1(++retryCount > POLL_RETIRES)) { _$jscoverage['/web.js'].lineData[135]++; timer.cancel(); _$jscoverage['/web.js'].lineData[136]++; @@ -651,7 +651,7 @@ function visit633_12_1(result) { _$jscoverage['/web.js'].lineData[138]++; var node = doc.getElementById(id); _$jscoverage['/web.js'].lineData[139]++; - if (visit647_139_1(node)) { + if (visit651_139_1(node)) { _$jscoverage['/web.js'].lineData[140]++; fn(node); _$jscoverage['/web.js'].lineData[141]++; @@ -663,26 +663,26 @@ function visit633_12_1(result) { function fireReady() { _$jscoverage['/web.js'].functionData[13]++; _$jscoverage['/web.js'].lineData[148]++; - if (visit648_148_1(domReady)) { + if (visit652_148_1(domReady)) { _$jscoverage['/web.js'].lineData[149]++; return; } _$jscoverage['/web.js'].lineData[152]++; - if (visit649_152_1(doc && !UA.nodejs)) { + if (visit653_152_1(doc && !UA.nodejs)) { _$jscoverage['/web.js'].lineData[153]++; removeEventListener(win, LOAD_EVENT, fireReady); } _$jscoverage['/web.js'].lineData[155]++; domReady = 1; _$jscoverage['/web.js'].lineData[156]++; - for (var i = 0; visit650_156_1(i < callbacks.length); i++) { + for (var i = 0; visit654_156_1(i < callbacks.length); i++) { _$jscoverage['/web.js'].lineData[157]++; try { _$jscoverage['/web.js'].lineData[158]++; callbacks[i](S); } catch (e) { _$jscoverage['/web.js'].lineData[160]++; - S.log(visit651_160_1(e.stack || e), 'error'); + S.log(visit655_160_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[162]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[14]++; @@ -696,7 +696,7 @@ function visit633_12_1(result) { function bindReady() { _$jscoverage['/web.js'].functionData[15]++; _$jscoverage['/web.js'].lineData[173]++; - if (visit652_173_1(!doc || visit653_173_2(doc.readyState === COMPLETE))) { + if (visit656_173_1(!doc || visit657_173_2(doc.readyState === COMPLETE))) { _$jscoverage['/web.js'].lineData[174]++; fireReady(); _$jscoverage['/web.js'].lineData[175]++; @@ -705,7 +705,7 @@ function visit633_12_1(result) { _$jscoverage['/web.js'].lineData[179]++; addEventListener(win, LOAD_EVENT, fireReady); _$jscoverage['/web.js'].lineData[182]++; - if (visit654_182_1(standardEventModel)) { + if (visit658_182_1(standardEventModel)) { _$jscoverage['/web.js'].lineData[183]++; var domReady = function() { _$jscoverage['/web.js'].functionData[16]++; @@ -721,7 +721,7 @@ function visit633_12_1(result) { var stateChange = function() { _$jscoverage['/web.js'].functionData[17]++; _$jscoverage['/web.js'].lineData[193]++; - if (visit655_193_1(doc.readyState === COMPLETE)) { + if (visit659_193_1(doc.readyState === COMPLETE)) { _$jscoverage['/web.js'].lineData[194]++; removeEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[195]++; @@ -731,17 +731,17 @@ function visit633_12_1(result) { _$jscoverage['/web.js'].lineData[201]++; addEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[205]++; - var notframe, doScroll = visit656_206_1(docElem && docElem.doScroll); + var notframe, doScroll = visit660_206_1(docElem && docElem.doScroll); _$jscoverage['/web.js'].lineData[208]++; try { _$jscoverage['/web.js'].lineData[209]++; - notframe = (visit657_209_1(win.frameElement === null)); + notframe = (visit661_209_1(win.frameElement === null)); } catch (e) { _$jscoverage['/web.js'].lineData[211]++; notframe = false; } _$jscoverage['/web.js'].lineData[215]++; - if (visit658_215_1(doScroll && notframe)) { + if (visit662_215_1(doScroll && notframe)) { _$jscoverage['/web.js'].lineData[216]++; var readyScroll = function() { _$jscoverage['/web.js'].functionData[18]++; @@ -762,14 +762,14 @@ function visit633_12_1(result) { } } _$jscoverage['/web.js'].lineData[231]++; - if (visit659_231_1(location && visit660_231_2((visit661_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { + if (visit663_231_1(location && visit664_231_2((visit665_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { _$jscoverage['/web.js'].lineData[232]++; S.Config.debug = true; } _$jscoverage['/web.js'].lineData[239]++; bindReady(); _$jscoverage['/web.js'].lineData[241]++; - if (visit662_241_1(UA.ie)) { + if (visit666_241_1(UA.ie)) { _$jscoverage['/web.js'].lineData[242]++; try { _$jscoverage['/web.js'].lineData[243]++; diff --git a/src/seed/src/features.js b/src/seed/src/features.js index 585adfcd98..95f26011ac 100644 --- a/src/seed/src/features.js +++ b/src/seed/src/features.js @@ -75,6 +75,41 @@ } } + var vendorInfos = {}; + // return prefixed css prefix name + function getVendorInfo(name) { + if (vendorInfos[name]) { + return vendorInfos[name]; + } + // if already prefixed or need not to prefix + if (!documentElementStyle || name in documentElementStyle) { + vendorInfos[name] = { + name: name, + prefix: '' + }; + } else { + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), + vendorName, + i = VENDORS.length; + + while (i--) { + vendorName = VENDORS[i] + upperFirstName; + if (vendorName in documentElementStyle) { + vendorInfos[name] = { + name: vendorName, + prefix: VENDORS[i] + }; + } + } + + vendorInfos[name] = vendorInfos[name] || { + name: name, + prefix: false + }; + } + return vendorInfos[name]; + } + /** * browser features detection * @class KISSY.Features @@ -213,6 +248,14 @@ */ 'getTransformProperty': function () { return transformProperty; + }, + + getVendorCssPropPrefix: function (name) { + return getVendorInfo(name).prefix; + }, + + getVendorCssPropName: function (name) { + return getVendorInfo(name).name; } }; })(KISSY); \ No newline at end of file diff --git a/src/seed/src/meta/modules.js b/src/seed/src/meta/modules.js index 67960176b0..70652d961d 100644 --- a/src/seed/src/meta/modules.js +++ b/src/seed/src/meta/modules.js @@ -276,10 +276,6 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'xtemplate/nodejs': {requires: ['xtemplate']} -}); -/*Generated By KISSY Module Compiler*/ -config({ 'xtemplate/runtime': {requires: ['path']} }); diff --git a/src/xtemplate/sub-modules/nodejs/build.xml b/src/xtemplate/sub-modules/nodejs/build.xml index fcdbf1d3f1..b8a75c8ba1 100644 --- a/src/xtemplate/sub-modules/nodejs/build.xml +++ b/src/xtemplate/sub-modules/nodejs/build.xml @@ -6,4 +6,8 @@ + + + + diff --git a/src/xtemplate/sub-modules/nodejs/meta/deps.js b/src/xtemplate/sub-modules/nodejs/meta/deps.js deleted file mode 100644 index 1bb9592e38..0000000000 --- a/src/xtemplate/sub-modules/nodejs/meta/deps.js +++ /dev/null @@ -1,4 +0,0 @@ -/*Generated By KISSY Module Compiler*/ -config({ -'xtemplate/nodejs': {requires: ['xtemplate']} -}); From 263d54270eae168229d990f6f8a59e6ad4a06674 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 16:04:32 +0800 Subject: [PATCH 30/80] update version --- build/anim-min.js | 2 +- build/anim.js | 2 +- build/anim/base-min.js | 2 +- build/anim/base.js | 2 +- build/anim/timer-min.js | 2 +- build/anim/timer.js | 2 +- build/anim/transition-min.js | 2 +- build/anim/transition.js | 2 +- build/attribute-min.js | 2 +- build/attribute.js | 2 +- build/base-min.js | 2 +- build/base.js | 2 +- build/button-min.js | 2 +- build/button.js | 2 +- build/button/assets/dpl-min.css | 2 +- build/button/assets/dpl.css | 2 +- build/color-min.js | 2 +- build/color.js | 2 +- build/combobox-min.js | 2 +- build/combobox.js | 2 +- build/combobox/assets/dpl-min.css | 2 +- build/combobox/assets/dpl.css | 2 +- build/component/container-min.js | 2 +- build/component/container.js | 2 +- build/component/control-min.js | 2 +- build/component/control.js | 2 +- build/component/extension/align-min.js | 2 +- build/component/extension/align.js | 2 +- .../component/extension/content-render-min.js | 2 +- build/component/extension/content-render.js | 2 +- build/component/extension/content-xtpl-min.js | 2 +- build/component/extension/content-xtpl.js | 2 +- .../extension/delegate-children-min.js | 2 +- .../component/extension/delegate-children.js | 2 +- build/component/extension/shim-min.js | 2 +- build/component/extension/shim.js | 2 +- build/component/manager-min.js | 2 +- build/component/manager.js | 2 +- build/component/plugin/drag-min.js | 2 +- build/component/plugin/drag.js | 2 +- build/component/plugin/resize-min.js | 2 +- build/component/plugin/resize.js | 2 +- build/cookie-min.js | 2 +- build/cookie.js | 2 +- build/css/dpl/badges-min.css | 2 +- build/css/dpl/badges.css | 2 +- build/css/dpl/base-min.css | 2 +- build/css/dpl/base.css | 2 +- build/css/dpl/forms-min.css | 2 +- build/css/dpl/forms.css | 2 +- build/css/dpl/icons-min.css | 2 +- build/css/dpl/icons.css | 2 +- build/css/dpl/labels-min.css | 2 +- build/css/dpl/labels.css | 2 +- build/css/dpl/reset-context-min.css | 2 +- build/css/dpl/reset-context.css | 2 +- build/css/dpl/reset-min.css | 2 +- build/css/dpl/reset.css | 2 +- build/css/dpl/tables-min.css | 2 +- build/css/dpl/tables.css | 2 +- build/date/format-min.js | 2 +- build/date/format.js | 2 +- build/date/gregorian-min.js | 2 +- build/date/gregorian.js | 2 +- build/date/i18n/en-us-min.js | 2 +- build/date/i18n/en-us.js | 2 +- build/date/i18n/zh-cn-min.js | 2 +- build/date/i18n/zh-cn.js | 2 +- build/date/picker-min.js | 2 +- build/date/picker-xtpl-min.js | 2 +- build/date/picker-xtpl.js | 2 +- build/date/picker.js | 2 +- build/date/picker/assets/dpl-min.css | 2 +- build/date/picker/assets/dpl.css | 2 +- build/date/picker/i18n/en-us-min.js | 2 +- build/date/picker/i18n/en-us.js | 2 +- build/date/picker/i18n/zh-cn-min.js | 2 +- build/date/picker/i18n/zh-cn.js | 2 +- build/date/popup-picker-min.js | 2 +- build/date/popup-picker.js | 2 +- build/dd-min.js | 2 +- build/dd.js | 2 +- build/dd/plugin/constrain-min.js | 2 +- build/dd/plugin/constrain.js | 2 +- build/dd/plugin/proxy-min.js | 2 +- build/dd/plugin/proxy.js | 2 +- build/dd/plugin/scroll-min.js | 2 +- build/dd/plugin/scroll.js | 2 +- build/dom/base-min.js | 2 +- build/dom/base.js | 2 +- build/dom/class-list-min.js | 2 +- build/dom/class-list.js | 2 +- build/dom/ie-min.js | 2 +- build/dom/ie.js | 2 +- build/dom/selector-min.js | 2 +- build/dom/selector.js | 2 +- build/editor-min.js | 2 +- build/editor.js | 2 +- build/editor/plugin/back-color-min.js | 2 +- build/editor/plugin/back-color.js | 2 +- build/editor/plugin/back-color/cmd-min.js | 2 +- build/editor/plugin/back-color/cmd.js | 2 +- build/editor/plugin/bold-min.js | 2 +- build/editor/plugin/bold.js | 2 +- build/editor/plugin/bold/cmd-min.js | 2 +- build/editor/plugin/bold/cmd.js | 2 +- build/editor/plugin/bubble-min.js | 2 +- build/editor/plugin/bubble.js | 2 +- build/editor/plugin/button-min.js | 2 +- build/editor/plugin/button.js | 2 +- .../editor/plugin/checkbox-source-area-min.js | 2 +- build/editor/plugin/checkbox-source-area.js | 2 +- build/editor/plugin/code-min.js | 2 +- build/editor/plugin/code.js | 2 +- build/editor/plugin/code/dialog-min.js | 2 +- build/editor/plugin/code/dialog.js | 2 +- build/editor/plugin/color/btn-min.js | 2 +- build/editor/plugin/color/btn.js | 2 +- build/editor/plugin/color/cmd-min.js | 2 +- build/editor/plugin/color/cmd.js | 2 +- build/editor/plugin/color/dialog-min.js | 2 +- build/editor/plugin/color/dialog.js | 2 +- build/editor/plugin/contextmenu-min.js | 2 +- build/editor/plugin/contextmenu.js | 2 +- build/editor/plugin/dent-cmd-min.js | 2 +- build/editor/plugin/dent-cmd.js | 2 +- build/editor/plugin/dialog-loader-min.js | 2 +- build/editor/plugin/dialog-loader.js | 2 +- build/editor/plugin/dialog-min.js | 2 +- build/editor/plugin/dialog.js | 2 +- build/editor/plugin/draft-min.js | 2 +- build/editor/plugin/draft.js | 2 +- build/editor/plugin/drag-upload-min.js | 2 +- build/editor/plugin/drag-upload.js | 2 +- build/editor/plugin/element-path-min.js | 2 +- build/editor/plugin/element-path.js | 2 +- build/editor/plugin/fake-objects-min.js | 2 +- build/editor/plugin/fake-objects.js | 2 +- build/editor/plugin/flash-bridge-min.js | 2 +- build/editor/plugin/flash-bridge.js | 2 +- .../plugin/flash-common/base-class-min.js | 2 +- .../editor/plugin/flash-common/base-class.js | 2 +- build/editor/plugin/flash-common/utils-min.js | 2 +- build/editor/plugin/flash-common/utils.js | 2 +- build/editor/plugin/flash-min.js | 2 +- build/editor/plugin/flash.js | 2 +- build/editor/plugin/flash/dialog-min.js | 2 +- build/editor/plugin/flash/dialog.js | 2 +- build/editor/plugin/focus-fix-min.js | 2 +- build/editor/plugin/focus-fix.js | 2 +- build/editor/plugin/font-family-min.js | 2 +- build/editor/plugin/font-family.js | 2 +- build/editor/plugin/font-family/cmd-min.js | 2 +- build/editor/plugin/font-family/cmd.js | 2 +- build/editor/plugin/font-size-min.js | 2 +- build/editor/plugin/font-size.js | 2 +- build/editor/plugin/font-size/cmd-min.js | 2 +- build/editor/plugin/font-size/cmd.js | 2 +- build/editor/plugin/font/cmd-min.js | 2 +- build/editor/plugin/font/cmd.js | 2 +- build/editor/plugin/font/ui-min.js | 2 +- build/editor/plugin/font/ui.js | 2 +- build/editor/plugin/fore-color-min.js | 2 +- build/editor/plugin/fore-color.js | 2 +- build/editor/plugin/fore-color/cmd-min.js | 2 +- build/editor/plugin/fore-color/cmd.js | 2 +- build/editor/plugin/heading-min.js | 2 +- build/editor/plugin/heading.js | 2 +- build/editor/plugin/heading/cmd-min.js | 2 +- build/editor/plugin/heading/cmd.js | 2 +- build/editor/plugin/image-min.js | 2 +- build/editor/plugin/image.js | 2 +- build/editor/plugin/image/dialog-min.js | 2 +- build/editor/plugin/image/dialog.js | 2 +- build/editor/plugin/indent-min.js | 2 +- build/editor/plugin/indent.js | 2 +- build/editor/plugin/indent/cmd-min.js | 2 +- build/editor/plugin/indent/cmd.js | 2 +- build/editor/plugin/italic-min.js | 2 +- build/editor/plugin/italic.js | 2 +- build/editor/plugin/italic/cmd-min.js | 2 +- build/editor/plugin/italic/cmd.js | 2 +- build/editor/plugin/justify-center-min.js | 2 +- build/editor/plugin/justify-center.js | 2 +- build/editor/plugin/justify-center/cmd-min.js | 2 +- build/editor/plugin/justify-center/cmd.js | 2 +- build/editor/plugin/justify-cmd-min.js | 2 +- build/editor/plugin/justify-cmd.js | 2 +- build/editor/plugin/justify-left-min.js | 2 +- build/editor/plugin/justify-left.js | 2 +- build/editor/plugin/justify-left/cmd-min.js | 2 +- build/editor/plugin/justify-left/cmd.js | 2 +- build/editor/plugin/justify-right-min.js | 2 +- build/editor/plugin/justify-right.js | 2 +- build/editor/plugin/justify-right/cmd-min.js | 2 +- build/editor/plugin/justify-right/cmd.js | 2 +- build/editor/plugin/link-min.js | 2 +- build/editor/plugin/link.js | 2 +- build/editor/plugin/link/dialog-min.js | 2 +- build/editor/plugin/link/dialog.js | 2 +- build/editor/plugin/link/utils-min.js | 2 +- build/editor/plugin/link/utils.js | 2 +- build/editor/plugin/list-utils-min.js | 2 +- build/editor/plugin/list-utils.js | 2 +- build/editor/plugin/list-utils/btn-min.js | 2 +- build/editor/plugin/list-utils/btn.js | 2 +- build/editor/plugin/list-utils/cmd-min.js | 2 +- build/editor/plugin/list-utils/cmd.js | 2 +- build/editor/plugin/local-storage-min.js | 2 +- build/editor/plugin/local-storage.js | 2 +- build/editor/plugin/maximize-min.js | 2 +- build/editor/plugin/maximize.js | 2 +- build/editor/plugin/maximize/cmd-min.js | 2 +- build/editor/plugin/maximize/cmd.js | 2 +- build/editor/plugin/menubutton-min.js | 2 +- build/editor/plugin/menubutton.js | 2 +- build/editor/plugin/ordered-list-min.js | 2 +- build/editor/plugin/ordered-list.js | 2 +- build/editor/plugin/ordered-list/cmd-min.js | 2 +- build/editor/plugin/ordered-list/cmd.js | 2 +- build/editor/plugin/outdent-min.js | 2 +- build/editor/plugin/outdent.js | 2 +- build/editor/plugin/outdent/cmd-min.js | 2 +- build/editor/plugin/outdent/cmd.js | 2 +- build/editor/plugin/overlay-min.js | 2 +- build/editor/plugin/overlay.js | 2 +- build/editor/plugin/page-break-min.js | 2 +- build/editor/plugin/page-break.js | 2 +- build/editor/plugin/preview-min.js | 2 +- build/editor/plugin/preview.js | 2 +- build/editor/plugin/progressbar-min.js | 2 +- build/editor/plugin/progressbar.js | 2 +- build/editor/plugin/remove-format-min.js | 2 +- build/editor/plugin/remove-format.js | 2 +- build/editor/plugin/remove-format/cmd-min.js | 2 +- build/editor/plugin/remove-format/cmd.js | 2 +- build/editor/plugin/resize-min.js | 2 +- build/editor/plugin/resize.js | 2 +- build/editor/plugin/separator-min.js | 2 +- build/editor/plugin/separator.js | 2 +- build/editor/plugin/smiley-min.js | 2 +- build/editor/plugin/smiley.js | 2 +- build/editor/plugin/source-area-min.js | 2 +- build/editor/plugin/source-area.js | 2 +- build/editor/plugin/strike-through-min.js | 2 +- build/editor/plugin/strike-through.js | 2 +- build/editor/plugin/strike-through/cmd-min.js | 2 +- build/editor/plugin/strike-through/cmd.js | 2 +- build/editor/plugin/table-min.js | 2 +- build/editor/plugin/table.js | 2 +- build/editor/plugin/table/dialog-min.js | 2 +- build/editor/plugin/table/dialog.js | 2 +- build/editor/plugin/underline-min.js | 2 +- build/editor/plugin/underline.js | 2 +- build/editor/plugin/underline/cmd-min.js | 2 +- build/editor/plugin/underline/cmd.js | 2 +- build/editor/plugin/undo-min.js | 2 +- build/editor/plugin/undo.js | 2 +- build/editor/plugin/undo/btn-min.js | 2 +- build/editor/plugin/undo/btn.js | 2 +- build/editor/plugin/undo/cmd-min.js | 2 +- build/editor/plugin/undo/cmd.js | 2 +- build/editor/plugin/unordered-list-min.js | 2 +- build/editor/plugin/unordered-list.js | 2 +- build/editor/plugin/unordered-list/cmd-min.js | 2 +- build/editor/plugin/unordered-list/cmd.js | 2 +- build/editor/plugin/video-min.js | 2 +- build/editor/plugin/video.js | 2 +- build/editor/plugin/video/dialog-min.js | 2 +- build/editor/plugin/video/dialog.js | 2 +- build/editor/plugin/word-filter-min.js | 2 +- build/editor/plugin/word-filter.js | 2 +- build/editor/plugin/xiami-music-min.js | 2 +- build/editor/plugin/xiami-music.js | 2 +- build/editor/plugin/xiami-music/dialog-min.js | 2 +- build/editor/plugin/xiami-music/dialog.js | 2 +- build/editor/theme/cool/editor-min.css | 4 +- .../theme/cool/editor-pkg-sprite-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite.css | 2 +- build/editor/theme/cool/editor.css | 162 +++++++++--------- build/editor/theme/editor-common-min.css | 2 +- build/editor/theme/editor-common.css | 2 +- build/editor/theme/editor-iframe-min.css | 2 +- build/editor/theme/editor-iframe.css | 2 +- build/event-min.js | 2 +- build/event.js | 2 +- build/event/base-min.js | 2 +- build/event/base.js | 2 +- build/event/custom-min.js | 2 +- build/event/custom.js | 2 +- build/event/dom/base-min.js | 2 +- build/event/dom/base.js | 2 +- build/event/dom/focusin-min.js | 2 +- build/event/dom/focusin.js | 2 +- build/event/dom/hashchange-min.js | 2 +- build/event/dom/hashchange.js | 2 +- build/event/dom/ie-min.js | 2 +- build/event/dom/ie.js | 2 +- build/event/dom/shake-min.js | 2 +- build/event/dom/shake.js | 2 +- build/event/dom/touch-min.js | 2 +- build/event/dom/touch.js | 2 +- build/filter-menu-min.js | 2 +- build/filter-menu.js | 2 +- build/html-parser-min.js | 2 +- build/html-parser.js | 2 +- build/import-style-min.js | 2 +- build/import-style.js | 2 +- build/io-min.js | 2 +- build/io.js | 2 +- build/json-min.js | 2 +- build/json.js | 2 +- build/kison-min.js | 2 +- build/kison.js | 2 +- build/kissy-nodejs-min.js | 4 +- build/kissy-nodejs.js | 4 +- build/menu-min.js | 2 +- build/menu.js | 2 +- build/menu/assets/dpl-min.css | 2 +- build/menu/assets/dpl.css | 2 +- build/menubutton-min.js | 2 +- build/menubutton.js | 2 +- build/menubutton/assets/dpl-min.css | 2 +- build/menubutton/assets/dpl.css | 2 +- build/mvc-min.js | 2 +- build/mvc.js | 2 +- build/node-min.js | 2 +- build/node.js | 2 +- build/overlay-min.js | 2 +- build/overlay.js | 2 +- build/overlay/assets/dpl-min.css | 2 +- build/overlay/assets/dpl.css | 2 +- build/promise-min.js | 2 +- build/promise.js | 2 +- build/resizable-min.js | 2 +- build/resizable.js | 2 +- build/resizable/plugin/proxy-min.js | 2 +- build/resizable/plugin/proxy.js | 2 +- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 2 +- build/scroll-view/base.js | 2 +- build/scroll-view/drag-min.js | 2 +- build/scroll-view/drag.js | 2 +- .../scroll-view/plugin/pull-to-refresh-min.js | 2 +- build/scroll-view/plugin/pull-to-refresh.js | 2 +- build/scroll-view/plugin/scrollbar-min.js | 2 +- build/scroll-view/plugin/scrollbar.js | 2 +- build/seed-min.js | 4 +- build/seed.js | 4 +- build/separator-min.js | 2 +- build/separator.js | 2 +- build/split-button-min.js | 2 +- build/split-button.js | 2 +- build/split-button/assets/dpl-min.css | 2 +- build/split-button/assets/dpl.css | 2 +- build/stylesheet-min.js | 2 +- build/stylesheet.js | 2 +- build/swf-min.js | 2 +- build/swf.js | 2 +- build/tabs-min.js | 2 +- build/tabs.js | 2 +- build/tabs/assets/dpl-min.css | 2 +- build/tabs/assets/dpl.css | 2 +- build/toolbar-min.js | 2 +- build/toolbar.js | 2 +- build/toolbar/assets/dpl-min.css | 2 +- build/toolbar/assets/dpl.css | 2 +- build/tree-min.js | 2 +- build/tree.js | 2 +- build/tree/assets/dpl-min.css | 2 +- build/tree/assets/dpl.css | 2 +- build/xtemplate-min.js | 2 +- build/xtemplate.js | 2 +- build/xtemplate/compiler-min.js | 2 +- build/xtemplate/compiler.js | 2 +- build/xtemplate/nodejs-min.js | 2 +- build/xtemplate/nodejs.js | 2 +- build/xtemplate/runtime-min.js | 2 +- build/xtemplate/runtime.js | 2 +- src/config.xml | 4 +- 383 files changed, 469 insertions(+), 469 deletions(-) diff --git a/build/anim-min.js b/build/anim-min.js index 217fe4b924..f67b2b600a 100644 --- a/build/anim-min.js +++ b/build/anim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/anim.js b/build/anim.js index 89ae656fe5..63c6490100 100644 --- a/build/anim.js +++ b/build/anim.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/anim/base-min.js b/build/anim/base-min.js index 8cf3fe5e65..e36b430123 100644 --- a/build/anim/base-min.js +++ b/build/anim/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 23 18:52 */ diff --git a/build/anim/base.js b/build/anim/base.js index b9990e2adc..5554ade2b0 100644 --- a/build/anim/base.js +++ b/build/anim/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 23 18:52 */ diff --git a/build/anim/timer-min.js b/build/anim/timer-min.js index 27ef3eb07f..99f8cdfe74 100644 --- a/build/anim/timer-min.js +++ b/build/anim/timer-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/anim/timer.js b/build/anim/timer.js index 635793d832..e8f52210fe 100644 --- a/build/anim/timer.js +++ b/build/anim/timer.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 82198d6b91..3ebc5b4c74 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/anim/transition.js b/build/anim/transition.js index 5bf0c3db1a..f2a42bd76f 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/attribute-min.js b/build/attribute-min.js index 36ed015ff2..99459aaa59 100644 --- a/build/attribute-min.js +++ b/build/attribute-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/attribute.js b/build/attribute.js index 2701db32a4..de214e976e 100644 --- a/build/attribute.js +++ b/build/attribute.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/base-min.js b/build/base-min.js index 8036d77521..fbdbc8d54f 100644 --- a/build/base-min.js +++ b/build/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 6 15:30 */ diff --git a/build/base.js b/build/base.js index c57f9a2128..0e6e03dcd7 100644 --- a/build/base.js +++ b/build/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 6 15:30 */ diff --git a/build/button-min.js b/build/button-min.js index ddbd1668e6..5c6ec723b3 100644 --- a/build/button-min.js +++ b/build/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/button.js b/build/button.js index 64227a695a..e18c7a9ab1 100644 --- a/build/button.js +++ b/build/button.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/button/assets/dpl-min.css b/build/button/assets/dpl-min.css index e06ed7d30b..0a4a08e2e4 100644 --- a/build/button/assets/dpl-min.css +++ b/build/button/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/button/assets/dpl.css b/build/button/assets/dpl.css index b68c0f3242..4241f4881a 100644 --- a/build/button/assets/dpl.css +++ b/build/button/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/color-min.js b/build/color-min.js index af25cbb7ab..9dde74c148 100644 --- a/build/color-min.js +++ b/build/color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/color.js b/build/color.js index 2d0dccaaf9..3acbc89e7a 100644 --- a/build/color.js +++ b/build/color.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/combobox-min.js b/build/combobox-min.js index f473e83e63..9d313bf974 100644 --- a/build/combobox-min.js +++ b/build/combobox-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/combobox.js b/build/combobox.js index 8ba73482dd..5264d8d5ca 100644 --- a/build/combobox.js +++ b/build/combobox.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/combobox/assets/dpl-min.css b/build/combobox/assets/dpl-min.css index 97bddd574a..8f7e07f4e7 100644 --- a/build/combobox/assets/dpl-min.css +++ b/build/combobox/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/combobox/assets/dpl.css b/build/combobox/assets/dpl.css index 0ac43c44d7..cc0e8d15ef 100644 --- a/build/combobox/assets/dpl.css +++ b/build/combobox/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/component/container-min.js b/build/component/container-min.js index 8b69b8aa88..e1ec3188ec 100644 --- a/build/component/container-min.js +++ b/build/component/container-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/component/container.js b/build/component/container.js index f735db0773..acfc844f07 100644 --- a/build/component/container.js +++ b/build/component/container.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:04 */ diff --git a/build/component/control-min.js b/build/component/control-min.js index 095ba8b08a..c85be61438 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/component/control.js b/build/component/control.js index a1daf37e89..329e34b27b 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/component/extension/align-min.js b/build/component/extension/align-min.js index 58469d732e..324adf79b5 100644 --- a/build/component/extension/align-min.js +++ b/build/component/extension/align-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 10 01:46 */ diff --git a/build/component/extension/align.js b/build/component/extension/align.js index 96d19c7761..246d60bd75 100644 --- a/build/component/extension/align.js +++ b/build/component/extension/align.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 10 01:46 */ diff --git a/build/component/extension/content-render-min.js b/build/component/extension/content-render-min.js index e499b79b1a..faac4484c8 100644 --- a/build/component/extension/content-render-min.js +++ b/build/component/extension/content-render-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/extension/content-render.js b/build/component/extension/content-render.js index 0cd5c1efa7..0a8551aa95 100644 --- a/build/component/extension/content-render.js +++ b/build/component/extension/content-render.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/extension/content-xtpl-min.js b/build/component/extension/content-xtpl-min.js index 3550414ecd..7c632b2356 100644 --- a/build/component/extension/content-xtpl-min.js +++ b/build/component/extension/content-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/extension/content-xtpl.js b/build/component/extension/content-xtpl.js index 7abfc08e35..446d86e4af 100644 --- a/build/component/extension/content-xtpl.js +++ b/build/component/extension/content-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js index 72efaf6a80..a357b8bbb5 100644 --- a/build/component/extension/delegate-children-min.js +++ b/build/component/extension/delegate-children-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js index 63114d797e..a50e79249e 100644 --- a/build/component/extension/delegate-children.js +++ b/build/component/extension/delegate-children.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/component/extension/shim-min.js b/build/component/extension/shim-min.js index 2fcfbb332b..b6159cd241 100644 --- a/build/component/extension/shim-min.js +++ b/build/component/extension/shim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/extension/shim.js b/build/component/extension/shim.js index c447475e46..b1721bb6a0 100644 --- a/build/component/extension/shim.js +++ b/build/component/extension/shim.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/manager-min.js b/build/component/manager-min.js index 9f4b5ddab1..8f6b36fc98 100644 --- a/build/component/manager-min.js +++ b/build/component/manager-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/manager.js b/build/component/manager.js index 218c0e62cb..4324e22685 100644 --- a/build/component/manager.js +++ b/build/component/manager.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/plugin/drag-min.js b/build/component/plugin/drag-min.js index 3bbdd59ad2..067dfc54ce 100644 --- a/build/component/plugin/drag-min.js +++ b/build/component/plugin/drag-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/plugin/drag.js b/build/component/plugin/drag.js index eb166f5752..c6ca2fac64 100644 --- a/build/component/plugin/drag.js +++ b/build/component/plugin/drag.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/plugin/resize-min.js b/build/component/plugin/resize-min.js index 4ab29eece1..1687a79e44 100644 --- a/build/component/plugin/resize-min.js +++ b/build/component/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/component/plugin/resize.js b/build/component/plugin/resize.js index 70c0df72fa..0572e45f51 100644 --- a/build/component/plugin/resize.js +++ b/build/component/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/cookie-min.js b/build/cookie-min.js index 415a055808..2281bf5ace 100644 --- a/build/cookie-min.js +++ b/build/cookie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/cookie.js b/build/cookie.js index 442068b207..c53278aa50 100644 --- a/build/cookie.js +++ b/build/cookie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/badges-min.css b/build/css/dpl/badges-min.css index 71e8677fe1..812e887b1b 100644 --- a/build/css/dpl/badges-min.css +++ b/build/css/dpl/badges-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/badges.css b/build/css/dpl/badges.css index 90afe255fc..1e9ce4b272 100644 --- a/build/css/dpl/badges.css +++ b/build/css/dpl/badges.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/base-min.css b/build/css/dpl/base-min.css index aad2b6ffa5..7a3c37cf62 100644 --- a/build/css/dpl/base-min.css +++ b/build/css/dpl/base-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/base.css b/build/css/dpl/base.css index 2983796b31..a7502ad894 100644 --- a/build/css/dpl/base.css +++ b/build/css/dpl/base.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/forms-min.css b/build/css/dpl/forms-min.css index a6456f3514..4e402c46d1 100644 --- a/build/css/dpl/forms-min.css +++ b/build/css/dpl/forms-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/forms.css b/build/css/dpl/forms.css index c9e0b8ec68..58d80627db 100644 --- a/build/css/dpl/forms.css +++ b/build/css/dpl/forms.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/icons-min.css b/build/css/dpl/icons-min.css index 37a5c48396..4277e02fde 100644 --- a/build/css/dpl/icons-min.css +++ b/build/css/dpl/icons-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/icons.css b/build/css/dpl/icons.css index 15b756c819..237f5fc4dc 100644 --- a/build/css/dpl/icons.css +++ b/build/css/dpl/icons.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/labels-min.css b/build/css/dpl/labels-min.css index b43e083b0a..576840ab23 100644 --- a/build/css/dpl/labels-min.css +++ b/build/css/dpl/labels-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/labels.css b/build/css/dpl/labels.css index 649fc0b2f9..c6c8ed1b66 100644 --- a/build/css/dpl/labels.css +++ b/build/css/dpl/labels.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/reset-context-min.css b/build/css/dpl/reset-context-min.css index 2c9b7b7d97..8622d3e4e0 100644 --- a/build/css/dpl/reset-context-min.css +++ b/build/css/dpl/reset-context-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/reset-context.css b/build/css/dpl/reset-context.css index 8fa41ec664..7e9f23c402 100644 --- a/build/css/dpl/reset-context.css +++ b/build/css/dpl/reset-context.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/reset-min.css b/build/css/dpl/reset-min.css index 23a6d06e28..6505bcb67a 100644 --- a/build/css/dpl/reset-min.css +++ b/build/css/dpl/reset-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/reset.css b/build/css/dpl/reset.css index 94f541c710..cfce6ac167 100644 --- a/build/css/dpl/reset.css +++ b/build/css/dpl/reset.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/tables-min.css b/build/css/dpl/tables-min.css index 4968a993c6..fcc2764ddb 100644 --- a/build/css/dpl/tables-min.css +++ b/build/css/dpl/tables-min.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/css/dpl/tables.css b/build/css/dpl/tables.css index 1ec47c5346..929afbabee 100644 --- a/build/css/dpl/tables.css +++ b/build/css/dpl/tables.css @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:05 */ diff --git a/build/date/format-min.js b/build/date/format-min.js index 7ec48d9447..4cbd203460 100644 --- a/build/date/format-min.js +++ b/build/date/format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/format.js b/build/date/format.js index af7bc7f779..0a8d57ad14 100644 --- a/build/date/format.js +++ b/build/date/format.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/gregorian-min.js b/build/date/gregorian-min.js index cc51f70596..fe85a413b3 100644 --- a/build/date/gregorian-min.js +++ b/build/date/gregorian-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/gregorian.js b/build/date/gregorian.js index 17b54b59ab..557fc6cb3e 100644 --- a/build/date/gregorian.js +++ b/build/date/gregorian.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/i18n/en-us-min.js b/build/date/i18n/en-us-min.js index 21fc12287b..34b248055b 100644 --- a/build/date/i18n/en-us-min.js +++ b/build/date/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/i18n/en-us.js b/build/date/i18n/en-us.js index 0a28b65cec..c015be7407 100644 --- a/build/date/i18n/en-us.js +++ b/build/date/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/i18n/zh-cn-min.js b/build/date/i18n/zh-cn-min.js index 1a630422a1..5f25dc7a76 100644 --- a/build/date/i18n/zh-cn-min.js +++ b/build/date/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/i18n/zh-cn.js b/build/date/i18n/zh-cn.js index efb6161d13..d674621d75 100644 --- a/build/date/i18n/zh-cn.js +++ b/build/date/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/picker-min.js b/build/date/picker-min.js index eb8f6c6a81..a59ddff4f6 100644 --- a/build/date/picker-min.js +++ b/build/date/picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 15:43 */ diff --git a/build/date/picker-xtpl-min.js b/build/date/picker-xtpl-min.js index 0ed7fcc359..1f5e0b871b 100644 --- a/build/date/picker-xtpl-min.js +++ b/build/date/picker-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:35 */ diff --git a/build/date/picker-xtpl.js b/build/date/picker-xtpl.js index 09a5c1eba8..d5fbe7663a 100644 --- a/build/date/picker-xtpl.js +++ b/build/date/picker-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:35 */ diff --git a/build/date/picker.js b/build/date/picker.js index 94daf69e2e..154d2df0b0 100644 --- a/build/date/picker.js +++ b/build/date/picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 15:43 */ diff --git a/build/date/picker/assets/dpl-min.css b/build/date/picker/assets/dpl-min.css index 54652f1217..353c54d855 100644 --- a/build/date/picker/assets/dpl-min.css +++ b/build/date/picker/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 15:43 */ diff --git a/build/date/picker/assets/dpl.css b/build/date/picker/assets/dpl.css index 5422137cfe..951e24b29c 100644 --- a/build/date/picker/assets/dpl.css +++ b/build/date/picker/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 15:43 */ diff --git a/build/date/picker/i18n/en-us-min.js b/build/date/picker/i18n/en-us-min.js index 37dc35b227..9d194078d4 100644 --- a/build/date/picker/i18n/en-us-min.js +++ b/build/date/picker/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/picker/i18n/en-us.js b/build/date/picker/i18n/en-us.js index 3aad004f25..0b65aa9b3c 100644 --- a/build/date/picker/i18n/en-us.js +++ b/build/date/picker/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/picker/i18n/zh-cn-min.js b/build/date/picker/i18n/zh-cn-min.js index af6cd108b9..74d6ecfed9 100644 --- a/build/date/picker/i18n/zh-cn-min.js +++ b/build/date/picker/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/picker/i18n/zh-cn.js b/build/date/picker/i18n/zh-cn.js index 572702ec78..719bf58ea6 100644 --- a/build/date/picker/i18n/zh-cn.js +++ b/build/date/picker/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/date/popup-picker-min.js b/build/date/popup-picker-min.js index 8fffd74592..71f0ec2b1a 100644 --- a/build/date/popup-picker-min.js +++ b/build/date/popup-picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:35 */ diff --git a/build/date/popup-picker.js b/build/date/popup-picker.js index 9e88865a92..a778ec6245 100644 --- a/build/date/popup-picker.js +++ b/build/date/popup-picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:35 */ diff --git a/build/dd-min.js b/build/dd-min.js index 1dd63c6a2a..facb36b050 100644 --- a/build/dd-min.js +++ b/build/dd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd.js b/build/dd.js index ecb3833b78..2fb54dd179 100644 --- a/build/dd.js +++ b/build/dd.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/constrain-min.js b/build/dd/plugin/constrain-min.js index a50ab53513..6240d82668 100644 --- a/build/dd/plugin/constrain-min.js +++ b/build/dd/plugin/constrain-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/constrain.js b/build/dd/plugin/constrain.js index c6129f45e5..49895d639d 100644 --- a/build/dd/plugin/constrain.js +++ b/build/dd/plugin/constrain.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/proxy-min.js b/build/dd/plugin/proxy-min.js index c74bb73632..2ed1de43d5 100644 --- a/build/dd/plugin/proxy-min.js +++ b/build/dd/plugin/proxy-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/proxy.js b/build/dd/plugin/proxy.js index 15d3e6814b..26c69abe1f 100644 --- a/build/dd/plugin/proxy.js +++ b/build/dd/plugin/proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/scroll-min.js b/build/dd/plugin/scroll-min.js index efc6f38222..4952d4f68e 100644 --- a/build/dd/plugin/scroll-min.js +++ b/build/dd/plugin/scroll-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dd/plugin/scroll.js b/build/dd/plugin/scroll.js index 4d97bbbf1a..cf42a4e723 100644 --- a/build/dd/plugin/scroll.js +++ b/build/dd/plugin/scroll.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:06 */ diff --git a/build/dom/base-min.js b/build/dom/base-min.js index f387009a1f..7c76580e40 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 11 16:30 */ diff --git a/build/dom/base.js b/build/dom/base.js index 27a1e421f6..dfa19cbef9 100644 --- a/build/dom/base.js +++ b/build/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 11 16:30 */ diff --git a/build/dom/class-list-min.js b/build/dom/class-list-min.js index 8017e4b69e..4c40717f03 100644 --- a/build/dom/class-list-min.js +++ b/build/dom/class-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/dom/class-list.js b/build/dom/class-list.js index 572206b011..4b1a99e7b6 100644 --- a/build/dom/class-list.js +++ b/build/dom/class-list.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/dom/ie-min.js b/build/dom/ie-min.js index 63be54d53b..eafc33c792 100644 --- a/build/dom/ie-min.js +++ b/build/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/dom/ie.js b/build/dom/ie.js index 680a5e04f6..26b2dc4595 100644 --- a/build/dom/ie.js +++ b/build/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js index 5e332c446e..1232e1572b 100644 --- a/build/dom/selector-min.js +++ b/build/dom/selector-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/dom/selector.js b/build/dom/selector.js index f706b213cb..15ba725878 100644 --- a/build/dom/selector.js +++ b/build/dom/selector.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:39 */ diff --git a/build/editor-min.js b/build/editor-min.js index 81f717cfe1..359fbb2923 100644 --- a/build/editor-min.js +++ b/build/editor-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:57 */ diff --git a/build/editor.js b/build/editor.js index adce7902f7..4e0ba9c1c8 100644 --- a/build/editor.js +++ b/build/editor.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:57 */ diff --git a/build/editor/plugin/back-color-min.js b/build/editor/plugin/back-color-min.js index 74d00c3312..1753b043be 100644 --- a/build/editor/plugin/back-color-min.js +++ b/build/editor/plugin/back-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/back-color.js b/build/editor/plugin/back-color.js index 0437ce91ee..6763552d90 100644 --- a/build/editor/plugin/back-color.js +++ b/build/editor/plugin/back-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/back-color/cmd-min.js b/build/editor/plugin/back-color/cmd-min.js index 88d915d333..5e65c9b370 100644 --- a/build/editor/plugin/back-color/cmd-min.js +++ b/build/editor/plugin/back-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/back-color/cmd.js b/build/editor/plugin/back-color/cmd.js index b999a31f6a..8f266c979c 100644 --- a/build/editor/plugin/back-color/cmd.js +++ b/build/editor/plugin/back-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/bold-min.js b/build/editor/plugin/bold-min.js index c397bfc77e..e158393c82 100644 --- a/build/editor/plugin/bold-min.js +++ b/build/editor/plugin/bold-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/bold.js b/build/editor/plugin/bold.js index 70748ba49c..145e5ff7a2 100644 --- a/build/editor/plugin/bold.js +++ b/build/editor/plugin/bold.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/bold/cmd-min.js b/build/editor/plugin/bold/cmd-min.js index f47474f410..e7eaea7670 100644 --- a/build/editor/plugin/bold/cmd-min.js +++ b/build/editor/plugin/bold/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/bold/cmd.js b/build/editor/plugin/bold/cmd.js index c9d2e42758..80cdd1ad4f 100644 --- a/build/editor/plugin/bold/cmd.js +++ b/build/editor/plugin/bold/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:44 */ diff --git a/build/editor/plugin/bubble-min.js b/build/editor/plugin/bubble-min.js index d51ff3cd96..51799aac8a 100644 --- a/build/editor/plugin/bubble-min.js +++ b/build/editor/plugin/bubble-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/bubble.js b/build/editor/plugin/bubble.js index 56caa35f66..9d53defbf1 100644 --- a/build/editor/plugin/bubble.js +++ b/build/editor/plugin/bubble.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/button-min.js b/build/editor/plugin/button-min.js index 35fef40344..0403d21ded 100644 --- a/build/editor/plugin/button-min.js +++ b/build/editor/plugin/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/button.js b/build/editor/plugin/button.js index 34e04ddaa8..17ac0da8eb 100644 --- a/build/editor/plugin/button.js +++ b/build/editor/plugin/button.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/checkbox-source-area-min.js b/build/editor/plugin/checkbox-source-area-min.js index cc1ad559af..71da1553f6 100644 --- a/build/editor/plugin/checkbox-source-area-min.js +++ b/build/editor/plugin/checkbox-source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/checkbox-source-area.js b/build/editor/plugin/checkbox-source-area.js index 99c230cc2c..297d980097 100644 --- a/build/editor/plugin/checkbox-source-area.js +++ b/build/editor/plugin/checkbox-source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/code-min.js b/build/editor/plugin/code-min.js index 030ecfcee4..fad1cfb100 100644 --- a/build/editor/plugin/code-min.js +++ b/build/editor/plugin/code-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/code.js b/build/editor/plugin/code.js index ef72381199..e88ca46bc7 100644 --- a/build/editor/plugin/code.js +++ b/build/editor/plugin/code.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/code/dialog-min.js b/build/editor/plugin/code/dialog-min.js index db91077ab6..ffc131f3db 100644 --- a/build/editor/plugin/code/dialog-min.js +++ b/build/editor/plugin/code/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/code/dialog.js b/build/editor/plugin/code/dialog.js index dd516a10b5..ccdc61da07 100644 --- a/build/editor/plugin/code/dialog.js +++ b/build/editor/plugin/code/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/btn-min.js b/build/editor/plugin/color/btn-min.js index 4db3daf56e..4e70e82520 100644 --- a/build/editor/plugin/color/btn-min.js +++ b/build/editor/plugin/color/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/btn.js b/build/editor/plugin/color/btn.js index dd28d2cbab..2594e58440 100644 --- a/build/editor/plugin/color/btn.js +++ b/build/editor/plugin/color/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/cmd-min.js b/build/editor/plugin/color/cmd-min.js index a221cfc9e5..3143c2ffb8 100644 --- a/build/editor/plugin/color/cmd-min.js +++ b/build/editor/plugin/color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/cmd.js b/build/editor/plugin/color/cmd.js index e423fbcb9a..c00239112c 100644 --- a/build/editor/plugin/color/cmd.js +++ b/build/editor/plugin/color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/dialog-min.js b/build/editor/plugin/color/dialog-min.js index ac0b92663d..148f2ab458 100644 --- a/build/editor/plugin/color/dialog-min.js +++ b/build/editor/plugin/color/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/color/dialog.js b/build/editor/plugin/color/dialog.js index cbb6402e6f..c625e2e8d2 100644 --- a/build/editor/plugin/color/dialog.js +++ b/build/editor/plugin/color/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/contextmenu-min.js b/build/editor/plugin/contextmenu-min.js index 1692e45346..fb3403e2bc 100644 --- a/build/editor/plugin/contextmenu-min.js +++ b/build/editor/plugin/contextmenu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/contextmenu.js b/build/editor/plugin/contextmenu.js index 7a82585f51..6bb5f76403 100644 --- a/build/editor/plugin/contextmenu.js +++ b/build/editor/plugin/contextmenu.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/dent-cmd-min.js b/build/editor/plugin/dent-cmd-min.js index e2dbd6f97b..15eba46ce1 100644 --- a/build/editor/plugin/dent-cmd-min.js +++ b/build/editor/plugin/dent-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/dent-cmd.js b/build/editor/plugin/dent-cmd.js index acb3a90231..37df717099 100644 --- a/build/editor/plugin/dent-cmd.js +++ b/build/editor/plugin/dent-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/dialog-loader-min.js b/build/editor/plugin/dialog-loader-min.js index faa9446227..2387231331 100644 --- a/build/editor/plugin/dialog-loader-min.js +++ b/build/editor/plugin/dialog-loader-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/dialog-loader.js b/build/editor/plugin/dialog-loader.js index beae02d020..18cf0b0a31 100644 --- a/build/editor/plugin/dialog-loader.js +++ b/build/editor/plugin/dialog-loader.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:45 */ diff --git a/build/editor/plugin/dialog-min.js b/build/editor/plugin/dialog-min.js index 70b313443f..aa0160edf9 100644 --- a/build/editor/plugin/dialog-min.js +++ b/build/editor/plugin/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/dialog.js b/build/editor/plugin/dialog.js index 02d6601a28..dcd4f611fe 100644 --- a/build/editor/plugin/dialog.js +++ b/build/editor/plugin/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/draft-min.js b/build/editor/plugin/draft-min.js index eed4473e13..11062b6c33 100644 --- a/build/editor/plugin/draft-min.js +++ b/build/editor/plugin/draft-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/draft.js b/build/editor/plugin/draft.js index 1f289ccdbf..24d08bad15 100644 --- a/build/editor/plugin/draft.js +++ b/build/editor/plugin/draft.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/drag-upload-min.js b/build/editor/plugin/drag-upload-min.js index 1662db06c0..86341e9037 100644 --- a/build/editor/plugin/drag-upload-min.js +++ b/build/editor/plugin/drag-upload-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/drag-upload.js b/build/editor/plugin/drag-upload.js index d1b1244f27..90f8c910a9 100644 --- a/build/editor/plugin/drag-upload.js +++ b/build/editor/plugin/drag-upload.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/element-path-min.js b/build/editor/plugin/element-path-min.js index 4baf294472..c1f8cb809f 100644 --- a/build/editor/plugin/element-path-min.js +++ b/build/editor/plugin/element-path-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/element-path.js b/build/editor/plugin/element-path.js index 62625b100e..e602b1e246 100644 --- a/build/editor/plugin/element-path.js +++ b/build/editor/plugin/element-path.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/fake-objects-min.js b/build/editor/plugin/fake-objects-min.js index 9c6b659795..5da70b2211 100644 --- a/build/editor/plugin/fake-objects-min.js +++ b/build/editor/plugin/fake-objects-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 13:38 */ diff --git a/build/editor/plugin/fake-objects.js b/build/editor/plugin/fake-objects.js index 15c2df0cc3..42021d26ba 100644 --- a/build/editor/plugin/fake-objects.js +++ b/build/editor/plugin/fake-objects.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 13:38 */ diff --git a/build/editor/plugin/flash-bridge-min.js b/build/editor/plugin/flash-bridge-min.js index d4a0920aee..039bc61374 100644 --- a/build/editor/plugin/flash-bridge-min.js +++ b/build/editor/plugin/flash-bridge-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash-bridge.js b/build/editor/plugin/flash-bridge.js index eef5522aab..da199106c7 100644 --- a/build/editor/plugin/flash-bridge.js +++ b/build/editor/plugin/flash-bridge.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js index 3285312731..4f0c6872fc 100644 --- a/build/editor/plugin/flash-common/base-class-min.js +++ b/build/editor/plugin/flash-common/base-class-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:56 */ diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js index 8a7451ab50..812f1f423a 100644 --- a/build/editor/plugin/flash-common/base-class.js +++ b/build/editor/plugin/flash-common/base-class.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:56 */ diff --git a/build/editor/plugin/flash-common/utils-min.js b/build/editor/plugin/flash-common/utils-min.js index c8a5aab042..d71295c307 100644 --- a/build/editor/plugin/flash-common/utils-min.js +++ b/build/editor/plugin/flash-common/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash-common/utils.js b/build/editor/plugin/flash-common/utils.js index f070975f2a..9002ff418d 100644 --- a/build/editor/plugin/flash-common/utils.js +++ b/build/editor/plugin/flash-common/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash-min.js b/build/editor/plugin/flash-min.js index 56949303d5..af25c9b44c 100644 --- a/build/editor/plugin/flash-min.js +++ b/build/editor/plugin/flash-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash.js b/build/editor/plugin/flash.js index e23a41688e..f81ae98fd7 100644 --- a/build/editor/plugin/flash.js +++ b/build/editor/plugin/flash.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash/dialog-min.js b/build/editor/plugin/flash/dialog-min.js index c4e012f20b..fdd3718570 100644 --- a/build/editor/plugin/flash/dialog-min.js +++ b/build/editor/plugin/flash/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/flash/dialog.js b/build/editor/plugin/flash/dialog.js index 8dd8f21a2b..c5bfe05dd5 100644 --- a/build/editor/plugin/flash/dialog.js +++ b/build/editor/plugin/flash/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/focus-fix-min.js b/build/editor/plugin/focus-fix-min.js index 4824fb26cc..9b7dc45617 100644 --- a/build/editor/plugin/focus-fix-min.js +++ b/build/editor/plugin/focus-fix-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/focus-fix.js b/build/editor/plugin/focus-fix.js index c5c3523d4a..1543c4d8d1 100644 --- a/build/editor/plugin/focus-fix.js +++ b/build/editor/plugin/focus-fix.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:46 */ diff --git a/build/editor/plugin/font-family-min.js b/build/editor/plugin/font-family-min.js index c79c661688..caae5baebd 100644 --- a/build/editor/plugin/font-family-min.js +++ b/build/editor/plugin/font-family-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-family.js b/build/editor/plugin/font-family.js index c5e859153a..48b86b7e7b 100644 --- a/build/editor/plugin/font-family.js +++ b/build/editor/plugin/font-family.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-family/cmd-min.js b/build/editor/plugin/font-family/cmd-min.js index 1ab2a70c59..d839ab9771 100644 --- a/build/editor/plugin/font-family/cmd-min.js +++ b/build/editor/plugin/font-family/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-family/cmd.js b/build/editor/plugin/font-family/cmd.js index 5d51779274..5e1304e0cb 100644 --- a/build/editor/plugin/font-family/cmd.js +++ b/build/editor/plugin/font-family/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-size-min.js b/build/editor/plugin/font-size-min.js index 22542853bd..4bd9ec3918 100644 --- a/build/editor/plugin/font-size-min.js +++ b/build/editor/plugin/font-size-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-size.js b/build/editor/plugin/font-size.js index 9508b5dbd7..7ed34e86b2 100644 --- a/build/editor/plugin/font-size.js +++ b/build/editor/plugin/font-size.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-size/cmd-min.js b/build/editor/plugin/font-size/cmd-min.js index c4ad3bf07a..6e2a4e7f6e 100644 --- a/build/editor/plugin/font-size/cmd-min.js +++ b/build/editor/plugin/font-size/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font-size/cmd.js b/build/editor/plugin/font-size/cmd.js index c1d98744e6..f6cfba1c3e 100644 --- a/build/editor/plugin/font-size/cmd.js +++ b/build/editor/plugin/font-size/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font/cmd-min.js b/build/editor/plugin/font/cmd-min.js index 4b20b7958c..44515dc0fd 100644 --- a/build/editor/plugin/font/cmd-min.js +++ b/build/editor/plugin/font/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font/cmd.js b/build/editor/plugin/font/cmd.js index c7994e2732..4dc73baec8 100644 --- a/build/editor/plugin/font/cmd.js +++ b/build/editor/plugin/font/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font/ui-min.js b/build/editor/plugin/font/ui-min.js index 1d29f02125..17cc54793a 100644 --- a/build/editor/plugin/font/ui-min.js +++ b/build/editor/plugin/font/ui-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/font/ui.js b/build/editor/plugin/font/ui.js index 08e8481fd1..cf885f1e62 100644 --- a/build/editor/plugin/font/ui.js +++ b/build/editor/plugin/font/ui.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/fore-color-min.js b/build/editor/plugin/fore-color-min.js index 156258a31c..a5772eca1d 100644 --- a/build/editor/plugin/fore-color-min.js +++ b/build/editor/plugin/fore-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/fore-color.js b/build/editor/plugin/fore-color.js index 4febc52636..0b649b3a33 100644 --- a/build/editor/plugin/fore-color.js +++ b/build/editor/plugin/fore-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/fore-color/cmd-min.js b/build/editor/plugin/fore-color/cmd-min.js index 7edb758897..bb87120d03 100644 --- a/build/editor/plugin/fore-color/cmd-min.js +++ b/build/editor/plugin/fore-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/fore-color/cmd.js b/build/editor/plugin/fore-color/cmd.js index 1269aaf32e..f2d2dfa1dc 100644 --- a/build/editor/plugin/fore-color/cmd.js +++ b/build/editor/plugin/fore-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/heading-min.js b/build/editor/plugin/heading-min.js index 450b8aa28d..9129924499 100644 --- a/build/editor/plugin/heading-min.js +++ b/build/editor/plugin/heading-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/heading.js b/build/editor/plugin/heading.js index 390bdde2dc..a136bb150b 100644 --- a/build/editor/plugin/heading.js +++ b/build/editor/plugin/heading.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/heading/cmd-min.js b/build/editor/plugin/heading/cmd-min.js index 85c0b0b8aa..525bfb3958 100644 --- a/build/editor/plugin/heading/cmd-min.js +++ b/build/editor/plugin/heading/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/heading/cmd.js b/build/editor/plugin/heading/cmd.js index 16338d6489..79b8c6cdaf 100644 --- a/build/editor/plugin/heading/cmd.js +++ b/build/editor/plugin/heading/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js index 07f7bfe3b3..38a58e1708 100644 --- a/build/editor/plugin/image-min.js +++ b/build/editor/plugin/image-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:56 */ diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js index 5297c18b5d..3999ac2091 100644 --- a/build/editor/plugin/image.js +++ b/build/editor/plugin/image.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 13 14:56 */ diff --git a/build/editor/plugin/image/dialog-min.js b/build/editor/plugin/image/dialog-min.js index 76fd2e317d..9c150dd126 100644 --- a/build/editor/plugin/image/dialog-min.js +++ b/build/editor/plugin/image/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/image/dialog.js b/build/editor/plugin/image/dialog.js index 3a177d4351..540636c077 100644 --- a/build/editor/plugin/image/dialog.js +++ b/build/editor/plugin/image/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:47 */ diff --git a/build/editor/plugin/indent-min.js b/build/editor/plugin/indent-min.js index c1420bc123..f7f1ca13e9 100644 --- a/build/editor/plugin/indent-min.js +++ b/build/editor/plugin/indent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/indent.js b/build/editor/plugin/indent.js index 10ca7841e5..0a13d66aff 100644 --- a/build/editor/plugin/indent.js +++ b/build/editor/plugin/indent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/indent/cmd-min.js b/build/editor/plugin/indent/cmd-min.js index 9d50a9ae08..01eaa893cf 100644 --- a/build/editor/plugin/indent/cmd-min.js +++ b/build/editor/plugin/indent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/indent/cmd.js b/build/editor/plugin/indent/cmd.js index ebebffc1a8..4ed2f5d20d 100644 --- a/build/editor/plugin/indent/cmd.js +++ b/build/editor/plugin/indent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/italic-min.js b/build/editor/plugin/italic-min.js index 70b06fd98d..beb2ad7cd3 100644 --- a/build/editor/plugin/italic-min.js +++ b/build/editor/plugin/italic-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/italic.js b/build/editor/plugin/italic.js index d348842346..2759a945da 100644 --- a/build/editor/plugin/italic.js +++ b/build/editor/plugin/italic.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/italic/cmd-min.js b/build/editor/plugin/italic/cmd-min.js index 6495086619..721bd7e77e 100644 --- a/build/editor/plugin/italic/cmd-min.js +++ b/build/editor/plugin/italic/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/italic/cmd.js b/build/editor/plugin/italic/cmd.js index 4fb86a193c..7bcd80c89e 100644 --- a/build/editor/plugin/italic/cmd.js +++ b/build/editor/plugin/italic/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-center-min.js b/build/editor/plugin/justify-center-min.js index 539343ab43..54031ef5f8 100644 --- a/build/editor/plugin/justify-center-min.js +++ b/build/editor/plugin/justify-center-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-center.js b/build/editor/plugin/justify-center.js index 6920a603ad..d89117f1f1 100644 --- a/build/editor/plugin/justify-center.js +++ b/build/editor/plugin/justify-center.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-center/cmd-min.js b/build/editor/plugin/justify-center/cmd-min.js index 7a56f6e3cf..d2fe2b14a6 100644 --- a/build/editor/plugin/justify-center/cmd-min.js +++ b/build/editor/plugin/justify-center/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-center/cmd.js b/build/editor/plugin/justify-center/cmd.js index ebbfdeaeb6..2e4c0e379e 100644 --- a/build/editor/plugin/justify-center/cmd.js +++ b/build/editor/plugin/justify-center/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-cmd-min.js b/build/editor/plugin/justify-cmd-min.js index 7e668863d3..5071e7e295 100644 --- a/build/editor/plugin/justify-cmd-min.js +++ b/build/editor/plugin/justify-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-cmd.js b/build/editor/plugin/justify-cmd.js index b8f4ec5461..04ba2cc58c 100644 --- a/build/editor/plugin/justify-cmd.js +++ b/build/editor/plugin/justify-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-left-min.js b/build/editor/plugin/justify-left-min.js index 7e090be7d5..c3704c5c65 100644 --- a/build/editor/plugin/justify-left-min.js +++ b/build/editor/plugin/justify-left-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-left.js b/build/editor/plugin/justify-left.js index bfc7f249b9..b4acee2dfc 100644 --- a/build/editor/plugin/justify-left.js +++ b/build/editor/plugin/justify-left.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-left/cmd-min.js b/build/editor/plugin/justify-left/cmd-min.js index 11302be70c..c3acb56b90 100644 --- a/build/editor/plugin/justify-left/cmd-min.js +++ b/build/editor/plugin/justify-left/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-left/cmd.js b/build/editor/plugin/justify-left/cmd.js index a1782251e2..47cc5cfd8c 100644 --- a/build/editor/plugin/justify-left/cmd.js +++ b/build/editor/plugin/justify-left/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-right-min.js b/build/editor/plugin/justify-right-min.js index 02a0498de7..252859bfb4 100644 --- a/build/editor/plugin/justify-right-min.js +++ b/build/editor/plugin/justify-right-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-right.js b/build/editor/plugin/justify-right.js index 3dd70908a2..00bd97588f 100644 --- a/build/editor/plugin/justify-right.js +++ b/build/editor/plugin/justify-right.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-right/cmd-min.js b/build/editor/plugin/justify-right/cmd-min.js index 0aca25275a..7b62d0c261 100644 --- a/build/editor/plugin/justify-right/cmd-min.js +++ b/build/editor/plugin/justify-right/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/justify-right/cmd.js b/build/editor/plugin/justify-right/cmd.js index 7cbc0c61bb..7df777e92b 100644 --- a/build/editor/plugin/justify-right/cmd.js +++ b/build/editor/plugin/justify-right/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/link-min.js b/build/editor/plugin/link-min.js index 02e52a19a9..0d737f360b 100644 --- a/build/editor/plugin/link-min.js +++ b/build/editor/plugin/link-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/link.js b/build/editor/plugin/link.js index 42e71acb74..9ddd6caeb1 100644 --- a/build/editor/plugin/link.js +++ b/build/editor/plugin/link.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:48 */ diff --git a/build/editor/plugin/link/dialog-min.js b/build/editor/plugin/link/dialog-min.js index 9accf67964..1cc6ad6d33 100644 --- a/build/editor/plugin/link/dialog-min.js +++ b/build/editor/plugin/link/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/link/dialog.js b/build/editor/plugin/link/dialog.js index 78026c5656..b7dc758cc6 100644 --- a/build/editor/plugin/link/dialog.js +++ b/build/editor/plugin/link/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/link/utils-min.js b/build/editor/plugin/link/utils-min.js index 06200f7d46..031c68a4e6 100644 --- a/build/editor/plugin/link/utils-min.js +++ b/build/editor/plugin/link/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/link/utils.js b/build/editor/plugin/link/utils.js index 3568cd82fd..231be2551e 100644 --- a/build/editor/plugin/link/utils.js +++ b/build/editor/plugin/link/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils-min.js b/build/editor/plugin/list-utils-min.js index f5c18ce791..19ace28982 100644 --- a/build/editor/plugin/list-utils-min.js +++ b/build/editor/plugin/list-utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils.js b/build/editor/plugin/list-utils.js index 071ee63b6c..404ede430c 100644 --- a/build/editor/plugin/list-utils.js +++ b/build/editor/plugin/list-utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils/btn-min.js b/build/editor/plugin/list-utils/btn-min.js index d587dc5c1f..7eea32a86f 100644 --- a/build/editor/plugin/list-utils/btn-min.js +++ b/build/editor/plugin/list-utils/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils/btn.js b/build/editor/plugin/list-utils/btn.js index 81f54da247..39ffa3c29d 100644 --- a/build/editor/plugin/list-utils/btn.js +++ b/build/editor/plugin/list-utils/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils/cmd-min.js b/build/editor/plugin/list-utils/cmd-min.js index 4b9aa8cc44..93b389f863 100644 --- a/build/editor/plugin/list-utils/cmd-min.js +++ b/build/editor/plugin/list-utils/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/list-utils/cmd.js b/build/editor/plugin/list-utils/cmd.js index 88a90435a4..6f9438a161 100644 --- a/build/editor/plugin/list-utils/cmd.js +++ b/build/editor/plugin/list-utils/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/local-storage-min.js b/build/editor/plugin/local-storage-min.js index 3378f96066..000642f8f4 100644 --- a/build/editor/plugin/local-storage-min.js +++ b/build/editor/plugin/local-storage-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/local-storage.js b/build/editor/plugin/local-storage.js index 1274c5c3ce..8245d5410e 100644 --- a/build/editor/plugin/local-storage.js +++ b/build/editor/plugin/local-storage.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/maximize-min.js b/build/editor/plugin/maximize-min.js index a95c6bbfc5..c98a8de256 100644 --- a/build/editor/plugin/maximize-min.js +++ b/build/editor/plugin/maximize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/maximize.js b/build/editor/plugin/maximize.js index 256df76e4d..d9443c648c 100644 --- a/build/editor/plugin/maximize.js +++ b/build/editor/plugin/maximize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/maximize/cmd-min.js b/build/editor/plugin/maximize/cmd-min.js index 4c1d68f6dd..5de7305214 100644 --- a/build/editor/plugin/maximize/cmd-min.js +++ b/build/editor/plugin/maximize/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/maximize/cmd.js b/build/editor/plugin/maximize/cmd.js index 5a5382e3cf..e0b84e2889 100644 --- a/build/editor/plugin/maximize/cmd.js +++ b/build/editor/plugin/maximize/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/menubutton-min.js b/build/editor/plugin/menubutton-min.js index 261035a1d0..1ab5d13053 100644 --- a/build/editor/plugin/menubutton-min.js +++ b/build/editor/plugin/menubutton-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/menubutton.js b/build/editor/plugin/menubutton.js index 580cd3306f..10abbffaa8 100644 --- a/build/editor/plugin/menubutton.js +++ b/build/editor/plugin/menubutton.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/ordered-list-min.js b/build/editor/plugin/ordered-list-min.js index 4447417057..95dad64a4f 100644 --- a/build/editor/plugin/ordered-list-min.js +++ b/build/editor/plugin/ordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/ordered-list.js b/build/editor/plugin/ordered-list.js index 631ea96bef..f0576a8d9d 100644 --- a/build/editor/plugin/ordered-list.js +++ b/build/editor/plugin/ordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/ordered-list/cmd-min.js b/build/editor/plugin/ordered-list/cmd-min.js index 1a1af29540..c10af773df 100644 --- a/build/editor/plugin/ordered-list/cmd-min.js +++ b/build/editor/plugin/ordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/ordered-list/cmd.js b/build/editor/plugin/ordered-list/cmd.js index 998a5d25ea..281c688482 100644 --- a/build/editor/plugin/ordered-list/cmd.js +++ b/build/editor/plugin/ordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:49 */ diff --git a/build/editor/plugin/outdent-min.js b/build/editor/plugin/outdent-min.js index c4d69887f2..70358019f2 100644 --- a/build/editor/plugin/outdent-min.js +++ b/build/editor/plugin/outdent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/outdent.js b/build/editor/plugin/outdent.js index 4741b25076..ba2f46ce31 100644 --- a/build/editor/plugin/outdent.js +++ b/build/editor/plugin/outdent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/outdent/cmd-min.js b/build/editor/plugin/outdent/cmd-min.js index 50f02604fc..0e7dc28e33 100644 --- a/build/editor/plugin/outdent/cmd-min.js +++ b/build/editor/plugin/outdent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/outdent/cmd.js b/build/editor/plugin/outdent/cmd.js index b37190f413..4565b90932 100644 --- a/build/editor/plugin/outdent/cmd.js +++ b/build/editor/plugin/outdent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/overlay-min.js b/build/editor/plugin/overlay-min.js index 84018c7e22..609b32cefa 100644 --- a/build/editor/plugin/overlay-min.js +++ b/build/editor/plugin/overlay-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/overlay.js b/build/editor/plugin/overlay.js index 7edd3b4ce3..edf44179c9 100644 --- a/build/editor/plugin/overlay.js +++ b/build/editor/plugin/overlay.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/page-break-min.js b/build/editor/plugin/page-break-min.js index 839d560a05..58b42f72ee 100644 --- a/build/editor/plugin/page-break-min.js +++ b/build/editor/plugin/page-break-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/page-break.js b/build/editor/plugin/page-break.js index f4fc5a674e..e3168bd301 100644 --- a/build/editor/plugin/page-break.js +++ b/build/editor/plugin/page-break.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/preview-min.js b/build/editor/plugin/preview-min.js index d3fb615e71..d4c765ab80 100644 --- a/build/editor/plugin/preview-min.js +++ b/build/editor/plugin/preview-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/preview.js b/build/editor/plugin/preview.js index 6736f89f66..14c889de2c 100644 --- a/build/editor/plugin/preview.js +++ b/build/editor/plugin/preview.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/progressbar-min.js b/build/editor/plugin/progressbar-min.js index c660aecddb..6f178ec808 100644 --- a/build/editor/plugin/progressbar-min.js +++ b/build/editor/plugin/progressbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/progressbar.js b/build/editor/plugin/progressbar.js index 824585150f..9a7490e8ca 100644 --- a/build/editor/plugin/progressbar.js +++ b/build/editor/plugin/progressbar.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/remove-format-min.js b/build/editor/plugin/remove-format-min.js index 09aa2472c0..e21fbda9e0 100644 --- a/build/editor/plugin/remove-format-min.js +++ b/build/editor/plugin/remove-format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/remove-format.js b/build/editor/plugin/remove-format.js index cda6ea6595..aa3e0cb7e9 100644 --- a/build/editor/plugin/remove-format.js +++ b/build/editor/plugin/remove-format.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/remove-format/cmd-min.js b/build/editor/plugin/remove-format/cmd-min.js index 89db73d6ac..a9b4a0cc68 100644 --- a/build/editor/plugin/remove-format/cmd-min.js +++ b/build/editor/plugin/remove-format/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/remove-format/cmd.js b/build/editor/plugin/remove-format/cmd.js index f91e68d3fe..f5d461b5f7 100644 --- a/build/editor/plugin/remove-format/cmd.js +++ b/build/editor/plugin/remove-format/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/resize-min.js b/build/editor/plugin/resize-min.js index 39eabe2479..4fb17540a9 100644 --- a/build/editor/plugin/resize-min.js +++ b/build/editor/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/resize.js b/build/editor/plugin/resize.js index 135d5f9f71..8486478bb4 100644 --- a/build/editor/plugin/resize.js +++ b/build/editor/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/separator-min.js b/build/editor/plugin/separator-min.js index ae1a6c73cb..3eeebb4e6b 100644 --- a/build/editor/plugin/separator-min.js +++ b/build/editor/plugin/separator-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/separator.js b/build/editor/plugin/separator.js index 56134d70d9..b3a2f586d9 100644 --- a/build/editor/plugin/separator.js +++ b/build/editor/plugin/separator.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/smiley-min.js b/build/editor/plugin/smiley-min.js index ca9cc41b0d..298b0f3c10 100644 --- a/build/editor/plugin/smiley-min.js +++ b/build/editor/plugin/smiley-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/smiley.js b/build/editor/plugin/smiley.js index 03fae00e7b..1b602d2016 100644 --- a/build/editor/plugin/smiley.js +++ b/build/editor/plugin/smiley.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/source-area-min.js b/build/editor/plugin/source-area-min.js index b7fdd0bca9..505a6a589c 100644 --- a/build/editor/plugin/source-area-min.js +++ b/build/editor/plugin/source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/source-area.js b/build/editor/plugin/source-area.js index 89ef5a6e5f..e902d8c7d8 100644 --- a/build/editor/plugin/source-area.js +++ b/build/editor/plugin/source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:50 */ diff --git a/build/editor/plugin/strike-through-min.js b/build/editor/plugin/strike-through-min.js index a096b16551..69371c2c4a 100644 --- a/build/editor/plugin/strike-through-min.js +++ b/build/editor/plugin/strike-through-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/strike-through.js b/build/editor/plugin/strike-through.js index 6968d67a17..de3a010346 100644 --- a/build/editor/plugin/strike-through.js +++ b/build/editor/plugin/strike-through.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/strike-through/cmd-min.js b/build/editor/plugin/strike-through/cmd-min.js index 0ec033b581..2d9149924c 100644 --- a/build/editor/plugin/strike-through/cmd-min.js +++ b/build/editor/plugin/strike-through/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/strike-through/cmd.js b/build/editor/plugin/strike-through/cmd.js index 4195cecc45..4c0f34c291 100644 --- a/build/editor/plugin/strike-through/cmd.js +++ b/build/editor/plugin/strike-through/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/table-min.js b/build/editor/plugin/table-min.js index 98e3d02a56..7bd46b140a 100644 --- a/build/editor/plugin/table-min.js +++ b/build/editor/plugin/table-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/table.js b/build/editor/plugin/table.js index 5dc5a359d2..64a22f6de0 100644 --- a/build/editor/plugin/table.js +++ b/build/editor/plugin/table.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/table/dialog-min.js b/build/editor/plugin/table/dialog-min.js index 581809ce7c..055b9afe04 100644 --- a/build/editor/plugin/table/dialog-min.js +++ b/build/editor/plugin/table/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/table/dialog.js b/build/editor/plugin/table/dialog.js index d42a75f343..8d2e91460c 100644 --- a/build/editor/plugin/table/dialog.js +++ b/build/editor/plugin/table/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/underline-min.js b/build/editor/plugin/underline-min.js index eacd3606f2..54a0030f17 100644 --- a/build/editor/plugin/underline-min.js +++ b/build/editor/plugin/underline-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/underline.js b/build/editor/plugin/underline.js index cc73a3be58..8742df6444 100644 --- a/build/editor/plugin/underline.js +++ b/build/editor/plugin/underline.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/underline/cmd-min.js b/build/editor/plugin/underline/cmd-min.js index 354b2fcc0a..f416dc619c 100644 --- a/build/editor/plugin/underline/cmd-min.js +++ b/build/editor/plugin/underline/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/underline/cmd.js b/build/editor/plugin/underline/cmd.js index 0017000705..debd7b98a5 100644 --- a/build/editor/plugin/underline/cmd.js +++ b/build/editor/plugin/underline/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo-min.js b/build/editor/plugin/undo-min.js index d36cec26c4..bd2e85090a 100644 --- a/build/editor/plugin/undo-min.js +++ b/build/editor/plugin/undo-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo.js b/build/editor/plugin/undo.js index 02a162fe61..2ddb67638d 100644 --- a/build/editor/plugin/undo.js +++ b/build/editor/plugin/undo.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo/btn-min.js b/build/editor/plugin/undo/btn-min.js index d081684f73..1718e17330 100644 --- a/build/editor/plugin/undo/btn-min.js +++ b/build/editor/plugin/undo/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo/btn.js b/build/editor/plugin/undo/btn.js index 792b99f2df..13e265fea1 100644 --- a/build/editor/plugin/undo/btn.js +++ b/build/editor/plugin/undo/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo/cmd-min.js b/build/editor/plugin/undo/cmd-min.js index 9bcca78d23..09823a9feb 100644 --- a/build/editor/plugin/undo/cmd-min.js +++ b/build/editor/plugin/undo/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/undo/cmd.js b/build/editor/plugin/undo/cmd.js index af6c358b7b..af158340d2 100644 --- a/build/editor/plugin/undo/cmd.js +++ b/build/editor/plugin/undo/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/unordered-list-min.js b/build/editor/plugin/unordered-list-min.js index cfea416574..392f3d8310 100644 --- a/build/editor/plugin/unordered-list-min.js +++ b/build/editor/plugin/unordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/unordered-list.js b/build/editor/plugin/unordered-list.js index 9d8cfe19bf..c76f6744d3 100644 --- a/build/editor/plugin/unordered-list.js +++ b/build/editor/plugin/unordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/unordered-list/cmd-min.js b/build/editor/plugin/unordered-list/cmd-min.js index 7daa598260..2bf449b3f8 100644 --- a/build/editor/plugin/unordered-list/cmd-min.js +++ b/build/editor/plugin/unordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/unordered-list/cmd.js b/build/editor/plugin/unordered-list/cmd.js index f0164f7854..3f70e12401 100644 --- a/build/editor/plugin/unordered-list/cmd.js +++ b/build/editor/plugin/unordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/video-min.js b/build/editor/plugin/video-min.js index 73fb0377a7..2aaef52bd7 100644 --- a/build/editor/plugin/video-min.js +++ b/build/editor/plugin/video-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/video.js b/build/editor/plugin/video.js index 2c136c9958..669f00bec1 100644 --- a/build/editor/plugin/video.js +++ b/build/editor/plugin/video.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:51 */ diff --git a/build/editor/plugin/video/dialog-min.js b/build/editor/plugin/video/dialog-min.js index 1fdeebd579..9f439d51de 100644 --- a/build/editor/plugin/video/dialog-min.js +++ b/build/editor/plugin/video/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/video/dialog.js b/build/editor/plugin/video/dialog.js index 87b20b740d..a11761c01e 100644 --- a/build/editor/plugin/video/dialog.js +++ b/build/editor/plugin/video/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/word-filter-min.js b/build/editor/plugin/word-filter-min.js index 504e2f8d88..dad3bf9e76 100644 --- a/build/editor/plugin/word-filter-min.js +++ b/build/editor/plugin/word-filter-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/word-filter.js b/build/editor/plugin/word-filter.js index c8f7e262ba..582de87ce5 100644 --- a/build/editor/plugin/word-filter.js +++ b/build/editor/plugin/word-filter.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/xiami-music-min.js b/build/editor/plugin/xiami-music-min.js index dd6e344ad8..c00893a7dc 100644 --- a/build/editor/plugin/xiami-music-min.js +++ b/build/editor/plugin/xiami-music-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/xiami-music.js b/build/editor/plugin/xiami-music.js index b34792789e..1e91da726f 100644 --- a/build/editor/plugin/xiami-music.js +++ b/build/editor/plugin/xiami-music.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/xiami-music/dialog-min.js b/build/editor/plugin/xiami-music/dialog-min.js index 8f5fb493d3..191e93cf72 100644 --- a/build/editor/plugin/xiami-music/dialog-min.js +++ b/build/editor/plugin/xiami-music/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/plugin/xiami-music/dialog.js b/build/editor/plugin/xiami-music/dialog.js index eeea9761a4..167b2b553c 100644 --- a/build/editor/plugin/xiami-music/dialog.js +++ b/build/editor/plugin/xiami-music/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/cool/editor-min.css b/build/editor/theme/cool/editor-min.css index 0b05633084..1cdeedc1a7 100644 --- a/build/editor/theme/cool/editor-min.css +++ b/build/editor/theme/cool/editor-min.css @@ -1,6 +1,6 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ -.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px} +.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px} diff --git a/build/editor/theme/cool/editor-pkg-sprite-min.css b/build/editor/theme/cool/editor-pkg-sprite-min.css index 2085eced2c..c19ae2ab40 100644 --- a/build/editor/theme/cool/editor-pkg-sprite-min.css +++ b/build/editor/theme/cool/editor-pkg-sprite-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite.css b/build/editor/theme/cool/editor-pkg-sprite.css index 758ed0bfd1..a625489924 100644 --- a/build/editor/theme/cool/editor-pkg-sprite.css +++ b/build/editor/theme/cool/editor-pkg-sprite.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/cool/editor.css b/build/editor/theme/cool/editor.css index 29c284e195..d1227c1e76 100644 --- a/build/editor/theme/cool/editor.css +++ b/build/editor/theme/cool/editor.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ @@ -321,8 +321,8 @@ LoVe F HAte white-space: nowrap; box-shadow: 0 1px 1px #E4E4E4; background: #e8ebee repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -0px; } @@ -360,8 +360,8 @@ LoVe F HAte text-decoration: none; border-color: rgb(232, 204, 160); background: #f5e7ce repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -26px; } @@ -563,8 +563,8 @@ a.ks-editor-color-remove:hover { .ks-editor-draft-save { background: no-repeat scroll 0 1px transparent; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -52px; width: 18px; height: 15px; @@ -585,8 +585,8 @@ a.ks-editor-color-remove:hover { .ks-editor-draft-help { /*不能使用 center center ,ie 对于容器理解有误,text-indent会增加容器*/ background: no-repeat; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -69px; width: 14px; overflow: hidden; @@ -698,32 +698,32 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-sourceArea { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -81px; } .ks-editor-toolbar-preview { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -97px; } .ks-editor-toolbar-bold { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -113px; } .ks-editor-toolbar-italic { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -129px; } .ks-editor-toolbar-underline { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -145px; height: 11px; margin-top: 5px; @@ -734,8 +734,8 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-strikeThrough { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -156px; height: 11px; margin-top: 4px; @@ -743,15 +743,15 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-orderedList { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -167px; margin-right: 0; } .ks-editor-toolbar-unorderedList { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -183px; margin-right: 0; } @@ -792,38 +792,38 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-outdent { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -199px; } .ks-editor-toolbar-indent { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -215px; } .ks-editor-toolbar-justifyLeft { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -231px; } .ks-editor-toolbar-justifyCenter { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -247px; } .ks-editor-toolbar-justifyRight { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -263px; } .ks-editor-toolbar-image { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -279px; } @@ -834,8 +834,8 @@ ks-editor-toolbar-padding { .ks-editor-toolbar-backColor, .ks-editor-toolbar-foreColor { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -295px; width: 18px; height: 15px; @@ -850,8 +850,8 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-foreColor { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -310px; } @@ -887,82 +887,82 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-undo { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -324px; } .ks-editor-toolbar-redo { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -339px; height: 15px; margin: 3px 4px; } .ks-editor-toolbar-table { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -354px; } .ks-editor-toolbar-template { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -370px; } .ks-editor-toolbar-maximize { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -386px; } .ks-editor-toolbar-flash { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -402px; } .ks-editor-toolbar-link { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -418px; } .ks-editor-toolbar-music { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -434px; } .ks-editor-toolbar-xiamiMusic { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -434px; } .ks-editor-toolbar-video { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -450px; } .ks-editor-toolbar-smiley { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -466px; } .ks-editor-toolbar-removeFormat { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -482px; } .ks-editor-toolbar-pageBreak { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -498px; height: 12px; margin-top: 4px; @@ -970,14 +970,14 @@ ks-editor-toolbar-padding { } .ks-editor-toolbar-code { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -509px; } .ks-editor-toolbar-restore { - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -525px; } @@ -1089,8 +1089,8 @@ menu style for kissy editor ,include contextmenu and select menu .ks-editor-dialog-header { background: repeat-x scroll 0 0 #D6DBE2; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -541px; border-bottom: 1px solid #ACB4BE; font-size: 14px; @@ -1119,8 +1119,8 @@ menu style for kissy editor ,include contextmenu and select menu .ks-editor-dialog-close-x { display: block; background: no-repeat; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -571px; height: 13px; text-indent: -9999px; @@ -1185,8 +1185,8 @@ menu style for kissy editor ,include contextmenu and select menu **/ .ks-editor-resizer { background: no-repeat right bottom; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -584px; height: 10px; width: 10px; @@ -1238,8 +1238,8 @@ select style for kissy editor .ks-editor-big-menu-button-dropdown, .ks-editor-big-menu-button-dropdown-inner { background: no-repeat scroll center center transparent; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -594px; width: 7px; height: 3px; @@ -1284,8 +1284,8 @@ select style for kissy editor padding-left: 6px; padding-right: 6px; background: #e8ebee repeat-x left top; - background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool.png'); - -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.1/editor/theme/cool/cool-ie6.png'); + background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png'); + -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png'); background-position: left -0px; -background-image: none; height: 24px; diff --git a/build/editor/theme/editor-common-min.css b/build/editor/theme/editor-common-min.css index aa308900c9..865920c96d 100644 --- a/build/editor/theme/editor-common-min.css +++ b/build/editor/theme/editor-common-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/editor-common.css b/build/editor/theme/editor-common.css index 6305db4f27..94a075de37 100644 --- a/build/editor/theme/editor-common.css +++ b/build/editor/theme/editor-common.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/editor-iframe-min.css b/build/editor/theme/editor-iframe-min.css index 5b0583ae30..497fae38cc 100644 --- a/build/editor/theme/editor-iframe-min.css +++ b/build/editor/theme/editor-iframe-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/editor/theme/editor-iframe.css b/build/editor/theme/editor-iframe.css index adff55543b..6f21c7311e 100644 --- a/build/editor/theme/editor-iframe.css +++ b/build/editor/theme/editor-iframe.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Jan 6 12:52 */ diff --git a/build/event-min.js b/build/event-min.js index 70891c7bd9..c14202de83 100644 --- a/build/event-min.js +++ b/build/event-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/event.js b/build/event.js index 7085d01cec..4bad8f74f9 100644 --- a/build/event.js +++ b/build/event.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/event/base-min.js b/build/event/base-min.js index 0430cd3f29..7d288aa5c3 100644 --- a/build/event/base-min.js +++ b/build/event/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/base.js b/build/event/base.js index 126c091f6d..f7094dd30d 100644 --- a/build/event/base.js +++ b/build/event/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/custom-min.js b/build/event/custom-min.js index bbbe1db83a..7cdbe0a3cb 100644 --- a/build/event/custom-min.js +++ b/build/event/custom-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/custom.js b/build/event/custom.js index 54e6d49a6e..ed036b335c 100644 --- a/build/event/custom.js +++ b/build/event/custom.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/base-min.js b/build/event/dom/base-min.js index 0ba3e2c0e3..71a449e156 100644 --- a/build/event/dom/base-min.js +++ b/build/event/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/base.js b/build/event/dom/base.js index 5848188460..dbc389f4be 100644 --- a/build/event/dom/base.js +++ b/build/event/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/focusin-min.js b/build/event/dom/focusin-min.js index 7bca77942c..66ec3042dd 100644 --- a/build/event/dom/focusin-min.js +++ b/build/event/dom/focusin-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/focusin.js b/build/event/dom/focusin.js index 999c1f4b90..f65c676349 100644 --- a/build/event/dom/focusin.js +++ b/build/event/dom/focusin.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/hashchange-min.js b/build/event/dom/hashchange-min.js index 0e8b4ea3a0..6454aa3f61 100644 --- a/build/event/dom/hashchange-min.js +++ b/build/event/dom/hashchange-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/hashchange.js b/build/event/dom/hashchange.js index 300943e313..c20634b0a6 100644 --- a/build/event/dom/hashchange.js +++ b/build/event/dom/hashchange.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/ie-min.js b/build/event/dom/ie-min.js index 4c94a19817..db06a10a53 100644 --- a/build/event/dom/ie-min.js +++ b/build/event/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/ie.js b/build/event/dom/ie.js index 9c87a873d4..ef5fd88c9e 100644 --- a/build/event/dom/ie.js +++ b/build/event/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:15 */ diff --git a/build/event/dom/shake-min.js b/build/event/dom/shake-min.js index c00b1f7df3..87c0dc52e3 100644 --- a/build/event/dom/shake-min.js +++ b/build/event/dom/shake-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/event/dom/shake.js b/build/event/dom/shake.js index de62568c7f..94a2a63add 100644 --- a/build/event/dom/shake.js +++ b/build/event/dom/shake.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index b4feab3533..1b56e88ba8 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/event/dom/touch.js b/build/event/dom/touch.js index fa7f1dd4c1..a36e44333f 100644 --- a/build/event/dom/touch.js +++ b/build/event/dom/touch.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 15:53 */ diff --git a/build/filter-menu-min.js b/build/filter-menu-min.js index 1e6a1f005c..9b9f923934 100644 --- a/build/filter-menu-min.js +++ b/build/filter-menu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/filter-menu.js b/build/filter-menu.js index c9f6e01733..e105f2787b 100644 --- a/build/filter-menu.js +++ b/build/filter-menu.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/html-parser-min.js b/build/html-parser-min.js index 3738e83e98..0b5cce7f11 100644 --- a/build/html-parser-min.js +++ b/build/html-parser-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/html-parser.js b/build/html-parser.js index 24c36f75ca..94c3efc86b 100644 --- a/build/html-parser.js +++ b/build/html-parser.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/import-style-min.js b/build/import-style-min.js index 6bc5ae4b5b..215798b1be 100644 --- a/build/import-style-min.js +++ b/build/import-style-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 19 17:22 */ diff --git a/build/import-style.js b/build/import-style.js index 8c192ad6d4..c43620564f 100644 --- a/build/import-style.js +++ b/build/import-style.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 19 17:22 */ diff --git a/build/io-min.js b/build/io-min.js index 171cc93ed0..8926577497 100644 --- a/build/io-min.js +++ b/build/io-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:41 */ diff --git a/build/io.js b/build/io.js index f64b3e5c54..317562a1be 100644 --- a/build/io.js +++ b/build/io.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 9 22:41 */ diff --git a/build/json-min.js b/build/json-min.js index e797196c44..eb2c703704 100644 --- a/build/json-min.js +++ b/build/json-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/json.js b/build/json.js index c214ce6f79..5a994beac2 100644 --- a/build/json.js +++ b/build/json.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/kison-min.js b/build/kison-min.js index 1ed8e93edc..9c36a78e78 100644 --- a/build/kison-min.js +++ b/build/kison-min.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/kison.js b/build/kison.js index 4d0b5dbf2c..f6a6ba25cc 100644 --- a/build/kison.js +++ b/build/kison.js @@ -1,5 +1,5 @@ /* -Copyright 2013, KISSY v1.41 +Copyright 2013, KISSY v1.42 MIT Licensed build time: Dec 4 22:16 */ diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index f77146fe85..e561ef1e83 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,9 +1,9 @@ /* -Copyright 2014, KISSY v1.41 +Copyright 2014, KISSY v1.42 MIT Licensed build time: Feb 25 16:01 */ -var KISSY=function(a){function f(a){var e={},f;for(f in i)(function(b,d){b[d]=function(b){return h.log(b,d,a)}})(e,f);return e}var h,j=0,i={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140225160104",Env:{host:this},Config:{debug:"",fns:{}},version:"1.41",config:function(c,e){var f,b,d=this,k,g=h.Config,u=g.fns;h.isObject(c)?h.each(c,function(a,b){(k=u[b])?k.call(d,a):g[b]=a}):(f=u[c],e===a?b=f?f.call(d):g[c]:f?b=f.call(d,e):g[c]=e);return b},log:function(){return a},getLogger:function(a){return f(a)}, +var KISSY=function(a){function f(a){var e={},f;for(f in i)(function(b,d){b[d]=function(b){return h.log(b,d,a)}})(e,f);return e}var h,j=0,i={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140225160104",Env:{host:this},Config:{debug:"",fns:{}},version:'1.42',config:function(c,e){var f,b,d=this,k,g=h.Config,u=g.fns;h.isObject(c)?h.each(c,function(a,b){(k=u[b])?k.call(d,a):g[b]=a}):(f=u[c],e===a?b=f?f.call(d):g[c]:f?b=f.call(d,e):g[c]=e);return b},log:function(){return a},getLogger:function(a){return f(a)}, error:function(){},guid:function(a){return(a||"")+j++},Logger:{}};h.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return h}(); (function(a,f){function h(){}function j(d,l,b,g,k,e){if(!l||!d)return d;var i,r,p,n;l[c]=d;e.push(l);p=a.keys(l);n=p.length;for(i=0;i - - + + From 7db9536c60a881f99b1800b89f511f0ba835317b Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 16:38:00 +0800 Subject: [PATCH 31/80] for 1.4.2 --- build/anim/transition-min.js | 12 +- build/anim/transition.js | 17 +- build/scroll-view/assets/dpl-min.css | 6 +- build/scroll-view/assets/dpl.css | 5 +- build/scroll-view/assets/nice-min.css | 6 +- build/scroll-view/assets/nice.css | 5 +- build/swf-min.js | 24 +- build/swf.js | 28 +- .../transition/coverage/src/transition.js | 349 +++--- .../sub-modules/transition/src/transition.js | 16 +- src/scroll-view/assets/dpl.css | 1 - src/scroll-view/assets/nice.css | 1 - src/swf/coverage/src/swf.js | 1008 +++++++++-------- src/swf/coverage/src/swf/ua.js | 220 ++-- src/swf/src/swf.js | 35 +- src/swf/src/swf/ua.js | 1 - 16 files changed, 893 insertions(+), 841 deletions(-) diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 3ebc5b4c74..6932e308ea 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,9 +1,9 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:04 +build time: Feb 25 16:16 */ -KISSY.add("anim/transition",["dom","event/dom","./base"],function(g,h){function p(c){var b="";g.each(c,function(c,a){b&&(b+=",");b+=a+" "+c.duration+"s "+c.easing+" "+c.delay+"s"});return b}function k(){k.superclass.constructor.apply(this,arguments)}var i=h("dom"),m=h("event/dom"),q=h("./base"),l=g.Features,n=l.getTransitionPrefix(),r=/([A-Z]|^ms)/g,o=n?n.toLowerCase()+"TransitionEnd":"transitionend",j=l.getTransitionProperty();g.extend(k,q,{doStart:function(){var c=this,b=c.node,d=b.style,a=c._propsData, -f=d[j],e,h={};if(e=a.transform)delete a.transform,a[l.getTransformProperty().replace(r,"-$1").toLowerCase()]=e;g.each(a,function(a,e){var d=a.value,f=i.css(b,e);"number"===typeof d&&(f=parseFloat(f));f===d&&setTimeout(function(){c._onTransitionEnd({originalEvent:{propertyName:e}})},0);h[e]=d});-1!==f.indexOf("none")?f="":f&&(f+=",");d[j]=f+p(a);m.on(b,o,c._onTransitionEnd,c);i.css(b,h)},beforeResume:function(){var c=this._propsData,b=g.merge(c),d=this._runTime/1E3;g.each(b,function(a,b){var e=d;a.delay>= -e?a.delay-=e:(e-=a.delay,a.delay=0,a.duration>=e?a.duration-=e:delete c[b])})},_onTransitionEnd:function(c){var c=c.originalEvent,b=1,d=this._propsData;d[c.propertyName]&&(d[c.propertyName].pos=1,g.each(d,function(a){if(1!==a.pos)return b=0,!1}),b&&this.stop(!0))},doStop:function(c){var b=this.node,d=b.style,a=this._propsData,f=[],e={};m.detach(b,o,this._onTransitionEnd,this);g.each(a,function(a,d){c||(e[d]=i.css(b,d));f.push(d)});a=g.trim(d[j].replace(RegExp("(^|,)\\s*(?:"+f.join("|")+")\\s+[^,]+", -"gi"),"$1")).replace(/^,|,,|,$/g,"")||"none";d[j]=a;i.css(b,e)}});return k}); +KISSY.add("anim/transition",["dom","event/dom","./base"],function(g,h){function p(c){var b="";g.each(c,function(c,a){b&&(b+=",");b+=a+" "+c.duration+"s "+c.easing+" "+c.delay+"s"});return b}function k(){k.superclass.constructor.apply(this,arguments)}var i=h("dom"),m=h("event/dom"),q=h("./base"),l=g.Features,n=l.getVendorCssPropPrefix("transition"),r=/([A-Z]|^ms)/g,o=n?n.toLowerCase()+"TransitionEnd":"transitionend webkitTransitionEnd",j=l.getVendorCssPropName("transition");g.extend(k,q,{doStart:function(){var c= +this,b=c.node,d=b.style,a=c._propsData,f=d[j],e,h={};if(e=a.transform)delete a.transform,a[l.getVendorCssPropName("transform").replace(r,"-$1").toLowerCase()]=e;g.each(a,function(a,d){var e=a.value,f=i.css(b,d);"number"===typeof e&&(f=parseFloat(f));f===e&&setTimeout(function(){c._onTransitionEnd({originalEvent:{propertyName:d}})},0);h[d]=e});-1!==f.indexOf("none")?f="":f&&(f+=",");d[j]=f+p(a);m.on(b,o,c._onTransitionEnd,c);i.css(b,h)},beforeResume:function(){var c=this._propsData,b=g.merge(c),d= +this._runTime/1E3;g.each(b,function(a,b){var e=d;a.delay>=e?a.delay-=e:(e-=a.delay,a.delay=0,a.duration>=e?a.duration-=e:delete c[b])})},_onTransitionEnd:function(c){var c=c.originalEvent,b=1,d=this._propsData;d[c.propertyName]&&1!==d[c.propertyName].pos&&(d[c.propertyName].pos=1,g.each(d,function(a){if(1!==a.pos)return b=0,!1}),b&&this.stop(!0))},doStop:function(c){var b=this.node,d=b.style,a=this._propsData,f=[],e={};m.detach(b,o,this._onTransitionEnd,this);g.each(a,function(a,d){c||(e[d]=i.css(b, +d));f.push(d)});a=g.trim(d[j].replace(RegExp("(^|,)\\s*(?:"+f.join("|")+")\\s+[^,]+","gi"),"$1")).replace(/^,|,,|,$/g,"")||"none";d[j]=a;i.css(b,e)}});return k}); diff --git a/build/anim/transition.js b/build/anim/transition.js index f2a42bd76f..91d0136806 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:04 +build time: Feb 25 16:16 */ /* Combined processedModules by KISSY Module Compiler: @@ -13,11 +13,11 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require var Dom = require("dom"); var Event = require("event/dom"); var AnimBase = require("./base"); - var Features = S.Features; - var vendorPrefix = Features.getTransitionPrefix(); + var Feature = S.Features; + var vendorPrefix = Feature.getVendorCssPropPrefix("transition"); var R_UPPER = /([A-Z]|^ms)/g; - var TRANSITION_END_EVENT = vendorPrefix ? vendorPrefix.toLowerCase() + "TransitionEnd" : "transitionend"; - var TRANSITION = Features.getTransitionProperty(); + var TRANSITION_END_EVENT = vendorPrefix ? vendorPrefix.toLowerCase() + "TransitionEnd" : "transitionend webkitTransitionEnd"; + var TRANSITION = Feature.getVendorCssPropName("transition"); function genTransition(propsData) { var str = ""; S.each(propsData, function(propData, prop) { @@ -35,7 +35,7 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], transform, propsCss = {}; if(transform = _propsData.transform) { delete _propsData.transform; - _propsData[Features.getTransformProperty().replace(R_UPPER, "-$1").toLowerCase()] = transform + _propsData[Feature.getVendorCssPropName("transform").replace(R_UPPER, "-$1").toLowerCase()] = transform } S.each(_propsData, function(propData, prop) { var v = propData.value, currentValue = Dom.css(node, prop); @@ -81,6 +81,9 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require if(!propsData[e.propertyName]) { return } + if(propsData[e.propertyName].pos === 1) { + return + } propsData[e.propertyName].pos = 1; S.each(propsData, function(propData) { if(propData.pos !== 1) { diff --git a/build/scroll-view/assets/dpl-min.css b/build/scroll-view/assets/dpl-min.css index c11e4c4927..83f3e9faca 100644 --- a/build/scroll-view/assets/dpl-min.css +++ b/build/scroll-view/assets/dpl-min.css @@ -1,6 +1,6 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 16:08 */ -.ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none;-ms-user-select:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-y{right:0;height:100%}.ks-scrollbar-y-track,.ks-scrollbar-y-drag,.ks-scrollbar-y{width:6px}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{display:none}.ks-scrollbar-y-track{position:absolute;right:3px;top:0;bottom:0}.ks-ie6 .ks-scrollbar-y-track{height:expression(this.parentNode.clientHeight)}.ks-scrollbar-y-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-y-drag,.ks-ie7 .ks-scrollbar-y-drag,.ks-ie8 .ks-scrollbar-y-drag{filter:alpha(opacity=50)}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0}.ks-ie6 .ks-scrollbar-x-track{width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity=50)}.ks-scroll-view-pull-to-refresh{position:absolute;width:100%;top:-51px}.ks-scroll-view-pull-to-refresh-content{background:#fff;height:40px;line-height:40px;padding:5px 10px;border-bottom:1px solid #ccc;font-weight:bold;font-size:14px;color:#888}.ks-scroll-view-pull-icon{display:block;float:left;width:40px;height:40px;background:url(http://img01.taobaocdn.com/tps/i1/T1u0mQXDtaXXXjasMR-80-160.png) 0 0 no-repeat;-webkit-background-size:40px 80px;background-size:40px 80px;-webkit-transition-property:-webkit-transform;-webkit-transition-duration:250ms}.ks-scroll-view-pulling .ks-scroll-view-pull-icon{-webkit-transform:rotate(0deg) translateZ(0)}.ks-scroll-view-releasing .ks-scroll-view-pull-icon{-webkit-transform:rotate(-180deg) translateZ(0)}.ks-scroll-view-loading .ks-scroll-view-pull-icon{background-position:0 100%;-webkit-transform:rotate(0deg) translateZ(0);-webkit-transition-duration:0ms;-webkit-animation-name:loading;-webkit-animation-duration:2s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes loading{from{-webkit-transform:rotate(0deg) translateZ(0)}to{-webkit-transform:rotate(360deg) translateZ(0)}} +.ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-y{right:0;height:100%}.ks-scrollbar-y-track,.ks-scrollbar-y-drag,.ks-scrollbar-y{width:6px}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{display:none}.ks-scrollbar-y-track{position:absolute;right:3px;top:0;bottom:0}.ks-ie6 .ks-scrollbar-y-track{height:expression(this.parentNode.clientHeight)}.ks-scrollbar-y-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-y-drag,.ks-ie7 .ks-scrollbar-y-drag,.ks-ie8 .ks-scrollbar-y-drag{filter:alpha(opacity=50)}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0}.ks-ie6 .ks-scrollbar-x-track{width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity=50)}.ks-scroll-view-pull-to-refresh{position:absolute;width:100%;top:-51px}.ks-scroll-view-pull-to-refresh-content{background:#fff;height:40px;line-height:40px;padding:5px 10px;border-bottom:1px solid #ccc;font-weight:bold;font-size:14px;color:#888}.ks-scroll-view-pull-icon{display:block;float:left;width:40px;height:40px;background:url(http://img01.taobaocdn.com/tps/i1/T1u0mQXDtaXXXjasMR-80-160.png) 0 0 no-repeat;-webkit-background-size:40px 80px;background-size:40px 80px;-webkit-transition-property:-webkit-transform;-webkit-transition-duration:250ms}.ks-scroll-view-pulling .ks-scroll-view-pull-icon{-webkit-transform:rotate(0deg) translateZ(0)}.ks-scroll-view-releasing .ks-scroll-view-pull-icon{-webkit-transform:rotate(-180deg) translateZ(0)}.ks-scroll-view-loading .ks-scroll-view-pull-icon{background-position:0 100%;-webkit-transform:rotate(0deg) translateZ(0);-webkit-transition-duration:0ms;-webkit-animation-name:loading;-webkit-animation-duration:2s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes loading{from{-webkit-transform:rotate(0deg) translateZ(0)}to{-webkit-transform:rotate(360deg) translateZ(0)}} diff --git a/build/scroll-view/assets/dpl.css b/build/scroll-view/assets/dpl.css index 93b1570e5d..e564de2a08 100644 --- a/build/scroll-view/assets/dpl.css +++ b/build/scroll-view/assets/dpl.css @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 16:08 */ .ks-scroll-view { overflow: hidden !important; @@ -12,7 +12,6 @@ build time: Dec 4 22:18 -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-user-drag: none; -ms-touch-action:none; - -ms-user-select:none; } .ks-scroll-view-hidden{ diff --git a/build/scroll-view/assets/nice-min.css b/build/scroll-view/assets/nice-min.css index 538d7fde2c..70ccf9c55c 100644 --- a/build/scroll-view/assets/nice-min.css +++ b/build/scroll-view/assets/nice-min.css @@ -1,6 +1,6 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 16:08 */ -.ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none;-ms-user-select:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-y-track,.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down,.ks-scrollbar-y-drag,.ks-scrollbar-y,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{width:15px}.ks-scrollbar-y{top:0;right:0;bottom:0;_height:expression(this.parentNode.clientHeight);background-image:url(http://img02.taobaocdn.com/tps/i2/T1okQlXnJkXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-y-track{position:absolute;top:14px;bottom:14px;_height:expression(this.parentNode.clientHeight-28)}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{text-indent:-1000px;height:14px;font-size:0;position:absolute;overflow:visible}.ks-scrollbar-y-arrow-down a{margin-top:-10px;_margin-top:0}.ks-scrollbar-y-arrow-up a,.ks-scrollbar-y-arrow-down a{display:block;height:24px;background-repeat:no-repeat}.ks-scrollbar-y-arrow-up a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-125px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img04.taobaocdn.com/tps/i4/T1_FdaXE8cXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-arrow-up{top:0}.ks-scrollbar-y-arrow-down{bottom:0}.ks-scrollbar-y-arrow-down a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-75px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1tCdXXtRdXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-drag,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{position:absolute}.ks-scrollbar-y-drag-top{top:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img02.taobaocdn.com/tps/i2/T1A0JaXAJbXXcbkuzX-15-10.png');_ background-image:none;background-position:-50px 0}.ks-scrollbar-y-drag-bottom{position:absolute;bottom:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1Sk4XXB4cXXcbkuzX-15-10.png');_ background-image:none;background-position:0 0}.ks-scrollbar-y-drag-center{top:10px;bottom:10px;overflow:hidden;_height:expression(this.parentNode.clientHeight-20);background-image:url(http://img04.taobaocdn.com/tps/i4/T1DNBXXy0dXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0;_width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity = 50)} +.ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-y-track,.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down,.ks-scrollbar-y-drag,.ks-scrollbar-y,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{width:15px}.ks-scrollbar-y{top:0;right:0;bottom:0;_height:expression(this.parentNode.clientHeight);background-image:url(http://img02.taobaocdn.com/tps/i2/T1okQlXnJkXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-y-track{position:absolute;top:14px;bottom:14px;_height:expression(this.parentNode.clientHeight-28)}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{text-indent:-1000px;height:14px;font-size:0;position:absolute;overflow:visible}.ks-scrollbar-y-arrow-down a{margin-top:-10px;_margin-top:0}.ks-scrollbar-y-arrow-up a,.ks-scrollbar-y-arrow-down a{display:block;height:24px;background-repeat:no-repeat}.ks-scrollbar-y-arrow-up a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-125px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img04.taobaocdn.com/tps/i4/T1_FdaXE8cXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-arrow-up{top:0}.ks-scrollbar-y-arrow-down{bottom:0}.ks-scrollbar-y-arrow-down a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-75px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1tCdXXtRdXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-drag,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{position:absolute}.ks-scrollbar-y-drag-top{top:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img02.taobaocdn.com/tps/i2/T1A0JaXAJbXXcbkuzX-15-10.png');_ background-image:none;background-position:-50px 0}.ks-scrollbar-y-drag-bottom{position:absolute;bottom:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1Sk4XXB4cXXcbkuzX-15-10.png');_ background-image:none;background-position:0 0}.ks-scrollbar-y-drag-center{top:10px;bottom:10px;overflow:hidden;_height:expression(this.parentNode.clientHeight-20);background-image:url(http://img04.taobaocdn.com/tps/i4/T1DNBXXy0dXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0;_width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity = 50)} diff --git a/build/scroll-view/assets/nice.css b/build/scroll-view/assets/nice.css index 5b79b46d0b..231a051884 100644 --- a/build/scroll-view/assets/nice.css +++ b/build/scroll-view/assets/nice.css @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 16:08 */ .ks-scroll-view { overflow: hidden !important; @@ -12,7 +12,6 @@ build time: Dec 4 22:18 -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-user-drag: none; -ms-touch-action:none; - -ms-user-select:none; } .ks-scroll-view-hidden{ diff --git a/build/swf-min.js b/build/swf-min.js index f9bb3611af..4eff44222f 100644 --- a/build/swf-min.js +++ b/build/swf-min.js @@ -1,15 +1,15 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 16:37 */ -KISSY.add("swf/ua",[],function(g){function h(b){var e="string"===typeof b?b.match(/\d+/g).splice(0,3):b;g.isArray(e)&&(b=parseFloat(e[0]+"."+o(e[1],3)+o(e[2],5)));return b||0}function o(b,e){var b=(b||0)+"",g=e+1-b.length;return Array(0=h(b)}}}); -KISSY.add("swf",["dom","json","attribute","swf/ua"],function(g,h){function o(a){var i=c;g.each(a,function(a,b){b=b.toLowerCase();b in A?i+=j(b,a):b===B&&(i+=j(b,p(a)))});return i}function l(a,b,d,m){var f=c,e=c;g.each(b,function(a,b){f+=q+b+r+k+a+k});m?(f+=q+"classid"+r+k+C+k,e+=j("movie",a)):(f+=q+"data"+r+k+a+k,f+=q+"type"+r+k+D+k);e+=o(d);return s+t+f+u+e}function p(a){var b=[];g.each(a,function(a,m){"string"!==typeof a&&(a=z.stringify(a));a&&b.push(m+"="+E(a))});return b.join("&")}function j(a, -b){return''}var b=h("dom"),z=h("json"),e=h("attribute"),w=h("swf/ua"),n=!!g.Env.host.ActiveXObject,D="application/x-shockwave-flash",C="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",B="flashvars",c="",q=" ",r="=",k='"',s="<",u=">",F=g.Env.host.document,x=w.fpv,G=w.fpvGEQ,y=w.fpvGTE,t="object",E=encodeURIComponent,A={wmode:c,allowscriptaccess:c,allownetworking:c,allowfullscreen:c,play:"false",loop:c,menu:c,quality:c,scale:c,salign:c,bgcolor:c,devicefont:c,hasPriority:c, -base:c,swliveconnect:c,seamlesstabbing:c},v;return v=e.extend({constructor:function(){this.callSuper.apply(this,arguments);var a=this.get("expressInstall"),i,d,m=this.get("htmlMode");d=this.get("params");var f=this.get("attrs"),e=this.get("document"),c=b.create("",void 0,e),k=this.get("elBefore"),h=this.get("src"),j=this.get("version");i=f.id=f.id||g.guid("ks-swf-");if(x()){if(j&&!y(j)&&(this.set("status",v.Status.TOO_LOW),a)){h=a;if(!("width"in f)||!/%$/.test(f.width)&&310>parseInt(f.width, -10))f.width="310";if(!("height"in f)||!/%$/.test(f.height)&&137>parseInt(f.height,10))f.height="137";a=d.flashVars=d.flashVars||{};g.mix(a,{MMredirectURL:location.href,MMplayerType:n?"ActiveX":"PlugIn",MMdoctitle:e.title.slice(0,47)+" - Flash Player Installation"})}"full"===m?(n?(a=l(h,f,d,1),delete f.id,delete f.style,j=l(h,f,d,0)):(j=l(h,f,d,0),delete f.id,delete f.style,a=l(h,f,d,1)),d=a+j+s+"/"+t+u+s+"/"+t+u):d=l(h,f,d,n)+s+"/"+t+u;this.set("html",d);k?b.insertBefore(c,k):b.append(c,this.get("render")); -"outerHTML"in c?c.outerHTML=d:c.parentNode.replaceChild(b.create(d),c);i=b.get("#"+i,e);this.set("swfObject",i);"full"===m&&(n?this.set("swfObject",i):this.set("swfObject",i.parentNode));this.set("el",i);this.get("status")||this.set("status",v.Status.SUCCESS)}else this.set("status",v.Status.NOT_INSTALLED)},callSWF:function(a,b){var d=this.get("el"),c,b=b||[];try{d[a]&&(c=d[a].apply(d,b))}catch(f){c="",0!==b.length&&(c='"'+b.join('", "')+'"'),c=(new Function("swf","return swf."+a+"("+c+");"))(d)}return c}, -destroy:function(){this.detach();var a=this.get("swfObject");n?(a.style.display="none",function d(){if(4===a.readyState){for(var b in a)"function"===typeof a[b]&&(a[b]=null);a.parentNode.removeChild(a)}else setTimeout(d,10)}()):a.parentNode.removeChild(a)}},{ATTRS:{expressInstall:{value:g.config("base")+"swf/assets/expressInstall.swf"},src:{},version:{value:"9"},params:{value:{}},attrs:{value:{}},render:{setter:function(a){"string"===typeof a&&(a=b.get(a,this.get("document")));return a},valueFn:function(){return document.body}}, -elBefore:{setter:function(a){"string"===typeof a&&(a=b.get(a,this.get("document")));return a}},document:{value:F},status:{},el:{},swfObject:{},html:{},htmlMode:{value:"default"}},getSrc:function(a){var c=a=b.get(a),d="",e,a=[],d=b.nodeName(c);if("object"===d){(d=b.attr(c,"data"))&&a.push(c);c=c.childNodes;for(d=0;d=i(c)}}}); +KISSY.add("swf",["dom","json","attribute","swf/ua"],function(g,i){function n(a){var d=e;g.each(a,function(a,b){b=b.toLowerCase();b in A?d+=l(b,a):b===B&&(d+=l(b,r(a)))});return d}function k(a,d,c,b){var m=e,f=e;g.each(d,function(a,b){m+=" "+b+'="'+a+'"'});b?(m+=' classid="'+C+'"',f+=l("movie",a)):(m+=' data="'+a+'"',m+=' type="'+D+'"');f+=n(c);return s+t+m+u+f}function r(a){var d=[];g.each(a,function(a,b){"string"!==typeof a&&(a=z.stringify(a));a&&d.push(b+"="+E(a))});return d.join("&")}function l(a, +d){return''}var c=i("dom"),z=i("json"),h=i("attribute"),w=i("swf/ua"),p=!!g.Env.host.ActiveXObject,D="application/x-shockwave-flash",C="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",B="flashvars",e="",s="<",u=">",F=g.Env.host.document,x=w.fpv,G=w.fpvGEQ,y=w.fpvGTE,t="object",E=encodeURIComponent,A={wmode:e,allowscriptaccess:e,allownetworking:e,allowfullscreen:e,play:"false",loop:e,menu:e,quality:e,scale:e,salign:e,bgcolor:e,devicefont:e,hasPriority:e,base:e, +swliveconnect:e,seamlesstabbing:e},v;return v=h.extend({constructor:function(a){this.callSuper(a);var d=this.get("expressInstall"),j,b,e,a=this.get("htmlMode");b=this.get("params");var f=this.get("attrs"),h=this.get("document"),i=c.create("",void 0,h),l=this.get("elBefore"),o=this.get("src"),n=!("id"in f),q=this.get("version");e=f.id=f.id||g.guid("ks-swf-");n&&(j=RegExp("\\s+id\\s*=\\s*['\"]?"+g.escapeRegExp(e)+"['\"]?","i"));if(x()){if(q&&!y(q)&&(this.set("status",v.Status.TOO_LOW),d)){o=d; +if(!("width"in f)||!/%$/.test(f.width)&&310>parseInt(f.width,10))f.width="310";if(!("height"in f)||!/%$/.test(f.height)&&137>parseInt(f.height,10))f.height="137";d=b.flashVars=b.flashVars||{};g.mix(d,{MMredirectURL:location.href,MMplayerType:p?"ActiveX":"PlugIn",MMdoctitle:h.title.slice(0,47)+" - Flash Player Installation"})}"full"===a?(p?(d=k(o,f,b,1),delete f.id,delete f.style,q=k(o,f,b,0)):(q=k(o,f,b,0),delete f.id,delete f.style,d=k(o,f,b,1)),b=d+q+s+"/"+t+u+s+"/"+t+u):b=k(o,f,b,p)+s+"/"+t+u; +this.set("html",j?b.replace(j,""):b);l?c.insertBefore(i,l):c.append(i,this.get("render"));"outerHTML"in i?i.outerHTML=b:i.parentNode.replaceChild(c.create(b),i);j=c.get("#"+e,h);"full"===a?p?this.set("swfObject",j):this.set("swfObject",j.parentNode):this.set("swfObject",j);n&&c.removeAttr(j,"id");this.set("el",j);this.get("status")||this.set("status",v.Status.SUCCESS)}else this.set("status",v.Status.NOT_INSTALLED)},callSWF:function(a,d){var c=this.get("el"),b,d=d||[];try{c[a]&&(b=c[a].apply(c,d))}catch(e){b= +"",0!==d.length&&(b='"'+d.join('", "')+'"'),b=(new Function("swf","return swf."+a+"("+b+");"))(c)}return b},destroy:function(){var a=this.get("swfObject");p?(a.style.display="none",function j(){if(4===a.readyState){for(var b in a)"function"===typeof a[b]&&(a[b]=null);a.parentNode.removeChild(a)}else setTimeout(j,10)}()):a.parentNode.removeChild(a)}},{ATTRS:{expressInstall:{value:g.config("base")+"swf/assets/expressInstall.swf"},src:{},version:{value:"9"},params:{value:{}},attrs:{value:{}},render:{setter:function(a){"string"=== +typeof a&&(a=c.get(a,this.get("document")));return a},valueFn:function(){return document.body}},elBefore:{setter:function(a){"string"===typeof a&&(a=c.get(a,this.get("document")));return a}},document:{value:F},status:{},el:{},swfObject:{},html:{},htmlMode:{value:"default"}},getSrc:function(a){var d=a=c.get(a),e="",b,a=[],e=c.nodeName(d);if("object"===e){(e=c.attr(d,"data"))&&a.push(d);d=d.childNodes;for(e=0;e", undefined, doc), elBefore = self.get("elBefore"), installedSrc = self.get("src"), version = self.get("version"); + self.callSuper(config); + var expressInstall = self.get("expressInstall"), swf, html, id, htmlMode = self.get("htmlMode"), flashVars, params = self.get("params"), attrs = self.get("attrs"), doc = self.get("document"), placeHolder = Dom.create("", undefined, doc), elBefore = self.get("elBefore"), installedSrc = self.get("src"), hasNoId = !("id" in attrs), idRegExp, version = self.get("version"); id = attrs.id = attrs.id || S.guid("ks-swf-"); + if(hasNoId) { + idRegExp = new RegExp("\\s+id\\s*=\\s*['\"]?" + S.escapeRegExp(id) + "['\"]?", "i") + } if(!fpv()) { self.set("status", SWF.Status.NOT_INSTALLED); return @@ -93,7 +96,7 @@ KISSY.add("swf", ["dom", "json", "attribute", "swf/ua"], function(S, require) { }else { html = _stringSWFDefault(installedSrc, attrs, params) } - self.set("html", html); + self.set("html", idRegExp ? html.replace(idRegExp, "") : html); if(elBefore) { Dom.insertBefore(placeHolder, elBefore) }else { @@ -105,13 +108,17 @@ KISSY.add("swf", ["dom", "json", "attribute", "swf/ua"], function(S, require) { placeHolder.parentNode.replaceChild(Dom.create(html), placeHolder) } swf = Dom.get("#" + id, doc); - self.set("swfObject", swf); if(htmlMode === "full") { if(OLD_IE) { self.set("swfObject", swf) }else { self.set("swfObject", swf.parentNode) } + }else { + self.set("swfObject", swf) + } + if(hasNoId) { + Dom.removeAttr(swf, "id") } self.set("el", swf); if(!self.get("status")) { @@ -134,7 +141,6 @@ KISSY.add("swf", ["dom", "json", "attribute", "swf/ua"], function(S, require) { return ret }, destroy:function() { var self = this; - self.detach(); var swfObject = self.get("swfObject"); if(OLD_IE) { swfObject.style.display = "none"; @@ -280,7 +286,7 @@ KISSY.add("swf", ["dom", "json", "attribute", "swf/ua"], function(S, require) { return'' } function stringAttr(key, value) { - return SPACE + key + EQUAL + DOUBLE_QUOTE + value + DOUBLE_QUOTE + return" " + key + "=" + '"' + value + '"' } return SWF }); diff --git a/src/anim/sub-modules/transition/coverage/src/transition.js b/src/anim/sub-modules/transition/coverage/src/transition.js index 3046cd1b7d..5968802448 100644 --- a/src/anim/sub-modules/transition/coverage/src/transition.js +++ b/src/anim/sub-modules/transition/coverage/src/transition.js @@ -237,68 +237,70 @@ if (! _$jscoverage['/transition.js']) { _$jscoverage['/transition.js'].lineData[12] = 0; _$jscoverage['/transition.js'].lineData[13] = 0; _$jscoverage['/transition.js'].lineData[14] = 0; - _$jscoverage['/transition.js'].lineData[18] = 0; - _$jscoverage['/transition.js'].lineData[20] = 0; + _$jscoverage['/transition.js'].lineData[19] = 0; _$jscoverage['/transition.js'].lineData[21] = 0; _$jscoverage['/transition.js'].lineData[22] = 0; _$jscoverage['/transition.js'].lineData[23] = 0; _$jscoverage['/transition.js'].lineData[24] = 0; - _$jscoverage['/transition.js'].lineData[26] = 0; - _$jscoverage['/transition.js'].lineData[31] = 0; - _$jscoverage['/transition.js'].lineData[34] = 0; + _$jscoverage['/transition.js'].lineData[25] = 0; + _$jscoverage['/transition.js'].lineData[27] = 0; + _$jscoverage['/transition.js'].lineData[32] = 0; _$jscoverage['/transition.js'].lineData[35] = 0; - _$jscoverage['/transition.js'].lineData[38] = 0; - _$jscoverage['/transition.js'].lineData[40] = 0; - _$jscoverage['/transition.js'].lineData[47] = 0; + _$jscoverage['/transition.js'].lineData[36] = 0; + _$jscoverage['/transition.js'].lineData[39] = 0; + _$jscoverage['/transition.js'].lineData[41] = 0; _$jscoverage['/transition.js'].lineData[48] = 0; _$jscoverage['/transition.js'].lineData[49] = 0; - _$jscoverage['/transition.js'].lineData[52] = 0; + _$jscoverage['/transition.js'].lineData[50] = 0; _$jscoverage['/transition.js'].lineData[53] = 0; - _$jscoverage['/transition.js'].lineData[55] = 0; + _$jscoverage['/transition.js'].lineData[54] = 0; _$jscoverage['/transition.js'].lineData[56] = 0; - _$jscoverage['/transition.js'].lineData[58] = 0; - _$jscoverage['/transition.js'].lineData[60] = 0; + _$jscoverage['/transition.js'].lineData[57] = 0; + _$jscoverage['/transition.js'].lineData[59] = 0; _$jscoverage['/transition.js'].lineData[61] = 0; - _$jscoverage['/transition.js'].lineData[68] = 0; - _$jscoverage['/transition.js'].lineData[72] = 0; + _$jscoverage['/transition.js'].lineData[62] = 0; + _$jscoverage['/transition.js'].lineData[69] = 0; _$jscoverage['/transition.js'].lineData[73] = 0; _$jscoverage['/transition.js'].lineData[74] = 0; _$jscoverage['/transition.js'].lineData[75] = 0; - _$jscoverage['/transition.js'].lineData[79] = 0; - _$jscoverage['/transition.js'].lineData[82] = 0; - _$jscoverage['/transition.js'].lineData[84] = 0; - _$jscoverage['/transition.js'].lineData[90] = 0; - _$jscoverage['/transition.js'].lineData[94] = 0; + _$jscoverage['/transition.js'].lineData[76] = 0; + _$jscoverage['/transition.js'].lineData[80] = 0; + _$jscoverage['/transition.js'].lineData[83] = 0; + _$jscoverage['/transition.js'].lineData[85] = 0; + _$jscoverage['/transition.js'].lineData[91] = 0; _$jscoverage['/transition.js'].lineData[95] = 0; _$jscoverage['/transition.js'].lineData[96] = 0; _$jscoverage['/transition.js'].lineData[97] = 0; - _$jscoverage['/transition.js'].lineData[99] = 0; + _$jscoverage['/transition.js'].lineData[98] = 0; _$jscoverage['/transition.js'].lineData[100] = 0; _$jscoverage['/transition.js'].lineData[101] = 0; _$jscoverage['/transition.js'].lineData[102] = 0; - _$jscoverage['/transition.js'].lineData[104] = 0; - _$jscoverage['/transition.js'].lineData[111] = 0; + _$jscoverage['/transition.js'].lineData[103] = 0; + _$jscoverage['/transition.js'].lineData[105] = 0; _$jscoverage['/transition.js'].lineData[112] = 0; - _$jscoverage['/transition.js'].lineData[116] = 0; + _$jscoverage['/transition.js'].lineData[113] = 0; _$jscoverage['/transition.js'].lineData[117] = 0; - _$jscoverage['/transition.js'].lineData[119] = 0; - _$jscoverage['/transition.js'].lineData[120] = 0; - _$jscoverage['/transition.js'].lineData[121] = 0; + _$jscoverage['/transition.js'].lineData[118] = 0; _$jscoverage['/transition.js'].lineData[122] = 0; _$jscoverage['/transition.js'].lineData[123] = 0; _$jscoverage['/transition.js'].lineData[125] = 0; + _$jscoverage['/transition.js'].lineData[126] = 0; _$jscoverage['/transition.js'].lineData[127] = 0; _$jscoverage['/transition.js'].lineData[128] = 0; + _$jscoverage['/transition.js'].lineData[129] = 0; + _$jscoverage['/transition.js'].lineData[131] = 0; _$jscoverage['/transition.js'].lineData[133] = 0; - _$jscoverage['/transition.js'].lineData[141] = 0; - _$jscoverage['/transition.js'].lineData[142] = 0; - _$jscoverage['/transition.js'].lineData[143] = 0; - _$jscoverage['/transition.js'].lineData[144] = 0; - _$jscoverage['/transition.js'].lineData[146] = 0; + _$jscoverage['/transition.js'].lineData[134] = 0; + _$jscoverage['/transition.js'].lineData[139] = 0; + _$jscoverage['/transition.js'].lineData[147] = 0; + _$jscoverage['/transition.js'].lineData[148] = 0; + _$jscoverage['/transition.js'].lineData[149] = 0; _$jscoverage['/transition.js'].lineData[150] = 0; - _$jscoverage['/transition.js'].lineData[155] = 0; + _$jscoverage['/transition.js'].lineData[152] = 0; _$jscoverage['/transition.js'].lineData[156] = 0; - _$jscoverage['/transition.js'].lineData[160] = 0; + _$jscoverage['/transition.js'].lineData[161] = 0; + _$jscoverage['/transition.js'].lineData[162] = 0; + _$jscoverage['/transition.js'].lineData[166] = 0; } if (! _$jscoverage['/transition.js'].functionData) { _$jscoverage['/transition.js'].functionData = []; @@ -318,78 +320,84 @@ if (! _$jscoverage['/transition.js'].functionData) { } if (! _$jscoverage['/transition.js'].branchData) { _$jscoverage['/transition.js'].branchData = {}; - _$jscoverage['/transition.js'].branchData['23'] = []; - _$jscoverage['/transition.js'].branchData['23'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['55'] = []; - _$jscoverage['/transition.js'].branchData['55'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['58'] = []; - _$jscoverage['/transition.js'].branchData['58'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['72'] = []; - _$jscoverage['/transition.js'].branchData['72'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['74'] = []; - _$jscoverage['/transition.js'].branchData['74'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['96'] = []; - _$jscoverage['/transition.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['101'] = []; - _$jscoverage['/transition.js'].branchData['101'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['116'] = []; - _$jscoverage['/transition.js'].branchData['116'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['121'] = []; - _$jscoverage['/transition.js'].branchData['121'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['24'] = []; + _$jscoverage['/transition.js'].branchData['24'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['56'] = []; + _$jscoverage['/transition.js'].branchData['56'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['59'] = []; + _$jscoverage['/transition.js'].branchData['59'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['73'] = []; + _$jscoverage['/transition.js'].branchData['73'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['75'] = []; + _$jscoverage['/transition.js'].branchData['75'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['97'] = []; + _$jscoverage['/transition.js'].branchData['97'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['102'] = []; + _$jscoverage['/transition.js'].branchData['102'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['117'] = []; + _$jscoverage['/transition.js'].branchData['117'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['122'] = []; + _$jscoverage['/transition.js'].branchData['122'][1] = new BranchData(); _$jscoverage['/transition.js'].branchData['127'] = []; _$jscoverage['/transition.js'].branchData['127'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['143'] = []; - _$jscoverage['/transition.js'].branchData['143'][1] = new BranchData(); - _$jscoverage['/transition.js'].branchData['153'] = []; - _$jscoverage['/transition.js'].branchData['153'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['133'] = []; + _$jscoverage['/transition.js'].branchData['133'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['149'] = []; + _$jscoverage['/transition.js'].branchData['149'][1] = new BranchData(); + _$jscoverage['/transition.js'].branchData['159'] = []; + _$jscoverage['/transition.js'].branchData['159'][1] = new BranchData(); } -_$jscoverage['/transition.js'].branchData['153'][1].init(7, 213, 'S.trim(elStyle[TRANSITION].replace(new RegExp(\'(^|,)\' + \'\\\\s*(?:\' + propList.join(\'|\') + \')\\\\s+[^,]+\', \'gi\'), \'$1\')).replace(/^,|,,|,$/g, \'\') || \'none\''); -function visit12_153_1(result) { - _$jscoverage['/transition.js'].branchData['153'][1].ranCondition(result); +_$jscoverage['/transition.js'].branchData['159'][1].init(7, 213, 'S.trim(elStyle[TRANSITION].replace(new RegExp(\'(^|,)\' + \'\\\\s*(?:\' + propList.join(\'|\') + \')\\\\s+[^,]+\', \'gi\'), \'$1\')).replace(/^,|,,|,$/g, \'\') || \'none\''); +function visit13_159_1(result) { + _$jscoverage['/transition.js'].branchData['159'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['143'][1].init(21, 7, '!finish'); -function visit11_143_1(result) { - _$jscoverage['/transition.js'].branchData['143'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['149'][1].init(21, 7, '!finish'); +function visit12_149_1(result) { + _$jscoverage['/transition.js'].branchData['149'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['127'][1].init(569, 12, 'allCompleted'); +}_$jscoverage['/transition.js'].branchData['133'][1].init(790, 12, 'allCompleted'); +function visit11_133_1(result) { + _$jscoverage['/transition.js'].branchData['133'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['127'][1].init(21, 18, 'propData.pos !== 1'); function visit10_127_1(result) { _$jscoverage['/transition.js'].branchData['127'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['121'][1].init(21, 18, 'propData.pos !== 1'); -function visit9_121_1(result) { - _$jscoverage['/transition.js'].branchData['121'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['122'][1].init(416, 35, 'propsData[e.propertyName].pos === 1'); +function visit9_122_1(result) { + _$jscoverage['/transition.js'].branchData['122'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['116'][1].init(204, 26, '!propsData[e.propertyName]'); -function visit8_116_1(result) { - _$jscoverage['/transition.js'].branchData['116'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['117'][1].init(204, 26, '!propsData[e.propertyName]'); +function visit8_117_1(result) { + _$jscoverage['/transition.js'].branchData['117'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['101'][1].init(113, 29, 'propData.duration >= tRunTime'); -function visit7_101_1(result) { - _$jscoverage['/transition.js'].branchData['101'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['102'][1].init(113, 29, 'propData.duration >= tRunTime'); +function visit7_102_1(result) { + _$jscoverage['/transition.js'].branchData['102'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['96'][1].init(61, 26, 'propData.delay >= tRunTime'); -function visit6_96_1(result) { - _$jscoverage['/transition.js'].branchData['96'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['97'][1].init(61, 26, 'propData.delay >= tRunTime'); +function visit6_97_1(result) { + _$jscoverage['/transition.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['74'][1].init(1425, 8, 'original'); -function visit5_74_1(result) { - _$jscoverage['/transition.js'].branchData['74'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['75'][1].init(1435, 8, 'original'); +function visit5_75_1(result) { + _$jscoverage['/transition.js'].branchData['75'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['72'][1].init(1335, 31, 'original.indexOf(\'none\') !== -1'); -function visit4_72_1(result) { - _$jscoverage['/transition.js'].branchData['72'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['73'][1].init(1345, 31, 'original.indexOf(\'none\') !== -1'); +function visit4_73_1(result) { + _$jscoverage['/transition.js'].branchData['73'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['58'][1].init(241, 18, 'currentValue === v'); -function visit3_58_1(result) { - _$jscoverage['/transition.js'].branchData['58'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['59'][1].init(241, 18, 'currentValue === v'); +function visit3_59_1(result) { + _$jscoverage['/transition.js'].branchData['59'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['55'][1].init(117, 21, 'typeof v === \'number\''); -function visit2_55_1(result) { - _$jscoverage['/transition.js'].branchData['55'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['56'][1].init(117, 21, 'typeof v === \'number\''); +function visit2_56_1(result) { + _$jscoverage['/transition.js'].branchData['56'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['23'][1].init(17, 3, 'str'); -function visit1_23_1(result) { - _$jscoverage['/transition.js'].branchData['23'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['24'][1].init(17, 3, 'str'); +function visit1_24_1(result) { + _$jscoverage['/transition.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/transition.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -401,119 +409,119 @@ KISSY.add(function(S, require) { _$jscoverage['/transition.js'].lineData[9]++; var AnimBase = require('./base'); _$jscoverage['/transition.js'].lineData[11]++; - var Features = S.Features; + var Feature = S.Features; _$jscoverage['/transition.js'].lineData[12]++; - var vendorPrefix = Features.getTransitionPrefix(); + var vendorPrefix = Feature.getVendorCssPropPrefix('transition'); _$jscoverage['/transition.js'].lineData[13]++; var R_UPPER = /([A-Z]|^ms)/g; _$jscoverage['/transition.js'].lineData[14]++; - var TRANSITION_END_EVENT = vendorPrefix ? (vendorPrefix.toLowerCase() + 'TransitionEnd') : 'transitionend'; - _$jscoverage['/transition.js'].lineData[18]++; - var TRANSITION = Features.getTransitionProperty(); - _$jscoverage['/transition.js'].lineData[20]++; + var TRANSITION_END_EVENT = vendorPrefix ? (vendorPrefix.toLowerCase() + 'TransitionEnd') : 'transitionend webkitTransitionEnd'; + _$jscoverage['/transition.js'].lineData[19]++; + var TRANSITION = Feature.getVendorCssPropName('transition'); + _$jscoverage['/transition.js'].lineData[21]++; function genTransition(propsData) { _$jscoverage['/transition.js'].functionData[1]++; - _$jscoverage['/transition.js'].lineData[21]++; - var str = ''; _$jscoverage['/transition.js'].lineData[22]++; + var str = ''; + _$jscoverage['/transition.js'].lineData[23]++; S.each(propsData, function(propData, prop) { _$jscoverage['/transition.js'].functionData[2]++; - _$jscoverage['/transition.js'].lineData[23]++; - if (visit1_23_1(str)) { - _$jscoverage['/transition.js'].lineData[24]++; + _$jscoverage['/transition.js'].lineData[24]++; + if (visit1_24_1(str)) { + _$jscoverage['/transition.js'].lineData[25]++; str += ','; } - _$jscoverage['/transition.js'].lineData[26]++; + _$jscoverage['/transition.js'].lineData[27]++; str += prop + ' ' + propData.duration + 's ' + propData.easing + ' ' + propData.delay + 's'; }); - _$jscoverage['/transition.js'].lineData[31]++; + _$jscoverage['/transition.js'].lineData[32]++; return str; } - _$jscoverage['/transition.js'].lineData[34]++; + _$jscoverage['/transition.js'].lineData[35]++; function TransitionAnim() { _$jscoverage['/transition.js'].functionData[3]++; - _$jscoverage['/transition.js'].lineData[35]++; + _$jscoverage['/transition.js'].lineData[36]++; TransitionAnim.superclass.constructor.apply(this, arguments); } - _$jscoverage['/transition.js'].lineData[38]++; + _$jscoverage['/transition.js'].lineData[39]++; S.extend(TransitionAnim, AnimBase, { doStart: function() { _$jscoverage['/transition.js'].functionData[4]++; - _$jscoverage['/transition.js'].lineData[40]++; + _$jscoverage['/transition.js'].lineData[41]++; var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], transform, propsCss = {}; - _$jscoverage['/transition.js'].lineData[47]++; + _$jscoverage['/transition.js'].lineData[48]++; if ((transform = _propsData.transform)) { - _$jscoverage['/transition.js'].lineData[48]++; - delete _propsData.transform; _$jscoverage['/transition.js'].lineData[49]++; - _propsData[Features.getTransformProperty().replace(R_UPPER, '-$1').toLowerCase()] = transform; + delete _propsData.transform; + _$jscoverage['/transition.js'].lineData[50]++; + _propsData[Feature.getVendorCssPropName('transform').replace(R_UPPER, '-$1').toLowerCase()] = transform; } - _$jscoverage['/transition.js'].lineData[52]++; + _$jscoverage['/transition.js'].lineData[53]++; S.each(_propsData, function(propData, prop) { _$jscoverage['/transition.js'].functionData[5]++; - _$jscoverage['/transition.js'].lineData[53]++; + _$jscoverage['/transition.js'].lineData[54]++; var v = propData.value, currentValue = Dom.css(node, prop); - _$jscoverage['/transition.js'].lineData[55]++; - if (visit2_55_1(typeof v === 'number')) { - _$jscoverage['/transition.js'].lineData[56]++; + _$jscoverage['/transition.js'].lineData[56]++; + if (visit2_56_1(typeof v === 'number')) { + _$jscoverage['/transition.js'].lineData[57]++; currentValue = parseFloat(currentValue); } - _$jscoverage['/transition.js'].lineData[58]++; - if (visit3_58_1(currentValue === v)) { - _$jscoverage['/transition.js'].lineData[60]++; + _$jscoverage['/transition.js'].lineData[59]++; + if (visit3_59_1(currentValue === v)) { + _$jscoverage['/transition.js'].lineData[61]++; setTimeout(function() { _$jscoverage['/transition.js'].functionData[6]++; - _$jscoverage['/transition.js'].lineData[61]++; + _$jscoverage['/transition.js'].lineData[62]++; self._onTransitionEnd({ originalEvent: { propertyName: prop}}); }, 0); } - _$jscoverage['/transition.js'].lineData[68]++; + _$jscoverage['/transition.js'].lineData[69]++; propsCss[prop] = v; }); - _$jscoverage['/transition.js'].lineData[72]++; - if (visit4_72_1(original.indexOf('none') !== -1)) { - _$jscoverage['/transition.js'].lineData[73]++; + _$jscoverage['/transition.js'].lineData[73]++; + if (visit4_73_1(original.indexOf('none') !== -1)) { + _$jscoverage['/transition.js'].lineData[74]++; original = ''; } else { - _$jscoverage['/transition.js'].lineData[74]++; - if (visit5_74_1(original)) { - _$jscoverage['/transition.js'].lineData[75]++; + _$jscoverage['/transition.js'].lineData[75]++; + if (visit5_75_1(original)) { + _$jscoverage['/transition.js'].lineData[76]++; original += ','; } } - _$jscoverage['/transition.js'].lineData[79]++; + _$jscoverage['/transition.js'].lineData[80]++; elStyle[TRANSITION] = original + genTransition(_propsData); - _$jscoverage['/transition.js'].lineData[82]++; + _$jscoverage['/transition.js'].lineData[83]++; Event.on(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - _$jscoverage['/transition.js'].lineData[84]++; + _$jscoverage['/transition.js'].lineData[85]++; Dom.css(node, propsCss); }, beforeResume: function() { _$jscoverage['/transition.js'].functionData[7]++; - _$jscoverage['/transition.js'].lineData[90]++; + _$jscoverage['/transition.js'].lineData[91]++; var self = this, propsData = self._propsData, tmpPropsData = S.merge(propsData), runTime = self._runTime / 1000; - _$jscoverage['/transition.js'].lineData[94]++; + _$jscoverage['/transition.js'].lineData[95]++; S.each(tmpPropsData, function(propData, prop) { _$jscoverage['/transition.js'].functionData[8]++; - _$jscoverage['/transition.js'].lineData[95]++; - var tRunTime = runTime; _$jscoverage['/transition.js'].lineData[96]++; - if (visit6_96_1(propData.delay >= tRunTime)) { - _$jscoverage['/transition.js'].lineData[97]++; + var tRunTime = runTime; + _$jscoverage['/transition.js'].lineData[97]++; + if (visit6_97_1(propData.delay >= tRunTime)) { + _$jscoverage['/transition.js'].lineData[98]++; propData.delay -= tRunTime; } else { - _$jscoverage['/transition.js'].lineData[99]++; - tRunTime -= propData.delay; _$jscoverage['/transition.js'].lineData[100]++; - propData.delay = 0; + tRunTime -= propData.delay; _$jscoverage['/transition.js'].lineData[101]++; - if (visit7_101_1(propData.duration >= tRunTime)) { - _$jscoverage['/transition.js'].lineData[102]++; + propData.delay = 0; + _$jscoverage['/transition.js'].lineData[102]++; + if (visit7_102_1(propData.duration >= tRunTime)) { + _$jscoverage['/transition.js'].lineData[103]++; propData.duration -= tRunTime; } else { - _$jscoverage['/transition.js'].lineData[104]++; + _$jscoverage['/transition.js'].lineData[105]++; delete propsData[prop]; } } @@ -521,60 +529,65 @@ KISSY.add(function(S, require) { }, _onTransitionEnd: function(e) { _$jscoverage['/transition.js'].functionData[9]++; - _$jscoverage['/transition.js'].lineData[111]++; - e = e.originalEvent; _$jscoverage['/transition.js'].lineData[112]++; + e = e.originalEvent; + _$jscoverage['/transition.js'].lineData[113]++; var self = this, allCompleted = 1, propsData = self._propsData; - _$jscoverage['/transition.js'].lineData[116]++; - if (visit8_116_1(!propsData[e.propertyName])) { - _$jscoverage['/transition.js'].lineData[117]++; + _$jscoverage['/transition.js'].lineData[117]++; + if (visit8_117_1(!propsData[e.propertyName])) { + _$jscoverage['/transition.js'].lineData[118]++; + return; + } + _$jscoverage['/transition.js'].lineData[122]++; + if (visit9_122_1(propsData[e.propertyName].pos === 1)) { + _$jscoverage['/transition.js'].lineData[123]++; return; } - _$jscoverage['/transition.js'].lineData[119]++; + _$jscoverage['/transition.js'].lineData[125]++; propsData[e.propertyName].pos = 1; - _$jscoverage['/transition.js'].lineData[120]++; + _$jscoverage['/transition.js'].lineData[126]++; S.each(propsData, function(propData) { _$jscoverage['/transition.js'].functionData[10]++; - _$jscoverage['/transition.js'].lineData[121]++; - if (visit9_121_1(propData.pos !== 1)) { - _$jscoverage['/transition.js'].lineData[122]++; + _$jscoverage['/transition.js'].lineData[127]++; + if (visit10_127_1(propData.pos !== 1)) { + _$jscoverage['/transition.js'].lineData[128]++; allCompleted = 0; - _$jscoverage['/transition.js'].lineData[123]++; + _$jscoverage['/transition.js'].lineData[129]++; return false; } - _$jscoverage['/transition.js'].lineData[125]++; + _$jscoverage['/transition.js'].lineData[131]++; return undefined; }); - _$jscoverage['/transition.js'].lineData[127]++; - if (visit10_127_1(allCompleted)) { - _$jscoverage['/transition.js'].lineData[128]++; + _$jscoverage['/transition.js'].lineData[133]++; + if (visit11_133_1(allCompleted)) { + _$jscoverage['/transition.js'].lineData[134]++; self.stop(true); } }, doStop: function(finish) { _$jscoverage['/transition.js'].functionData[11]++; - _$jscoverage['/transition.js'].lineData[133]++; + _$jscoverage['/transition.js'].lineData[139]++; var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, propList = [], clear, propsCss = {}; - _$jscoverage['/transition.js'].lineData[141]++; + _$jscoverage['/transition.js'].lineData[147]++; Event.detach(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - _$jscoverage['/transition.js'].lineData[142]++; + _$jscoverage['/transition.js'].lineData[148]++; S.each(_propsData, function(propData, prop) { _$jscoverage['/transition.js'].functionData[12]++; - _$jscoverage['/transition.js'].lineData[143]++; - if (visit11_143_1(!finish)) { - _$jscoverage['/transition.js'].lineData[144]++; + _$jscoverage['/transition.js'].lineData[149]++; + if (visit12_149_1(!finish)) { + _$jscoverage['/transition.js'].lineData[150]++; propsCss[prop] = Dom.css(node, prop); } - _$jscoverage['/transition.js'].lineData[146]++; + _$jscoverage['/transition.js'].lineData[152]++; propList.push(prop); }); - _$jscoverage['/transition.js'].lineData[150]++; - clear = visit12_153_1(S.trim(elStyle[TRANSITION].replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), '$1')).replace(/^,|,,|,$/g, '') || 'none'); - _$jscoverage['/transition.js'].lineData[155]++; - elStyle[TRANSITION] = clear; _$jscoverage['/transition.js'].lineData[156]++; + clear = visit13_159_1(S.trim(elStyle[TRANSITION].replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), '$1')).replace(/^,|,,|,$/g, '') || 'none'); + _$jscoverage['/transition.js'].lineData[161]++; + elStyle[TRANSITION] = clear; + _$jscoverage['/transition.js'].lineData[162]++; Dom.css(node, propsCss); }}); - _$jscoverage['/transition.js'].lineData[160]++; + _$jscoverage['/transition.js'].lineData[166]++; return TransitionAnim; }); diff --git a/src/anim/sub-modules/transition/src/transition.js b/src/anim/sub-modules/transition/src/transition.js index 0b24c67ce0..b6217bd9d1 100644 --- a/src/anim/sub-modules/transition/src/transition.js +++ b/src/anim/sub-modules/transition/src/transition.js @@ -8,14 +8,15 @@ KISSY.add(function (S, require) { var Event = require('event/dom'); var AnimBase = require('./base'); - var Features = S.Features; - var vendorPrefix = Features.getTransitionPrefix(); + var Feature = S.Features; + var vendorPrefix = Feature.getVendorCssPropPrefix('transition'); var R_UPPER = /([A-Z]|^ms)/g; var TRANSITION_END_EVENT = vendorPrefix ? // webkitTransitionEnd ! (vendorPrefix.toLowerCase() + 'TransitionEnd') : - 'transitionend'; - var TRANSITION = Features.getTransitionProperty(); + // https://github.com/kissyteam/kissy/issues/538 + 'transitionend webkitTransitionEnd'; + var TRANSITION = Feature.getVendorCssPropName('transition'); function genTransition(propsData) { var str = ''; @@ -46,7 +47,7 @@ KISSY.add(function (S, require) { propsCss = {}; if ((transform = _propsData.transform)) { delete _propsData.transform; - _propsData[Features.getTransformProperty() + _propsData[Feature.getVendorCssPropName('transform') .replace(R_UPPER, '-$1').toLowerCase()] = transform; } S.each(_propsData, function (propData, prop) { @@ -116,6 +117,11 @@ KISSY.add(function (S, require) { if (!propsData[e.propertyName]) { return; } + // webkitTransitionEnd transitionend are both bind for + // https://github.com/kissyteam/kissy/issues/538 + if (propsData[e.propertyName].pos === 1) { + return; + } propsData[e.propertyName].pos = 1; S.each(propsData, function (propData) { if (propData.pos !== 1) { diff --git a/src/scroll-view/assets/dpl.css b/src/scroll-view/assets/dpl.css index b028f272ce..437193731a 100644 --- a/src/scroll-view/assets/dpl.css +++ b/src/scroll-view/assets/dpl.css @@ -7,7 +7,6 @@ -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-user-drag: none; -ms-touch-action:none; - -ms-user-select:none; } .ks-scroll-view-hidden{ diff --git a/src/scroll-view/assets/nice.css b/src/scroll-view/assets/nice.css index 3b197bc5ea..50554d7731 100644 --- a/src/scroll-view/assets/nice.css +++ b/src/scroll-view/assets/nice.css @@ -7,7 +7,6 @@ -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-user-drag: none; -ms-touch-action:none; - -ms-user-select:none; } .ks-scroll-view-hidden{ diff --git a/src/swf/coverage/src/swf.js b/src/swf/coverage/src/swf.js index 21bca6b492..b57ee5ff76 100644 --- a/src/swf/coverage/src/swf.js +++ b/src/swf/coverage/src/swf.js @@ -235,153 +235,156 @@ if (! _$jscoverage['/swf.js']) { _$jscoverage['/swf.js'].lineData[9] = 0; _$jscoverage['/swf.js'].lineData[10] = 0; _$jscoverage['/swf.js'].lineData[12] = 0; - _$jscoverage['/swf.js'].lineData[54] = 0; + _$jscoverage['/swf.js'].lineData[51] = 0; + _$jscoverage['/swf.js'].lineData[57] = 0; + _$jscoverage['/swf.js'].lineData[59] = 0; _$jscoverage['/swf.js'].lineData[60] = 0; - _$jscoverage['/swf.js'].lineData[62] = 0; - _$jscoverage['/swf.js'].lineData[63] = 0; - _$jscoverage['/swf.js'].lineData[64] = 0; - _$jscoverage['/swf.js'].lineData[78] = 0; - _$jscoverage['/swf.js'].lineData[81] = 0; - _$jscoverage['/swf.js'].lineData[82] = 0; - _$jscoverage['/swf.js'].lineData[83] = 0; - _$jscoverage['/swf.js'].lineData[87] = 0; - _$jscoverage['/swf.js'].lineData[88] = 0; + _$jscoverage['/swf.js'].lineData[61] = 0; + _$jscoverage['/swf.js'].lineData[77] = 0; + _$jscoverage['/swf.js'].lineData[79] = 0; + _$jscoverage['/swf.js'].lineData[80] = 0; + _$jscoverage['/swf.js'].lineData[84] = 0; + _$jscoverage['/swf.js'].lineData[85] = 0; + _$jscoverage['/swf.js'].lineData[86] = 0; + _$jscoverage['/swf.js'].lineData[90] = 0; _$jscoverage['/swf.js'].lineData[91] = 0; - _$jscoverage['/swf.js'].lineData[92] = 0; + _$jscoverage['/swf.js'].lineData[94] = 0; _$jscoverage['/swf.js'].lineData[95] = 0; - _$jscoverage['/swf.js'].lineData[97] = 0; + _$jscoverage['/swf.js'].lineData[98] = 0; _$jscoverage['/swf.js'].lineData[100] = 0; - _$jscoverage['/swf.js'].lineData[102] = 0; + _$jscoverage['/swf.js'].lineData[103] = 0; _$jscoverage['/swf.js'].lineData[105] = 0; - _$jscoverage['/swf.js'].lineData[107] = 0; - _$jscoverage['/swf.js'].lineData[115] = 0; - _$jscoverage['/swf.js'].lineData[116] = 0; + _$jscoverage['/swf.js'].lineData[108] = 0; + _$jscoverage['/swf.js'].lineData[110] = 0; _$jscoverage['/swf.js'].lineData[118] = 0; - _$jscoverage['/swf.js'].lineData[122] = 0; - _$jscoverage['/swf.js'].lineData[124] = 0; + _$jscoverage['/swf.js'].lineData[119] = 0; + _$jscoverage['/swf.js'].lineData[121] = 0; _$jscoverage['/swf.js'].lineData[125] = 0; _$jscoverage['/swf.js'].lineData[127] = 0; + _$jscoverage['/swf.js'].lineData[128] = 0; _$jscoverage['/swf.js'].lineData[130] = 0; - _$jscoverage['/swf.js'].lineData[131] = 0; _$jscoverage['/swf.js'].lineData[133] = 0; + _$jscoverage['/swf.js'].lineData[134] = 0; _$jscoverage['/swf.js'].lineData[136] = 0; - _$jscoverage['/swf.js'].lineData[138] = 0; - _$jscoverage['/swf.js'].lineData[140] = 0; + _$jscoverage['/swf.js'].lineData[139] = 0; _$jscoverage['/swf.js'].lineData[141] = 0; _$jscoverage['/swf.js'].lineData[142] = 0; - _$jscoverage['/swf.js'].lineData[144] = 0; - _$jscoverage['/swf.js'].lineData[150] = 0; + _$jscoverage['/swf.js'].lineData[143] = 0; + _$jscoverage['/swf.js'].lineData[145] = 0; + _$jscoverage['/swf.js'].lineData[148] = 0; + _$jscoverage['/swf.js'].lineData[151] = 0; _$jscoverage['/swf.js'].lineData[152] = 0; - _$jscoverage['/swf.js'].lineData[153] = 0; - _$jscoverage['/swf.js'].lineData[162] = 0; - _$jscoverage['/swf.js'].lineData[165] = 0; - _$jscoverage['/swf.js'].lineData[166] = 0; - _$jscoverage['/swf.js'].lineData[167] = 0; - _$jscoverage['/swf.js'].lineData[168] = 0; + _$jscoverage['/swf.js'].lineData[157] = 0; + _$jscoverage['/swf.js'].lineData[159] = 0; + _$jscoverage['/swf.js'].lineData[160] = 0; + _$jscoverage['/swf.js'].lineData[169] = 0; _$jscoverage['/swf.js'].lineData[172] = 0; _$jscoverage['/swf.js'].lineData[173] = 0; _$jscoverage['/swf.js'].lineData[174] = 0; - _$jscoverage['/swf.js'].lineData[178] = 0; + _$jscoverage['/swf.js'].lineData[175] = 0; + _$jscoverage['/swf.js'].lineData[179] = 0; _$jscoverage['/swf.js'].lineData[180] = 0; - _$jscoverage['/swf.js'].lineData[186] = 0; + _$jscoverage['/swf.js'].lineData[181] = 0; + _$jscoverage['/swf.js'].lineData[185] = 0; _$jscoverage['/swf.js'].lineData[187] = 0; - _$jscoverage['/swf.js'].lineData[188] = 0; - _$jscoverage['/swf.js'].lineData[192] = 0; _$jscoverage['/swf.js'].lineData[193] = 0; - _$jscoverage['/swf.js'].lineData[195] = 0; - _$jscoverage['/swf.js'].lineData[196] = 0; - _$jscoverage['/swf.js'].lineData[197] = 0; - _$jscoverage['/swf.js'].lineData[200] = 0; - _$jscoverage['/swf.js'].lineData[204] = 0; - _$jscoverage['/swf.js'].lineData[277] = 0; - _$jscoverage['/swf.js'].lineData[278] = 0; - _$jscoverage['/swf.js'].lineData[280] = 0; + _$jscoverage['/swf.js'].lineData[194] = 0; + _$jscoverage['/swf.js'].lineData[198] = 0; + _$jscoverage['/swf.js'].lineData[199] = 0; + _$jscoverage['/swf.js'].lineData[201] = 0; + _$jscoverage['/swf.js'].lineData[202] = 0; + _$jscoverage['/swf.js'].lineData[203] = 0; + _$jscoverage['/swf.js'].lineData[206] = 0; + _$jscoverage['/swf.js'].lineData[210] = 0; _$jscoverage['/swf.js'].lineData[283] = 0; - _$jscoverage['/swf.js'].lineData[295] = 0; - _$jscoverage['/swf.js'].lineData[296] = 0; - _$jscoverage['/swf.js'].lineData[298] = 0; - _$jscoverage['/swf.js'].lineData[378] = 0; - _$jscoverage['/swf.js'].lineData[379] = 0; - _$jscoverage['/swf.js'].lineData[381] = 0; - _$jscoverage['/swf.js'].lineData[382] = 0; - _$jscoverage['/swf.js'].lineData[383] = 0; + _$jscoverage['/swf.js'].lineData[284] = 0; + _$jscoverage['/swf.js'].lineData[286] = 0; + _$jscoverage['/swf.js'].lineData[289] = 0; + _$jscoverage['/swf.js'].lineData[301] = 0; + _$jscoverage['/swf.js'].lineData[302] = 0; + _$jscoverage['/swf.js'].lineData[304] = 0; _$jscoverage['/swf.js'].lineData[384] = 0; _$jscoverage['/swf.js'].lineData[385] = 0; - _$jscoverage['/swf.js'].lineData[386] = 0; + _$jscoverage['/swf.js'].lineData[387] = 0; _$jscoverage['/swf.js'].lineData[388] = 0; - _$jscoverage['/swf.js'].lineData[430] = 0; - _$jscoverage['/swf.js'].lineData[431] = 0; - _$jscoverage['/swf.js'].lineData[432] = 0; - _$jscoverage['/swf.js'].lineData[433] = 0; - _$jscoverage['/swf.js'].lineData[436] = 0; + _$jscoverage['/swf.js'].lineData[389] = 0; + _$jscoverage['/swf.js'].lineData[390] = 0; + _$jscoverage['/swf.js'].lineData[391] = 0; + _$jscoverage['/swf.js'].lineData[392] = 0; + _$jscoverage['/swf.js'].lineData[394] = 0; + _$jscoverage['/swf.js'].lineData[438] = 0; _$jscoverage['/swf.js'].lineData[439] = 0; _$jscoverage['/swf.js'].lineData[440] = 0; + _$jscoverage['/swf.js'].lineData[441] = 0; _$jscoverage['/swf.js'].lineData[444] = 0; - _$jscoverage['/swf.js'].lineData[445] = 0; - _$jscoverage['/swf.js'].lineData[446] = 0; _$jscoverage['/swf.js'].lineData[447] = 0; - _$jscoverage['/swf.js'].lineData[449] = 0; - _$jscoverage['/swf.js'].lineData[450] = 0; - _$jscoverage['/swf.js'].lineData[451] = 0; + _$jscoverage['/swf.js'].lineData[448] = 0; _$jscoverage['/swf.js'].lineData[452] = 0; _$jscoverage['/swf.js'].lineData[453] = 0; _$jscoverage['/swf.js'].lineData[454] = 0; _$jscoverage['/swf.js'].lineData[455] = 0; - _$jscoverage['/swf.js'].lineData[456] = 0; _$jscoverage['/swf.js'].lineData[457] = 0; _$jscoverage['/swf.js'].lineData[458] = 0; + _$jscoverage['/swf.js'].lineData[459] = 0; + _$jscoverage['/swf.js'].lineData[460] = 0; + _$jscoverage['/swf.js'].lineData[461] = 0; _$jscoverage['/swf.js'].lineData[462] = 0; _$jscoverage['/swf.js'].lineData[463] = 0; + _$jscoverage['/swf.js'].lineData[464] = 0; _$jscoverage['/swf.js'].lineData[465] = 0; + _$jscoverage['/swf.js'].lineData[466] = 0; _$jscoverage['/swf.js'].lineData[470] = 0; _$jscoverage['/swf.js'].lineData[471] = 0; - _$jscoverage['/swf.js'].lineData[472] = 0; _$jscoverage['/swf.js'].lineData[473] = 0; - _$jscoverage['/swf.js'].lineData[474] = 0; - _$jscoverage['/swf.js'].lineData[475] = 0; + _$jscoverage['/swf.js'].lineData[477] = 0; _$jscoverage['/swf.js'].lineData[478] = 0; _$jscoverage['/swf.js'].lineData[479] = 0; + _$jscoverage['/swf.js'].lineData[480] = 0; + _$jscoverage['/swf.js'].lineData[481] = 0; _$jscoverage['/swf.js'].lineData[482] = 0; + _$jscoverage['/swf.js'].lineData[485] = 0; _$jscoverage['/swf.js'].lineData[486] = 0; - _$jscoverage['/swf.js'].lineData[487] = 0; - _$jscoverage['/swf.js'].lineData[490] = 0; - _$jscoverage['/swf.js'].lineData[491] = 0; + _$jscoverage['/swf.js'].lineData[489] = 0; + _$jscoverage['/swf.js'].lineData[492] = 0; + _$jscoverage['/swf.js'].lineData[493] = 0; _$jscoverage['/swf.js'].lineData[496] = 0; _$jscoverage['/swf.js'].lineData[497] = 0; - _$jscoverage['/swf.js'].lineData[500] = 0; - _$jscoverage['/swf.js'].lineData[501] = 0; _$jscoverage['/swf.js'].lineData[502] = 0; - _$jscoverage['/swf.js'].lineData[505] = 0; + _$jscoverage['/swf.js'].lineData[503] = 0; + _$jscoverage['/swf.js'].lineData[506] = 0; _$jscoverage['/swf.js'].lineData[507] = 0; - _$jscoverage['/swf.js'].lineData[510] = 0; - _$jscoverage['/swf.js'].lineData[512] = 0; - _$jscoverage['/swf.js'].lineData[514] = 0; + _$jscoverage['/swf.js'].lineData[508] = 0; + _$jscoverage['/swf.js'].lineData[511] = 0; + _$jscoverage['/swf.js'].lineData[513] = 0; + _$jscoverage['/swf.js'].lineData[516] = 0; _$jscoverage['/swf.js'].lineData[518] = 0; - _$jscoverage['/swf.js'].lineData[519] = 0; _$jscoverage['/swf.js'].lineData[520] = 0; - _$jscoverage['/swf.js'].lineData[521] = 0; - _$jscoverage['/swf.js'].lineData[522] = 0; - _$jscoverage['/swf.js'].lineData[523] = 0; _$jscoverage['/swf.js'].lineData[524] = 0; + _$jscoverage['/swf.js'].lineData[525] = 0; _$jscoverage['/swf.js'].lineData[526] = 0; _$jscoverage['/swf.js'].lineData[527] = 0; _$jscoverage['/swf.js'].lineData[528] = 0; _$jscoverage['/swf.js'].lineData[529] = 0; - _$jscoverage['/swf.js'].lineData[531] = 0; - _$jscoverage['/swf.js'].lineData[538] = 0; - _$jscoverage['/swf.js'].lineData[539] = 0; - _$jscoverage['/swf.js'].lineData[542] = 0; - _$jscoverage['/swf.js'].lineData[543] = 0; + _$jscoverage['/swf.js'].lineData[530] = 0; + _$jscoverage['/swf.js'].lineData[532] = 0; + _$jscoverage['/swf.js'].lineData[533] = 0; + _$jscoverage['/swf.js'].lineData[534] = 0; + _$jscoverage['/swf.js'].lineData[535] = 0; + _$jscoverage['/swf.js'].lineData[537] = 0; _$jscoverage['/swf.js'].lineData[544] = 0; - _$jscoverage['/swf.js'].lineData[546] = 0; + _$jscoverage['/swf.js'].lineData[545] = 0; _$jscoverage['/swf.js'].lineData[547] = 0; - _$jscoverage['/swf.js'].lineData[550] = 0; + _$jscoverage['/swf.js'].lineData[548] = 0; + _$jscoverage['/swf.js'].lineData[549] = 0; _$jscoverage['/swf.js'].lineData[551] = 0; - _$jscoverage['/swf.js'].lineData[554] = 0; + _$jscoverage['/swf.js'].lineData[552] = 0; _$jscoverage['/swf.js'].lineData[555] = 0; - _$jscoverage['/swf.js'].lineData[558] = 0; + _$jscoverage['/swf.js'].lineData[556] = 0; _$jscoverage['/swf.js'].lineData[559] = 0; - _$jscoverage['/swf.js'].lineData[562] = 0; + _$jscoverage['/swf.js'].lineData[560] = 0; + _$jscoverage['/swf.js'].lineData[563] = 0; + _$jscoverage['/swf.js'].lineData[564] = 0; + _$jscoverage['/swf.js'].lineData[567] = 0; } if (! _$jscoverage['/swf.js'].functionData) { _$jscoverage['/swf.js'].functionData = []; @@ -409,267 +412,279 @@ if (! _$jscoverage['/swf.js'].functionData) { } if (! _$jscoverage['/swf.js'].branchData) { _$jscoverage['/swf.js'].branchData = {}; - _$jscoverage['/swf.js'].branchData['78'] = []; - _$jscoverage['/swf.js'].branchData['78'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['81'] = []; - _$jscoverage['/swf.js'].branchData['81'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['87'] = []; - _$jscoverage['/swf.js'].branchData['87'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['91'] = []; - _$jscoverage['/swf.js'].branchData['91'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['95'] = []; - _$jscoverage['/swf.js'].branchData['95'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['96'] = []; - _$jscoverage['/swf.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['96'][2] = new BranchData(); - _$jscoverage['/swf.js'].branchData['100'] = []; - _$jscoverage['/swf.js'].branchData['100'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['101'] = []; - _$jscoverage['/swf.js'].branchData['101'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['101'][2] = new BranchData(); - _$jscoverage['/swf.js'].branchData['105'] = []; - _$jscoverage['/swf.js'].branchData['105'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['115'] = []; - _$jscoverage['/swf.js'].branchData['115'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['124'] = []; - _$jscoverage['/swf.js'].branchData['124'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['130'] = []; - _$jscoverage['/swf.js'].branchData['130'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['140'] = []; - _$jscoverage['/swf.js'].branchData['140'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['77'] = []; + _$jscoverage['/swf.js'].branchData['77'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['79'] = []; + _$jscoverage['/swf.js'].branchData['79'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['84'] = []; + _$jscoverage['/swf.js'].branchData['84'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['90'] = []; + _$jscoverage['/swf.js'].branchData['90'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['94'] = []; + _$jscoverage['/swf.js'].branchData['94'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['98'] = []; + _$jscoverage['/swf.js'].branchData['98'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['99'] = []; + _$jscoverage['/swf.js'].branchData['99'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['99'][2] = new BranchData(); + _$jscoverage['/swf.js'].branchData['103'] = []; + _$jscoverage['/swf.js'].branchData['103'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['104'] = []; + _$jscoverage['/swf.js'].branchData['104'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['104'][2] = new BranchData(); + _$jscoverage['/swf.js'].branchData['108'] = []; + _$jscoverage['/swf.js'].branchData['108'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['118'] = []; + _$jscoverage['/swf.js'].branchData['118'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['127'] = []; + _$jscoverage['/swf.js'].branchData['127'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['133'] = []; + _$jscoverage['/swf.js'].branchData['133'][1] = new BranchData(); _$jscoverage['/swf.js'].branchData['141'] = []; _$jscoverage['/swf.js'].branchData['141'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['152'] = []; - _$jscoverage['/swf.js'].branchData['152'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['165'] = []; - _$jscoverage['/swf.js'].branchData['165'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['167'] = []; - _$jscoverage['/swf.js'].branchData['167'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['173'] = []; - _$jscoverage['/swf.js'].branchData['173'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['192'] = []; - _$jscoverage['/swf.js'].branchData['192'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['196'] = []; - _$jscoverage['/swf.js'].branchData['196'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['277'] = []; - _$jscoverage['/swf.js'].branchData['277'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['295'] = []; - _$jscoverage['/swf.js'].branchData['295'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['380'] = []; - _$jscoverage['/swf.js'].branchData['380'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['381'] = []; - _$jscoverage['/swf.js'].branchData['381'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['383'] = []; - _$jscoverage['/swf.js'].branchData['383'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['385'] = []; - _$jscoverage['/swf.js'].branchData['385'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['432'] = []; - _$jscoverage['/swf.js'].branchData['432'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['444'] = []; - _$jscoverage['/swf.js'].branchData['444'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['446'] = []; - _$jscoverage['/swf.js'].branchData['446'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['450'] = []; - _$jscoverage['/swf.js'].branchData['450'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['142'] = []; + _$jscoverage['/swf.js'].branchData['142'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['151'] = []; + _$jscoverage['/swf.js'].branchData['151'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['159'] = []; + _$jscoverage['/swf.js'].branchData['159'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['172'] = []; + _$jscoverage['/swf.js'].branchData['172'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['174'] = []; + _$jscoverage['/swf.js'].branchData['174'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['180'] = []; + _$jscoverage['/swf.js'].branchData['180'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['198'] = []; + _$jscoverage['/swf.js'].branchData['198'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['202'] = []; + _$jscoverage['/swf.js'].branchData['202'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['283'] = []; + _$jscoverage['/swf.js'].branchData['283'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['301'] = []; + _$jscoverage['/swf.js'].branchData['301'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['386'] = []; + _$jscoverage['/swf.js'].branchData['386'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['387'] = []; + _$jscoverage['/swf.js'].branchData['387'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['389'] = []; + _$jscoverage['/swf.js'].branchData['389'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['391'] = []; + _$jscoverage['/swf.js'].branchData['391'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['440'] = []; + _$jscoverage['/swf.js'].branchData['440'][1] = new BranchData(); _$jscoverage['/swf.js'].branchData['452'] = []; _$jscoverage['/swf.js'].branchData['452'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['453'] = []; - _$jscoverage['/swf.js'].branchData['453'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['453'][2] = new BranchData(); - _$jscoverage['/swf.js'].branchData['455'] = []; - _$jscoverage['/swf.js'].branchData['455'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['457'] = []; - _$jscoverage['/swf.js'].branchData['457'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['462'] = []; - _$jscoverage['/swf.js'].branchData['462'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['474'] = []; - _$jscoverage['/swf.js'].branchData['474'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['478'] = []; - _$jscoverage['/swf.js'].branchData['478'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['500'] = []; - _$jscoverage['/swf.js'].branchData['500'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['520'] = []; - _$jscoverage['/swf.js'].branchData['520'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['543'] = []; - _$jscoverage['/swf.js'].branchData['543'][1] = new BranchData(); - _$jscoverage['/swf.js'].branchData['546'] = []; - _$jscoverage['/swf.js'].branchData['546'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['454'] = []; + _$jscoverage['/swf.js'].branchData['454'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['458'] = []; + _$jscoverage['/swf.js'].branchData['458'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['460'] = []; + _$jscoverage['/swf.js'].branchData['460'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['461'] = []; + _$jscoverage['/swf.js'].branchData['461'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['461'][2] = new BranchData(); + _$jscoverage['/swf.js'].branchData['463'] = []; + _$jscoverage['/swf.js'].branchData['463'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['465'] = []; + _$jscoverage['/swf.js'].branchData['465'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['470'] = []; + _$jscoverage['/swf.js'].branchData['470'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['481'] = []; + _$jscoverage['/swf.js'].branchData['481'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['485'] = []; + _$jscoverage['/swf.js'].branchData['485'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['506'] = []; + _$jscoverage['/swf.js'].branchData['506'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['526'] = []; + _$jscoverage['/swf.js'].branchData['526'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['548'] = []; + _$jscoverage['/swf.js'].branchData['548'][1] = new BranchData(); + _$jscoverage['/swf.js'].branchData['551'] = []; + _$jscoverage['/swf.js'].branchData['551'][1] = new BranchData(); } -_$jscoverage['/swf.js'].branchData['546'][1].init(120, 4, 'data'); -function visit55_546_1(result) { - _$jscoverage['/swf.js'].branchData['546'][1].ranCondition(result); +_$jscoverage['/swf.js'].branchData['551'][1].init(120, 4, 'data'); +function visit57_551_1(result) { + _$jscoverage['/swf.js'].branchData['551'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['543'][1].init(17, 24, 'typeof data !== \'string\''); -function visit54_543_1(result) { - _$jscoverage['/swf.js'].branchData['543'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['548'][1].init(17, 24, 'typeof data !== \'string\''); +function visit56_548_1(result) { + _$jscoverage['/swf.js'].branchData['548'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['520'][1].init(42, 6, 'OLD_IE'); -function visit53_520_1(result) { - _$jscoverage['/swf.js'].branchData['520'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['526'][1].init(42, 6, 'OLD_IE'); +function visit55_526_1(result) { + _$jscoverage['/swf.js'].branchData['526'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['500'][1].init(189, 2, 'ie'); -function visit52_500_1(result) { - _$jscoverage['/swf.js'].branchData['500'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['506'][1].init(189, 2, 'ie'); +function visit54_506_1(result) { + _$jscoverage['/swf.js'].branchData['506'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['478'][1].init(163, 15, 'k === FLASHVARS'); -function visit51_478_1(result) { - _$jscoverage['/swf.js'].branchData['478'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['485'][1].init(163, 15, 'k === FLASHVARS'); +function visit53_485_1(result) { + _$jscoverage['/swf.js'].branchData['485'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['474'][1].init(50, 11, 'k in PARAMS'); -function visit50_474_1(result) { - _$jscoverage['/swf.js'].branchData['474'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['481'][1].init(50, 11, 'k in PARAMS'); +function visit52_481_1(result) { + _$jscoverage['/swf.js'].branchData['481'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['462'][1].init(873, 20, 'nodeName === \'embed\''); -function visit49_462_1(result) { - _$jscoverage['/swf.js'].branchData['462'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['470'][1].init(873, 20, 'nodeName === \'embed\''); +function visit51_470_1(result) { + _$jscoverage['/swf.js'].branchData['470'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['457'][1].init(277, 36, 'Dom.nodeName(params[i]) === \'object\''); -function visit48_457_1(result) { - _$jscoverage['/swf.js'].branchData['457'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['465'][1].init(277, 36, 'Dom.nodeName(params[i]) === \'object\''); +function visit50_465_1(result) { + _$jscoverage['/swf.js'].branchData['465'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['455'][1].init(164, 31, 'Dom.nodeName(param) === \'embed\''); -function visit47_455_1(result) { - _$jscoverage['/swf.js'].branchData['455'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['463'][1].init(164, 31, 'Dom.nodeName(param) === \'embed\''); +function visit49_463_1(result) { + _$jscoverage['/swf.js'].branchData['463'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['453'][2].init(26, 29, 'Dom.attr(param, \'name\') || \'\''); -function visit46_453_2(result) { - _$jscoverage['/swf.js'].branchData['453'][2].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['461'][2].init(26, 29, 'Dom.attr(param, \'name\') || \'\''); +function visit48_461_2(result) { + _$jscoverage['/swf.js'].branchData['461'][2].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['453'][1].init(26, 56, '(Dom.attr(param, \'name\') || \'\').toLowerCase() === \'movie\''); -function visit45_453_1(result) { - _$jscoverage['/swf.js'].branchData['453'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['461'][1].init(26, 56, '(Dom.attr(param, \'name\') || \'\').toLowerCase() === \'movie\''); +function visit47_461_1(result) { + _$jscoverage['/swf.js'].branchData['461'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['452'][1].init(56, 20, 'param.nodeType === 1'); -function visit44_452_1(result) { - _$jscoverage['/swf.js'].branchData['452'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['460'][1].init(56, 20, 'param.nodeType === 1'); +function visit46_460_1(result) { + _$jscoverage['/swf.js'].branchData['460'][1].ranCondition(result); + return result; +}_$jscoverage['/swf.js'].branchData['458'][1].init(176, 17, 'i < params.length'); +function visit45_458_1(result) { + _$jscoverage['/swf.js'].branchData['458'][1].ranCondition(result); + return result; +}_$jscoverage['/swf.js'].branchData['454'][1].init(58, 3, 'url'); +function visit44_454_1(result) { + _$jscoverage['/swf.js'].branchData['454'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['450'][1].init(176, 17, 'i < params.length'); -function visit43_450_1(result) { - _$jscoverage['/swf.js'].branchData['450'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['452'][1].init(134, 21, 'nodeName === \'object\''); +function visit43_452_1(result) { + _$jscoverage['/swf.js'].branchData['452'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['446'][1].init(58, 3, 'url'); -function visit42_446_1(result) { - _$jscoverage['/swf.js'].branchData['446'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['440'][1].init(17, 28, 'typeof obj[i] === \'function\''); +function visit42_440_1(result) { + _$jscoverage['/swf.js'].branchData['440'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['444'][1].init(134, 21, 'nodeName === \'object\''); -function visit41_444_1(result) { - _$jscoverage['/swf.js'].branchData['444'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['391'][1].init(371, 20, 'nodeName === \'param\''); +function visit41_391_1(result) { + _$jscoverage['/swf.js'].branchData['391'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['432'][1].init(17, 28, 'typeof obj[i] === \'function\''); -function visit40_432_1(result) { - _$jscoverage['/swf.js'].branchData['432'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['389'][1].init(269, 21, 'nodeName === \'object\''); +function visit40_389_1(result) { + _$jscoverage['/swf.js'].branchData['389'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['385'][1].init(371, 20, 'nodeName === \'param\''); -function visit39_385_1(result) { - _$jscoverage['/swf.js'].branchData['385'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['387'][1].init(169, 20, 'nodeName === \'embed\''); +function visit39_387_1(result) { + _$jscoverage['/swf.js'].branchData['387'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['383'][1].init(269, 21, 'nodeName === \'object\''); -function visit38_383_1(result) { - _$jscoverage['/swf.js'].branchData['383'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['386'][1].init(67, 38, 'srcElement && Dom.nodeName(srcElement)'); +function visit38_386_1(result) { + _$jscoverage['/swf.js'].branchData['386'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['381'][1].init(169, 20, 'nodeName === \'embed\''); -function visit37_381_1(result) { - _$jscoverage['/swf.js'].branchData['381'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['301'][1].init(25, 21, 'typeof v === \'string\''); +function visit37_301_1(result) { + _$jscoverage['/swf.js'].branchData['301'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['380'][1].init(67, 38, 'srcElement && Dom.nodeName(srcElement)'); -function visit36_380_1(result) { - _$jscoverage['/swf.js'].branchData['380'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['283'][1].init(25, 21, 'typeof v === \'string\''); +function visit36_283_1(result) { + _$jscoverage['/swf.js'].branchData['283'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['295'][1].init(25, 21, 'typeof v === \'string\''); -function visit35_295_1(result) { - _$jscoverage['/swf.js'].branchData['295'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['202'][1].init(25, 26, 'swfObject.readyState === 4'); +function visit35_202_1(result) { + _$jscoverage['/swf.js'].branchData['202'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['277'][1].init(25, 21, 'typeof v === \'string\''); -function visit34_277_1(result) { - _$jscoverage['/swf.js'].branchData['277'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['198'][1].init(246, 6, 'OLD_IE'); +function visit34_198_1(result) { + _$jscoverage['/swf.js'].branchData['198'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['196'][1].init(25, 26, 'swfObject.readyState === 4'); -function visit33_196_1(result) { - _$jscoverage['/swf.js'].branchData['196'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['180'][1].init(154, 17, 'args.length !== 0'); +function visit33_180_1(result) { + _$jscoverage['/swf.js'].branchData['180'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['192'][1].init(273, 6, 'OLD_IE'); -function visit32_192_1(result) { - _$jscoverage['/swf.js'].branchData['192'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['174'][1].init(21, 9, 'swf[func]'); +function visit32_174_1(result) { + _$jscoverage['/swf.js'].branchData['174'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['173'][1].init(154, 17, 'args.length !== 0'); -function visit31_173_1(result) { - _$jscoverage['/swf.js'].branchData['173'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['172'][1].init(103, 10, 'args || []'); +function visit31_172_1(result) { + _$jscoverage['/swf.js'].branchData['172'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['167'][1].init(21, 9, 'swf[func]'); -function visit30_167_1(result) { - _$jscoverage['/swf.js'].branchData['167'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['159'][1].init(3528, 19, '!self.get(\'status\')'); +function visit30_159_1(result) { + _$jscoverage['/swf.js'].branchData['159'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['165'][1].init(103, 10, 'args || []'); -function visit29_165_1(result) { - _$jscoverage['/swf.js'].branchData['165'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['151'][1].init(3308, 7, 'hasNoId'); +function visit29_151_1(result) { + _$jscoverage['/swf.js'].branchData['151'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['152'][1].init(3182, 19, '!self.get(\'status\')'); -function visit28_152_1(result) { - _$jscoverage['/swf.js'].branchData['152'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['142'][1].init(21, 6, 'OLD_IE'); +function visit28_142_1(result) { + _$jscoverage['/swf.js'].branchData['142'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['141'][1].init(21, 6, 'OLD_IE'); +}_$jscoverage['/swf.js'].branchData['141'][1].init(3009, 19, 'htmlMode === \'full\''); function visit27_141_1(result) { _$jscoverage['/swf.js'].branchData['141'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['140'][1].init(2813, 19, 'htmlMode === \'full\''); -function visit26_140_1(result) { - _$jscoverage['/swf.js'].branchData['140'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['133'][1].init(2754, 26, '\'outerHTML\' in placeHolder'); +function visit26_133_1(result) { + _$jscoverage['/swf.js'].branchData['133'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['130'][1].init(2517, 26, '\'outerHTML\' in placeHolder'); -function visit25_130_1(result) { - _$jscoverage['/swf.js'].branchData['130'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['127'][1].init(2572, 8, 'elBefore'); +function visit25_127_1(result) { + _$jscoverage['/swf.js'].branchData['127'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['124'][1].init(2335, 8, 'elBefore'); -function visit24_124_1(result) { - _$jscoverage['/swf.js'].branchData['124'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['118'][1].init(2229, 19, 'htmlMode === \'full\''); +function visit24_118_1(result) { + _$jscoverage['/swf.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['115'][1].init(2031, 19, 'htmlMode === \'full\''); -function visit23_115_1(result) { - _$jscoverage['/swf.js'].branchData['115'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['108'][1].init(552, 22, 'params.flashVars || {}'); +function visit23_108_1(result) { + _$jscoverage['/swf.js'].branchData['108'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['105'][1].init(552, 22, 'params.flashVars || {}'); -function visit22_105_1(result) { - _$jscoverage['/swf.js'].branchData['105'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['104'][2].init(76, 32, 'parseInt(attrs.height, 10) < 137'); +function visit22_104_2(result) { + _$jscoverage['/swf.js'].branchData['104'][2].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['101'][2].init(76, 32, 'parseInt(attrs.height, 10) < 137'); -function visit21_101_2(result) { - _$jscoverage['/swf.js'].branchData['101'][2].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['104'][1].init(48, 60, '!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137'); +function visit21_104_1(result) { + _$jscoverage['/swf.js'].branchData['104'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['101'][1].init(48, 60, '!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137'); -function visit20_101_1(result) { - _$jscoverage['/swf.js'].branchData['101'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['103'][1].init(318, 110, '!(\'height\' in attrs) || (!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137)'); +function visit20_103_1(result) { + _$jscoverage['/swf.js'].branchData['103'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['100'][1].init(318, 110, '!(\'height\' in attrs) || (!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137)'); -function visit19_100_1(result) { - _$jscoverage['/swf.js'].branchData['100'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['99'][2].init(74, 31, 'parseInt(attrs.width, 10) < 310'); +function visit19_99_2(result) { + _$jscoverage['/swf.js'].branchData['99'][2].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['96'][2].init(74, 31, 'parseInt(attrs.width, 10) < 310'); -function visit18_96_2(result) { - _$jscoverage['/swf.js'].branchData['96'][2].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['99'][1].init(47, 58, '!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310'); +function visit18_99_1(result) { + _$jscoverage['/swf.js'].branchData['99'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['96'][1].init(47, 58, '!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310'); -function visit17_96_1(result) { - _$jscoverage['/swf.js'].branchData['96'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['98'][1].init(115, 107, '!(\'width\' in attrs) || (!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310)'); +function visit17_98_1(result) { + _$jscoverage['/swf.js'].branchData['98'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['95'][1].init(115, 107, '!(\'width\' in attrs) || (!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310)'); -function visit16_95_1(result) { - _$jscoverage['/swf.js'].branchData['95'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['94'][1].init(130, 14, 'expressInstall'); +function visit16_94_1(result) { + _$jscoverage['/swf.js'].branchData['94'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['91'][1].init(130, 14, 'expressInstall'); -function visit15_91_1(result) { - _$jscoverage['/swf.js'].branchData['91'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['90'][1].init(1096, 27, 'version && !fpvGTE(version)'); +function visit15_90_1(result) { + _$jscoverage['/swf.js'].branchData['90'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['87'][1].init(898, 27, 'version && !fpvGTE(version)'); -function visit14_87_1(result) { - _$jscoverage['/swf.js'].branchData['87'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['84'][1].init(931, 6, '!fpv()'); +function visit14_84_1(result) { + _$jscoverage['/swf.js'].branchData['84'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['81'][1].init(733, 6, '!fpv()'); -function visit13_81_1(result) { - _$jscoverage['/swf.js'].branchData['81'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['79'][1].init(757, 7, 'hasNoId'); +function visit13_79_1(result) { + _$jscoverage['/swf.js'].branchData['79'][1].ranCondition(result); return result; -}_$jscoverage['/swf.js'].branchData['78'][1].init(654, 29, 'attrs.id || S.guid(\'ks-swf-\')'); -function visit12_78_1(result) { - _$jscoverage['/swf.js'].branchData['78'][1].ranCondition(result); +}_$jscoverage['/swf.js'].branchData['77'][1].init(709, 29, 'attrs.id || S.guid(\'ks-swf-\')'); +function visit12_77_1(result) { + _$jscoverage['/swf.js'].branchData['77'][1].ranCondition(result); return result; }_$jscoverage['/swf.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -683,7 +698,7 @@ KISSY.add(function(S, require) { _$jscoverage['/swf.js'].lineData[10]++; var FlashUA = require('swf/ua'); _$jscoverage['/swf.js'].lineData[12]++; - var OLD_IE = !!S.Env.host.ActiveXObject, TYPE = 'application/x-shockwave-flash', CID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000', FLASHVARS = 'flashvars', EMPTY = '', SPACE = ' ', EQUAL = '=', DOUBLE_QUOTE = '"', LT = '<', GT = '>', doc = S.Env.host.document, fpv = FlashUA.fpv, fpvGEQ = FlashUA.fpvGEQ, fpvGTE = FlashUA.fpvGTE, OBJECT_TAG = 'object', encode = encodeURIComponent, PARAMS = { + var OLD_IE = !!S.Env.host.ActiveXObject, TYPE = 'application/x-shockwave-flash', CID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000', FLASHVARS = 'flashvars', EMPTY = '', LT = '<', GT = '>', doc = S.Env.host.document, fpv = FlashUA.fpv, fpvGEQ = FlashUA.fpvGEQ, fpvGTE = FlashUA.fpvGTE, OBJECT_TAG = 'object', encode = encodeURIComponent, PARAMS = { wmode: EMPTY, allowscriptaccess: EMPTY, allownetworking: EMPTY, @@ -700,156 +715,165 @@ KISSY.add(function(S, require) { base: EMPTY, swliveconnect: EMPTY, seamlesstabbing: EMPTY}; - _$jscoverage['/swf.js'].lineData[54]++; + _$jscoverage['/swf.js'].lineData[51]++; var SWF; - _$jscoverage['/swf.js'].lineData[60]++; + _$jscoverage['/swf.js'].lineData[57]++; SWF = Attribute.extend({ - constructor: function() { + constructor: function(config) { _$jscoverage['/swf.js'].functionData[1]++; - _$jscoverage['/swf.js'].lineData[62]++; + _$jscoverage['/swf.js'].lineData[59]++; var self = this; - _$jscoverage['/swf.js'].lineData[63]++; - self.callSuper.apply(self, arguments); - _$jscoverage['/swf.js'].lineData[64]++; - var expressInstall = self.get('expressInstall'), swf, html, id, htmlMode = self.get('htmlMode'), flashVars, params = self.get('params'), attrs = self.get('attrs'), doc = self.get('document'), placeHolder = Dom.create('', undefined, doc), elBefore = self.get('elBefore'), installedSrc = self.get('src'), version = self.get('version'); - _$jscoverage['/swf.js'].lineData[78]++; - id = attrs.id = visit12_78_1(attrs.id || S.guid('ks-swf-')); - _$jscoverage['/swf.js'].lineData[81]++; - if (visit13_81_1(!fpv())) { - _$jscoverage['/swf.js'].lineData[82]++; + _$jscoverage['/swf.js'].lineData[60]++; + self.callSuper(config); + _$jscoverage['/swf.js'].lineData[61]++; + var expressInstall = self.get('expressInstall'), swf, html, id, htmlMode = self.get('htmlMode'), flashVars, params = self.get('params'), attrs = self.get('attrs'), doc = self.get('document'), placeHolder = Dom.create('', undefined, doc), elBefore = self.get('elBefore'), installedSrc = self.get('src'), hasNoId = !('id' in attrs), idRegExp, version = self.get('version'); + _$jscoverage['/swf.js'].lineData[77]++; + id = attrs.id = visit12_77_1(attrs.id || S.guid('ks-swf-')); + _$jscoverage['/swf.js'].lineData[79]++; + if (visit13_79_1(hasNoId)) { + _$jscoverage['/swf.js'].lineData[80]++; + idRegExp = new RegExp('\\s+id\\s*=\\s*[\'"]?' + S.escapeRegExp(id) + '[\'"]?', 'i'); + } + _$jscoverage['/swf.js'].lineData[84]++; + if (visit14_84_1(!fpv())) { + _$jscoverage['/swf.js'].lineData[85]++; self.set('status', SWF.Status.NOT_INSTALLED); - _$jscoverage['/swf.js'].lineData[83]++; + _$jscoverage['/swf.js'].lineData[86]++; return; } - _$jscoverage['/swf.js'].lineData[87]++; - if (visit14_87_1(version && !fpvGTE(version))) { - _$jscoverage['/swf.js'].lineData[88]++; - self.set('status', SWF.Status.TOO_LOW); + _$jscoverage['/swf.js'].lineData[90]++; + if (visit15_90_1(version && !fpvGTE(version))) { _$jscoverage['/swf.js'].lineData[91]++; - if (visit15_91_1(expressInstall)) { - _$jscoverage['/swf.js'].lineData[92]++; - installedSrc = expressInstall; + self.set('status', SWF.Status.TOO_LOW); + _$jscoverage['/swf.js'].lineData[94]++; + if (visit16_94_1(expressInstall)) { _$jscoverage['/swf.js'].lineData[95]++; - if (visit16_95_1(!('width' in attrs) || (visit17_96_1(!/%$/.test(attrs.width) && visit18_96_2(parseInt(attrs.width, 10) < 310))))) { - _$jscoverage['/swf.js'].lineData[97]++; + installedSrc = expressInstall; + _$jscoverage['/swf.js'].lineData[98]++; + if (visit17_98_1(!('width' in attrs) || (visit18_99_1(!/%$/.test(attrs.width) && visit19_99_2(parseInt(attrs.width, 10) < 310))))) { + _$jscoverage['/swf.js'].lineData[100]++; attrs.width = '310'; } - _$jscoverage['/swf.js'].lineData[100]++; - if (visit19_100_1(!('height' in attrs) || (visit20_101_1(!/%$/.test(attrs.height) && visit21_101_2(parseInt(attrs.height, 10) < 137))))) { - _$jscoverage['/swf.js'].lineData[102]++; + _$jscoverage['/swf.js'].lineData[103]++; + if (visit20_103_1(!('height' in attrs) || (visit21_104_1(!/%$/.test(attrs.height) && visit22_104_2(parseInt(attrs.height, 10) < 137))))) { + _$jscoverage['/swf.js'].lineData[105]++; attrs.height = '137'; } - _$jscoverage['/swf.js'].lineData[105]++; - flashVars = params.flashVars = visit22_105_1(params.flashVars || {}); - _$jscoverage['/swf.js'].lineData[107]++; + _$jscoverage['/swf.js'].lineData[108]++; + flashVars = params.flashVars = visit23_108_1(params.flashVars || {}); + _$jscoverage['/swf.js'].lineData[110]++; S.mix(flashVars, { MMredirectURL: location.href, MMplayerType: OLD_IE ? 'ActiveX' : 'PlugIn', MMdoctitle: doc.title.slice(0, 47) + ' - Flash Player Installation'}); } } - _$jscoverage['/swf.js'].lineData[115]++; - if (visit23_115_1(htmlMode === 'full')) { - _$jscoverage['/swf.js'].lineData[116]++; + _$jscoverage['/swf.js'].lineData[118]++; + if (visit24_118_1(htmlMode === 'full')) { + _$jscoverage['/swf.js'].lineData[119]++; html = _stringSWFFull(installedSrc, attrs, params); } else { - _$jscoverage['/swf.js'].lineData[118]++; + _$jscoverage['/swf.js'].lineData[121]++; html = _stringSWFDefault(installedSrc, attrs, params); } - _$jscoverage['/swf.js'].lineData[122]++; - self.set('html', html); - _$jscoverage['/swf.js'].lineData[124]++; - if (visit24_124_1(elBefore)) { - _$jscoverage['/swf.js'].lineData[125]++; + _$jscoverage['/swf.js'].lineData[125]++; + self.set('html', idRegExp ? html.replace(idRegExp, '') : html); + _$jscoverage['/swf.js'].lineData[127]++; + if (visit25_127_1(elBefore)) { + _$jscoverage['/swf.js'].lineData[128]++; Dom.insertBefore(placeHolder, elBefore); } else { - _$jscoverage['/swf.js'].lineData[127]++; + _$jscoverage['/swf.js'].lineData[130]++; Dom.append(placeHolder, self.get('render')); } - _$jscoverage['/swf.js'].lineData[130]++; - if (visit25_130_1('outerHTML' in placeHolder)) { - _$jscoverage['/swf.js'].lineData[131]++; + _$jscoverage['/swf.js'].lineData[133]++; + if (visit26_133_1('outerHTML' in placeHolder)) { + _$jscoverage['/swf.js'].lineData[134]++; placeHolder.outerHTML = html; } else { - _$jscoverage['/swf.js'].lineData[133]++; + _$jscoverage['/swf.js'].lineData[136]++; placeHolder.parentNode.replaceChild(Dom.create(html), placeHolder); } - _$jscoverage['/swf.js'].lineData[136]++; + _$jscoverage['/swf.js'].lineData[139]++; swf = Dom.get('#' + id, doc); - _$jscoverage['/swf.js'].lineData[138]++; - self.set('swfObject', swf); - _$jscoverage['/swf.js'].lineData[140]++; - if (visit26_140_1(htmlMode === 'full')) { - _$jscoverage['/swf.js'].lineData[141]++; - if (visit27_141_1(OLD_IE)) { - _$jscoverage['/swf.js'].lineData[142]++; + _$jscoverage['/swf.js'].lineData[141]++; + if (visit27_141_1(htmlMode === 'full')) { + _$jscoverage['/swf.js'].lineData[142]++; + if (visit28_142_1(OLD_IE)) { + _$jscoverage['/swf.js'].lineData[143]++; self.set('swfObject', swf); } else { - _$jscoverage['/swf.js'].lineData[144]++; + _$jscoverage['/swf.js'].lineData[145]++; self.set('swfObject', swf.parentNode); } + } else { + _$jscoverage['/swf.js'].lineData[148]++; + self.set('swfObject', swf); } - _$jscoverage['/swf.js'].lineData[150]++; + _$jscoverage['/swf.js'].lineData[151]++; + if (visit29_151_1(hasNoId)) { + _$jscoverage['/swf.js'].lineData[152]++; + Dom.removeAttr(swf, 'id'); + } + _$jscoverage['/swf.js'].lineData[157]++; self.set('el', swf); - _$jscoverage['/swf.js'].lineData[152]++; - if (visit28_152_1(!self.get('status'))) { - _$jscoverage['/swf.js'].lineData[153]++; + _$jscoverage['/swf.js'].lineData[159]++; + if (visit30_159_1(!self.get('status'))) { + _$jscoverage['/swf.js'].lineData[160]++; self.set('status', SWF.Status.SUCCESS); } }, 'callSWF': function(func, args) { _$jscoverage['/swf.js'].functionData[2]++; - _$jscoverage['/swf.js'].lineData[162]++; + _$jscoverage['/swf.js'].lineData[169]++; var swf = this.get('el'), ret, params; - _$jscoverage['/swf.js'].lineData[165]++; - args = visit29_165_1(args || []); - _$jscoverage['/swf.js'].lineData[166]++; + _$jscoverage['/swf.js'].lineData[172]++; + args = visit31_172_1(args || []); + _$jscoverage['/swf.js'].lineData[173]++; try { - _$jscoverage['/swf.js'].lineData[167]++; - if (visit30_167_1(swf[func])) { - _$jscoverage['/swf.js'].lineData[168]++; + _$jscoverage['/swf.js'].lineData[174]++; + if (visit32_174_1(swf[func])) { + _$jscoverage['/swf.js'].lineData[175]++; ret = swf[func].apply(swf, args); } } catch (e) { - _$jscoverage['/swf.js'].lineData[172]++; + _$jscoverage['/swf.js'].lineData[179]++; params = ''; - _$jscoverage['/swf.js'].lineData[173]++; - if (visit31_173_1(args.length !== 0)) { - _$jscoverage['/swf.js'].lineData[174]++; + _$jscoverage['/swf.js'].lineData[180]++; + if (visit33_180_1(args.length !== 0)) { + _$jscoverage['/swf.js'].lineData[181]++; params = '"' + args.join('", "') + '"'; } - _$jscoverage['/swf.js'].lineData[178]++; + _$jscoverage['/swf.js'].lineData[185]++; ret = (new Function('swf', 'return swf.' + func + '(' + params + ');'))(swf); } - _$jscoverage['/swf.js'].lineData[180]++; + _$jscoverage['/swf.js'].lineData[187]++; return ret; }, destroy: function() { _$jscoverage['/swf.js'].functionData[3]++; - _$jscoverage['/swf.js'].lineData[186]++; + _$jscoverage['/swf.js'].lineData[193]++; var self = this; - _$jscoverage['/swf.js'].lineData[187]++; - self.detach(); - _$jscoverage['/swf.js'].lineData[188]++; + _$jscoverage['/swf.js'].lineData[194]++; var swfObject = self.get('swfObject'); - _$jscoverage['/swf.js'].lineData[192]++; - if (visit32_192_1(OLD_IE)) { - _$jscoverage['/swf.js'].lineData[193]++; + _$jscoverage['/swf.js'].lineData[198]++; + if (visit34_198_1(OLD_IE)) { + _$jscoverage['/swf.js'].lineData[199]++; swfObject.style.display = 'none'; - _$jscoverage['/swf.js'].lineData[195]++; + _$jscoverage['/swf.js'].lineData[201]++; (function remove() { _$jscoverage['/swf.js'].functionData[4]++; - _$jscoverage['/swf.js'].lineData[196]++; - if (visit33_196_1(swfObject.readyState === 4)) { - _$jscoverage['/swf.js'].lineData[197]++; + _$jscoverage['/swf.js'].lineData[202]++; + if (visit35_202_1(swfObject.readyState === 4)) { + _$jscoverage['/swf.js'].lineData[203]++; removeObjectInIE(swfObject); } else { - _$jscoverage['/swf.js'].lineData[200]++; + _$jscoverage['/swf.js'].lineData[206]++; setTimeout(remove, 10); } })(); } else { - _$jscoverage['/swf.js'].lineData[204]++; + _$jscoverage['/swf.js'].lineData[210]++; swfObject.parentNode.removeChild(swfObject); } }}, { @@ -866,28 +890,28 @@ KISSY.add(function(S, require) { render: { setter: function(v) { _$jscoverage['/swf.js'].functionData[5]++; - _$jscoverage['/swf.js'].lineData[277]++; - if (visit34_277_1(typeof v === 'string')) { - _$jscoverage['/swf.js'].lineData[278]++; + _$jscoverage['/swf.js'].lineData[283]++; + if (visit36_283_1(typeof v === 'string')) { + _$jscoverage['/swf.js'].lineData[284]++; v = Dom.get(v, this.get('document')); } - _$jscoverage['/swf.js'].lineData[280]++; + _$jscoverage['/swf.js'].lineData[286]++; return v; }, valueFn: function() { _$jscoverage['/swf.js'].functionData[6]++; - _$jscoverage['/swf.js'].lineData[283]++; + _$jscoverage['/swf.js'].lineData[289]++; return document.body; }}, elBefore: { setter: function(v) { _$jscoverage['/swf.js'].functionData[7]++; - _$jscoverage['/swf.js'].lineData[295]++; - if (visit35_295_1(typeof v === 'string')) { - _$jscoverage['/swf.js'].lineData[296]++; + _$jscoverage['/swf.js'].lineData[301]++; + if (visit37_301_1(typeof v === 'string')) { + _$jscoverage['/swf.js'].lineData[302]++; v = Dom.get(v, this.get('document')); } - _$jscoverage['/swf.js'].lineData[298]++; + _$jscoverage['/swf.js'].lineData[304]++; return v; }}, document: { @@ -900,28 +924,28 @@ KISSY.add(function(S, require) { value: 'default'}}, getSrc: function(swf) { _$jscoverage['/swf.js'].functionData[8]++; - _$jscoverage['/swf.js'].lineData[378]++; + _$jscoverage['/swf.js'].lineData[384]++; swf = Dom.get(swf); - _$jscoverage['/swf.js'].lineData[379]++; - var srcElement = getSrcElements(swf)[0], nodeName = visit36_380_1(srcElement && Dom.nodeName(srcElement)); - _$jscoverage['/swf.js'].lineData[381]++; - if (visit37_381_1(nodeName === 'embed')) { - _$jscoverage['/swf.js'].lineData[382]++; + _$jscoverage['/swf.js'].lineData[385]++; + var srcElement = getSrcElements(swf)[0], nodeName = visit38_386_1(srcElement && Dom.nodeName(srcElement)); + _$jscoverage['/swf.js'].lineData[387]++; + if (visit39_387_1(nodeName === 'embed')) { + _$jscoverage['/swf.js'].lineData[388]++; return Dom.attr(srcElement, 'src'); } else { - _$jscoverage['/swf.js'].lineData[383]++; - if (visit38_383_1(nodeName === 'object')) { - _$jscoverage['/swf.js'].lineData[384]++; + _$jscoverage['/swf.js'].lineData[389]++; + if (visit40_389_1(nodeName === 'object')) { + _$jscoverage['/swf.js'].lineData[390]++; return Dom.attr(srcElement, 'data'); } else { - _$jscoverage['/swf.js'].lineData[385]++; - if (visit39_385_1(nodeName === 'param')) { - _$jscoverage['/swf.js'].lineData[386]++; + _$jscoverage['/swf.js'].lineData[391]++; + if (visit41_391_1(nodeName === 'param')) { + _$jscoverage['/swf.js'].lineData[392]++; return Dom.attr(srcElement, 'value'); } } } - _$jscoverage['/swf.js'].lineData[388]++; + _$jscoverage['/swf.js'].lineData[394]++; return null; }, Status: { @@ -934,55 +958,55 @@ KISSY.add(function(S, require) { fpv: fpv, fpvGEQ: fpvGEQ, fpvGTE: fpvGTE}); - _$jscoverage['/swf.js'].lineData[430]++; + _$jscoverage['/swf.js'].lineData[438]++; function removeObjectInIE(obj) { _$jscoverage['/swf.js'].functionData[9]++; - _$jscoverage['/swf.js'].lineData[431]++; + _$jscoverage['/swf.js'].lineData[439]++; for (var i in obj) { - _$jscoverage['/swf.js'].lineData[432]++; - if (visit40_432_1(typeof obj[i] === 'function')) { - _$jscoverage['/swf.js'].lineData[433]++; + _$jscoverage['/swf.js'].lineData[440]++; + if (visit42_440_1(typeof obj[i] === 'function')) { + _$jscoverage['/swf.js'].lineData[441]++; obj[i] = null; } } - _$jscoverage['/swf.js'].lineData[436]++; + _$jscoverage['/swf.js'].lineData[444]++; obj.parentNode.removeChild(obj); } - _$jscoverage['/swf.js'].lineData[439]++; + _$jscoverage['/swf.js'].lineData[447]++; function getSrcElements(swf) { _$jscoverage['/swf.js'].functionData[10]++; - _$jscoverage['/swf.js'].lineData[440]++; + _$jscoverage['/swf.js'].lineData[448]++; var url = '', params, i, param, elements = [], nodeName = Dom.nodeName(swf); - _$jscoverage['/swf.js'].lineData[444]++; - if (visit41_444_1(nodeName === 'object')) { - _$jscoverage['/swf.js'].lineData[445]++; + _$jscoverage['/swf.js'].lineData[452]++; + if (visit43_452_1(nodeName === 'object')) { + _$jscoverage['/swf.js'].lineData[453]++; url = Dom.attr(swf, 'data'); - _$jscoverage['/swf.js'].lineData[446]++; - if (visit42_446_1(url)) { - _$jscoverage['/swf.js'].lineData[447]++; + _$jscoverage['/swf.js'].lineData[454]++; + if (visit44_454_1(url)) { + _$jscoverage['/swf.js'].lineData[455]++; elements.push(swf); } - _$jscoverage['/swf.js'].lineData[449]++; + _$jscoverage['/swf.js'].lineData[457]++; params = swf.childNodes; - _$jscoverage['/swf.js'].lineData[450]++; - for (i = 0; visit43_450_1(i < params.length); i++) { - _$jscoverage['/swf.js'].lineData[451]++; + _$jscoverage['/swf.js'].lineData[458]++; + for (i = 0; visit45_458_1(i < params.length); i++) { + _$jscoverage['/swf.js'].lineData[459]++; param = params[i]; - _$jscoverage['/swf.js'].lineData[452]++; - if (visit44_452_1(param.nodeType === 1)) { - _$jscoverage['/swf.js'].lineData[453]++; - if (visit45_453_1((visit46_453_2(Dom.attr(param, 'name') || '')).toLowerCase() === 'movie')) { - _$jscoverage['/swf.js'].lineData[454]++; + _$jscoverage['/swf.js'].lineData[460]++; + if (visit46_460_1(param.nodeType === 1)) { + _$jscoverage['/swf.js'].lineData[461]++; + if (visit47_461_1((visit48_461_2(Dom.attr(param, 'name') || '')).toLowerCase() === 'movie')) { + _$jscoverage['/swf.js'].lineData[462]++; elements.push(param); } else { - _$jscoverage['/swf.js'].lineData[455]++; - if (visit47_455_1(Dom.nodeName(param) === 'embed')) { - _$jscoverage['/swf.js'].lineData[456]++; + _$jscoverage['/swf.js'].lineData[463]++; + if (visit49_463_1(Dom.nodeName(param) === 'embed')) { + _$jscoverage['/swf.js'].lineData[464]++; elements.push(param); } else { - _$jscoverage['/swf.js'].lineData[457]++; - if (visit48_457_1(Dom.nodeName(params[i]) === 'object')) { - _$jscoverage['/swf.js'].lineData[458]++; + _$jscoverage['/swf.js'].lineData[465]++; + if (visit50_465_1(Dom.nodeName(params[i]) === 'object')) { + _$jscoverage['/swf.js'].lineData[466]++; elements.push(param); } } @@ -990,140 +1014,140 @@ KISSY.add(function(S, require) { } } } else { - _$jscoverage['/swf.js'].lineData[462]++; - if (visit49_462_1(nodeName === 'embed')) { - _$jscoverage['/swf.js'].lineData[463]++; + _$jscoverage['/swf.js'].lineData[470]++; + if (visit51_470_1(nodeName === 'embed')) { + _$jscoverage['/swf.js'].lineData[471]++; elements.push(swf); } } - _$jscoverage['/swf.js'].lineData[465]++; + _$jscoverage['/swf.js'].lineData[473]++; return elements; } - _$jscoverage['/swf.js'].lineData[470]++; + _$jscoverage['/swf.js'].lineData[477]++; function collectionParams(params) { _$jscoverage['/swf.js'].functionData[11]++; - _$jscoverage['/swf.js'].lineData[471]++; + _$jscoverage['/swf.js'].lineData[478]++; var par = EMPTY; - _$jscoverage['/swf.js'].lineData[472]++; + _$jscoverage['/swf.js'].lineData[479]++; S.each(params, function(v, k) { _$jscoverage['/swf.js'].functionData[12]++; - _$jscoverage['/swf.js'].lineData[473]++; + _$jscoverage['/swf.js'].lineData[480]++; k = k.toLowerCase(); - _$jscoverage['/swf.js'].lineData[474]++; - if (visit50_474_1(k in PARAMS)) { - _$jscoverage['/swf.js'].lineData[475]++; + _$jscoverage['/swf.js'].lineData[481]++; + if (visit52_481_1(k in PARAMS)) { + _$jscoverage['/swf.js'].lineData[482]++; par += stringParam(k, v); } else { - _$jscoverage['/swf.js'].lineData[478]++; - if (visit51_478_1(k === FLASHVARS)) { - _$jscoverage['/swf.js'].lineData[479]++; + _$jscoverage['/swf.js'].lineData[485]++; + if (visit53_485_1(k === FLASHVARS)) { + _$jscoverage['/swf.js'].lineData[486]++; par += stringParam(k, toFlashVars(v)); } } }); - _$jscoverage['/swf.js'].lineData[482]++; + _$jscoverage['/swf.js'].lineData[489]++; return par; } - _$jscoverage['/swf.js'].lineData[486]++; + _$jscoverage['/swf.js'].lineData[492]++; function _stringSWFDefault(src, attrs, params) { _$jscoverage['/swf.js'].functionData[13]++; - _$jscoverage['/swf.js'].lineData[487]++; + _$jscoverage['/swf.js'].lineData[493]++; return _stringSWF(src, attrs, params, OLD_IE) + LT + '/' + OBJECT_TAG + GT; } - _$jscoverage['/swf.js'].lineData[490]++; + _$jscoverage['/swf.js'].lineData[496]++; function _stringSWF(src, attrs, params, ie) { _$jscoverage['/swf.js'].functionData[14]++; - _$jscoverage['/swf.js'].lineData[491]++; + _$jscoverage['/swf.js'].lineData[497]++; var res, attr = EMPTY, par = EMPTY; - _$jscoverage['/swf.js'].lineData[496]++; + _$jscoverage['/swf.js'].lineData[502]++; S.each(attrs, function(v, k) { _$jscoverage['/swf.js'].functionData[15]++; - _$jscoverage['/swf.js'].lineData[497]++; + _$jscoverage['/swf.js'].lineData[503]++; attr += stringAttr(k, v); }); - _$jscoverage['/swf.js'].lineData[500]++; - if (visit52_500_1(ie)) { - _$jscoverage['/swf.js'].lineData[501]++; + _$jscoverage['/swf.js'].lineData[506]++; + if (visit54_506_1(ie)) { + _$jscoverage['/swf.js'].lineData[507]++; attr += stringAttr('classid', CID); - _$jscoverage['/swf.js'].lineData[502]++; + _$jscoverage['/swf.js'].lineData[508]++; par += stringParam('movie', src); } else { - _$jscoverage['/swf.js'].lineData[505]++; + _$jscoverage['/swf.js'].lineData[511]++; attr += stringAttr('data', src); - _$jscoverage['/swf.js'].lineData[507]++; + _$jscoverage['/swf.js'].lineData[513]++; attr += stringAttr('type', TYPE); } - _$jscoverage['/swf.js'].lineData[510]++; + _$jscoverage['/swf.js'].lineData[516]++; par += collectionParams(params); - _$jscoverage['/swf.js'].lineData[512]++; + _$jscoverage['/swf.js'].lineData[518]++; res = LT + OBJECT_TAG + attr + GT + par; - _$jscoverage['/swf.js'].lineData[514]++; + _$jscoverage['/swf.js'].lineData[520]++; return res; } - _$jscoverage['/swf.js'].lineData[518]++; + _$jscoverage['/swf.js'].lineData[524]++; function _stringSWFFull(src, attrs, params) { _$jscoverage['/swf.js'].functionData[16]++; - _$jscoverage['/swf.js'].lineData[519]++; + _$jscoverage['/swf.js'].lineData[525]++; var outside, inside; - _$jscoverage['/swf.js'].lineData[520]++; - if (visit53_520_1(OLD_IE)) { - _$jscoverage['/swf.js'].lineData[521]++; + _$jscoverage['/swf.js'].lineData[526]++; + if (visit55_526_1(OLD_IE)) { + _$jscoverage['/swf.js'].lineData[527]++; outside = _stringSWF(src, attrs, params, 1); - _$jscoverage['/swf.js'].lineData[522]++; + _$jscoverage['/swf.js'].lineData[528]++; delete attrs.id; - _$jscoverage['/swf.js'].lineData[523]++; + _$jscoverage['/swf.js'].lineData[529]++; delete attrs.style; - _$jscoverage['/swf.js'].lineData[524]++; + _$jscoverage['/swf.js'].lineData[530]++; inside = _stringSWF(src, attrs, params, 0); } else { - _$jscoverage['/swf.js'].lineData[526]++; + _$jscoverage['/swf.js'].lineData[532]++; inside = _stringSWF(src, attrs, params, 0); - _$jscoverage['/swf.js'].lineData[527]++; + _$jscoverage['/swf.js'].lineData[533]++; delete attrs.id; - _$jscoverage['/swf.js'].lineData[528]++; + _$jscoverage['/swf.js'].lineData[534]++; delete attrs.style; - _$jscoverage['/swf.js'].lineData[529]++; + _$jscoverage['/swf.js'].lineData[535]++; outside = _stringSWF(src, attrs, params, 1); } - _$jscoverage['/swf.js'].lineData[531]++; + _$jscoverage['/swf.js'].lineData[537]++; return outside + inside + LT + '/' + OBJECT_TAG + GT + LT + '/' + OBJECT_TAG + GT; } - _$jscoverage['/swf.js'].lineData[538]++; + _$jscoverage['/swf.js'].lineData[544]++; function toFlashVars(obj) { _$jscoverage['/swf.js'].functionData[17]++; - _$jscoverage['/swf.js'].lineData[539]++; + _$jscoverage['/swf.js'].lineData[545]++; var arr = [], ret; - _$jscoverage['/swf.js'].lineData[542]++; + _$jscoverage['/swf.js'].lineData[547]++; S.each(obj, function(data, prop) { _$jscoverage['/swf.js'].functionData[18]++; - _$jscoverage['/swf.js'].lineData[543]++; - if (visit54_543_1(typeof data !== 'string')) { - _$jscoverage['/swf.js'].lineData[544]++; + _$jscoverage['/swf.js'].lineData[548]++; + if (visit56_548_1(typeof data !== 'string')) { + _$jscoverage['/swf.js'].lineData[549]++; data = Json.stringify(data); } - _$jscoverage['/swf.js'].lineData[546]++; - if (visit55_546_1(data)) { - _$jscoverage['/swf.js'].lineData[547]++; + _$jscoverage['/swf.js'].lineData[551]++; + if (visit57_551_1(data)) { + _$jscoverage['/swf.js'].lineData[552]++; arr.push(prop + '=' + encode(data)); } }); - _$jscoverage['/swf.js'].lineData[550]++; + _$jscoverage['/swf.js'].lineData[555]++; ret = arr.join('&'); - _$jscoverage['/swf.js'].lineData[551]++; + _$jscoverage['/swf.js'].lineData[556]++; return ret; } - _$jscoverage['/swf.js'].lineData[554]++; + _$jscoverage['/swf.js'].lineData[559]++; function stringParam(key, value) { _$jscoverage['/swf.js'].functionData[19]++; - _$jscoverage['/swf.js'].lineData[555]++; + _$jscoverage['/swf.js'].lineData[560]++; return ''; } - _$jscoverage['/swf.js'].lineData[558]++; + _$jscoverage['/swf.js'].lineData[563]++; function stringAttr(key, value) { _$jscoverage['/swf.js'].functionData[20]++; - _$jscoverage['/swf.js'].lineData[559]++; - return SPACE + key + EQUAL + DOUBLE_QUOTE + value + DOUBLE_QUOTE; + _$jscoverage['/swf.js'].lineData[564]++; + return ' ' + key + '=' + '"' + value + '"'; } - _$jscoverage['/swf.js'].lineData[562]++; + _$jscoverage['/swf.js'].lineData[567]++; return SWF; }); diff --git a/src/swf/coverage/src/swf/ua.js b/src/swf/coverage/src/swf/ua.js index f6bf21caad..03b9aef18f 100644 --- a/src/swf/coverage/src/swf/ua.js +++ b/src/swf/coverage/src/swf/ua.js @@ -230,37 +230,37 @@ if (! _$jscoverage['/swf/ua.js']) { _$jscoverage['/swf/ua.js'] = {}; _$jscoverage['/swf/ua.js'].lineData = []; _$jscoverage['/swf/ua.js'].lineData[6] = 0; - _$jscoverage['/swf/ua.js'].lineData[8] = 0; + _$jscoverage['/swf/ua.js'].lineData[7] = 0; + _$jscoverage['/swf/ua.js'].lineData[15] = 0; _$jscoverage['/swf/ua.js'].lineData[16] = 0; - _$jscoverage['/swf/ua.js'].lineData[17] = 0; + _$jscoverage['/swf/ua.js'].lineData[20] = 0; _$jscoverage['/swf/ua.js'].lineData[21] = 0; - _$jscoverage['/swf/ua.js'].lineData[22] = 0; + _$jscoverage['/swf/ua.js'].lineData[24] = 0; _$jscoverage['/swf/ua.js'].lineData[25] = 0; _$jscoverage['/swf/ua.js'].lineData[26] = 0; - _$jscoverage['/swf/ua.js'].lineData[27] = 0; + _$jscoverage['/swf/ua.js'].lineData[34] = 0; _$jscoverage['/swf/ua.js'].lineData[35] = 0; - _$jscoverage['/swf/ua.js'].lineData[36] = 0; - _$jscoverage['/swf/ua.js'].lineData[40] = 0; + _$jscoverage['/swf/ua.js'].lineData[39] = 0; + _$jscoverage['/swf/ua.js'].lineData[45] = 0; _$jscoverage['/swf/ua.js'].lineData[46] = 0; - _$jscoverage['/swf/ua.js'].lineData[47] = 0; + _$jscoverage['/swf/ua.js'].lineData[56] = 0; _$jscoverage['/swf/ua.js'].lineData[57] = 0; - _$jscoverage['/swf/ua.js'].lineData[58] = 0; + _$jscoverage['/swf/ua.js'].lineData[61] = 0; _$jscoverage['/swf/ua.js'].lineData[62] = 0; - _$jscoverage['/swf/ua.js'].lineData[63] = 0; - _$jscoverage['/swf/ua.js'].lineData[65] = 0; + _$jscoverage['/swf/ua.js'].lineData[64] = 0; + _$jscoverage['/swf/ua.js'].lineData[70] = 0; _$jscoverage['/swf/ua.js'].lineData[71] = 0; _$jscoverage['/swf/ua.js'].lineData[72] = 0; _$jscoverage['/swf/ua.js'].lineData[73] = 0; _$jscoverage['/swf/ua.js'].lineData[74] = 0; - _$jscoverage['/swf/ua.js'].lineData[75] = 0; - _$jscoverage['/swf/ua.js'].lineData[85] = 0; + _$jscoverage['/swf/ua.js'].lineData[84] = 0; + _$jscoverage['/swf/ua.js'].lineData[86] = 0; _$jscoverage['/swf/ua.js'].lineData[87] = 0; _$jscoverage['/swf/ua.js'].lineData[88] = 0; - _$jscoverage['/swf/ua.js'].lineData[89] = 0; - _$jscoverage['/swf/ua.js'].lineData[91] = 0; + _$jscoverage['/swf/ua.js'].lineData[90] = 0; + _$jscoverage['/swf/ua.js'].lineData[101] = 0; _$jscoverage['/swf/ua.js'].lineData[102] = 0; - _$jscoverage['/swf/ua.js'].lineData[103] = 0; - _$jscoverage['/swf/ua.js'].lineData[106] = 0; + _$jscoverage['/swf/ua.js'].lineData[105] = 0; } if (! _$jscoverage['/swf/ua.js'].functionData) { _$jscoverage['/swf/ua.js'].functionData = []; @@ -274,157 +274,157 @@ if (! _$jscoverage['/swf/ua.js'].functionData) { } if (! _$jscoverage['/swf/ua.js'].branchData) { _$jscoverage['/swf/ua.js'].branchData = {}; + _$jscoverage['/swf/ua.js'].branchData['20'] = []; + _$jscoverage['/swf/ua.js'].branchData['20'][1] = new BranchData(); _$jscoverage['/swf/ua.js'].branchData['21'] = []; _$jscoverage['/swf/ua.js'].branchData['21'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['22'] = []; - _$jscoverage['/swf/ua.js'].branchData['22'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['25'] = []; - _$jscoverage['/swf/ua.js'].branchData['25'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['35'] = []; - _$jscoverage['/swf/ua.js'].branchData['35'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['58'] = []; - _$jscoverage['/swf/ua.js'].branchData['58'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['62'] = []; - _$jscoverage['/swf/ua.js'].branchData['62'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['65'] = []; - _$jscoverage['/swf/ua.js'].branchData['65'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['72'] = []; - _$jscoverage['/swf/ua.js'].branchData['72'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['75'] = []; - _$jscoverage['/swf/ua.js'].branchData['75'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['87'] = []; - _$jscoverage['/swf/ua.js'].branchData['87'][1] = new BranchData(); - _$jscoverage['/swf/ua.js'].branchData['103'] = []; - _$jscoverage['/swf/ua.js'].branchData['103'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['24'] = []; + _$jscoverage['/swf/ua.js'].branchData['24'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['34'] = []; + _$jscoverage['/swf/ua.js'].branchData['34'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['57'] = []; + _$jscoverage['/swf/ua.js'].branchData['57'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['61'] = []; + _$jscoverage['/swf/ua.js'].branchData['61'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['64'] = []; + _$jscoverage['/swf/ua.js'].branchData['64'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['71'] = []; + _$jscoverage['/swf/ua.js'].branchData['71'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['74'] = []; + _$jscoverage['/swf/ua.js'].branchData['74'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['86'] = []; + _$jscoverage['/swf/ua.js'].branchData['86'][1] = new BranchData(); + _$jscoverage['/swf/ua.js'].branchData['102'] = []; + _$jscoverage['/swf/ua.js'].branchData['102'][1] = new BranchData(); } -_$jscoverage['/swf/ua.js'].branchData['103'][1].init(16, 53, 'getNumberVersion(fpv(force)) >= getNumberVersion(ver)'); -function visit11_103_1(result) { - _$jscoverage['/swf/ua.js'].branchData['103'][1].ranCondition(result); +_$jscoverage['/swf/ua.js'].branchData['102'][1].init(16, 53, 'getNumberVersion(fpv(force)) >= getNumberVersion(ver)'); +function visit11_102_1(result) { + _$jscoverage['/swf/ua.js'].branchData['102'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['87'][1].init(71, 17, 'force || firstRun'); -function visit10_87_1(result) { - _$jscoverage['/swf/ua.js'].branchData['87'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['86'][1].init(71, 17, 'force || firstRun'); +function visit10_86_1(result) { + _$jscoverage['/swf/ua.js'].branchData['86'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['75'][1].init(111, 11, 'padding > 0'); -function visit9_75_1(result) { - _$jscoverage['/swf/ua.js'].branchData['75'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['74'][1].init(111, 11, 'padding > 0'); +function visit9_74_1(result) { + _$jscoverage['/swf/ua.js'].branchData['74'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['72'][1].init(15, 8, 'num || 0'); -function visit8_72_1(result) { - _$jscoverage['/swf/ua.js'].branchData['72'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['71'][1].init(15, 8, 'num || 0'); +function visit8_71_1(result) { + _$jscoverage['/swf/ua.js'].branchData['71'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['65'][1].init(261, 8, 'ret || 0'); -function visit7_65_1(result) { - _$jscoverage['/swf/ua.js'].branchData['65'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['64'][1].init(261, 8, 'ret || 0'); +function visit7_64_1(result) { + _$jscoverage['/swf/ua.js'].branchData['64'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['62'][1].init(140, 14, 'S.isArray(arr)'); -function visit6_62_1(result) { - _$jscoverage['/swf/ua.js'].branchData['62'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['61'][1].init(140, 14, 'S.isArray(arr)'); +function visit6_61_1(result) { + _$jscoverage['/swf/ua.js'].branchData['61'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['58'][1].init(19, 23, 'typeof ver === \'string\''); -function visit5_58_1(result) { - _$jscoverage['/swf/ua.js'].branchData['58'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['57'][1].init(19, 23, 'typeof ver === \'string\''); +function visit5_57_1(result) { + _$jscoverage['/swf/ua.js'].branchData['57'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['35'][1].init(696, 4, '!ver'); -function visit4_35_1(result) { - _$jscoverage['/swf/ua.js'].branchData['35'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['34'][1].init(696, 4, '!ver'); +function visit4_34_1(result) { + _$jscoverage['/swf/ua.js'].branchData['34'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['25'][1].init(346, 17, 'win.ActiveXObject'); -function visit3_25_1(result) { - _$jscoverage['/swf/ua.js'].branchData['25'][1].ranCondition(result); +}_$jscoverage['/swf/ua.js'].branchData['24'][1].init(346, 17, 'win.ActiveXObject'); +function visit3_24_1(result) { + _$jscoverage['/swf/ua.js'].branchData['24'][1].ranCondition(result); return result; -}_$jscoverage['/swf/ua.js'].branchData['22'][1].init(20, 41, 'navigator.plugins[\'Shockwave Flash\'] || 0'); -function visit2_22_1(result) { - _$jscoverage['/swf/ua.js'].branchData['22'][1].ranCondition(result); - return result; -}_$jscoverage['/swf/ua.js'].branchData['21'][1].init(127, 47, 'navigator.plugins && navigator.mimeTypes.length'); -function visit1_21_1(result) { +}_$jscoverage['/swf/ua.js'].branchData['21'][1].init(20, 41, 'navigator.plugins[\'Shockwave Flash\'] || 0'); +function visit2_21_1(result) { _$jscoverage['/swf/ua.js'].branchData['21'][1].ranCondition(result); return result; +}_$jscoverage['/swf/ua.js'].branchData['20'][1].init(127, 47, 'navigator.plugins && navigator.mimeTypes.length'); +function visit1_20_1(result) { + _$jscoverage['/swf/ua.js'].branchData['20'][1].ranCondition(result); + return result; }_$jscoverage['/swf/ua.js'].lineData[6]++; KISSY.add(function(S) { _$jscoverage['/swf/ua.js'].functionData[0]++; - _$jscoverage['/swf/ua.js'].lineData[8]++; + _$jscoverage['/swf/ua.js'].lineData[7]++; var fpvCached, firstRun = true, win = S.Env.host; - _$jscoverage['/swf/ua.js'].lineData[16]++; + _$jscoverage['/swf/ua.js'].lineData[15]++; function getFlashVersion() { _$jscoverage['/swf/ua.js'].functionData[1]++; - _$jscoverage['/swf/ua.js'].lineData[17]++; + _$jscoverage['/swf/ua.js'].lineData[16]++; var ver, SF = 'ShockwaveFlash'; - _$jscoverage['/swf/ua.js'].lineData[21]++; - if (visit1_21_1(navigator.plugins && navigator.mimeTypes.length)) { - _$jscoverage['/swf/ua.js'].lineData[22]++; - ver = (visit2_22_1(navigator.plugins['Shockwave Flash'] || 0)).description; + _$jscoverage['/swf/ua.js'].lineData[20]++; + if (visit1_20_1(navigator.plugins && navigator.mimeTypes.length)) { + _$jscoverage['/swf/ua.js'].lineData[21]++; + ver = (visit2_21_1(navigator.plugins['Shockwave Flash'] || 0)).description; } else { - _$jscoverage['/swf/ua.js'].lineData[25]++; - if (visit3_25_1(win.ActiveXObject)) { - _$jscoverage['/swf/ua.js'].lineData[26]++; + _$jscoverage['/swf/ua.js'].lineData[24]++; + if (visit3_24_1(win.ActiveXObject)) { + _$jscoverage['/swf/ua.js'].lineData[25]++; try { - _$jscoverage['/swf/ua.js'].lineData[27]++; + _$jscoverage['/swf/ua.js'].lineData[26]++; ver = new win.ActiveXObject(SF + '.' + SF).GetVariable('$version'); } catch (ex) { } } } - _$jscoverage['/swf/ua.js'].lineData[35]++; - if (visit4_35_1(!ver)) { - _$jscoverage['/swf/ua.js'].lineData[36]++; + _$jscoverage['/swf/ua.js'].lineData[34]++; + if (visit4_34_1(!ver)) { + _$jscoverage['/swf/ua.js'].lineData[35]++; return undefined; } - _$jscoverage['/swf/ua.js'].lineData[40]++; + _$jscoverage['/swf/ua.js'].lineData[39]++; return getArrayVersion(ver); } - _$jscoverage['/swf/ua.js'].lineData[46]++; + _$jscoverage['/swf/ua.js'].lineData[45]++; function getArrayVersion(ver) { _$jscoverage['/swf/ua.js'].functionData[2]++; - _$jscoverage['/swf/ua.js'].lineData[47]++; + _$jscoverage['/swf/ua.js'].lineData[46]++; return ver.match(/\d+/g).splice(0, 3); } - _$jscoverage['/swf/ua.js'].lineData[57]++; + _$jscoverage['/swf/ua.js'].lineData[56]++; function getNumberVersion(ver) { _$jscoverage['/swf/ua.js'].functionData[3]++; - _$jscoverage['/swf/ua.js'].lineData[58]++; - var arr = visit5_58_1(typeof ver === 'string') ? getArrayVersion(ver) : ver, ret = ver; - _$jscoverage['/swf/ua.js'].lineData[62]++; - if (visit6_62_1(S.isArray(arr))) { - _$jscoverage['/swf/ua.js'].lineData[63]++; + _$jscoverage['/swf/ua.js'].lineData[57]++; + var arr = visit5_57_1(typeof ver === 'string') ? getArrayVersion(ver) : ver, ret = ver; + _$jscoverage['/swf/ua.js'].lineData[61]++; + if (visit6_61_1(S.isArray(arr))) { + _$jscoverage['/swf/ua.js'].lineData[62]++; ret = parseFloat(arr[0] + '.' + pad(arr[1], 3) + pad(arr[2], 5)); } - _$jscoverage['/swf/ua.js'].lineData[65]++; - return visit7_65_1(ret || 0); + _$jscoverage['/swf/ua.js'].lineData[64]++; + return visit7_64_1(ret || 0); } - _$jscoverage['/swf/ua.js'].lineData[71]++; + _$jscoverage['/swf/ua.js'].lineData[70]++; function pad(num, n) { _$jscoverage['/swf/ua.js'].functionData[4]++; + _$jscoverage['/swf/ua.js'].lineData[71]++; + num = visit8_71_1(num || 0); _$jscoverage['/swf/ua.js'].lineData[72]++; - num = visit8_72_1(num || 0); - _$jscoverage['/swf/ua.js'].lineData[73]++; num += ''; - _$jscoverage['/swf/ua.js'].lineData[74]++; + _$jscoverage['/swf/ua.js'].lineData[73]++; var padding = n + 1 - num.length; - _$jscoverage['/swf/ua.js'].lineData[75]++; - return new Array(visit9_75_1(padding > 0) ? padding : 0).join('0') + num; + _$jscoverage['/swf/ua.js'].lineData[74]++; + return new Array(visit9_74_1(padding > 0) ? padding : 0).join('0') + num; } - _$jscoverage['/swf/ua.js'].lineData[85]++; + _$jscoverage['/swf/ua.js'].lineData[84]++; function fpv(force) { _$jscoverage['/swf/ua.js'].functionData[5]++; - _$jscoverage['/swf/ua.js'].lineData[87]++; - if (visit10_87_1(force || firstRun)) { - _$jscoverage['/swf/ua.js'].lineData[88]++; + _$jscoverage['/swf/ua.js'].lineData[86]++; + if (visit10_86_1(force || firstRun)) { + _$jscoverage['/swf/ua.js'].lineData[87]++; firstRun = false; - _$jscoverage['/swf/ua.js'].lineData[89]++; + _$jscoverage['/swf/ua.js'].lineData[88]++; fpvCached = getFlashVersion(); } - _$jscoverage['/swf/ua.js'].lineData[91]++; + _$jscoverage['/swf/ua.js'].lineData[90]++; return fpvCached; } - _$jscoverage['/swf/ua.js'].lineData[102]++; + _$jscoverage['/swf/ua.js'].lineData[101]++; function fpvGTE(ver, force) { _$jscoverage['/swf/ua.js'].functionData[6]++; - _$jscoverage['/swf/ua.js'].lineData[103]++; - return visit11_103_1(getNumberVersion(fpv(force)) >= getNumberVersion(ver)); + _$jscoverage['/swf/ua.js'].lineData[102]++; + return visit11_102_1(getNumberVersion(fpv(force)) >= getNumberVersion(ver)); } - _$jscoverage['/swf/ua.js'].lineData[106]++; + _$jscoverage['/swf/ua.js'].lineData[105]++; return { fpv: fpv, fpvGTE: fpvGTE}; diff --git a/src/swf/src/swf.js b/src/swf/src/swf.js index 808f2e30bb..69065bff7b 100644 --- a/src/swf/src/swf.js +++ b/src/swf/src/swf.js @@ -14,9 +14,6 @@ KISSY.add(function (S, require) { CID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000', FLASHVARS = 'flashvars', EMPTY = '', - SPACE = ' ', - EQUAL = '=', - DOUBLE_QUOTE = '"', LT = '<', GT = '>', doc = S.Env.host.document, @@ -58,9 +55,9 @@ KISSY.add(function (S, require) { * @extends KISSY.Base */ SWF = Attribute.extend({ - constructor: function () { + constructor: function (config) { var self = this; - self.callSuper.apply(self, arguments); + self.callSuper(config); var expressInstall = self.get('expressInstall'), swf, html, @@ -73,10 +70,16 @@ KISSY.add(function (S, require) { placeHolder = Dom.create('', undefined, doc), elBefore = self.get('elBefore'), installedSrc = self.get('src'), + hasNoId = !('id' in attrs), + idRegExp, version = self.get('version'); id = attrs.id = attrs.id || S.guid('ks-swf-'); + if (hasNoId) { + idRegExp = new RegExp('\\s+id\\s*=\\s*[\'"]?' + S.escapeRegExp(id) + '[\'"]?', 'i'); + } + // 2. flash 插件没有安装 if (!fpv()) { self.set('status', SWF.Status.NOT_INSTALLED); @@ -118,8 +121,8 @@ KISSY.add(function (S, require) { html = _stringSWFDefault(installedSrc, attrs, params); } - // ie 再取 target.innerHTML 属性大写,很多多与属性,等 - self.set('html', html); + // ie 再取 target.innerHTML 属性大写,很多多与属性,等 + self.set('html', idRegExp ? html.replace(idRegExp, '') : html); if (elBefore) { Dom.insertBefore(placeHolder, elBefore); @@ -135,18 +138,22 @@ KISSY.add(function (S, require) { swf = Dom.get('#' + id, doc); - self.set('swfObject', swf); - if (htmlMode === 'full') { if (OLD_IE) { self.set('swfObject', swf); } else { self.set('swfObject', swf.parentNode); } + } else { + self.set('swfObject', swf); + } + + if (hasNoId) { + Dom.removeAttr(swf, 'id'); } // bug fix: 重新获取对象,否则还是老对象. - // 如 入口为 div 如果不重新获取则仍然是 div longzang | 2010/8/9 + // 如 入口为 div 如果不重新获取则仍然是 div longzang | 2010/8/9 self.set('el', swf); if (!self.get('status')) { @@ -184,7 +191,6 @@ KISSY.add(function (S, require) { */ destroy: function () { var self = this; - self.detach(); var swfObject = self.get('swfObject'); /* Cross-browser SWF removal - Especially needed to safely and completely remove a SWF in Internet Explorer @@ -423,7 +429,9 @@ KISSY.add(function (S, require) { }, fpv: fpv, + fpvGEQ: fpvGEQ, + fpvGTE: fpvGTE }); @@ -466,7 +474,6 @@ KISSY.add(function (S, require) { } // setSrc ie 不重新渲染 - function collectionParams(params) { var par = EMPTY; S.each(params, function (v, k) { @@ -482,7 +489,6 @@ KISSY.add(function (S, require) { return par; } - function _stringSWFDefault(src, attrs, params) { return _stringSWF(src, attrs, params, OLD_IE) + LT + '/' + OBJECT_TAG + GT; } @@ -538,7 +544,6 @@ KISSY.add(function (S, require) { function toFlashVars(obj) { var arr = [], ret; - S.each(obj, function (data, prop) { if (typeof data !== 'string') { data = Json.stringify(data); @@ -556,7 +561,7 @@ KISSY.add(function (S, require) { } function stringAttr(key, value) { - return SPACE + key + EQUAL + DOUBLE_QUOTE + value + DOUBLE_QUOTE; + return ' ' + key + '=' + '"' + value + '"'; } return SWF; diff --git a/src/swf/src/swf/ua.js b/src/swf/src/swf/ua.js index e13f9dd9e0..9b72c8bda1 100644 --- a/src/swf/src/swf/ua.js +++ b/src/swf/src/swf/ua.js @@ -4,7 +4,6 @@ * @author oicuicu@gmail.com */ KISSY.add(function (S) { - var fpvCached, firstRun = true, win = S.Env.host; From bbbf5f910f30e059f500e738f5c547d52c3c4588 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 18:29:59 +0800 Subject: [PATCH 32/80] update --- build/anim/transition-min.js | 2 +- build/anim/transition.js | 10 +- build/scroll-view/plugin/scrollbar-min.js | 39 +- build/scroll-view/plugin/scrollbar.js | 103 +-- .../transition/coverage/src/transition.js | 12 +- .../sub-modules/transition/src/transition.js | 8 +- .../scrollbar/coverage/src/scrollbar.js | 36 +- .../coverage/src/scrollbar/control.js | 708 ++++++++++-------- .../coverage/src/scrollbar/render.js | 134 ++-- .../coverage/src/scrollbar/scrollbar-xtpl.js | 6 +- .../plugin/scrollbar/src/scrollbar/control.js | 55 +- .../plugin/scrollbar/src/scrollbar/render.js | 34 +- 12 files changed, 606 insertions(+), 541 deletions(-) diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 6932e308ea..95e7a06690 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:16 +build time: Feb 25 18:29 */ KISSY.add("anim/transition",["dom","event/dom","./base"],function(g,h){function p(c){var b="";g.each(c,function(c,a){b&&(b+=",");b+=a+" "+c.duration+"s "+c.easing+" "+c.delay+"s"});return b}function k(){k.superclass.constructor.apply(this,arguments)}var i=h("dom"),m=h("event/dom"),q=h("./base"),l=g.Features,n=l.getVendorCssPropPrefix("transition"),r=/([A-Z]|^ms)/g,o=n?n.toLowerCase()+"TransitionEnd":"transitionend webkitTransitionEnd",j=l.getVendorCssPropName("transition");g.extend(k,q,{doStart:function(){var c= this,b=c.node,d=b.style,a=c._propsData,f=d[j],e,h={};if(e=a.transform)delete a.transform,a[l.getVendorCssPropName("transform").replace(r,"-$1").toLowerCase()]=e;g.each(a,function(a,d){var e=a.value,f=i.css(b,d);"number"===typeof e&&(f=parseFloat(f));f===e&&setTimeout(function(){c._onTransitionEnd({originalEvent:{propertyName:d}})},0);h[d]=e});-1!==f.indexOf("none")?f="":f&&(f+=",");d[j]=f+p(a);m.on(b,o,c._onTransitionEnd,c);i.css(b,h)},beforeResume:function(){var c=this._propsData,b=g.merge(c),d= diff --git a/build/anim/transition.js b/build/anim/transition.js index 91d0136806..a091492854 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:16 +build time: Feb 25 18:29 */ /* Combined processedModules by KISSY Module Compiler: @@ -13,11 +13,11 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require var Dom = require("dom"); var Event = require("event/dom"); var AnimBase = require("./base"); - var Feature = S.Features; - var vendorPrefix = Feature.getVendorCssPropPrefix("transition"); + var Features = S.Features; + var vendorPrefix = Features.getVendorCssPropPrefix("transition"); var R_UPPER = /([A-Z]|^ms)/g; var TRANSITION_END_EVENT = vendorPrefix ? vendorPrefix.toLowerCase() + "TransitionEnd" : "transitionend webkitTransitionEnd"; - var TRANSITION = Feature.getVendorCssPropName("transition"); + var TRANSITION = Features.getVendorCssPropName("transition"); function genTransition(propsData) { var str = ""; S.each(propsData, function(propData, prop) { @@ -35,7 +35,7 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], transform, propsCss = {}; if(transform = _propsData.transform) { delete _propsData.transform; - _propsData[Feature.getVendorCssPropName("transform").replace(R_UPPER, "-$1").toLowerCase()] = transform + _propsData[Features.getVendorCssPropName("transform").replace(R_UPPER, "-$1").toLowerCase()] = transform } S.each(_propsData, function(propData, prop) { var v = propData.value, currentValue = Dom.css(node, prop); diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index 8b8c8f59cf..adb73db84e 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,22 +1,23 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:18 +build time: Feb 25 18:29 */ -KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl",[],function(){return function(d){var c;c=this.config.utils;var g=c.renderOutput,h=c.getProperty,i=c.runInlineCommand,f=c.getPropertyOrRunCommand;c='
\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); -KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(d,c){var g=c("component/control"),h=c("./scrollbar-xtpl"),i=d.Features.isTransform3dSupported(),f=d.Features.isTransformSupported(),e={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);d.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control; -b.$dragEl=b.get("dragEl");b.$trackEl=b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,e=b.scrollWHProperty,f=b.whProperty,d=b.clientWHProperty,g=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[e],c=b.trackElSize="width"===f?c.offsetWidth:c.offsetHeight,a=a[d]/b.scrollLength,a*=c,b.set(g,a), -b.barSize=a,this.syncOnScrollChange(),b.set("visible",!0)):b.set("visible",!1)},syncOnScrollChange:function(){var b=this.control,a=b.scrollType,c=b.scrollView,e=b.dragLTProperty,f=b.dragWHProperty,d=b.trackElSize,g=b.barSize,i=b.scrollLength,h=c.get(b.scrollProperty),j=c.minScroll[a],a=c.maxScroll[a];h>a?(d*=a/i,b.set(f,g-(h-a)),b.set(e,d+g-b.get(f))):h\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); +KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(e,a){var f=a("component/control"),h=a("./scrollbar-xtpl"),g=e.Features.isTransform3dSupported(),d={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);e.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control;b.$dragEl=b.get("dragEl");b.$trackEl= +b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,d=b.scrollWHProperty,l=b.whProperty,e=b.clientWHProperty,g=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[d],c=b.trackElSize="width"===l?c.offsetWidth:c.offsetHeight,a=a[e]/b.scrollLength,a*=c,b.set(g,a),b.barSize=a,b.fullSync(),b.set("visible", +!0)):b.set("visible",!1)},_onSetDragHeight:function(a){this.control.dragEl.style.height=a+"px"},_onSetDragWidth:function(a){this.control.dragEl.style.width=a+"px"},_onSetDragLeft:function(a){this.control.dragEl.style.left=a+"px"},_onSetDragTop:function(a){this.control.dragEl.style.top=a+"px"}};if(!1!==e.Features.getVendorCssPropPrefix("transform")){var c=e.Features.getVendorCssPropName("transform");d._onSetDragLeft=function(a){this.control.dragEl.style[c]="translateX("+a+"px) translateY("+this.control.get("dragTop")+ +"px)"+(g?" translateZ(0)":"")};d._onSetDragTop=function(a){this.control.dragEl.style[c]="translateX("+this.control.get("dragLeft")+"px) translateY("+a+"px)"+(g?" translateZ(0)":"")}}return f.getDefaultRender().extend(d,{ATTRS:{contentTpl:{value:h}}})}); +KISSY.add("scroll-view/plugin/scrollbar/control",["node","component/control","./render"],function(e,a){function f(a){a.preventDefault()}function h(a){a.stopPropagation();a.isTouch||a.preventDefault();this.get("disabled")||(this.startMousePos=a[this.pageXyProperty],this.startScroll=this.scrollView.get(this.scrollProperty),b.on(j.move,g,this).on(j.end,d,this))}function g(a){var b=this.scrollView,c={};c[this.scrollType]=this.startScroll+(a[this.pageXyProperty]-this.startMousePos)/this.trackElSize*this.scrollLength; +b.scrollToWithBounds(c)}function d(){b.detach(j.move,g,this).detach(j.end,d,this)}var c=a("node"),b=c.all(document),i=a("component/control"),k=a("./render"),j=c.Gesture;return i.extend({initializer:function(){var a=this.scrollType="x"===this.get("axis")?"left":"top",b=e.ucfirst(a);this.pageXyProperty="left"===a?"pageX":"pageY";a=this.whProperty="left"===a?"width":"height";a=e.ucfirst(a);this.afterScrollChangeEvent="afterScroll"+b+"Change";this.scrollProperty="scroll"+b;this.dragWHProperty="drag"+ +a;this.dragLTProperty="drag"+b;this.clientWHProperty="client"+a;this.scrollWHProperty="scroll"+a},bindUI:function(){var a=this,b=a.get("autoHide"),c=a.get("scrollView");b?a.hideFn=e.bind(a.hide,a):(e.each([a.$downBtn,a.$upBtn],function(b){b.on(j.start,a.onUpDownBtnMouseDown,a).on(j.end,a.onUpDownBtnMouseUp,a)}),a.$trackEl.on(j.start,a.onTrackElMouseDown,a),a.$dragEl.on("dragstart",f).on(j.start,h,a));c.on(a.afterScrollChangeEvent+".ks-scrollbar",a.afterScrollChange,a).on("scrollEnd.ks-scrollbar", +a.onScrollEnd,a).on("afterDisabledChange",a.onScrollViewDisabled,a)},destructor:function(){this.get("scrollView").detach(".ks-scrollbar");this.clearHideTimer()},onScrollViewDisabled:function(a){this.set("disabled",a.newVal)},startHideTimer:function(){this.clearHideTimer();this.hideTimer=setTimeout(this.hideFn,1E3*this.get("hideDelay"))},clearHideTimer:function(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)},onUpDownBtnMouseDown:function(a){function b(){var a={};a[e]=c.get(d)+ +f*g;c.scrollToWithBounds(a)}if(!this.get("disabled")){a.halt();var c=this.scrollView,d=this.scrollProperty,e=this.scrollType,g=c.getScrollStep()[this.scrollType],a=a.target,f=a===this.downBtn||this.$downBtn.contains(a)?1:-1;clearInterval(this.mouseInterval);this.mouseInterval=setInterval(b,100);b()}},onTrackElMouseDown:function(a){if(!this.get("disabled")){var b=a.target,c=this.$dragEl;if(!(this.dragEl===b||c.contains(b))){var b=this.scrollType,c=this.scrollView,d=Math.max(0,(a[this.pageXyProperty]- +this.$trackEl.offset()[b]-this.barSize/2)/this.trackElSize),e={};e[b]=d*this.scrollLength;c.scrollToWithBounds(e);a.halt()}}},onUpDownBtnMouseUp:function(){clearInterval(this.mouseInterval)},onScrollEnd:function(){this.hideFn&&this.startHideTimer()},fullSync:function(a){var b=this.scrollType,c=this.scrollView,d=this.dragLTProperty,e=this.dragWHProperty,g=this.trackElSize,f=this.barSize,h=this.scrollLength,i=c.get(this.scrollProperty),j=c.minScroll[b],b=c.maxScroll[b];i>b?(g*=b/h,a||this.set(e,f-(i- +b)),this.set(d,g+f-this.get(e))):i maxScroll) { - dragVal = maxScroll / contentSize * trackElSize; - control.set(dragWHProperty, barSize - (val - maxScroll)); - control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)) - }else { - if(val < minScroll) { - dragVal = minScroll / contentSize * trackElSize; - control.set(dragWHProperty, barSize - (minScroll - val)); - control.set(dragLTProperty, dragVal) - }else { - dragVal = val / contentSize * trackElSize; - control.set(dragLTProperty, dragVal); - control.set(dragWHProperty, barSize) - } - } }, _onSetDragHeight:function(v) { this.control.dragEl.style.height = v + "px" }, _onSetDragWidth:function(v) { @@ -150,26 +133,49 @@ KISSY.add("scroll-view/plugin/scrollbar/render", ["component/control", "./scroll }, _onSetDragTop:function(v) { this.control.dragEl.style.top = v + "px" }}; - var transformProperty = S.Features.getTransformProperty(); if(supportCss3) { + var transformProperty = S.Features.getVendorCssPropName("transform"); methods._onSetDragLeft = function(v) { - this.control.dragEl.style[transformProperty] = "translateX(" + v + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") + this.control.dragEl.style[transformProperty] = "translateX(" + v + "px)" + " translateY(" + this.control.get("dragTop") + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") }; methods._onSetDragTop = function(v) { - this.control.dragEl.style[transformProperty] = "translateY(" + v + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") + this.control.dragEl.style[transformProperty] = "translateX(" + this.control.get("dragLeft") + "px)" + " translateY(" + v + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") } } return Control.getDefaultRender().extend(methods, {ATTRS:{contentTpl:{value:ScrollBarTpl}}}) }); KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", "./render"], function(S, require) { var Node = require("node"); + var $document = Node.all(document); var Control = require("component/control"); var ScrollBarRender = require("./render"); var MIN_BAR_LENGTH = 20; var SCROLLBAR_EVENT_NS = ".ks-scrollbar"; var Gesture = Node.Gesture; - var Features = S.Features; - var allowDrag = !Features.isTouchGestureSupported(); + function preventDefault(e) { + e.preventDefault() + } + function onDragStartHandler(e) { + e.stopPropagation(); + if(!e.isTouch) { + e.preventDefault() + } + var self = this; + if(self.get("disabled")) { + return + } + self.startMousePos = e[self.pageXyProperty]; + self.startScroll = self.scrollView.get(self.scrollProperty); + $document.on(Gesture.move, onDragHandler, self).on(Gesture.end, onDragEndHandler, self) + } + function onDragHandler(e) { + var self = this, diff = e[self.pageXyProperty] - self.startMousePos, scrollView = self.scrollView, scrollType = self.scrollType, scrollCfg = {}; + scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; + scrollView.scrollToWithBounds(scrollCfg) + } + function onDragEndHandler() { + $document.detach(Gesture.move, onDragHandler, this).detach(Gesture.end, onDragEndHandler, this) + } return Control.extend({initializer:function() { var self = this; var scrollType = self.scrollType = self.get("axis") === "x" ? "left" : "top"; @@ -192,11 +198,7 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", b.on(Gesture.start, self.onUpDownBtnMouseDown, self).on(Gesture.end, self.onUpDownBtnMouseUp, self) }); self.$trackEl.on(Gesture.start, self.onTrackElMouseDown, self); - if(allowDrag) { - S.use("dd", function(S, DD) { - self.dd = (new DD.Draggable({node:self.$dragEl, disabled:self.get("disabled"), groups:false, halt:true})).on("drag", self.onDrag, self).on("dragstart", self.onDragStart, self) - }) - } + self.$dragEl.on("dragstart", preventDefault).on(Gesture.start, onDragStartHandler, self) } scrollView.on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, self.afterScrollChange, self).on("scrollEnd" + SCROLLBAR_EVENT_NS, self.onScrollEnd, self).on("afterDisabledChange", self.onScrollViewDisabled, self) }, destructor:function() { @@ -204,14 +206,6 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", this.clearHideTimer() }, onScrollViewDisabled:function(e) { this.set("disabled", e.newVal) - }, onDragStart:function() { - var self = this, scrollView = self.scrollView; - self.startMousePos = self.dd.get("startMousePos")[self.scrollType]; - self.startScroll = scrollView.get(self.scrollProperty) - }, onDrag:function(e) { - var self = this, diff = e[self.pageXyProperty] - self.startMousePos, scrollView = self.scrollView, scrollType = self.scrollType, scrollCfg = {}; - scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; - scrollView.scrollToWithBounds(scrollCfg) }, startHideTimer:function() { var self = this; self.clearHideTimer(); @@ -258,6 +252,29 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", if(self.hideFn) { self.startHideTimer() } + }, fullSync:function(ignoreWH) { + var control = this, scrollType = control.scrollType, scrollView = control.scrollView, dragLTProperty = control.dragLTProperty, dragWHProperty = control.dragWHProperty, trackElSize = control.trackElSize, barSize = control.barSize, contentSize = control.scrollLength, val = scrollView.get(control.scrollProperty), maxScrollOffset = scrollView.maxScroll, minScrollOffset = scrollView.minScroll, minScroll = minScrollOffset[scrollType], maxScroll = maxScrollOffset[scrollType], dragVal; + if(val > maxScroll) { + dragVal = maxScroll / contentSize * trackElSize; + if(!ignoreWH) { + control.set(dragWHProperty, barSize - (val - maxScroll)) + } + control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)) + }else { + if(val < minScroll) { + dragVal = minScroll / contentSize * trackElSize; + if(!ignoreWH) { + control.set(dragWHProperty, barSize - (minScroll - val)) + } + control.set(dragLTProperty, dragVal) + }else { + dragVal = val / contentSize * trackElSize; + control.set(dragLTProperty, dragVal); + if(!ignoreWH) { + control.set(dragWHProperty, barSize) + } + } + } }, afterScrollChange:function() { var self = this; var scrollView = self.scrollView; @@ -269,11 +286,7 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", if(self.hideFn && !scrollView.isScrolling) { self.startHideTimer() } - self.view.syncOnScrollChange() - }, _onSetDisabled:function(v) { - if(this.dd) { - this.dd.set("disabled", v) - } + self.fullSync(1) }}, {ATTRS:{minLength:{value:MIN_BAR_LENGTH}, scrollView:{}, axis:{view:1}, autoHide:{value:S.UA.ios}, visible:{valueFn:function() { return!this.get("autoHide") }}, hideDelay:{value:0.1}, dragWidth:{setter:function(v) { @@ -288,7 +301,7 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", return minLength } return v - }, view:1}, dragLeft:{view:1}, dragTop:{view:1}, dragEl:{}, downBtn:{}, upBtn:{}, trackEl:{}, focusable:{value:false}, xrender:{value:ScrollBarRender}}, xclass:"scrollbar"}) + }, view:1}, dragLeft:{view:1, value:0}, dragTop:{view:1, value:0}, dragEl:{}, downBtn:{}, upBtn:{}, trackEl:{}, focusable:{value:false}, xrender:{value:ScrollBarRender}}, xclass:"scrollbar"}) }); KISSY.add("scroll-view/plugin/scrollbar", ["base", "./scrollbar/control"], function(S, require) { var Base = require("base"); diff --git a/src/anim/sub-modules/transition/coverage/src/transition.js b/src/anim/sub-modules/transition/coverage/src/transition.js index 5968802448..0cc5fc0682 100644 --- a/src/anim/sub-modules/transition/coverage/src/transition.js +++ b/src/anim/sub-modules/transition/coverage/src/transition.js @@ -379,11 +379,11 @@ function visit7_102_1(result) { function visit6_97_1(result) { _$jscoverage['/transition.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['75'][1].init(1435, 8, 'original'); +}_$jscoverage['/transition.js'].branchData['75'][1].init(1436, 8, 'original'); function visit5_75_1(result) { _$jscoverage['/transition.js'].branchData['75'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['73'][1].init(1345, 31, 'original.indexOf(\'none\') !== -1'); +}_$jscoverage['/transition.js'].branchData['73'][1].init(1346, 31, 'original.indexOf(\'none\') !== -1'); function visit4_73_1(result) { _$jscoverage['/transition.js'].branchData['73'][1].ranCondition(result); return result; @@ -409,15 +409,15 @@ KISSY.add(function(S, require) { _$jscoverage['/transition.js'].lineData[9]++; var AnimBase = require('./base'); _$jscoverage['/transition.js'].lineData[11]++; - var Feature = S.Features; + var Features = S.Features; _$jscoverage['/transition.js'].lineData[12]++; - var vendorPrefix = Feature.getVendorCssPropPrefix('transition'); + var vendorPrefix = Features.getVendorCssPropPrefix('transition'); _$jscoverage['/transition.js'].lineData[13]++; var R_UPPER = /([A-Z]|^ms)/g; _$jscoverage['/transition.js'].lineData[14]++; var TRANSITION_END_EVENT = vendorPrefix ? (vendorPrefix.toLowerCase() + 'TransitionEnd') : 'transitionend webkitTransitionEnd'; _$jscoverage['/transition.js'].lineData[19]++; - var TRANSITION = Feature.getVendorCssPropName('transition'); + var TRANSITION = Features.getVendorCssPropName('transition'); _$jscoverage['/transition.js'].lineData[21]++; function genTransition(propsData) { _$jscoverage['/transition.js'].functionData[1]++; @@ -454,7 +454,7 @@ KISSY.add(function(S, require) { _$jscoverage['/transition.js'].lineData[49]++; delete _propsData.transform; _$jscoverage['/transition.js'].lineData[50]++; - _propsData[Feature.getVendorCssPropName('transform').replace(R_UPPER, '-$1').toLowerCase()] = transform; + _propsData[Features.getVendorCssPropName('transform').replace(R_UPPER, '-$1').toLowerCase()] = transform; } _$jscoverage['/transition.js'].lineData[53]++; S.each(_propsData, function(propData, prop) { diff --git a/src/anim/sub-modules/transition/src/transition.js b/src/anim/sub-modules/transition/src/transition.js index b6217bd9d1..44685ad48e 100644 --- a/src/anim/sub-modules/transition/src/transition.js +++ b/src/anim/sub-modules/transition/src/transition.js @@ -8,15 +8,15 @@ KISSY.add(function (S, require) { var Event = require('event/dom'); var AnimBase = require('./base'); - var Feature = S.Features; - var vendorPrefix = Feature.getVendorCssPropPrefix('transition'); + var Features = S.Features; + var vendorPrefix = Features.getVendorCssPropPrefix('transition'); var R_UPPER = /([A-Z]|^ms)/g; var TRANSITION_END_EVENT = vendorPrefix ? // webkitTransitionEnd ! (vendorPrefix.toLowerCase() + 'TransitionEnd') : // https://github.com/kissyteam/kissy/issues/538 'transitionend webkitTransitionEnd'; - var TRANSITION = Feature.getVendorCssPropName('transition'); + var TRANSITION = Features.getVendorCssPropName('transition'); function genTransition(propsData) { var str = ''; @@ -47,7 +47,7 @@ KISSY.add(function (S, require) { propsCss = {}; if ((transform = _propsData.transform)) { delete _propsData.transform; - _propsData[Feature.getVendorCssPropName('transform') + _propsData[Features.getVendorCssPropName('transform') .replace(R_UPPER, '-$1').toLowerCase()] = transform; } S.each(_propsData, function (propData, prop) { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js index 3122cc4867..2d89278909 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js @@ -291,39 +291,39 @@ if (! _$jscoverage['/scrollbar.js'].branchData) { _$jscoverage['/scrollbar.js'].branchData['63'][1] = new BranchData(); } _$jscoverage['/scrollbar.js'].branchData['63'][1].init(178, 15, 'self.scrollBarY'); -function visit34_63_1(result) { +function visit38_63_1(result) { _$jscoverage['/scrollbar.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['59'][1].init(46, 15, 'self.scrollBarX'); -function visit33_59_1(result) { +function visit37_59_1(result) { _$jscoverage['/scrollbar.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['50'][1].init(93, 23, 'autoHideY !== undefined'); -function visit32_50_1(result) { +function visit36_50_1(result) { _$jscoverage['/scrollbar.js'].branchData['50'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['46'][1].init(992, 26, 'scrollView.allowScroll.top'); -function visit31_46_1(result) { +function visit35_46_1(result) { _$jscoverage['/scrollbar.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['44'][1].init(909, 15, 'self.scrollBarY'); -function visit30_44_1(result) { +function visit34_44_1(result) { _$jscoverage['/scrollbar.js'].branchData['44'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['38'][1].init(93, 23, 'autoHideX !== undefined'); -function visit29_38_1(result) { +function visit33_38_1(result) { _$jscoverage['/scrollbar.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['34'][1].init(589, 27, 'scrollView.allowScroll.left'); -function visit28_34_1(result) { +function visit32_34_1(result) { _$jscoverage['/scrollbar.js'].branchData['34'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['32'][1].init(506, 15, 'self.scrollBarX'); -function visit27_32_1(result) { +function visit31_32_1(result) { _$jscoverage['/scrollbar.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['28'][1].init(405, 23, 'minLength !== undefined'); -function visit26_28_1(result) { +function visit30_28_1(result) { _$jscoverage['/scrollbar.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].lineData[6]++; @@ -353,22 +353,22 @@ KISSY.add(function(S, require) { scrollView: scrollView, elBefore: scrollView.$contentEl}; _$jscoverage['/scrollbar.js'].lineData[28]++; - if (visit26_28_1(minLength !== undefined)) { + if (visit30_28_1(minLength !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[29]++; cfg.minLength = minLength; } _$jscoverage['/scrollbar.js'].lineData[32]++; - if (visit27_32_1(self.scrollBarX)) { + if (visit31_32_1(self.scrollBarX)) { _$jscoverage['/scrollbar.js'].lineData[33]++; self.scrollBarX.sync(); } else { _$jscoverage['/scrollbar.js'].lineData[34]++; - if (visit28_34_1(scrollView.allowScroll.left)) { + if (visit32_34_1(scrollView.allowScroll.left)) { _$jscoverage['/scrollbar.js'].lineData[35]++; my = { axis: 'x'}; _$jscoverage['/scrollbar.js'].lineData[38]++; - if (visit29_38_1(autoHideX !== undefined)) { + if (visit33_38_1(autoHideX !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[39]++; cfg.autoHide = autoHideX; } @@ -377,17 +377,17 @@ KISSY.add(function(S, require) { } } _$jscoverage['/scrollbar.js'].lineData[44]++; - if (visit30_44_1(self.scrollBarY)) { + if (visit34_44_1(self.scrollBarY)) { _$jscoverage['/scrollbar.js'].lineData[45]++; self.scrollBarY.sync(); } else { _$jscoverage['/scrollbar.js'].lineData[46]++; - if (visit31_46_1(scrollView.allowScroll.top)) { + if (visit35_46_1(scrollView.allowScroll.top)) { _$jscoverage['/scrollbar.js'].lineData[47]++; my = { axis: 'y'}; _$jscoverage['/scrollbar.js'].lineData[50]++; - if (visit32_50_1(autoHideY !== undefined)) { + if (visit36_50_1(autoHideY !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[51]++; cfg.autoHide = autoHideY; } @@ -401,14 +401,14 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar.js'].lineData[58]++; var self = this; _$jscoverage['/scrollbar.js'].lineData[59]++; - if (visit33_59_1(self.scrollBarX)) { + if (visit37_59_1(self.scrollBarX)) { _$jscoverage['/scrollbar.js'].lineData[60]++; self.scrollBarX.destroy(); _$jscoverage['/scrollbar.js'].lineData[61]++; self.scrollBarX = null; } _$jscoverage['/scrollbar.js'].lineData[63]++; - if (visit34_63_1(self.scrollBarY)) { + if (visit38_63_1(self.scrollBarY)) { _$jscoverage['/scrollbar.js'].lineData[64]++; self.scrollBarY.destroy(); _$jscoverage['/scrollbar.js'].lineData[65]++; diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js index a6755cedbf..f0d49284eb 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js @@ -233,97 +233,119 @@ if (! _$jscoverage['/scrollbar/control.js']) { _$jscoverage['/scrollbar/control.js'].lineData[7] = 0; _$jscoverage['/scrollbar/control.js'].lineData[8] = 0; _$jscoverage['/scrollbar/control.js'].lineData[9] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[11] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[13] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[15] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[17] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[10] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[12] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[14] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[16] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[18] = 0; _$jscoverage['/scrollbar/control.js'].lineData[19] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[26] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[22] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[23] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[24] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[25] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[27] = 0; _$jscoverage['/scrollbar/control.js'].lineData[28] = 0; _$jscoverage['/scrollbar/control.js'].lineData[29] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[30] = 0; _$jscoverage['/scrollbar/control.js'].lineData[31] = 0; _$jscoverage['/scrollbar/control.js'].lineData[32] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[33] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[34] = 0; _$jscoverage['/scrollbar/control.js'].lineData[35] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[37] = 0; _$jscoverage['/scrollbar/control.js'].lineData[38] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[40] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[41] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[39] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[44] = 0; _$jscoverage['/scrollbar/control.js'].lineData[45] = 0; _$jscoverage['/scrollbar/control.js'].lineData[48] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[49] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[51] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[53] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[55] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[56] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[57] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[50] = 0; _$jscoverage['/scrollbar/control.js'].lineData[58] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[60] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[61] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[62] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[63] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[64] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[65] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[66] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[67] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[69] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[70] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[72] = 0; _$jscoverage['/scrollbar/control.js'].lineData[73] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[78] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[79] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[77] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[80] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[81] = 0; _$jscoverage['/scrollbar/control.js'].lineData[83] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[85] = 0; _$jscoverage['/scrollbar/control.js'].lineData[87] = 0; _$jscoverage['/scrollbar/control.js'].lineData[89] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[90] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[94] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[95] = 0; _$jscoverage['/scrollbar/control.js'].lineData[99] = 0; _$jscoverage['/scrollbar/control.js'].lineData[100] = 0; _$jscoverage['/scrollbar/control.js'].lineData[104] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[105] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[106] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[108] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[109] = 0; _$jscoverage['/scrollbar/control.js'].lineData[110] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[111] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[112] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[113] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[118] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[119] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[121] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[114] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[115] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[116] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[117] = 0; _$jscoverage['/scrollbar/control.js'].lineData[122] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[129] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[130] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[131] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[132] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[123] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[125] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[126] = 0; _$jscoverage['/scrollbar/control.js'].lineData[133] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[134] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[135] = 0; _$jscoverage['/scrollbar/control.js'].lineData[136] = 0; _$jscoverage['/scrollbar/control.js'].lineData[137] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[140] = 0; _$jscoverage['/scrollbar/control.js'].lineData[141] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[142] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[143] = 0; _$jscoverage['/scrollbar/control.js'].lineData[145] = 0; _$jscoverage['/scrollbar/control.js'].lineData[146] = 0; _$jscoverage['/scrollbar/control.js'].lineData[147] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[148] = 0; _$jscoverage['/scrollbar/control.js'].lineData[149] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[150] = 0; _$jscoverage['/scrollbar/control.js'].lineData[151] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[160] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[161] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[163] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[152] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[153] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[155] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[164] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[165] = 0; _$jscoverage['/scrollbar/control.js'].lineData[167] = 0; _$jscoverage['/scrollbar/control.js'].lineData[171] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[172] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[173] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[180] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[181] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[175] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[176] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[177] = 0; _$jscoverage['/scrollbar/control.js'].lineData[182] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[183] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[185] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[186] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[187] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[188] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[190] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[194] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[195] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[233] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[250] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[252] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[253] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[255] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[262] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[263] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[264] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[266] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[196] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[197] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[198] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[199] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[202] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[203] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[204] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[205] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[206] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[208] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[210] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[211] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[212] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[213] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[221] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[222] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[223] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[224] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[226] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[227] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[228] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[229] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[231] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[268] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[285] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[287] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[288] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[290] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[297] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[298] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[299] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[301] = 0; } if (! _$jscoverage['/scrollbar/control.js'].functionData) { _$jscoverage['/scrollbar/control.js'].functionData = []; @@ -348,115 +370,146 @@ if (! _$jscoverage['/scrollbar/control.js'].functionData) { _$jscoverage['/scrollbar/control.js'].functionData[18] = 0; _$jscoverage['/scrollbar/control.js'].functionData[19] = 0; _$jscoverage['/scrollbar/control.js'].functionData[20] = 0; + _$jscoverage['/scrollbar/control.js'].functionData[21] = 0; } if (! _$jscoverage['/scrollbar/control.js'].branchData) { _$jscoverage['/scrollbar/control.js'].branchData = {}; - _$jscoverage['/scrollbar/control.js'].branchData['29'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['29'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['31'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['31'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['32'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['32'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['48'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['48'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['56'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['56'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['111'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['111'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['118'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['118'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['128'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['128'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['128'][2] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['142'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['142'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['148'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['148'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['148'][2] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['172'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['172'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['182'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['182'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['187'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['187'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['194'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['194'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['252'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['252'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['263'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['263'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['24'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['24'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['28'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['28'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['61'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['61'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['63'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['63'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['64'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['64'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['80'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['80'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['115'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['115'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['122'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['122'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['132'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['132'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['132'][2] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['146'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['146'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['152'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['152'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['152'][2] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['176'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['176'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['196'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['196'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['198'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['198'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['203'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['203'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['205'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['205'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['212'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['212'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['223'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['223'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['228'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['228'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['287'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['287'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['298'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['298'][1] = new BranchData(); } -_$jscoverage['/scrollbar/control.js'].branchData['263'][1].init(84, 13, 'v < minLength'); -function visit18_263_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['263'][1].ranCondition(result); +_$jscoverage['/scrollbar/control.js'].branchData['298'][1].init(84, 13, 'v < minLength'); +function visit23_298_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['298'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['252'][1].init(85, 13, 'v < minLength'); -function visit17_252_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['252'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['287'][1].init(85, 13, 'v < minLength'); +function visit22_287_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['287'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['194'][1].init(17, 7, 'this.dd'); -function visit16_194_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['194'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['228'][1].init(301, 38, 'self.hideFn && !scrollView.isScrolling'); +function visit21_228_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['228'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['187'][1].init(301, 38, 'self.hideFn && !scrollView.isScrolling'); -function visit15_187_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['187'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['223'][1].init(129, 40, '!scrollView.allowScroll[self.scrollType]'); +function visit20_223_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['223'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['182'][1].init(129, 40, '!scrollView.allowScroll[self.scrollType]'); -function visit14_182_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['182'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['212'][1].init(134, 9, '!ignoreWH'); +function visit19_212_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['212'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['172'][1].init(46, 11, 'self.hideFn'); -function visit13_172_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['172'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['205'][1].init(86, 9, '!ignoreWH'); +function visit18_205_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['205'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['148'][2].init(237, 17, 'dragEl === target'); -function visit12_148_2(result) { - _$jscoverage['/scrollbar/control.js'].branchData['148'][2].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['203'][1].init(1097, 15, 'val < minScroll'); +function visit17_203_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['203'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['148'][1].init(237, 45, 'dragEl === target || $dragEl.contains(target)'); -function visit11_148_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['148'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['198'][1].init(86, 9, '!ignoreWH'); +function visit16_198_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['198'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['142'][1].init(46, 20, 'self.get(\'disabled\')'); -function visit10_142_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['142'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['196'][1].init(720, 15, 'val > maxScroll'); +function visit15_196_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['196'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['128'][2].init(294, 23, 'target === self.downBtn'); -function visit9_128_2(result) { - _$jscoverage['/scrollbar/control.js'].branchData['128'][2].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['176'][1].init(46, 11, 'self.hideFn'); +function visit14_176_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['176'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['128'][1].init(294, 57, 'target === self.downBtn || self.$downBtn.contains(target)'); -function visit8_128_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['128'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['152'][2].init(237, 17, 'dragEl === target'); +function visit13_152_2(result) { + _$jscoverage['/scrollbar/control.js'].branchData['152'][2].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['118'][1].init(17, 20, 'this.get(\'disabled\')'); -function visit7_118_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['118'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['152'][1].init(237, 45, 'dragEl === target || $dragEl.contains(target)'); +function visit12_152_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['152'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['111'][1].init(46, 14, 'self.hideTimer'); -function visit6_111_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['111'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['146'][1].init(46, 20, 'self.get(\'disabled\')'); +function visit11_146_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['146'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['56'][1].init(335, 9, 'allowDrag'); -function visit5_56_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['56'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['132'][2].init(294, 23, 'target === self.downBtn'); +function visit10_132_2(result) { + _$jscoverage['/scrollbar/control.js'].branchData['132'][2].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['48'][1].init(148, 8, 'autoHide'); -function visit4_48_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['48'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['132'][1].init(294, 57, 'target === self.downBtn || self.$downBtn.contains(target)'); +function visit9_132_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['132'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['32'][1].init(290, 21, 'scrollType === \'left\''); -function visit3_32_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['32'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['122'][1].init(17, 20, 'this.get(\'disabled\')'); +function visit8_122_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['122'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['31'][1].init(208, 21, 'scrollType === \'left\''); -function visit2_31_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['31'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['115'][1].init(46, 14, 'self.hideTimer'); +function visit7_115_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['115'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['29'][1].init(77, 24, 'self.get(\'axis\') === \'x\''); -function visit1_29_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['29'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['80'][1].init(148, 8, 'autoHide'); +function visit6_80_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['80'][1].ranCondition(result); + return result; +}_$jscoverage['/scrollbar/control.js'].branchData['64'][1].init(290, 21, 'scrollType === \'left\''); +function visit5_64_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['64'][1].ranCondition(result); + return result; +}_$jscoverage['/scrollbar/control.js'].branchData['63'][1].init(208, 21, 'scrollType === \'left\''); +function visit4_63_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['63'][1].ranCondition(result); + return result; +}_$jscoverage['/scrollbar/control.js'].branchData['61'][1].init(77, 24, 'self.get(\'axis\') === \'x\''); +function visit3_61_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['61'][1].ranCondition(result); + return result; +}_$jscoverage['/scrollbar/control.js'].branchData['28'][1].init(135, 20, 'self.get(\'disabled\')'); +function visit2_28_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['28'][1].ranCondition(result); + return result; +}_$jscoverage['/scrollbar/control.js'].branchData['24'][1].init(42, 10, '!e.isTouch'); +function visit1_24_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/control.js'].lineData[6]++; KISSY.add(function(S, require) { @@ -464,235 +517,282 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/control.js'].lineData[7]++; var Node = require('node'); _$jscoverage['/scrollbar/control.js'].lineData[8]++; - var Control = require('component/control'); + var $document = Node.all(document); _$jscoverage['/scrollbar/control.js'].lineData[9]++; + var Control = require('component/control'); + _$jscoverage['/scrollbar/control.js'].lineData[10]++; var ScrollBarRender = require('./render'); - _$jscoverage['/scrollbar/control.js'].lineData[11]++; + _$jscoverage['/scrollbar/control.js'].lineData[12]++; var MIN_BAR_LENGTH = 20; - _$jscoverage['/scrollbar/control.js'].lineData[13]++; + _$jscoverage['/scrollbar/control.js'].lineData[14]++; var SCROLLBAR_EVENT_NS = '.ks-scrollbar'; - _$jscoverage['/scrollbar/control.js'].lineData[15]++; + _$jscoverage['/scrollbar/control.js'].lineData[16]++; var Gesture = Node.Gesture; - _$jscoverage['/scrollbar/control.js'].lineData[17]++; - var Features = S.Features; - _$jscoverage['/scrollbar/control.js'].lineData[19]++; - var allowDrag = !Features.isTouchGestureSupported(); - _$jscoverage['/scrollbar/control.js'].lineData[26]++; + _$jscoverage['/scrollbar/control.js'].lineData[18]++; + function preventDefault(e) { + _$jscoverage['/scrollbar/control.js'].functionData[1]++; + _$jscoverage['/scrollbar/control.js'].lineData[19]++; + e.preventDefault(); + } + _$jscoverage['/scrollbar/control.js'].lineData[22]++; + function onDragStartHandler(e) { + _$jscoverage['/scrollbar/control.js'].functionData[2]++; + _$jscoverage['/scrollbar/control.js'].lineData[23]++; + e.stopPropagation(); + _$jscoverage['/scrollbar/control.js'].lineData[24]++; + if (visit1_24_1(!e.isTouch)) { + _$jscoverage['/scrollbar/control.js'].lineData[25]++; + e.preventDefault(); + } + _$jscoverage['/scrollbar/control.js'].lineData[27]++; + var self = this; + _$jscoverage['/scrollbar/control.js'].lineData[28]++; + if (visit2_28_1(self.get('disabled'))) { + _$jscoverage['/scrollbar/control.js'].lineData[29]++; + return; + } + _$jscoverage['/scrollbar/control.js'].lineData[31]++; + self.startMousePos = e[self.pageXyProperty]; + _$jscoverage['/scrollbar/control.js'].lineData[32]++; + self.startScroll = self.scrollView.get(self.scrollProperty); + _$jscoverage['/scrollbar/control.js'].lineData[35]++; + $document.on(Gesture.move, onDragHandler, self).on(Gesture.end, onDragEndHandler, self); + } + _$jscoverage['/scrollbar/control.js'].lineData[38]++; + function onDragHandler(e) { + _$jscoverage['/scrollbar/control.js'].functionData[3]++; + _$jscoverage['/scrollbar/control.js'].lineData[39]++; + var self = this, diff = e[self.pageXyProperty] - self.startMousePos, scrollView = self.scrollView, scrollType = self.scrollType, scrollCfg = {}; + _$jscoverage['/scrollbar/control.js'].lineData[44]++; + scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; + _$jscoverage['/scrollbar/control.js'].lineData[45]++; + scrollView.scrollToWithBounds(scrollCfg); + } + _$jscoverage['/scrollbar/control.js'].lineData[48]++; + function onDragEndHandler() { + _$jscoverage['/scrollbar/control.js'].functionData[4]++; + _$jscoverage['/scrollbar/control.js'].lineData[50]++; + $document.detach(Gesture.move, onDragHandler, this).detach(Gesture.end, onDragEndHandler, this); + } + _$jscoverage['/scrollbar/control.js'].lineData[58]++; return Control.extend({ initializer: function() { - _$jscoverage['/scrollbar/control.js'].functionData[1]++; - _$jscoverage['/scrollbar/control.js'].lineData[28]++; + _$jscoverage['/scrollbar/control.js'].functionData[5]++; + _$jscoverage['/scrollbar/control.js'].lineData[60]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[29]++; - var scrollType = self.scrollType = visit1_29_1(self.get('axis') === 'x') ? 'left' : 'top'; - _$jscoverage['/scrollbar/control.js'].lineData[30]++; + _$jscoverage['/scrollbar/control.js'].lineData[61]++; + var scrollType = self.scrollType = visit3_61_1(self.get('axis') === 'x') ? 'left' : 'top'; + _$jscoverage['/scrollbar/control.js'].lineData[62]++; var ucScrollType = S.ucfirst(scrollType); - _$jscoverage['/scrollbar/control.js'].lineData[31]++; - self.pageXyProperty = visit2_31_1(scrollType === 'left') ? 'pageX' : 'pageY'; - _$jscoverage['/scrollbar/control.js'].lineData[32]++; - var wh = self.whProperty = visit3_32_1(scrollType === 'left') ? 'width' : 'height'; - _$jscoverage['/scrollbar/control.js'].lineData[33]++; + _$jscoverage['/scrollbar/control.js'].lineData[63]++; + self.pageXyProperty = visit4_63_1(scrollType === 'left') ? 'pageX' : 'pageY'; + _$jscoverage['/scrollbar/control.js'].lineData[64]++; + var wh = self.whProperty = visit5_64_1(scrollType === 'left') ? 'width' : 'height'; + _$jscoverage['/scrollbar/control.js'].lineData[65]++; var ucWH = S.ucfirst(wh); - _$jscoverage['/scrollbar/control.js'].lineData[34]++; + _$jscoverage['/scrollbar/control.js'].lineData[66]++; self.afterScrollChangeEvent = 'afterScroll' + ucScrollType + 'Change'; - _$jscoverage['/scrollbar/control.js'].lineData[35]++; + _$jscoverage['/scrollbar/control.js'].lineData[67]++; self.scrollProperty = 'scroll' + ucScrollType; - _$jscoverage['/scrollbar/control.js'].lineData[37]++; + _$jscoverage['/scrollbar/control.js'].lineData[69]++; self.dragWHProperty = 'drag' + ucWH; - _$jscoverage['/scrollbar/control.js'].lineData[38]++; + _$jscoverage['/scrollbar/control.js'].lineData[70]++; self.dragLTProperty = 'drag' + ucScrollType; - _$jscoverage['/scrollbar/control.js'].lineData[40]++; + _$jscoverage['/scrollbar/control.js'].lineData[72]++; self.clientWHProperty = 'client' + ucWH; - _$jscoverage['/scrollbar/control.js'].lineData[41]++; + _$jscoverage['/scrollbar/control.js'].lineData[73]++; self.scrollWHProperty = 'scroll' + ucWH; }, bindUI: function() { - _$jscoverage['/scrollbar/control.js'].functionData[2]++; - _$jscoverage['/scrollbar/control.js'].lineData[45]++; + _$jscoverage['/scrollbar/control.js'].functionData[6]++; + _$jscoverage['/scrollbar/control.js'].lineData[77]++; var self = this, autoHide = self.get('autoHide'), scrollView = self.get('scrollView'); - _$jscoverage['/scrollbar/control.js'].lineData[48]++; - if (visit4_48_1(autoHide)) { - _$jscoverage['/scrollbar/control.js'].lineData[49]++; + _$jscoverage['/scrollbar/control.js'].lineData[80]++; + if (visit6_80_1(autoHide)) { + _$jscoverage['/scrollbar/control.js'].lineData[81]++; self.hideFn = S.bind(self.hide, self); } else { - _$jscoverage['/scrollbar/control.js'].lineData[51]++; + _$jscoverage['/scrollbar/control.js'].lineData[83]++; S.each([self.$downBtn, self.$upBtn], function(b) { - _$jscoverage['/scrollbar/control.js'].functionData[3]++; - _$jscoverage['/scrollbar/control.js'].lineData[53]++; + _$jscoverage['/scrollbar/control.js'].functionData[7]++; + _$jscoverage['/scrollbar/control.js'].lineData[85]++; b.on(Gesture.start, self.onUpDownBtnMouseDown, self).on(Gesture.end, self.onUpDownBtnMouseUp, self); }); - _$jscoverage['/scrollbar/control.js'].lineData[55]++; + _$jscoverage['/scrollbar/control.js'].lineData[87]++; self.$trackEl.on(Gesture.start, self.onTrackElMouseDown, self); - _$jscoverage['/scrollbar/control.js'].lineData[56]++; - if (visit5_56_1(allowDrag)) { - _$jscoverage['/scrollbar/control.js'].lineData[57]++; - S.use('dd', function(S, DD) { - _$jscoverage['/scrollbar/control.js'].functionData[4]++; - _$jscoverage['/scrollbar/control.js'].lineData[58]++; - self.dd = new DD.Draggable({ - node: self.$dragEl, - disabled: self.get('disabled'), - groups: false, - halt: true}).on('drag', self.onDrag, self).on('dragstart', self.onDragStart, self); -}); - } + _$jscoverage['/scrollbar/control.js'].lineData[89]++; + self.$dragEl.on('dragstart', preventDefault).on(Gesture.start, onDragStartHandler, self); } - _$jscoverage['/scrollbar/control.js'].lineData[73]++; + _$jscoverage['/scrollbar/control.js'].lineData[95]++; scrollView.on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, self.afterScrollChange, self).on('scrollEnd' + SCROLLBAR_EVENT_NS, self.onScrollEnd, self).on('afterDisabledChange', self.onScrollViewDisabled, self); }, destructor: function() { - _$jscoverage['/scrollbar/control.js'].functionData[5]++; - _$jscoverage['/scrollbar/control.js'].lineData[78]++; + _$jscoverage['/scrollbar/control.js'].functionData[8]++; + _$jscoverage['/scrollbar/control.js'].lineData[99]++; this.get('scrollView').detach(SCROLLBAR_EVENT_NS); - _$jscoverage['/scrollbar/control.js'].lineData[79]++; + _$jscoverage['/scrollbar/control.js'].lineData[100]++; this.clearHideTimer(); }, onScrollViewDisabled: function(e) { - _$jscoverage['/scrollbar/control.js'].functionData[6]++; - _$jscoverage['/scrollbar/control.js'].lineData[83]++; + _$jscoverage['/scrollbar/control.js'].functionData[9]++; + _$jscoverage['/scrollbar/control.js'].lineData[104]++; this.set('disabled', e.newVal); -}, - onDragStart: function() { - _$jscoverage['/scrollbar/control.js'].functionData[7]++; - _$jscoverage['/scrollbar/control.js'].lineData[87]++; - var self = this, scrollView = self.scrollView; - _$jscoverage['/scrollbar/control.js'].lineData[89]++; - self.startMousePos = self.dd.get('startMousePos')[self.scrollType]; - _$jscoverage['/scrollbar/control.js'].lineData[90]++; - self.startScroll = scrollView.get(self.scrollProperty); -}, - onDrag: function(e) { - _$jscoverage['/scrollbar/control.js'].functionData[8]++; - _$jscoverage['/scrollbar/control.js'].lineData[94]++; - var self = this, diff = e[self.pageXyProperty] - self.startMousePos, scrollView = self.scrollView, scrollType = self.scrollType, scrollCfg = {}; - _$jscoverage['/scrollbar/control.js'].lineData[99]++; - scrollCfg[scrollType] = self.startScroll + diff / self.trackElSize * self.scrollLength; - _$jscoverage['/scrollbar/control.js'].lineData[100]++; - scrollView.scrollToWithBounds(scrollCfg); }, startHideTimer: function() { - _$jscoverage['/scrollbar/control.js'].functionData[9]++; - _$jscoverage['/scrollbar/control.js'].lineData[104]++; + _$jscoverage['/scrollbar/control.js'].functionData[10]++; + _$jscoverage['/scrollbar/control.js'].lineData[108]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[105]++; + _$jscoverage['/scrollbar/control.js'].lineData[109]++; self.clearHideTimer(); - _$jscoverage['/scrollbar/control.js'].lineData[106]++; + _$jscoverage['/scrollbar/control.js'].lineData[110]++; self.hideTimer = setTimeout(self.hideFn, self.get('hideDelay') * 1000); }, clearHideTimer: function() { - _$jscoverage['/scrollbar/control.js'].functionData[10]++; - _$jscoverage['/scrollbar/control.js'].lineData[110]++; + _$jscoverage['/scrollbar/control.js'].functionData[11]++; + _$jscoverage['/scrollbar/control.js'].lineData[114]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[111]++; - if (visit6_111_1(self.hideTimer)) { - _$jscoverage['/scrollbar/control.js'].lineData[112]++; + _$jscoverage['/scrollbar/control.js'].lineData[115]++; + if (visit7_115_1(self.hideTimer)) { + _$jscoverage['/scrollbar/control.js'].lineData[116]++; clearTimeout(self.hideTimer); - _$jscoverage['/scrollbar/control.js'].lineData[113]++; + _$jscoverage['/scrollbar/control.js'].lineData[117]++; self.hideTimer = null; } }, onUpDownBtnMouseDown: function(e) { - _$jscoverage['/scrollbar/control.js'].functionData[11]++; - _$jscoverage['/scrollbar/control.js'].lineData[118]++; - if (visit7_118_1(this.get('disabled'))) { - _$jscoverage['/scrollbar/control.js'].lineData[119]++; + _$jscoverage['/scrollbar/control.js'].functionData[12]++; + _$jscoverage['/scrollbar/control.js'].lineData[122]++; + if (visit8_122_1(this.get('disabled'))) { + _$jscoverage['/scrollbar/control.js'].lineData[123]++; return; } - _$jscoverage['/scrollbar/control.js'].lineData[121]++; + _$jscoverage['/scrollbar/control.js'].lineData[125]++; e.halt(); - _$jscoverage['/scrollbar/control.js'].lineData[122]++; - var self = this, scrollView = self.scrollView, scrollProperty = self.scrollProperty, scrollType = self.scrollType, step = scrollView.getScrollStep()[self.scrollType], target = e.target, direction = (visit8_128_1(visit9_128_2(target === self.downBtn) || self.$downBtn.contains(target))) ? 1 : -1; - _$jscoverage['/scrollbar/control.js'].lineData[129]++; + _$jscoverage['/scrollbar/control.js'].lineData[126]++; + var self = this, scrollView = self.scrollView, scrollProperty = self.scrollProperty, scrollType = self.scrollType, step = scrollView.getScrollStep()[self.scrollType], target = e.target, direction = (visit9_132_1(visit10_132_2(target === self.downBtn) || self.$downBtn.contains(target))) ? 1 : -1; + _$jscoverage['/scrollbar/control.js'].lineData[133]++; clearInterval(self.mouseInterval); - _$jscoverage['/scrollbar/control.js'].lineData[130]++; + _$jscoverage['/scrollbar/control.js'].lineData[134]++; function doScroll() { - _$jscoverage['/scrollbar/control.js'].functionData[12]++; - _$jscoverage['/scrollbar/control.js'].lineData[131]++; + _$jscoverage['/scrollbar/control.js'].functionData[13]++; + _$jscoverage['/scrollbar/control.js'].lineData[135]++; var scrollCfg = {}; - _$jscoverage['/scrollbar/control.js'].lineData[132]++; + _$jscoverage['/scrollbar/control.js'].lineData[136]++; scrollCfg[scrollType] = scrollView.get(scrollProperty) + direction * step; - _$jscoverage['/scrollbar/control.js'].lineData[133]++; + _$jscoverage['/scrollbar/control.js'].lineData[137]++; scrollView.scrollToWithBounds(scrollCfg); } - _$jscoverage['/scrollbar/control.js'].lineData[136]++; + _$jscoverage['/scrollbar/control.js'].lineData[140]++; self.mouseInterval = setInterval(doScroll, 100); - _$jscoverage['/scrollbar/control.js'].lineData[137]++; + _$jscoverage['/scrollbar/control.js'].lineData[141]++; doScroll(); }, onTrackElMouseDown: function(e) { - _$jscoverage['/scrollbar/control.js'].functionData[13]++; - _$jscoverage['/scrollbar/control.js'].lineData[141]++; + _$jscoverage['/scrollbar/control.js'].functionData[14]++; + _$jscoverage['/scrollbar/control.js'].lineData[145]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[142]++; - if (visit10_142_1(self.get('disabled'))) { - _$jscoverage['/scrollbar/control.js'].lineData[143]++; + _$jscoverage['/scrollbar/control.js'].lineData[146]++; + if (visit11_146_1(self.get('disabled'))) { + _$jscoverage['/scrollbar/control.js'].lineData[147]++; return; } - _$jscoverage['/scrollbar/control.js'].lineData[145]++; + _$jscoverage['/scrollbar/control.js'].lineData[149]++; var target = e.target; - _$jscoverage['/scrollbar/control.js'].lineData[146]++; + _$jscoverage['/scrollbar/control.js'].lineData[150]++; var dragEl = self.dragEl; - _$jscoverage['/scrollbar/control.js'].lineData[147]++; + _$jscoverage['/scrollbar/control.js'].lineData[151]++; var $dragEl = self.$dragEl; - _$jscoverage['/scrollbar/control.js'].lineData[148]++; - if (visit11_148_1(visit12_148_2(dragEl === target) || $dragEl.contains(target))) { - _$jscoverage['/scrollbar/control.js'].lineData[149]++; + _$jscoverage['/scrollbar/control.js'].lineData[152]++; + if (visit12_152_1(visit13_152_2(dragEl === target) || $dragEl.contains(target))) { + _$jscoverage['/scrollbar/control.js'].lineData[153]++; return; } - _$jscoverage['/scrollbar/control.js'].lineData[151]++; + _$jscoverage['/scrollbar/control.js'].lineData[155]++; var scrollType = self.scrollType, pageXy = self.pageXyProperty, trackEl = self.$trackEl, scrollView = self.scrollView, per = Math.max(0, (e[pageXy] - trackEl.offset()[scrollType] - self.barSize / 2) / self.trackElSize), scrollCfg = {}; - _$jscoverage['/scrollbar/control.js'].lineData[160]++; + _$jscoverage['/scrollbar/control.js'].lineData[164]++; scrollCfg[scrollType] = per * self.scrollLength; - _$jscoverage['/scrollbar/control.js'].lineData[161]++; + _$jscoverage['/scrollbar/control.js'].lineData[165]++; scrollView.scrollToWithBounds(scrollCfg); - _$jscoverage['/scrollbar/control.js'].lineData[163]++; + _$jscoverage['/scrollbar/control.js'].lineData[167]++; e.halt(); }, onUpDownBtnMouseUp: function() { - _$jscoverage['/scrollbar/control.js'].functionData[14]++; - _$jscoverage['/scrollbar/control.js'].lineData[167]++; + _$jscoverage['/scrollbar/control.js'].functionData[15]++; + _$jscoverage['/scrollbar/control.js'].lineData[171]++; clearInterval(this.mouseInterval); }, onScrollEnd: function() { - _$jscoverage['/scrollbar/control.js'].functionData[15]++; - _$jscoverage['/scrollbar/control.js'].lineData[171]++; + _$jscoverage['/scrollbar/control.js'].functionData[16]++; + _$jscoverage['/scrollbar/control.js'].lineData[175]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[172]++; - if (visit13_172_1(self.hideFn)) { - _$jscoverage['/scrollbar/control.js'].lineData[173]++; + _$jscoverage['/scrollbar/control.js'].lineData[176]++; + if (visit14_176_1(self.hideFn)) { + _$jscoverage['/scrollbar/control.js'].lineData[177]++; self.startHideTimer(); } +}, + fullSync: function(ignoreWH) { + _$jscoverage['/scrollbar/control.js'].functionData[17]++; + _$jscoverage['/scrollbar/control.js'].lineData[182]++; + var control = this, scrollType = control.scrollType, scrollView = control.scrollView, dragLTProperty = control.dragLTProperty, dragWHProperty = control.dragWHProperty, trackElSize = control.trackElSize, barSize = control.barSize, contentSize = control.scrollLength, val = scrollView.get(control.scrollProperty), maxScrollOffset = scrollView.maxScroll, minScrollOffset = scrollView.minScroll, minScroll = minScrollOffset[scrollType], maxScroll = maxScrollOffset[scrollType], dragVal; + _$jscoverage['/scrollbar/control.js'].lineData[196]++; + if (visit15_196_1(val > maxScroll)) { + _$jscoverage['/scrollbar/control.js'].lineData[197]++; + dragVal = maxScroll / contentSize * trackElSize; + _$jscoverage['/scrollbar/control.js'].lineData[198]++; + if (visit16_198_1(!ignoreWH)) { + _$jscoverage['/scrollbar/control.js'].lineData[199]++; + control.set(dragWHProperty, barSize - (val - maxScroll)); + } + _$jscoverage['/scrollbar/control.js'].lineData[202]++; + control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); + } else { + _$jscoverage['/scrollbar/control.js'].lineData[203]++; + if (visit17_203_1(val < minScroll)) { + _$jscoverage['/scrollbar/control.js'].lineData[204]++; + dragVal = minScroll / contentSize * trackElSize; + _$jscoverage['/scrollbar/control.js'].lineData[205]++; + if (visit18_205_1(!ignoreWH)) { + _$jscoverage['/scrollbar/control.js'].lineData[206]++; + control.set(dragWHProperty, barSize - (minScroll - val)); + } + _$jscoverage['/scrollbar/control.js'].lineData[208]++; + control.set(dragLTProperty, dragVal); + } else { + _$jscoverage['/scrollbar/control.js'].lineData[210]++; + dragVal = val / contentSize * trackElSize; + _$jscoverage['/scrollbar/control.js'].lineData[211]++; + control.set(dragLTProperty, dragVal); + _$jscoverage['/scrollbar/control.js'].lineData[212]++; + if (visit19_212_1(!ignoreWH)) { + _$jscoverage['/scrollbar/control.js'].lineData[213]++; + control.set(dragWHProperty, barSize); + } + } + } }, afterScrollChange: function() { - _$jscoverage['/scrollbar/control.js'].functionData[16]++; - _$jscoverage['/scrollbar/control.js'].lineData[180]++; + _$jscoverage['/scrollbar/control.js'].functionData[18]++; + _$jscoverage['/scrollbar/control.js'].lineData[221]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[181]++; + _$jscoverage['/scrollbar/control.js'].lineData[222]++; var scrollView = self.scrollView; - _$jscoverage['/scrollbar/control.js'].lineData[182]++; - if (visit14_182_1(!scrollView.allowScroll[self.scrollType])) { - _$jscoverage['/scrollbar/control.js'].lineData[183]++; + _$jscoverage['/scrollbar/control.js'].lineData[223]++; + if (visit20_223_1(!scrollView.allowScroll[self.scrollType])) { + _$jscoverage['/scrollbar/control.js'].lineData[224]++; return; } - _$jscoverage['/scrollbar/control.js'].lineData[185]++; + _$jscoverage['/scrollbar/control.js'].lineData[226]++; self.clearHideTimer(); - _$jscoverage['/scrollbar/control.js'].lineData[186]++; + _$jscoverage['/scrollbar/control.js'].lineData[227]++; self.set('visible', true); - _$jscoverage['/scrollbar/control.js'].lineData[187]++; - if (visit15_187_1(self.hideFn && !scrollView.isScrolling)) { - _$jscoverage['/scrollbar/control.js'].lineData[188]++; + _$jscoverage['/scrollbar/control.js'].lineData[228]++; + if (visit21_228_1(self.hideFn && !scrollView.isScrolling)) { + _$jscoverage['/scrollbar/control.js'].lineData[229]++; self.startHideTimer(); } - _$jscoverage['/scrollbar/control.js'].lineData[190]++; - self.view.syncOnScrollChange(); -}, - _onSetDisabled: function(v) { - _$jscoverage['/scrollbar/control.js'].functionData[17]++; - _$jscoverage['/scrollbar/control.js'].lineData[194]++; - if (visit16_194_1(this.dd)) { - _$jscoverage['/scrollbar/control.js'].lineData[195]++; - this.dd.set('disabled', v); - } + _$jscoverage['/scrollbar/control.js'].lineData[231]++; + self.fullSync(1); }}, { ATTRS: { minLength: { @@ -704,44 +804,46 @@ KISSY.add(function(S, require) { value: S.UA.ios}, visible: { valueFn: function() { - _$jscoverage['/scrollbar/control.js'].functionData[18]++; - _$jscoverage['/scrollbar/control.js'].lineData[233]++; + _$jscoverage['/scrollbar/control.js'].functionData[19]++; + _$jscoverage['/scrollbar/control.js'].lineData[268]++; return !this.get('autoHide'); }}, hideDelay: { value: 0.1}, dragWidth: { setter: function(v) { - _$jscoverage['/scrollbar/control.js'].functionData[19]++; - _$jscoverage['/scrollbar/control.js'].lineData[250]++; + _$jscoverage['/scrollbar/control.js'].functionData[20]++; + _$jscoverage['/scrollbar/control.js'].lineData[285]++; var minLength = this.get('minLength'); - _$jscoverage['/scrollbar/control.js'].lineData[252]++; - if (visit17_252_1(v < minLength)) { - _$jscoverage['/scrollbar/control.js'].lineData[253]++; + _$jscoverage['/scrollbar/control.js'].lineData[287]++; + if (visit22_287_1(v < minLength)) { + _$jscoverage['/scrollbar/control.js'].lineData[288]++; return minLength; } - _$jscoverage['/scrollbar/control.js'].lineData[255]++; + _$jscoverage['/scrollbar/control.js'].lineData[290]++; return v; }, view: 1}, dragHeight: { setter: function(v) { - _$jscoverage['/scrollbar/control.js'].functionData[20]++; - _$jscoverage['/scrollbar/control.js'].lineData[262]++; + _$jscoverage['/scrollbar/control.js'].functionData[21]++; + _$jscoverage['/scrollbar/control.js'].lineData[297]++; var minLength = this.get('minLength'); - _$jscoverage['/scrollbar/control.js'].lineData[263]++; - if (visit18_263_1(v < minLength)) { - _$jscoverage['/scrollbar/control.js'].lineData[264]++; + _$jscoverage['/scrollbar/control.js'].lineData[298]++; + if (visit23_298_1(v < minLength)) { + _$jscoverage['/scrollbar/control.js'].lineData[299]++; return minLength; } - _$jscoverage['/scrollbar/control.js'].lineData[266]++; + _$jscoverage['/scrollbar/control.js'].lineData[301]++; return v; }, view: 1}, dragLeft: { - view: 1}, + view: 1, + value: 0}, dragTop: { - view: 1}, + view: 1, + value: 0}, dragEl: {}, downBtn: {}, upBtn: {}, diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js index 42c5198a07..3a94899dd0 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js @@ -259,28 +259,16 @@ if (! _$jscoverage['/scrollbar/render.js']) { _$jscoverage['/scrollbar/render.js'].lineData[61] = 0; _$jscoverage['/scrollbar/render.js'].lineData[63] = 0; _$jscoverage['/scrollbar/render.js'].lineData[68] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[83] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[84] = 0; + _$jscoverage['/scrollbar/render.js'].lineData[72] = 0; + _$jscoverage['/scrollbar/render.js'].lineData[76] = 0; + _$jscoverage['/scrollbar/render.js'].lineData[80] = 0; _$jscoverage['/scrollbar/render.js'].lineData[85] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[87] = 0; + _$jscoverage['/scrollbar/render.js'].lineData[86] = 0; _$jscoverage['/scrollbar/render.js'].lineData[88] = 0; _$jscoverage['/scrollbar/render.js'].lineData[89] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[90] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[91] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[93] = 0; _$jscoverage['/scrollbar/render.js'].lineData[94] = 0; _$jscoverage['/scrollbar/render.js'].lineData[95] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[100] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[104] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[108] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[112] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[116] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[118] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[119] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[120] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[124] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[125] = 0; - _$jscoverage['/scrollbar/render.js'].lineData[130] = 0; + _$jscoverage['/scrollbar/render.js'].lineData[101] = 0; } if (! _$jscoverage['/scrollbar/render.js'].functionData) { _$jscoverage['/scrollbar/render.js'].functionData = []; @@ -294,41 +282,34 @@ if (! _$jscoverage['/scrollbar/render.js'].functionData) { _$jscoverage['/scrollbar/render.js'].functionData[7] = 0; _$jscoverage['/scrollbar/render.js'].functionData[8] = 0; _$jscoverage['/scrollbar/render.js'].functionData[9] = 0; - _$jscoverage['/scrollbar/render.js'].functionData[10] = 0; } if (! _$jscoverage['/scrollbar/render.js'].branchData) { _$jscoverage['/scrollbar/render.js'].branchData = {}; + _$jscoverage['/scrollbar/render.js'].branchData['12'] = []; + _$jscoverage['/scrollbar/render.js'].branchData['12'][1] = new BranchData(); _$jscoverage['/scrollbar/render.js'].branchData['52'] = []; _$jscoverage['/scrollbar/render.js'].branchData['52'][1] = new BranchData(); _$jscoverage['/scrollbar/render.js'].branchData['55'] = []; _$jscoverage['/scrollbar/render.js'].branchData['55'][1] = new BranchData(); - _$jscoverage['/scrollbar/render.js'].branchData['83'] = []; - _$jscoverage['/scrollbar/render.js'].branchData['83'][1] = new BranchData(); - _$jscoverage['/scrollbar/render.js'].branchData['88'] = []; - _$jscoverage['/scrollbar/render.js'].branchData['88'][1] = new BranchData(); - _$jscoverage['/scrollbar/render.js'].branchData['118'] = []; - _$jscoverage['/scrollbar/render.js'].branchData['118'][1] = new BranchData(); + _$jscoverage['/scrollbar/render.js'].branchData['85'] = []; + _$jscoverage['/scrollbar/render.js'].branchData['85'][1] = new BranchData(); } -_$jscoverage['/scrollbar/render.js'].branchData['118'][1].init(4543, 11, 'supportCss3'); -function visit23_118_1(result) { - _$jscoverage['/scrollbar/render.js'].branchData['118'][1].ranCondition(result); - return result; -}_$jscoverage['/scrollbar/render.js'].branchData['88'][1].init(1079, 15, 'val < minScroll'); -function visit22_88_1(result) { - _$jscoverage['/scrollbar/render.js'].branchData['88'][1].ranCondition(result); - return result; -}_$jscoverage['/scrollbar/render.js'].branchData['83'][1].init(757, 15, 'val > maxScroll'); -function visit21_83_1(result) { - _$jscoverage['/scrollbar/render.js'].branchData['83'][1].ranCondition(result); +_$jscoverage['/scrollbar/render.js'].branchData['85'][1].init(2951, 11, 'supportCss3'); +function visit27_85_1(result) { + _$jscoverage['/scrollbar/render.js'].branchData['85'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/render.js'].branchData['55'][1].init(41, 22, 'whProperty === \'width\''); -function visit20_55_1(result) { +function visit26_55_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['55'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/render.js'].branchData['52'][1].init(537, 42, 'scrollView.allowScroll[control.scrollType]'); -function visit19_52_1(result) { +function visit25_52_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['52'][1].ranCondition(result); return result; +}_$jscoverage['/scrollbar/render.js'].branchData['12'][1].init(253, 56, 'S.Features.getVendorCssPropPrefix(\'transform\') !== false'); +function visit24_12_1(result) { + _$jscoverage['/scrollbar/render.js'].branchData['12'][1].ranCondition(result); + return result; }_$jscoverage['/scrollbar/render.js'].lineData[6]++; KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].functionData[0]++; @@ -339,7 +320,7 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[9]++; var isTransform3dSupported = S.Features.isTransform3dSupported(); _$jscoverage['/scrollbar/render.js'].lineData[12]++; - var supportCss3 = S.Features.isTransformSupported(); + var supportCss3 = visit24_12_1(S.Features.getVendorCssPropPrefix('transform') !== false); _$jscoverage['/scrollbar/render.js'].lineData[14]++; var methods = { beforeCreateDom: function(renderData, childrenElSelectors) { @@ -381,11 +362,11 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[50]++; control.scrollView = scrollView; _$jscoverage['/scrollbar/render.js'].lineData[52]++; - if (visit19_52_1(scrollView.allowScroll[control.scrollType])) { + if (visit25_52_1(scrollView.allowScroll[control.scrollType])) { _$jscoverage['/scrollbar/render.js'].lineData[53]++; control.scrollLength = scrollView[scrollWHProperty]; _$jscoverage['/scrollbar/render.js'].lineData[54]++; - trackElSize = control.trackElSize = visit20_55_1(whProperty === 'width') ? trackEl.offsetWidth : trackEl.offsetHeight; + trackElSize = control.trackElSize = visit26_55_1(whProperty === 'width') ? trackEl.offsetWidth : trackEl.offsetHeight; _$jscoverage['/scrollbar/render.js'].lineData[56]++; ratio = scrollView[clientWHProperty] / control.scrollLength; _$jscoverage['/scrollbar/render.js'].lineData[57]++; @@ -395,7 +376,7 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[59]++; control.barSize = barSize; _$jscoverage['/scrollbar/render.js'].lineData[60]++; - self.syncOnScrollChange(); + control.fullSync(); _$jscoverage['/scrollbar/render.js'].lineData[61]++; control.set('visible', true); } else { @@ -403,75 +384,44 @@ KISSY.add(function(S, require) { control.set('visible', false); } }, - syncOnScrollChange: function() { + '_onSetDragHeight': function(v) { _$jscoverage['/scrollbar/render.js'].functionData[4]++; _$jscoverage['/scrollbar/render.js'].lineData[68]++; - var self = this, control = self.control, scrollType = control.scrollType, scrollView = control.scrollView, dragLTProperty = control.dragLTProperty, dragWHProperty = control.dragWHProperty, trackElSize = control.trackElSize, barSize = control.barSize, contentSize = control.scrollLength, val = scrollView.get(control.scrollProperty), maxScrollOffset = scrollView.maxScroll, minScrollOffset = scrollView.minScroll, minScroll = minScrollOffset[scrollType], maxScroll = maxScrollOffset[scrollType], dragVal; - _$jscoverage['/scrollbar/render.js'].lineData[83]++; - if (visit21_83_1(val > maxScroll)) { - _$jscoverage['/scrollbar/render.js'].lineData[84]++; - dragVal = maxScroll / contentSize * trackElSize; - _$jscoverage['/scrollbar/render.js'].lineData[85]++; - control.set(dragWHProperty, barSize - (val - maxScroll)); - _$jscoverage['/scrollbar/render.js'].lineData[87]++; - control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); - } else { - _$jscoverage['/scrollbar/render.js'].lineData[88]++; - if (visit22_88_1(val < minScroll)) { - _$jscoverage['/scrollbar/render.js'].lineData[89]++; - dragVal = minScroll / contentSize * trackElSize; - _$jscoverage['/scrollbar/render.js'].lineData[90]++; - control.set(dragWHProperty, barSize - (minScroll - val)); - _$jscoverage['/scrollbar/render.js'].lineData[91]++; - control.set(dragLTProperty, dragVal); - } else { - _$jscoverage['/scrollbar/render.js'].lineData[93]++; - dragVal = val / contentSize * trackElSize; - _$jscoverage['/scrollbar/render.js'].lineData[94]++; - control.set(dragLTProperty, dragVal); - _$jscoverage['/scrollbar/render.js'].lineData[95]++; - control.set(dragWHProperty, barSize); - } - } -}, - '_onSetDragHeight': function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[5]++; - _$jscoverage['/scrollbar/render.js'].lineData[100]++; this.control.dragEl.style.height = v + 'px'; }, '_onSetDragWidth': function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[6]++; - _$jscoverage['/scrollbar/render.js'].lineData[104]++; + _$jscoverage['/scrollbar/render.js'].functionData[5]++; + _$jscoverage['/scrollbar/render.js'].lineData[72]++; this.control.dragEl.style.width = v + 'px'; }, '_onSetDragLeft': function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[7]++; - _$jscoverage['/scrollbar/render.js'].lineData[108]++; + _$jscoverage['/scrollbar/render.js'].functionData[6]++; + _$jscoverage['/scrollbar/render.js'].lineData[76]++; this.control.dragEl.style.left = v + 'px'; }, '_onSetDragTop': function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[8]++; - _$jscoverage['/scrollbar/render.js'].lineData[112]++; + _$jscoverage['/scrollbar/render.js'].functionData[7]++; + _$jscoverage['/scrollbar/render.js'].lineData[80]++; this.control.dragEl.style.top = v + 'px'; }}; - _$jscoverage['/scrollbar/render.js'].lineData[116]++; - var transformProperty = S.Features.getTransformProperty(); - _$jscoverage['/scrollbar/render.js'].lineData[118]++; - if (visit23_118_1(supportCss3)) { - _$jscoverage['/scrollbar/render.js'].lineData[119]++; + _$jscoverage['/scrollbar/render.js'].lineData[85]++; + if (visit27_85_1(supportCss3)) { + _$jscoverage['/scrollbar/render.js'].lineData[86]++; + var transformProperty = S.Features.getVendorCssPropName('transform'); + _$jscoverage['/scrollbar/render.js'].lineData[88]++; methods._onSetDragLeft = function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[9]++; - _$jscoverage['/scrollbar/render.js'].lineData[120]++; - this.control.dragEl.style[transformProperty] = 'translateX(' + v + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); + _$jscoverage['/scrollbar/render.js'].functionData[8]++; + _$jscoverage['/scrollbar/render.js'].lineData[89]++; + this.control.dragEl.style[transformProperty] = 'translateX(' + v + 'px)' + ' translateY(' + this.control.get('dragTop') + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; - _$jscoverage['/scrollbar/render.js'].lineData[124]++; + _$jscoverage['/scrollbar/render.js'].lineData[94]++; methods._onSetDragTop = function(v) { - _$jscoverage['/scrollbar/render.js'].functionData[10]++; - _$jscoverage['/scrollbar/render.js'].lineData[125]++; - this.control.dragEl.style[transformProperty] = 'translateY(' + v + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); + _$jscoverage['/scrollbar/render.js'].functionData[9]++; + _$jscoverage['/scrollbar/render.js'].lineData[95]++; + this.control.dragEl.style[transformProperty] = 'translateX(' + this.control.get('dragLeft') + 'px)' + ' translateY(' + v + 'px)' + (isTransform3dSupported ? ' translateZ(0)' : ''); }; } - _$jscoverage['/scrollbar/render.js'].lineData[130]++; + _$jscoverage['/scrollbar/render.js'].lineData[101]++; return Control.getDefaultRender().extend(methods, { ATTRS: { contentTpl: { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js index a0cffe596e..d74d75b704 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js @@ -318,11 +318,11 @@ if (! _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2] = new BranchData(); } _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2].init(165, 29, 'typeof module !== "undefined"'); -function visit25_9_2(result) { +function visit29_9_2(result) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2].ranCondition(result); return result; }_$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][1].init(165, 45, 'typeof module !== "undefined" && module.kissy'); -function visit24_9_1(result) { +function visit28_9_1(result) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[2]++; @@ -334,7 +334,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[5]++; var buffer = "", config = this.config, engine = this, moduleWrap, utils = config.utils; _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[9]++; - if (visit24_9_1(visit25_9_2(typeof module !== "undefined") && module.kissy)) { + if (visit28_9_1(visit29_9_2(typeof module !== "undefined") && module.kissy)) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[10]++; moduleWrap = module; } diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js index b5a83aaf72..822c37e4d7 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js @@ -87,12 +87,12 @@ KISSY.add(function (S, require) { self.$trackEl.on(Gesture.start, self.onTrackElMouseDown, self); self.$dragEl.on('dragstart', preventDefault) .on(Gesture.start, onDragStartHandler, self); - scrollView - .on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, - self.afterScrollChange, self) - .on('scrollEnd' + SCROLLBAR_EVENT_NS, self.onScrollEnd, self) - .on('afterDisabledChange', self.onScrollViewDisabled, self); } + scrollView + .on(self.afterScrollChangeEvent + SCROLLBAR_EVENT_NS, + self.afterScrollChange, self) + .on('scrollEnd' + SCROLLBAR_EVENT_NS, self.onScrollEnd, self) + .on('afterDisabledChange', self.onScrollViewDisabled, self); }, destructor: function () { @@ -178,6 +178,43 @@ KISSY.add(function (S, require) { } }, + fullSync: function (ignoreWH) { + var control = this, + scrollType = control.scrollType, + scrollView = control.scrollView, + dragLTProperty = control.dragLTProperty, + dragWHProperty = control.dragWHProperty, + trackElSize = control.trackElSize, + barSize = control.barSize, + contentSize = control.scrollLength, + val = scrollView.get(control.scrollProperty), + maxScrollOffset = scrollView.maxScroll, + minScrollOffset = scrollView.minScroll, + minScroll = minScrollOffset[scrollType], + maxScroll = maxScrollOffset[scrollType], + dragVal; + if (val > maxScroll) { + dragVal = maxScroll / contentSize * trackElSize; + if (!ignoreWH) { + control.set(dragWHProperty, barSize - (val - maxScroll)); + } + // dragSizeAxis has minLength + control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); + } else if (val < minScroll) { + dragVal = minScroll / contentSize * trackElSize; + if (!ignoreWH) { + control.set(dragWHProperty, barSize - (minScroll - val)); + } + control.set(dragLTProperty, dragVal); + } else { + dragVal = val / contentSize * trackElSize; + control.set(dragLTProperty, dragVal); + if (!ignoreWH) { + control.set(dragWHProperty, barSize); + } + } + }, + // percentage matters! afterScrollChange: function () { // only show when scroll @@ -191,13 +228,7 @@ KISSY.add(function (S, require) { if (self.hideFn && !scrollView.isScrolling) { self.startHideTimer(); } - self.view.syncOnScrollChange(); - }, - - _onSetDisabled: function (v) { - if (this.dd) { - this.dd.set('disabled', v); - } + self.fullSync(1); } }, { ATTRS: { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js index 86bba8999a..45162bb0e6 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js @@ -57,45 +57,13 @@ KISSY.add(function (S, require) { barSize = ratio * trackElSize; control.set(dragWHProperty, barSize); control.barSize = barSize; - self.syncOnScrollChange(); + control.fullSync(); control.set('visible', true); } else { control.set('visible', false); } }, - syncOnScrollChange: function () { - var self = this, - control = self.control, - scrollType = control.scrollType, - scrollView = control.scrollView, - dragLTProperty = control.dragLTProperty, - dragWHProperty = control.dragWHProperty, - trackElSize = control.trackElSize, - barSize = control.barSize, - contentSize = control.scrollLength, - val = scrollView.get(control.scrollProperty), - maxScrollOffset = scrollView.maxScroll, - minScrollOffset = scrollView.minScroll, - minScroll = minScrollOffset[scrollType], - maxScroll = maxScrollOffset[scrollType], - dragVal; - if (val > maxScroll) { - dragVal = maxScroll / contentSize * trackElSize; - control.set(dragWHProperty, barSize - (val - maxScroll)); - // dragSizeAxis has minLength - control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); - } else if (val < minScroll) { - dragVal = minScroll / contentSize * trackElSize; - control.set(dragWHProperty, barSize - (minScroll - val)); - control.set(dragLTProperty, dragVal); - } else { - dragVal = val / contentSize * trackElSize; - control.set(dragLTProperty, dragVal); - control.set(dragWHProperty, barSize); - } - }, - '_onSetDragHeight': function (v) { this.control.dragEl.style.height = v + 'px'; }, From 60438caa023b140b6935cd7eb3634d37408538bf Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 19:23:52 +0800 Subject: [PATCH 33/80] update scrollbar --- build/scroll-view/plugin/scrollbar-min.js | 36 ++-- build/scroll-view/plugin/scrollbar.js | 26 +-- .../scrollbar/coverage/src/scrollbar.js | 36 ++-- .../coverage/src/scrollbar/control.js | 188 ++++++++---------- .../coverage/src/scrollbar/render.js | 26 +-- .../coverage/src/scrollbar/scrollbar-xtpl.js | 6 +- .../plugin/scrollbar/src/scrollbar/control.js | 16 +- .../plugin/scrollbar/src/scrollbar/render.js | 8 +- 8 files changed, 150 insertions(+), 192 deletions(-) diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index adb73db84e..37edb0232b 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,23 +1,23 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 18:29 +build time: Feb 25 19:23 */ -KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl",[],function(){return function(e){var a;a=this.config.utils;var f=a.renderOutput,h=a.getProperty,g=a.runInlineCommand,d=a.getPropertyOrRunCommand;a='
\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); -KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(e,a){var f=a("component/control"),h=a("./scrollbar-xtpl"),g=e.Features.isTransform3dSupported(),d={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);e.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control;b.$dragEl=b.get("dragEl");b.$trackEl= -b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,d=b.scrollWHProperty,l=b.whProperty,e=b.clientWHProperty,g=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[d],c=b.trackElSize="width"===l?c.offsetWidth:c.offsetHeight,a=a[e]/b.scrollLength,a*=c,b.set(g,a),b.barSize=a,b.fullSync(),b.set("visible", -!0)):b.set("visible",!1)},_onSetDragHeight:function(a){this.control.dragEl.style.height=a+"px"},_onSetDragWidth:function(a){this.control.dragEl.style.width=a+"px"},_onSetDragLeft:function(a){this.control.dragEl.style.left=a+"px"},_onSetDragTop:function(a){this.control.dragEl.style.top=a+"px"}};if(!1!==e.Features.getVendorCssPropPrefix("transform")){var c=e.Features.getVendorCssPropName("transform");d._onSetDragLeft=function(a){this.control.dragEl.style[c]="translateX("+a+"px) translateY("+this.control.get("dragTop")+ -"px)"+(g?" translateZ(0)":"")};d._onSetDragTop=function(a){this.control.dragEl.style[c]="translateX("+this.control.get("dragLeft")+"px) translateY("+a+"px)"+(g?" translateZ(0)":"")}}return f.getDefaultRender().extend(d,{ATTRS:{contentTpl:{value:h}}})}); -KISSY.add("scroll-view/plugin/scrollbar/control",["node","component/control","./render"],function(e,a){function f(a){a.preventDefault()}function h(a){a.stopPropagation();a.isTouch||a.preventDefault();this.get("disabled")||(this.startMousePos=a[this.pageXyProperty],this.startScroll=this.scrollView.get(this.scrollProperty),b.on(j.move,g,this).on(j.end,d,this))}function g(a){var b=this.scrollView,c={};c[this.scrollType]=this.startScroll+(a[this.pageXyProperty]-this.startMousePos)/this.trackElSize*this.scrollLength; -b.scrollToWithBounds(c)}function d(){b.detach(j.move,g,this).detach(j.end,d,this)}var c=a("node"),b=c.all(document),i=a("component/control"),k=a("./render"),j=c.Gesture;return i.extend({initializer:function(){var a=this.scrollType="x"===this.get("axis")?"left":"top",b=e.ucfirst(a);this.pageXyProperty="left"===a?"pageX":"pageY";a=this.whProperty="left"===a?"width":"height";a=e.ucfirst(a);this.afterScrollChangeEvent="afterScroll"+b+"Change";this.scrollProperty="scroll"+b;this.dragWHProperty="drag"+ -a;this.dragLTProperty="drag"+b;this.clientWHProperty="client"+a;this.scrollWHProperty="scroll"+a},bindUI:function(){var a=this,b=a.get("autoHide"),c=a.get("scrollView");b?a.hideFn=e.bind(a.hide,a):(e.each([a.$downBtn,a.$upBtn],function(b){b.on(j.start,a.onUpDownBtnMouseDown,a).on(j.end,a.onUpDownBtnMouseUp,a)}),a.$trackEl.on(j.start,a.onTrackElMouseDown,a),a.$dragEl.on("dragstart",f).on(j.start,h,a));c.on(a.afterScrollChangeEvent+".ks-scrollbar",a.afterScrollChange,a).on("scrollEnd.ks-scrollbar", -a.onScrollEnd,a).on("afterDisabledChange",a.onScrollViewDisabled,a)},destructor:function(){this.get("scrollView").detach(".ks-scrollbar");this.clearHideTimer()},onScrollViewDisabled:function(a){this.set("disabled",a.newVal)},startHideTimer:function(){this.clearHideTimer();this.hideTimer=setTimeout(this.hideFn,1E3*this.get("hideDelay"))},clearHideTimer:function(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)},onUpDownBtnMouseDown:function(a){function b(){var a={};a[e]=c.get(d)+ -f*g;c.scrollToWithBounds(a)}if(!this.get("disabled")){a.halt();var c=this.scrollView,d=this.scrollProperty,e=this.scrollType,g=c.getScrollStep()[this.scrollType],a=a.target,f=a===this.downBtn||this.$downBtn.contains(a)?1:-1;clearInterval(this.mouseInterval);this.mouseInterval=setInterval(b,100);b()}},onTrackElMouseDown:function(a){if(!this.get("disabled")){var b=a.target,c=this.$dragEl;if(!(this.dragEl===b||c.contains(b))){var b=this.scrollType,c=this.scrollView,d=Math.max(0,(a[this.pageXyProperty]- -this.$trackEl.offset()[b]-this.barSize/2)/this.trackElSize),e={};e[b]=d*this.scrollLength;c.scrollToWithBounds(e);a.halt()}}},onUpDownBtnMouseUp:function(){clearInterval(this.mouseInterval)},onScrollEnd:function(){this.hideFn&&this.startHideTimer()},fullSync:function(a){var b=this.scrollType,c=this.scrollView,d=this.dragLTProperty,e=this.dragWHProperty,g=this.trackElSize,f=this.barSize,h=this.scrollLength,i=c.get(this.scrollProperty),j=c.minScroll[b],b=c.maxScroll[b];i>b?(g*=b/h,a||this.set(e,f-(i- -b)),this.set(d,g+f-this.get(e))):i\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); +KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(d,a){var f=a("component/control"),g=a("./scrollbar-xtpl"),h=d.Feature.isTransform3dSupported(),e={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);d.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control;b.$dragEl=b.get("dragEl");b.$trackEl= +b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,e=b.scrollWHProperty,l=b.whProperty,d=b.clientWHProperty,h=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[e],c=b.trackElSize="width"===l?c.offsetWidth:c.offsetHeight,a=a[d]/b.scrollLength,a*=c,b.set(h,a),b.barSize=a,b.syncOnScroll(),b.set("visible", +!0)):b.set("visible",!1)},_onSetDragHeight:function(a){this.control.dragEl.style.height=a+"px"},_onSetDragWidth:function(a){this.control.dragEl.style.width=a+"px"},_onSetDragLeft:function(a){this.control.dragEl.style.left=a+"px"},_onSetDragTop:function(a){this.control.dragEl.style.top=a+"px"}};if(!1!==d.Feature.getVendorCssPropPrefix("transform")){var c=d.Feature.getVendorCssPropName("transform");e._onSetDragLeft=function(a){this.control.dragEl.style[c]="translateX("+a+"px) translateY("+this.control.get("dragTop")+ +"px)"+(h?" translateZ(0)":"")};e._onSetDragTop=function(a){this.control.dragEl.style[c]="translateX("+this.control.get("dragLeft")+"px) translateY("+a+"px)"+(h?" translateZ(0)":"")}}return f.getDefaultRender().extend(e,{ATTRS:{contentTpl:{value:g}}})}); +KISSY.add("scroll-view/plugin/scrollbar/control",["node","component/control","./render"],function(d,a){function f(a){a.preventDefault()}function g(a){a.stopPropagation();a.isTouch||a.preventDefault();this.get("disabled")||(this.startMousePos=a[this.pageXyProperty],this.startScroll=this.scrollView.get(this.scrollProperty),b.on(j.move,h,this).on(j.end,e,this))}function h(a){var b=this.scrollView,c={};c[this.scrollType]=this.startScroll+(a[this.pageXyProperty]-this.startMousePos)/this.trackElSize*this.scrollLength; +b.scrollToWithBounds(c)}function e(){b.detach(j.move,h,this).detach(j.end,e,this)}var c=a("node"),b=c.all(document),i=a("component/control"),k=a("./render"),j=c.Gesture;return i.extend({initializer:function(){var a=this.scrollType="x"===this.get("axis")?"left":"top",b=d.ucfirst(a);this.pageXyProperty="left"===a?"pageX":"pageY";a=this.whProperty="left"===a?"width":"height";a=d.ucfirst(a);this.afterScrollChangeEvent="afterScroll"+b+"Change";this.scrollProperty="scroll"+b;this.dragWHProperty="drag"+ +a;this.dragLTProperty="drag"+b;this.clientWHProperty="client"+a;this.scrollWHProperty="scroll"+a},bindUI:function(){var a=this,b=a.get("autoHide"),c=a.get("scrollView");b?a.hideFn=d.bind(a.hide,a):(d.each([a.$downBtn,a.$upBtn],function(b){b.on(j.start,a.onUpDownBtnMouseDown,a).on(j.end,a.onUpDownBtnMouseUp,a)}),a.$trackEl.on(j.start,a.onTrackElMouseDown,a),a.$dragEl.on("dragstart",f).on(j.start,g,a));c.on(a.afterScrollChangeEvent+".ks-scrollbar",a.afterScrollChange,a).on("scrollEnd.ks-scrollbar", +a.onScrollEnd,a).on("afterDisabledChange",a.onScrollViewDisabled,a)},destructor:function(){this.get("scrollView").detach(".ks-scrollbar");this.clearHideTimer()},onScrollViewDisabled:function(a){this.set("disabled",a.newVal)},startHideTimer:function(){this.clearHideTimer();this.hideTimer=setTimeout(this.hideFn,1E3*this.get("hideDelay"))},clearHideTimer:function(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)},onUpDownBtnMouseDown:function(a){function b(){var a={};a[d]=c.get(e)+ +f*h;c.scrollToWithBounds(a)}if(!this.get("disabled")){a.halt();var c=this.scrollView,e=this.scrollProperty,d=this.scrollType,h=c.getScrollStep()[this.scrollType],a=a.target,f=a===this.downBtn||this.$downBtn.contains(a)?1:-1;clearInterval(this.mouseInterval);this.mouseInterval=setInterval(b,100);b()}},onTrackElMouseDown:function(a){if(!this.get("disabled")){var b=a.target,c=this.$dragEl;if(!(this.dragEl===b||c.contains(b))){var b=this.scrollType,c=this.scrollView,e=Math.max(0,(a[this.pageXyProperty]- +this.$trackEl.offset()[b]-this.barSize/2)/this.trackElSize),d={};d[b]=e*this.scrollLength;c.scrollToWithBounds(d);a.halt()}}},onUpDownBtnMouseUp:function(){clearInterval(this.mouseInterval)},onScrollEnd:function(){this.hideFn&&this.startHideTimer()},syncOnScroll:function(){var a=this.scrollType,b=this.scrollView,c=this.dragLTProperty,e=this.dragWHProperty,d=this.trackElSize,h=this.barSize,f=this.scrollLength,g=b.get(this.scrollProperty),i=b.minScroll[a],a=b.maxScroll[a];g>a?(d*=a/f,this.set(e,h-(g- +a)),this.set(c,d+h-this.get(e))):g maxScroll) { dragVal = maxScroll / contentSize * trackElSize; - if(!ignoreWH) { - control.set(dragWHProperty, barSize - (val - maxScroll)) - } + control.set(dragWHProperty, barSize - (val - maxScroll)); control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)) }else { if(val < minScroll) { dragVal = minScroll / contentSize * trackElSize; - if(!ignoreWH) { - control.set(dragWHProperty, barSize - (minScroll - val)) - } + control.set(dragWHProperty, barSize - (minScroll - val)); control.set(dragLTProperty, dragVal) }else { dragVal = val / contentSize * trackElSize; control.set(dragLTProperty, dragVal); - if(!ignoreWH) { - control.set(dragWHProperty, barSize) - } + control.set(dragWHProperty, barSize) } } }, afterScrollChange:function() { @@ -286,7 +280,7 @@ KISSY.add("scroll-view/plugin/scrollbar/control", ["node", "component/control", if(self.hideFn && !scrollView.isScrolling) { self.startHideTimer() } - self.fullSync(1) + self.syncOnScroll() }}, {ATTRS:{minLength:{value:MIN_BAR_LENGTH}, scrollView:{}, axis:{view:1}, autoHide:{value:S.UA.ios}, visible:{valueFn:function() { return!this.get("autoHide") }}, hideDelay:{value:0.1}, dragWidth:{setter:function(v) { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js index 2d89278909..763df0868e 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar.js @@ -291,39 +291,39 @@ if (! _$jscoverage['/scrollbar.js'].branchData) { _$jscoverage['/scrollbar.js'].branchData['63'][1] = new BranchData(); } _$jscoverage['/scrollbar.js'].branchData['63'][1].init(178, 15, 'self.scrollBarY'); -function visit38_63_1(result) { +function visit35_63_1(result) { _$jscoverage['/scrollbar.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['59'][1].init(46, 15, 'self.scrollBarX'); -function visit37_59_1(result) { +function visit34_59_1(result) { _$jscoverage['/scrollbar.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['50'][1].init(93, 23, 'autoHideY !== undefined'); -function visit36_50_1(result) { +function visit33_50_1(result) { _$jscoverage['/scrollbar.js'].branchData['50'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['46'][1].init(992, 26, 'scrollView.allowScroll.top'); -function visit35_46_1(result) { +function visit32_46_1(result) { _$jscoverage['/scrollbar.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['44'][1].init(909, 15, 'self.scrollBarY'); -function visit34_44_1(result) { +function visit31_44_1(result) { _$jscoverage['/scrollbar.js'].branchData['44'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['38'][1].init(93, 23, 'autoHideX !== undefined'); -function visit33_38_1(result) { +function visit30_38_1(result) { _$jscoverage['/scrollbar.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['34'][1].init(589, 27, 'scrollView.allowScroll.left'); -function visit32_34_1(result) { +function visit29_34_1(result) { _$jscoverage['/scrollbar.js'].branchData['34'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['32'][1].init(506, 15, 'self.scrollBarX'); -function visit31_32_1(result) { +function visit28_32_1(result) { _$jscoverage['/scrollbar.js'].branchData['32'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].branchData['28'][1].init(405, 23, 'minLength !== undefined'); -function visit30_28_1(result) { +function visit27_28_1(result) { _$jscoverage['/scrollbar.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar.js'].lineData[6]++; @@ -353,22 +353,22 @@ KISSY.add(function(S, require) { scrollView: scrollView, elBefore: scrollView.$contentEl}; _$jscoverage['/scrollbar.js'].lineData[28]++; - if (visit30_28_1(minLength !== undefined)) { + if (visit27_28_1(minLength !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[29]++; cfg.minLength = minLength; } _$jscoverage['/scrollbar.js'].lineData[32]++; - if (visit31_32_1(self.scrollBarX)) { + if (visit28_32_1(self.scrollBarX)) { _$jscoverage['/scrollbar.js'].lineData[33]++; self.scrollBarX.sync(); } else { _$jscoverage['/scrollbar.js'].lineData[34]++; - if (visit32_34_1(scrollView.allowScroll.left)) { + if (visit29_34_1(scrollView.allowScroll.left)) { _$jscoverage['/scrollbar.js'].lineData[35]++; my = { axis: 'x'}; _$jscoverage['/scrollbar.js'].lineData[38]++; - if (visit33_38_1(autoHideX !== undefined)) { + if (visit30_38_1(autoHideX !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[39]++; cfg.autoHide = autoHideX; } @@ -377,17 +377,17 @@ KISSY.add(function(S, require) { } } _$jscoverage['/scrollbar.js'].lineData[44]++; - if (visit34_44_1(self.scrollBarY)) { + if (visit31_44_1(self.scrollBarY)) { _$jscoverage['/scrollbar.js'].lineData[45]++; self.scrollBarY.sync(); } else { _$jscoverage['/scrollbar.js'].lineData[46]++; - if (visit35_46_1(scrollView.allowScroll.top)) { + if (visit32_46_1(scrollView.allowScroll.top)) { _$jscoverage['/scrollbar.js'].lineData[47]++; my = { axis: 'y'}; _$jscoverage['/scrollbar.js'].lineData[50]++; - if (visit36_50_1(autoHideY !== undefined)) { + if (visit33_50_1(autoHideY !== undefined)) { _$jscoverage['/scrollbar.js'].lineData[51]++; cfg.autoHide = autoHideY; } @@ -401,14 +401,14 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar.js'].lineData[58]++; var self = this; _$jscoverage['/scrollbar.js'].lineData[59]++; - if (visit37_59_1(self.scrollBarX)) { + if (visit34_59_1(self.scrollBarX)) { _$jscoverage['/scrollbar.js'].lineData[60]++; self.scrollBarX.destroy(); _$jscoverage['/scrollbar.js'].lineData[61]++; self.scrollBarX = null; } _$jscoverage['/scrollbar.js'].lineData[63]++; - if (visit38_63_1(self.scrollBarY)) { + if (visit35_63_1(self.scrollBarY)) { _$jscoverage['/scrollbar.js'].lineData[64]++; self.scrollBarY.destroy(); _$jscoverage['/scrollbar.js'].lineData[65]++; diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js index f0d49284eb..a930147f5d 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/control.js @@ -317,35 +317,32 @@ if (! _$jscoverage['/scrollbar/control.js']) { _$jscoverage['/scrollbar/control.js'].lineData[196] = 0; _$jscoverage['/scrollbar/control.js'].lineData[197] = 0; _$jscoverage['/scrollbar/control.js'].lineData[198] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[199] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[200] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[201] = 0; _$jscoverage['/scrollbar/control.js'].lineData[202] = 0; _$jscoverage['/scrollbar/control.js'].lineData[203] = 0; _$jscoverage['/scrollbar/control.js'].lineData[204] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[205] = 0; _$jscoverage['/scrollbar/control.js'].lineData[206] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[207] = 0; _$jscoverage['/scrollbar/control.js'].lineData[208] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[210] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[211] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[212] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[213] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[215] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[216] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[217] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[218] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[220] = 0; _$jscoverage['/scrollbar/control.js'].lineData[221] = 0; _$jscoverage['/scrollbar/control.js'].lineData[222] = 0; _$jscoverage['/scrollbar/control.js'].lineData[223] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[224] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[226] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[227] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[228] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[229] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[231] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[268] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[285] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[287] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[288] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[290] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[297] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[298] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[299] = 0; - _$jscoverage['/scrollbar/control.js'].lineData[301] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[225] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[262] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[279] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[281] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[282] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[284] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[291] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[292] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[293] = 0; + _$jscoverage['/scrollbar/control.js'].lineData[295] = 0; } if (! _$jscoverage['/scrollbar/control.js'].functionData) { _$jscoverage['/scrollbar/control.js'].functionData = []; @@ -402,54 +399,36 @@ if (! _$jscoverage['/scrollbar/control.js'].branchData) { _$jscoverage['/scrollbar/control.js'].branchData['176'][1] = new BranchData(); _$jscoverage['/scrollbar/control.js'].branchData['196'] = []; _$jscoverage['/scrollbar/control.js'].branchData['196'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['198'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['198'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['203'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['203'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['205'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['205'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['212'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['212'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['223'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['223'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['228'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['228'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['287'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['287'][1] = new BranchData(); - _$jscoverage['/scrollbar/control.js'].branchData['298'] = []; - _$jscoverage['/scrollbar/control.js'].branchData['298'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['201'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['201'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['217'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['217'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['222'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['222'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['281'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['281'][1] = new BranchData(); + _$jscoverage['/scrollbar/control.js'].branchData['292'] = []; + _$jscoverage['/scrollbar/control.js'].branchData['292'][1] = new BranchData(); } -_$jscoverage['/scrollbar/control.js'].branchData['298'][1].init(84, 13, 'v < minLength'); -function visit23_298_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['298'][1].ranCondition(result); +_$jscoverage['/scrollbar/control.js'].branchData['292'][1].init(84, 13, 'v < minLength'); +function visit20_292_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['292'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['287'][1].init(85, 13, 'v < minLength'); -function visit22_287_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['287'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['281'][1].init(85, 13, 'v < minLength'); +function visit19_281_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['281'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['228'][1].init(301, 38, 'self.hideFn && !scrollView.isScrolling'); -function visit21_228_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['228'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['222'][1].init(301, 38, 'self.hideFn && !scrollView.isScrolling'); +function visit18_222_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['222'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['223'][1].init(129, 40, '!scrollView.allowScroll[self.scrollType]'); -function visit20_223_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['223'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['217'][1].init(129, 40, '!scrollView.allowScroll[self.scrollType]'); +function visit17_217_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['217'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/control.js'].branchData['212'][1].init(134, 9, '!ignoreWH'); -function visit19_212_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['212'][1].ranCondition(result); - return result; -}_$jscoverage['/scrollbar/control.js'].branchData['205'][1].init(86, 9, '!ignoreWH'); -function visit18_205_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['205'][1].ranCondition(result); - return result; -}_$jscoverage['/scrollbar/control.js'].branchData['203'][1].init(1097, 15, 'val < minScroll'); -function visit17_203_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['203'][1].ranCondition(result); - return result; -}_$jscoverage['/scrollbar/control.js'].branchData['198'][1].init(86, 9, '!ignoreWH'); -function visit16_198_1(result) { - _$jscoverage['/scrollbar/control.js'].branchData['198'][1].ranCondition(result); +}_$jscoverage['/scrollbar/control.js'].branchData['201'][1].init(1042, 15, 'val < minScroll'); +function visit16_201_1(result) { + _$jscoverage['/scrollbar/control.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/control.js'].branchData['196'][1].init(720, 15, 'val > maxScroll'); function visit15_196_1(result) { @@ -731,7 +710,7 @@ KISSY.add(function(S, require) { self.startHideTimer(); } }, - fullSync: function(ignoreWH) { + syncOnScroll: function() { _$jscoverage['/scrollbar/control.js'].functionData[17]++; _$jscoverage['/scrollbar/control.js'].lineData[182]++; var control = this, scrollType = control.scrollType, scrollView = control.scrollView, dragLTProperty = control.dragLTProperty, dragWHProperty = control.dragWHProperty, trackElSize = control.trackElSize, barSize = control.barSize, contentSize = control.scrollLength, val = scrollView.get(control.scrollProperty), maxScrollOffset = scrollView.maxScroll, minScrollOffset = scrollView.minScroll, minScroll = minScrollOffset[scrollType], maxScroll = maxScrollOffset[scrollType], dragVal; @@ -740,59 +719,50 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/control.js'].lineData[197]++; dragVal = maxScroll / contentSize * trackElSize; _$jscoverage['/scrollbar/control.js'].lineData[198]++; - if (visit16_198_1(!ignoreWH)) { - _$jscoverage['/scrollbar/control.js'].lineData[199]++; - control.set(dragWHProperty, barSize - (val - maxScroll)); - } - _$jscoverage['/scrollbar/control.js'].lineData[202]++; + control.set(dragWHProperty, barSize - (val - maxScroll)); + _$jscoverage['/scrollbar/control.js'].lineData[200]++; control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); } else { - _$jscoverage['/scrollbar/control.js'].lineData[203]++; - if (visit17_203_1(val < minScroll)) { - _$jscoverage['/scrollbar/control.js'].lineData[204]++; + _$jscoverage['/scrollbar/control.js'].lineData[201]++; + if (visit16_201_1(val < minScroll)) { + _$jscoverage['/scrollbar/control.js'].lineData[202]++; dragVal = minScroll / contentSize * trackElSize; - _$jscoverage['/scrollbar/control.js'].lineData[205]++; - if (visit18_205_1(!ignoreWH)) { - _$jscoverage['/scrollbar/control.js'].lineData[206]++; - control.set(dragWHProperty, barSize - (minScroll - val)); - } - _$jscoverage['/scrollbar/control.js'].lineData[208]++; + _$jscoverage['/scrollbar/control.js'].lineData[203]++; + control.set(dragWHProperty, barSize - (minScroll - val)); + _$jscoverage['/scrollbar/control.js'].lineData[204]++; control.set(dragLTProperty, dragVal); } else { - _$jscoverage['/scrollbar/control.js'].lineData[210]++; + _$jscoverage['/scrollbar/control.js'].lineData[206]++; dragVal = val / contentSize * trackElSize; - _$jscoverage['/scrollbar/control.js'].lineData[211]++; + _$jscoverage['/scrollbar/control.js'].lineData[207]++; control.set(dragLTProperty, dragVal); - _$jscoverage['/scrollbar/control.js'].lineData[212]++; - if (visit19_212_1(!ignoreWH)) { - _$jscoverage['/scrollbar/control.js'].lineData[213]++; - control.set(dragWHProperty, barSize); - } + _$jscoverage['/scrollbar/control.js'].lineData[208]++; + control.set(dragWHProperty, barSize); } } }, afterScrollChange: function() { _$jscoverage['/scrollbar/control.js'].functionData[18]++; - _$jscoverage['/scrollbar/control.js'].lineData[221]++; + _$jscoverage['/scrollbar/control.js'].lineData[215]++; var self = this; - _$jscoverage['/scrollbar/control.js'].lineData[222]++; + _$jscoverage['/scrollbar/control.js'].lineData[216]++; var scrollView = self.scrollView; - _$jscoverage['/scrollbar/control.js'].lineData[223]++; - if (visit20_223_1(!scrollView.allowScroll[self.scrollType])) { - _$jscoverage['/scrollbar/control.js'].lineData[224]++; + _$jscoverage['/scrollbar/control.js'].lineData[217]++; + if (visit17_217_1(!scrollView.allowScroll[self.scrollType])) { + _$jscoverage['/scrollbar/control.js'].lineData[218]++; return; } - _$jscoverage['/scrollbar/control.js'].lineData[226]++; + _$jscoverage['/scrollbar/control.js'].lineData[220]++; self.clearHideTimer(); - _$jscoverage['/scrollbar/control.js'].lineData[227]++; + _$jscoverage['/scrollbar/control.js'].lineData[221]++; self.set('visible', true); - _$jscoverage['/scrollbar/control.js'].lineData[228]++; - if (visit21_228_1(self.hideFn && !scrollView.isScrolling)) { - _$jscoverage['/scrollbar/control.js'].lineData[229]++; + _$jscoverage['/scrollbar/control.js'].lineData[222]++; + if (visit18_222_1(self.hideFn && !scrollView.isScrolling)) { + _$jscoverage['/scrollbar/control.js'].lineData[223]++; self.startHideTimer(); } - _$jscoverage['/scrollbar/control.js'].lineData[231]++; - self.fullSync(1); + _$jscoverage['/scrollbar/control.js'].lineData[225]++; + self.syncOnScroll(); }}, { ATTRS: { minLength: { @@ -805,7 +775,7 @@ KISSY.add(function(S, require) { visible: { valueFn: function() { _$jscoverage['/scrollbar/control.js'].functionData[19]++; - _$jscoverage['/scrollbar/control.js'].lineData[268]++; + _$jscoverage['/scrollbar/control.js'].lineData[262]++; return !this.get('autoHide'); }}, hideDelay: { @@ -813,28 +783,28 @@ KISSY.add(function(S, require) { dragWidth: { setter: function(v) { _$jscoverage['/scrollbar/control.js'].functionData[20]++; - _$jscoverage['/scrollbar/control.js'].lineData[285]++; + _$jscoverage['/scrollbar/control.js'].lineData[279]++; var minLength = this.get('minLength'); - _$jscoverage['/scrollbar/control.js'].lineData[287]++; - if (visit22_287_1(v < minLength)) { - _$jscoverage['/scrollbar/control.js'].lineData[288]++; + _$jscoverage['/scrollbar/control.js'].lineData[281]++; + if (visit19_281_1(v < minLength)) { + _$jscoverage['/scrollbar/control.js'].lineData[282]++; return minLength; } - _$jscoverage['/scrollbar/control.js'].lineData[290]++; + _$jscoverage['/scrollbar/control.js'].lineData[284]++; return v; }, view: 1}, dragHeight: { setter: function(v) { _$jscoverage['/scrollbar/control.js'].functionData[21]++; - _$jscoverage['/scrollbar/control.js'].lineData[297]++; + _$jscoverage['/scrollbar/control.js'].lineData[291]++; var minLength = this.get('minLength'); - _$jscoverage['/scrollbar/control.js'].lineData[298]++; - if (visit23_298_1(v < minLength)) { - _$jscoverage['/scrollbar/control.js'].lineData[299]++; + _$jscoverage['/scrollbar/control.js'].lineData[292]++; + if (visit20_292_1(v < minLength)) { + _$jscoverage['/scrollbar/control.js'].lineData[293]++; return minLength; } - _$jscoverage['/scrollbar/control.js'].lineData[301]++; + _$jscoverage['/scrollbar/control.js'].lineData[295]++; return v; }, view: 1}, diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js index 3a94899dd0..d16f7f5a64 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js @@ -294,20 +294,20 @@ if (! _$jscoverage['/scrollbar/render.js'].branchData) { _$jscoverage['/scrollbar/render.js'].branchData['85'] = []; _$jscoverage['/scrollbar/render.js'].branchData['85'][1] = new BranchData(); } -_$jscoverage['/scrollbar/render.js'].branchData['85'][1].init(2951, 11, 'supportCss3'); -function visit27_85_1(result) { +_$jscoverage['/scrollbar/render.js'].branchData['85'][1].init(2953, 11, 'supportCss3'); +function visit24_85_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['85'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/render.js'].branchData['55'][1].init(41, 22, 'whProperty === \'width\''); -function visit26_55_1(result) { +function visit23_55_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['55'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/render.js'].branchData['52'][1].init(537, 42, 'scrollView.allowScroll[control.scrollType]'); -function visit25_52_1(result) { +function visit22_52_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['52'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/render.js'].branchData['12'][1].init(253, 56, 'S.Features.getVendorCssPropPrefix(\'transform\') !== false'); -function visit24_12_1(result) { +}_$jscoverage['/scrollbar/render.js'].branchData['12'][1].init(252, 55, 'S.Feature.getVendorCssPropPrefix(\'transform\') !== false'); +function visit21_12_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['12'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/render.js'].lineData[6]++; @@ -318,9 +318,9 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[8]++; var ScrollBarTpl = require('./scrollbar-xtpl'); _$jscoverage['/scrollbar/render.js'].lineData[9]++; - var isTransform3dSupported = S.Features.isTransform3dSupported(); + var isTransform3dSupported = S.Feature.isTransform3dSupported(); _$jscoverage['/scrollbar/render.js'].lineData[12]++; - var supportCss3 = visit24_12_1(S.Features.getVendorCssPropPrefix('transform') !== false); + var supportCss3 = visit21_12_1(S.Feature.getVendorCssPropPrefix('transform') !== false); _$jscoverage['/scrollbar/render.js'].lineData[14]++; var methods = { beforeCreateDom: function(renderData, childrenElSelectors) { @@ -362,11 +362,11 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[50]++; control.scrollView = scrollView; _$jscoverage['/scrollbar/render.js'].lineData[52]++; - if (visit25_52_1(scrollView.allowScroll[control.scrollType])) { + if (visit22_52_1(scrollView.allowScroll[control.scrollType])) { _$jscoverage['/scrollbar/render.js'].lineData[53]++; control.scrollLength = scrollView[scrollWHProperty]; _$jscoverage['/scrollbar/render.js'].lineData[54]++; - trackElSize = control.trackElSize = visit26_55_1(whProperty === 'width') ? trackEl.offsetWidth : trackEl.offsetHeight; + trackElSize = control.trackElSize = visit23_55_1(whProperty === 'width') ? trackEl.offsetWidth : trackEl.offsetHeight; _$jscoverage['/scrollbar/render.js'].lineData[56]++; ratio = scrollView[clientWHProperty] / control.scrollLength; _$jscoverage['/scrollbar/render.js'].lineData[57]++; @@ -376,7 +376,7 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[59]++; control.barSize = barSize; _$jscoverage['/scrollbar/render.js'].lineData[60]++; - control.fullSync(); + control.syncOnScroll(); _$jscoverage['/scrollbar/render.js'].lineData[61]++; control.set('visible', true); } else { @@ -405,9 +405,9 @@ KISSY.add(function(S, require) { this.control.dragEl.style.top = v + 'px'; }}; _$jscoverage['/scrollbar/render.js'].lineData[85]++; - if (visit27_85_1(supportCss3)) { + if (visit24_85_1(supportCss3)) { _$jscoverage['/scrollbar/render.js'].lineData[86]++; - var transformProperty = S.Features.getVendorCssPropName('transform'); + var transformProperty = S.Feature.getVendorCssPropName('transform'); _$jscoverage['/scrollbar/render.js'].lineData[88]++; methods._onSetDragLeft = function(v) { _$jscoverage['/scrollbar/render.js'].functionData[8]++; diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js index d74d75b704..b77f12ceef 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/scrollbar-xtpl.js @@ -318,11 +318,11 @@ if (! _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2] = new BranchData(); } _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2].init(165, 29, 'typeof module !== "undefined"'); -function visit29_9_2(result) { +function visit26_9_2(result) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][2].ranCondition(result); return result; }_$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][1].init(165, 45, 'typeof module !== "undefined" && module.kissy'); -function visit28_9_1(result) { +function visit25_9_1(result) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].branchData['9'][1].ranCondition(result); return result; }_$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[2]++; @@ -334,7 +334,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[5]++; var buffer = "", config = this.config, engine = this, moduleWrap, utils = config.utils; _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[9]++; - if (visit28_9_1(visit29_9_2(typeof module !== "undefined") && module.kissy)) { + if (visit25_9_1(visit26_9_2(typeof module !== "undefined") && module.kissy)) { _$jscoverage['/scrollbar/scrollbar-xtpl.js'].lineData[10]++; moduleWrap = module; } diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js index 822c37e4d7..41bb5a5b11 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/control.js @@ -178,7 +178,7 @@ KISSY.add(function (S, require) { } }, - fullSync: function (ignoreWH) { + syncOnScroll: function () { var control = this, scrollType = control.scrollType, scrollView = control.scrollView, @@ -195,23 +195,17 @@ KISSY.add(function (S, require) { dragVal; if (val > maxScroll) { dragVal = maxScroll / contentSize * trackElSize; - if (!ignoreWH) { - control.set(dragWHProperty, barSize - (val - maxScroll)); - } + control.set(dragWHProperty, barSize - (val - maxScroll)); // dragSizeAxis has minLength control.set(dragLTProperty, dragVal + barSize - control.get(dragWHProperty)); } else if (val < minScroll) { dragVal = minScroll / contentSize * trackElSize; - if (!ignoreWH) { - control.set(dragWHProperty, barSize - (minScroll - val)); - } + control.set(dragWHProperty, barSize - (minScroll - val)); control.set(dragLTProperty, dragVal); } else { dragVal = val / contentSize * trackElSize; control.set(dragLTProperty, dragVal); - if (!ignoreWH) { - control.set(dragWHProperty, barSize); - } + control.set(dragWHProperty, barSize); } }, @@ -228,7 +222,7 @@ KISSY.add(function (S, require) { if (self.hideFn && !scrollView.isScrolling) { self.startHideTimer(); } - self.fullSync(1); + self.syncOnScroll(); } }, { ATTRS: { diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js index 45162bb0e6..d88c9333b0 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js @@ -6,10 +6,10 @@ KISSY.add(function (S, require) { var Control = require('component/control'); var ScrollBarTpl = require('./scrollbar-xtpl'); - var isTransform3dSupported = S.Features.isTransform3dSupported(); + var isTransform3dSupported = S.Feature.isTransform3dSupported(); // http://www.html5rocks.com/en/tutorials/speed/html5/ - var supportCss3 = S.Features.getVendorCssPropPrefix('transform') !== false; + var supportCss3 = S.Feature.getVendorCssPropPrefix('transform') !== false; var methods = { beforeCreateDom: function (renderData, childrenElSelectors) { @@ -57,7 +57,7 @@ KISSY.add(function (S, require) { barSize = ratio * trackElSize; control.set(dragWHProperty, barSize); control.barSize = barSize; - control.fullSync(); + control.syncOnScroll(); control.set('visible', true); } else { control.set('visible', false); @@ -83,7 +83,7 @@ KISSY.add(function (S, require) { if (supportCss3) { - var transformProperty = S.Features.getVendorCssPropName('transform'); + var transformProperty = S.Feature.getVendorCssPropName('transform'); methods._onSetDragLeft = function (v) { this.control.dragEl.style[transformProperty] = 'translateX(' + v + 'px)' + From 5874098596d3aad30dae3b30a893424ac7d0069e Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 20:26:41 +0800 Subject: [PATCH 34/80] update scrollbar --- build/scroll-view/plugin/scrollbar-min.js | 6 +++--- build/scroll-view/plugin/scrollbar.js | 8 ++++---- .../plugin/scrollbar/coverage/src/scrollbar/render.js | 10 +++++----- .../plugin/scrollbar/src/scrollbar/render.js | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index 37edb0232b..483100ff1e 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,15 +1,15 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 19:23 +build time: Feb 25 20:26 */ KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl",[],function(){return function(d){var a;a=this.config.utils;var f=a.renderOutput,g=a.getProperty,h=a.runInlineCommand,e=a.getPropertyOrRunCommand;a='
\n up\n
\n
\n down\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'}}); -KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(d,a){var f=a("component/control"),g=a("./scrollbar-xtpl"),h=d.Feature.isTransform3dSupported(),e={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);d.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control;b.$dragEl=b.get("dragEl");b.$trackEl= +KISSY.add("scroll-view/plugin/scrollbar/render",["component/control","./scrollbar-xtpl"],function(d,a){var f=a("component/control"),g=a("./scrollbar-xtpl"),h=d.Features.isTransform3dSupported(),e={beforeCreateDom:function(b,a){b.elCls.push(b.prefixCls+"scrollbar-"+b.axis);d.mix(a,{dragEl:"#ks-scrollbar-drag-{id}",downBtn:"#ks-scrollbar-arrow-down-{id}",upBtn:"#ks-scrollbar-arrow-up-{id}",trackEl:"#ks-scrollbar-track-{id}"})},createDom:function(){var b=this.control;b.$dragEl=b.get("dragEl");b.$trackEl= b.get("trackEl");b.$downBtn=b.get("downBtn");b.$upBtn=b.get("upBtn");b.dragEl=b.$dragEl[0];b.trackEl=b.$trackEl[0];b.downBtn=b.$downBtn[0];b.upBtn=b.$upBtn[0]},syncUI:function(){var b=this.control,a=b.get("scrollView"),c=b.trackEl,e=b.scrollWHProperty,l=b.whProperty,d=b.clientWHProperty,h=b.dragWHProperty;b.scrollView=a;a.allowScroll[b.scrollType]?(b.scrollLength=a[e],c=b.trackElSize="width"===l?c.offsetWidth:c.offsetHeight,a=a[d]/b.scrollLength,a*=c,b.set(h,a),b.barSize=a,b.syncOnScroll(),b.set("visible", -!0)):b.set("visible",!1)},_onSetDragHeight:function(a){this.control.dragEl.style.height=a+"px"},_onSetDragWidth:function(a){this.control.dragEl.style.width=a+"px"},_onSetDragLeft:function(a){this.control.dragEl.style.left=a+"px"},_onSetDragTop:function(a){this.control.dragEl.style.top=a+"px"}};if(!1!==d.Feature.getVendorCssPropPrefix("transform")){var c=d.Feature.getVendorCssPropName("transform");e._onSetDragLeft=function(a){this.control.dragEl.style[c]="translateX("+a+"px) translateY("+this.control.get("dragTop")+ +!0)):b.set("visible",!1)},_onSetDragHeight:function(a){this.control.dragEl.style.height=a+"px"},_onSetDragWidth:function(a){this.control.dragEl.style.width=a+"px"},_onSetDragLeft:function(a){this.control.dragEl.style.left=a+"px"},_onSetDragTop:function(a){this.control.dragEl.style.top=a+"px"}};if(!1!==d.Features.getVendorCssPropPrefix("transform")){var c=d.Features.getVendorCssPropName("transform");e._onSetDragLeft=function(a){this.control.dragEl.style[c]="translateX("+a+"px) translateY("+this.control.get("dragTop")+ "px)"+(h?" translateZ(0)":"")};e._onSetDragTop=function(a){this.control.dragEl.style[c]="translateX("+this.control.get("dragLeft")+"px) translateY("+a+"px)"+(h?" translateZ(0)":"")}}return f.getDefaultRender().extend(e,{ATTRS:{contentTpl:{value:g}}})}); KISSY.add("scroll-view/plugin/scrollbar/control",["node","component/control","./render"],function(d,a){function f(a){a.preventDefault()}function g(a){a.stopPropagation();a.isTouch||a.preventDefault();this.get("disabled")||(this.startMousePos=a[this.pageXyProperty],this.startScroll=this.scrollView.get(this.scrollProperty),b.on(j.move,h,this).on(j.end,e,this))}function h(a){var b=this.scrollView,c={};c[this.scrollType]=this.startScroll+(a[this.pageXyProperty]-this.startMousePos)/this.trackElSize*this.scrollLength; b.scrollToWithBounds(c)}function e(){b.detach(j.move,h,this).detach(j.end,e,this)}var c=a("node"),b=c.all(document),i=a("component/control"),k=a("./render"),j=c.Gesture;return i.extend({initializer:function(){var a=this.scrollType="x"===this.get("axis")?"left":"top",b=d.ucfirst(a);this.pageXyProperty="left"===a?"pageX":"pageY";a=this.whProperty="left"===a?"width":"height";a=d.ucfirst(a);this.afterScrollChangeEvent="afterScroll"+b+"Change";this.scrollProperty="scroll"+b;this.dragWHProperty="drag"+ diff --git a/build/scroll-view/plugin/scrollbar.js b/build/scroll-view/plugin/scrollbar.js index bc3f6e6e15..74230ae067 100644 --- a/build/scroll-view/plugin/scrollbar.js +++ b/build/scroll-view/plugin/scrollbar.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 19:23 +build time: Feb 25 20:26 */ /* Combined processedModules by KISSY Module Compiler: @@ -94,8 +94,8 @@ KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl", [], function(S, require KISSY.add("scroll-view/plugin/scrollbar/render", ["component/control", "./scrollbar-xtpl"], function(S, require) { var Control = require("component/control"); var ScrollBarTpl = require("./scrollbar-xtpl"); - var isTransform3dSupported = S.Feature.isTransform3dSupported(); - var supportCss3 = S.Feature.getVendorCssPropPrefix("transform") !== false; + var isTransform3dSupported = S.Features.isTransform3dSupported(); + var supportCss3 = S.Features.getVendorCssPropPrefix("transform") !== false; var methods = {beforeCreateDom:function(renderData, childrenElSelectors) { renderData.elCls.push(renderData.prefixCls + "scrollbar-" + renderData.axis); S.mix(childrenElSelectors, {dragEl:"#ks-scrollbar-drag-{id}", downBtn:"#ks-scrollbar-arrow-down-{id}", upBtn:"#ks-scrollbar-arrow-up-{id}", trackEl:"#ks-scrollbar-track-{id}"}) @@ -134,7 +134,7 @@ KISSY.add("scroll-view/plugin/scrollbar/render", ["component/control", "./scroll this.control.dragEl.style.top = v + "px" }}; if(supportCss3) { - var transformProperty = S.Feature.getVendorCssPropName("transform"); + var transformProperty = S.Features.getVendorCssPropName("transform"); methods._onSetDragLeft = function(v) { this.control.dragEl.style[transformProperty] = "translateX(" + v + "px)" + " translateY(" + this.control.get("dragTop") + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") }; diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js index d16f7f5a64..bf37059095 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/coverage/src/scrollbar/render.js @@ -294,7 +294,7 @@ if (! _$jscoverage['/scrollbar/render.js'].branchData) { _$jscoverage['/scrollbar/render.js'].branchData['85'] = []; _$jscoverage['/scrollbar/render.js'].branchData['85'][1] = new BranchData(); } -_$jscoverage['/scrollbar/render.js'].branchData['85'][1].init(2953, 11, 'supportCss3'); +_$jscoverage['/scrollbar/render.js'].branchData['85'][1].init(2955, 11, 'supportCss3'); function visit24_85_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['85'][1].ranCondition(result); return result; @@ -306,7 +306,7 @@ function visit23_55_1(result) { function visit22_52_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['52'][1].ranCondition(result); return result; -}_$jscoverage['/scrollbar/render.js'].branchData['12'][1].init(252, 55, 'S.Feature.getVendorCssPropPrefix(\'transform\') !== false'); +}_$jscoverage['/scrollbar/render.js'].branchData['12'][1].init(253, 56, 'S.Features.getVendorCssPropPrefix(\'transform\') !== false'); function visit21_12_1(result) { _$jscoverage['/scrollbar/render.js'].branchData['12'][1].ranCondition(result); return result; @@ -318,9 +318,9 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[8]++; var ScrollBarTpl = require('./scrollbar-xtpl'); _$jscoverage['/scrollbar/render.js'].lineData[9]++; - var isTransform3dSupported = S.Feature.isTransform3dSupported(); + var isTransform3dSupported = S.Features.isTransform3dSupported(); _$jscoverage['/scrollbar/render.js'].lineData[12]++; - var supportCss3 = visit21_12_1(S.Feature.getVendorCssPropPrefix('transform') !== false); + var supportCss3 = visit21_12_1(S.Features.getVendorCssPropPrefix('transform') !== false); _$jscoverage['/scrollbar/render.js'].lineData[14]++; var methods = { beforeCreateDom: function(renderData, childrenElSelectors) { @@ -407,7 +407,7 @@ KISSY.add(function(S, require) { _$jscoverage['/scrollbar/render.js'].lineData[85]++; if (visit24_85_1(supportCss3)) { _$jscoverage['/scrollbar/render.js'].lineData[86]++; - var transformProperty = S.Feature.getVendorCssPropName('transform'); + var transformProperty = S.Features.getVendorCssPropName('transform'); _$jscoverage['/scrollbar/render.js'].lineData[88]++; methods._onSetDragLeft = function(v) { _$jscoverage['/scrollbar/render.js'].functionData[8]++; diff --git a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js index d88c9333b0..4786235ecf 100644 --- a/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js +++ b/src/scroll-view/sub-modules/plugin/scrollbar/src/scrollbar/render.js @@ -6,10 +6,10 @@ KISSY.add(function (S, require) { var Control = require('component/control'); var ScrollBarTpl = require('./scrollbar-xtpl'); - var isTransform3dSupported = S.Feature.isTransform3dSupported(); + var isTransform3dSupported = S.Features.isTransform3dSupported(); // http://www.html5rocks.com/en/tutorials/speed/html5/ - var supportCss3 = S.Feature.getVendorCssPropPrefix('transform') !== false; + var supportCss3 = S.Features.getVendorCssPropPrefix('transform') !== false; var methods = { beforeCreateDom: function (renderData, childrenElSelectors) { @@ -83,7 +83,7 @@ KISSY.add(function (S, require) { if (supportCss3) { - var transformProperty = S.Feature.getVendorCssPropName('transform'); + var transformProperty = S.Features.getVendorCssPropName('transform'); methods._onSetDragLeft = function (v) { this.control.dragEl.style[transformProperty] = 'translateX(' + v + 'px)' + From 747c3c51cd45860e4e9f4d239b8db58122bed925 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Tue, 25 Feb 2014 20:58:25 +0800 Subject: [PATCH 35/80] rebuild --- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 6 +++--- build/scroll-view/base.js | 10 +++++----- build/scroll-view/drag-min.js | 4 ++-- build/scroll-view/drag.js | 4 ++-- build/scroll-view/plugin/pull-to-refresh-min.js | 4 ++-- build/scroll-view/plugin/pull-to-refresh.js | 4 ++-- build/scroll-view/plugin/scrollbar-min.js | 2 +- build/scroll-view/plugin/scrollbar.js | 2 +- .../sub-modules/base/coverage/src/base/render.js | 4 ++-- .../sub-modules/drag/coverage/src/drag.js | 4 ++-- .../pull-to-refresh/coverage/src/pull-to-refresh.js | 12 ++++++------ 15 files changed, 32 insertions(+), 32 deletions(-) diff --git a/build/scroll-view/assets/dpl-min.css b/build/scroll-view/assets/dpl-min.css index 83f3e9faca..b353823dcb 100644 --- a/build/scroll-view/assets/dpl-min.css +++ b/build/scroll-view/assets/dpl-min.css @@ -1,6 +1,6 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:08 +build time: Feb 25 20:58 */ .ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-y{right:0;height:100%}.ks-scrollbar-y-track,.ks-scrollbar-y-drag,.ks-scrollbar-y{width:6px}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{display:none}.ks-scrollbar-y-track{position:absolute;right:3px;top:0;bottom:0}.ks-ie6 .ks-scrollbar-y-track{height:expression(this.parentNode.clientHeight)}.ks-scrollbar-y-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-y-drag,.ks-ie7 .ks-scrollbar-y-drag,.ks-ie8 .ks-scrollbar-y-drag{filter:alpha(opacity=50)}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0}.ks-ie6 .ks-scrollbar-x-track{width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity=50)}.ks-scroll-view-pull-to-refresh{position:absolute;width:100%;top:-51px}.ks-scroll-view-pull-to-refresh-content{background:#fff;height:40px;line-height:40px;padding:5px 10px;border-bottom:1px solid #ccc;font-weight:bold;font-size:14px;color:#888}.ks-scroll-view-pull-icon{display:block;float:left;width:40px;height:40px;background:url(http://img01.taobaocdn.com/tps/i1/T1u0mQXDtaXXXjasMR-80-160.png) 0 0 no-repeat;-webkit-background-size:40px 80px;background-size:40px 80px;-webkit-transition-property:-webkit-transform;-webkit-transition-duration:250ms}.ks-scroll-view-pulling .ks-scroll-view-pull-icon{-webkit-transform:rotate(0deg) translateZ(0)}.ks-scroll-view-releasing .ks-scroll-view-pull-icon{-webkit-transform:rotate(-180deg) translateZ(0)}.ks-scroll-view-loading .ks-scroll-view-pull-icon{background-position:0 100%;-webkit-transform:rotate(0deg) translateZ(0);-webkit-transition-duration:0ms;-webkit-animation-name:loading;-webkit-animation-duration:2s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}@-webkit-keyframes loading{from{-webkit-transform:rotate(0deg) translateZ(0)}to{-webkit-transform:rotate(360deg) translateZ(0)}} diff --git a/build/scroll-view/assets/dpl.css b/build/scroll-view/assets/dpl.css index e564de2a08..5d820b17b9 100644 --- a/build/scroll-view/assets/dpl.css +++ b/build/scroll-view/assets/dpl.css @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:08 +build time: Feb 25 20:58 */ .ks-scroll-view { overflow: hidden !important; diff --git a/build/scroll-view/assets/nice-min.css b/build/scroll-view/assets/nice-min.css index 70ccf9c55c..05bddc1c40 100644 --- a/build/scroll-view/assets/nice-min.css +++ b/build/scroll-view/assets/nice-min.css @@ -1,6 +1,6 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:08 +build time: Feb 25 20:58 */ .ks-scroll-view{overflow:hidden!important;position:relative;cursor:default;outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-drag:none;-ms-touch-action:none}.ks-scroll-view-hidden{display:none}.ks-scroll-view-content{position:absolute;left:0;top:0;min-height:100%;min-width:100%;-webkit-user-drag:none}.ks-ie7 .ks-scroll-view-content{width:0;height:0}.ks-ie6 .ks-scroll-view-content{height:expression(Math.max(this.parentNode.clientHeight,this.scrollHeight));width:expression(Math.max(this.parentNode.clientWidth,this.scrollWidth))}.ks-scrollbar{z-index:9;position:absolute}.ks-scrollbar-y-track,.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down,.ks-scrollbar-y-drag,.ks-scrollbar-y,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{width:15px}.ks-scrollbar-y{top:0;right:0;bottom:0;_height:expression(this.parentNode.clientHeight);background-image:url(http://img02.taobaocdn.com/tps/i2/T1okQlXnJkXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-y-track{position:absolute;top:14px;bottom:14px;_height:expression(this.parentNode.clientHeight-28)}.ks-scrollbar-y-arrow-up,.ks-scrollbar-y-arrow-down{text-indent:-1000px;height:14px;font-size:0;position:absolute;overflow:visible}.ks-scrollbar-y-arrow-down a{margin-top:-10px;_margin-top:0}.ks-scrollbar-y-arrow-up a,.ks-scrollbar-y-arrow-down a{display:block;height:24px;background-repeat:no-repeat}.ks-scrollbar-y-arrow-up a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-125px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img04.taobaocdn.com/tps/i4/T1_FdaXE8cXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-arrow-up{top:0}.ks-scrollbar-y-arrow-down{bottom:0}.ks-scrollbar-y-arrow-down a{background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);background-position:-75px 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1tCdXXtRdXXcU.1HX-15-24.png');_ background-image:none}.ks-scrollbar-y-drag,.ks-scrollbar-y-drag-top,.ks-scrollbar-y-drag-bottom,.ks-scrollbar-y-drag-center{position:absolute}.ks-scrollbar-y-drag-top{top:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img02.taobaocdn.com/tps/i2/T1A0JaXAJbXXcbkuzX-15-10.png');_ background-image:none;background-position:-50px 0}.ks-scrollbar-y-drag-bottom{position:absolute;bottom:0;height:10px;overflow:hidden;background-image:url(http://img01.taobaocdn.com/tps/i1/T1l2..XkBgXXan3RTX-140-24.png);_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = 'http://img01.taobaocdn.com/tps/i1/T1Sk4XXB4cXXcbkuzX-15-10.png');_ background-image:none;background-position:0 0}.ks-scrollbar-y-drag-center{top:10px;bottom:10px;overflow:hidden;_height:expression(this.parentNode.clientHeight-20);background-image:url(http://img04.taobaocdn.com/tps/i4/T1DNBXXy0dXXaFKXYX-15-1.png);background-repeat:repeat-y}.ks-scrollbar-x{bottom:0;width:100%}.ks-scrollbar-hidden{visibility:hidden}.ks-scrollbar-x-track,.ks-scrollbar-x-drag,.ks-scrollbar-x{height:6px}.ks-scrollbar-x-arrow-up,.ks-scrollbar-x-arrow-down{display:none}.ks-scrollbar-x-track{position:absolute;left:0;right:0;_width:expression(this.parentNode.clientWidth)}.ks-scrollbar-x-drag{position:absolute;background:#333;border-radius:3px;opacity:.5}.ks-ie6 .ks-scrollbar-x-drag,.ks-ie7 .ks-scrollbar-x-drag,.ks-ie8 .ks-scrollbar-x-drag{filter:alpha(opacity = 50)} diff --git a/build/scroll-view/assets/nice.css b/build/scroll-view/assets/nice.css index 231a051884..2e6032468c 100644 --- a/build/scroll-view/assets/nice.css +++ b/build/scroll-view/assets/nice.css @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 16:08 +build time: Feb 25 20:58 */ .ks-scroll-view { overflow: hidden !important; diff --git a/build/scroll-view/base-min.js b/build/scroll-view/base-min.js index e7da79a135..2fa03a7496 100644 --- a/build/scroll-view/base-min.js +++ b/build/scroll-view/base-min.js @@ -1,11 +1,11 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 15:54 +build time: Feb 25 20:57 */ -KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,f){var o=f("component/container"),p=f("component/extension/content-render"),q=j.Feature,k=Math.floor,m,n=j.Feature.isTransform3dSupported(),l={syncUI:function(){var c=this.control,a=c.el,b=c.contentEl,d=c.$contentEl,g=Math.max(b.offsetHeight,b.scrollHeight),b=Math.max(b.offsetWidth,b.scrollWidth),e=a.clientHeight,i=a.clientWidth;c.scrollHeight=g;c.scrollWidth=b;c.clientHeight=e;c.clientWidth= +KISSY.add("scroll-view/base/render",["component/container","component/extension/content-render"],function(j,f){var o=f("component/container"),p=f("component/extension/content-render"),q=j.Features,k=Math.floor,m,n=j.Features.isTransform3dSupported(),l={syncUI:function(){var c=this.control,a=c.el,b=c.contentEl,d=c.$contentEl,g=Math.max(b.offsetHeight,b.scrollHeight),b=Math.max(b.offsetWidth,b.scrollWidth),e=a.clientHeight,i=a.clientWidth;c.scrollHeight=g;c.scrollWidth=b;c.clientHeight=e;c.clientWidth= i;a=c.allowScroll={};g>e&&(a.top=1);b>i&&(a.left=1);c.minScroll={left:0,top:0};var h,r;c.maxScroll={left:h=b-i,top:r=g-e};delete c.scrollStep;e=c.get("snap");g=c.get("scrollLeft");b=c.get("scrollTop");if(e){var f=d.offset(),d=c.pages="string"===typeof e?d.all(e):d.children(),e=c.get("pageIndex"),j=c.pagesOffset=[];d.each(function(a,b){var d=a.offset(),c=d.left-f.left,d=d.top-f.top;c<=h&&d<=r&&(j[b]={left:c,top:d,index:b})});if(e){c.scrollToPage(e);return}}c.scrollToWithBounds({left:g,top:b})},_onSetScrollLeft:function(c){this.control.contentEl.style.left= --c+"px"},_onSetScrollTop:function(c){this.control.contentEl.style.top=-c+"px"}};!1!==j.Feature.getVendorCssPropPrefix("transform")&&(m=q.getVendorCssPropName("transform"),l._onSetScrollLeft=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-c)+"px) translateY("+k(-a.get("scrollTop"))+"px)"+(n?" translateZ(0)":"")},l._onSetScrollTop=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-a.get("scrollLeft"))+"px) translateY("+k(-c)+"px)"+(n?" translateZ(0)":"")});return o.getDefaultRender().extend([p], +-c+"px"},_onSetScrollTop:function(c){this.control.contentEl.style.top=-c+"px"}};!1!==j.Features.getVendorCssPropPrefix("transform")&&(m=q.getVendorCssPropName("transform"),l._onSetScrollLeft=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-c)+"px) translateY("+k(-a.get("scrollTop"))+"px)"+(n?" translateZ(0)":"")},l._onSetScrollTop=function(c){var a=this.control;a.contentEl.style[m]="translateX("+k(-a.get("scrollLeft"))+"px) translateY("+k(-c)+"px)"+(n?" translateZ(0)":"")});return o.getDefaultRender().extend([p], l,{name:"ScrollViewRender"})}); KISSY.add("scroll-view/base",["node","anim","component/container","./base/render"],function(j,f){function o(){var a=this.el,b=a.scrollTop,d=a.scrollLeft;b&&this.set("scrollTop",b+this.get("scrollTop"));d&&this.set("scrollLeft",d+this.get("scrollLeft"));a.scrollTop=a.scrollLeft=0}function p(a,b){a.scrollView.set(b.prop,b.val)}var q=f("node"),k=f("anim"),m=f("component/container"),n=f("./base/render"),l=j.all,c=q.KeyCode;return m.extend({initializer:function(){this.scrollAnims=[]},bindUI:function(){this.$el.on("mousewheel", this.handleMouseWheel,this).on("scroll",o,this)},handleKeyDownInternal:function(a){var b=l(a.target),d=b.nodeName();if(!("input"===d||"textarea"===d||"select"===d||b.hasAttr("contenteditable"))){var a=a.keyCode,b=this.getScrollStep(),g,d=this.allowScroll.left;if(this.allowScroll.top){var e=b.top,i=this.clientHeight,h=this.get("scrollTop");a===c.DOWN?(this.scrollToWithBounds({top:h+e}),g=!0):a===c.UP?(this.scrollToWithBounds({top:h-e}),g=!0):a===c.PAGE_DOWN?(this.scrollToWithBounds({top:h+i}),g=!0): diff --git a/build/scroll-view/base.js b/build/scroll-view/base.js index c42023a448..ad71150817 100644 --- a/build/scroll-view/base.js +++ b/build/scroll-view/base.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 15:54 +build time: Feb 25 20:57 */ /* Combined processedModules by KISSY Module Compiler: @@ -13,9 +13,9 @@ build time: Feb 25 15:54 KISSY.add("scroll-view/base/render", ["component/container", "component/extension/content-render"], function(S, require) { var Container = require("component/container"); var ContentRenderExtension = require("component/extension/content-render"); - var Feature = S.Feature, floor = Math.floor, transformProperty; - var isTransform3dSupported = S.Feature.isTransform3dSupported(); - var supportCss3 = S.Feature.getVendorCssPropPrefix("transform") !== false; + var Features = S.Features, floor = Math.floor, transformProperty; + var isTransform3dSupported = S.Features.isTransform3dSupported(); + var supportCss3 = S.Features.getVendorCssPropPrefix("transform") !== false; var methods = {syncUI:function() { var self = this, control = self.control, el = control.el, contentEl = control.contentEl, $contentEl = control.$contentEl; var scrollHeight = Math.max(contentEl.offsetHeight, contentEl.scrollHeight), scrollWidth = Math.max(contentEl.offsetWidth, contentEl.scrollWidth); @@ -57,7 +57,7 @@ KISSY.add("scroll-view/base/render", ["component/container", "component/extensio this.control.contentEl.style.top = -v + "px" }}; if(supportCss3) { - transformProperty = Feature.getVendorCssPropName("transform"); + transformProperty = Features.getVendorCssPropName("transform"); methods._onSetScrollLeft = function(v) { var control = this.control; control.contentEl.style[transformProperty] = "translateX(" + floor(-v) + "px)" + " translateY(" + floor(-control.get("scrollTop")) + "px)" + (isTransform3dSupported ? " translateZ(0)" : "") diff --git a/build/scroll-view/drag-min.js b/build/scroll-view/drag-min.js index f51bd7ab4a..7438c94df7 100644 --- a/build/scroll-view/drag-min.js +++ b/build/scroll-view/drag-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 15:54 +build time: Feb 25 20:58 */ KISSY.add("scroll-view/drag",["./base","node","anim"],function(l,v){function x(b,c,a){var c=c.timeStamp,e=b.get("scroll"+l.ucfirst(a));b.startScroll[a]=e;b.swipe[a].startTime=c;b.swipe[a].scroll=e}function y(b,c,a,e){if(!z(b,a)){var f={pageX:c.pageX,pageY:c.pageY},d="left"===a?"pageX":"pageY",g=b.lastPageXY,h,k=b.startScroll[a]-(f[d]-e[d]),e=c.timeStamp,n=b.minScroll,q=b.maxScroll,i=b.lastDirection,j=b.swipe,m;g[d]&&(h=f[d]===g[d],m=0q[a]&&(f=k-q[a],f*=A,k=q[a]+f);f=e-j[a].startTime;if(!h&&void 0!==i[a]&&i[a]!==m||f>I)j[a].startTime=e,j[a].scroll=k;b.set("scroll"+l.ucfirst(a),k);i[a]=m;g[d]=c[d]}}function z(b,c){return!b.allowScroll[c]&&b.get("left"===c?"lockX":"lockY")?1:0}function B(b,c,a,e){if(z(b,a))e();else{var f="scroll"+l.ucfirst(a),d=b.get(f),g=b.minScroll,h=b.maxScroll,k=c.timeStamp,c=b.swipe,n;dh[a]&&(n=h[a]);void 0!==n?(d={},d[a]=n,b.scrollTo(d,{duration:b.get("bounceDuration"), @@ -11,5 +11,5 @@ this.startMousePos;F.detach(p.move,u,this).detach(p.end,G,this);c&&this.isScroll g={duration:g,easing:i,complete:c},p=a.pagesOffset,r=p.length;a.isScrolling=0;if(h||k)if(h&&k){var i=[],o,s;for(o=0;om?i.push(t):0>f&&t.leftl&&mg,k=a.allowScroll.top&&Math.abs(d)>g;B(a,b,"left",c);B(a,b,"top",c)}function E(b){b.lastPageXY={};b.lastDirection={};b.swipe={left:{},top:{}};b.startMousePos=null;b.startScroll={};b.dragInitDirection=null}function P(b){b.preventDefault()}var Q=v("./base"),H=v("node"),K=v("anim"),A=0.5,p=H.Gesture,I=300,C=6,F=H.all(document),w=20,D=Math.log(0.95),L=D/w,M=0.3,u=function(b){if(b.isTouch){var c= this.startMousePos;if(c){var a={pageX:b.pageX,pageY:b.pageY},e=Math.abs(a.pageX-c.pageX),f=Math.abs(a.pageY-c.pageY);if(!(3>Math.max(e,f))){this.isScrolling||(this.fire("scrollStart",a),this.isScrolling=1);var d=this.get("lockX"),g=this.get("lockY");if(d||g){var h;if(!(h=this.dragInitDirection))this.dragInitDirection=h=e>f?"left":"top";if(d&&"left"===h&&!this.allowScroll[h]){this.isScrolling=0;this.get("preventDefaultX")&&b.preventDefault();return}if(g&&"top"===h&&!this.allowScroll[h]){this.isScrolling= -0;this.get("preventDefaultY")&&b.preventDefault();return}}l.Feature.isTouchEventSupported()&&b.preventDefault();y(this,b,"left",c);y(this,b,"top",c);this.fire("scrollMove",a)}}}};l.UA.ie&&(u=l.throttle(u,30));return Q.extend({initializer:function(){this._snapThresholdCfg=this.get("snapThreshold");this._snapDurationCfg=this.get("snapDuration");this._snapEasingCfg=this.get("snapEasing");this.publish("dragend",{defaultFn:O,defaultTargetOnly:!0})},bindUI:function(){this.$contentEl.on("dragstart",P).on(p.start, +0;this.get("preventDefaultY")&&b.preventDefault();return}}l.Features.isTouchEventSupported()&&b.preventDefault();y(this,b,"left",c);y(this,b,"top",c);this.fire("scrollMove",a)}}}};l.UA.ie&&(u=l.throttle(u,30));return Q.extend({initializer:function(){this._snapThresholdCfg=this.get("snapThreshold");this._snapDurationCfg=this.get("snapDuration");this._snapEasingCfg=this.get("snapEasing");this.publish("dragend",{defaultFn:O,defaultTargetOnly:!0})},bindUI:function(){this.$contentEl.on("dragstart",P).on(p.start, N,this)},syncUI:function(){E(this)},destructor:function(){this.stopAnimation()},stopAnimation:function(){this.callSuper();this.isScrolling=0}},{ATTRS:{lockX:{value:!0},preventDefaultX:{value:!0},lockY:{value:!1},preventDefaultY:{value:!1},snapDuration:{value:0.3},snapEasing:{value:"easeOut"},snapThreshold:{value:5},bounce:{value:!0},bounceDuration:{value:0.4},bounceEasing:{value:"easeOut"}}})}); diff --git a/build/scroll-view/drag.js b/build/scroll-view/drag.js index 97f96f33d8..787cbbd6fc 100644 --- a/build/scroll-view/drag.js +++ b/build/scroll-view/drag.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 15:54 +build time: Feb 25 20:58 */ /* Combined processedModules by KISSY Module Compiler: @@ -205,7 +205,7 @@ KISSY.add("scroll-view/drag", ["./base", "node", "anim"], function(S, require) { return } } - if(S.Feature.isTouchEventSupported()) { + if(S.Features.isTouchEventSupported()) { e.preventDefault() } onDragScroll(self, e, "left", startMousePos); diff --git a/build/scroll-view/plugin/pull-to-refresh-min.js b/build/scroll-view/plugin/pull-to-refresh-min.js index 839b89a813..a257181b48 100644 --- a/build/scroll-view/plugin/pull-to-refresh-min.js +++ b/build/scroll-view/plugin/pull-to-refresh-min.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:17 +build time: Feb 25 20:58 */ KISSY.add("scroll-view/plugin/pull-to-refresh",["base"],function(d,e){var f=e("base"),g=d.substitute,h=d.Features.getTransformProperty();return f.extend({pluginId:this.getName(),_onSetState:function(a){if(this.scrollView){var a=a.newVal,b=this.scrollView.get("prefixCls"),c=this.$el;c.attr("class",b+"scroll-view-pull-to-refresh "+b+"scroll-view-"+a);this.labelEl.html(this.get(a+"Html"));this.elHeight=c.height()}},_onScrollMove:function(){var a=this.scrollView.get("scrollTop");-a>this.elHeight?this.set("state", "releasing"):0>a&&this.set("state","pulling")},_onDragEnd:function(){var a=this,b=a.scrollView;if(-b.get("scrollTop")>a.elHeight){b.minScroll.top=-a.elHeight;var c=a.get("loadFn");a.set("state","loading");var d=function(){b.scrollTo({top:-a.elHeight});b.scrollTo({top:b.minScroll.top},{duration:b.get("snapDuration"),easing:b.get("snapEasing")});a.set("state","pulling")};c?c.call(a,d):d.call(a)}},_onSetScrollTop:function(a){a=a.newVal;0>a&&(this.el.style[h]="translate3d(0,"+-a+"px,0)")},pluginRenderUI:function(a){this.scrollView= diff --git a/build/scroll-view/plugin/pull-to-refresh.js b/build/scroll-view/plugin/pull-to-refresh.js index 1737354b26..b6e9ce5e4e 100644 --- a/build/scroll-view/plugin/pull-to-refresh.js +++ b/build/scroll-view/plugin/pull-to-refresh.js @@ -1,7 +1,7 @@ /* -Copyright 2013, KISSY v1.42 +Copyright 2014, KISSY v1.42 MIT Licensed -build time: Dec 4 22:17 +build time: Feb 25 20:58 */ /* Combined processedModules by KISSY Module Compiler: diff --git a/build/scroll-view/plugin/scrollbar-min.js b/build/scroll-view/plugin/scrollbar-min.js index 483100ff1e..574f7724e6 100644 --- a/build/scroll-view/plugin/scrollbar-min.js +++ b/build/scroll-view/plugin/scrollbar-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 20:26 +build time: Feb 25 20:58 */ KISSY.add("scroll-view/plugin/scrollbar/scrollbar-xtpl",[],function(){return function(d){var a;a=this.config.utils;var f=a.renderOutput,g=a.getProperty,h=a.runInlineCommand,e=a.getPropertyOrRunCommand;a='
\n up\n
\n
\n down\n
\n
\n
self.elHeight'); +}_$jscoverage['/pull-to-refresh.js'].branchData['50'][1].init(145, 18, '-b > self.elHeight'); function visit4_50_1(result) { _$jscoverage['/pull-to-refresh.js'].branchData['50'][1].ranCondition(result); return result; -}_$jscoverage['/pull-to-refresh.js'].branchData['41'][1].init(194, 5, 'b < 0'); +}_$jscoverage['/pull-to-refresh.js'].branchData['41'][1].init(199, 5, 'b < 0'); function visit3_41_1(result) { _$jscoverage['/pull-to-refresh.js'].branchData['41'][1].ranCondition(result); return result; -}_$jscoverage['/pull-to-refresh.js'].branchData['39'][1].init(100, 18, '-b > self.elHeight'); +}_$jscoverage['/pull-to-refresh.js'].branchData['39'][1].init(103, 18, '-b > self.elHeight'); function visit2_39_1(result) { _$jscoverage['/pull-to-refresh.js'].branchData['39'][1].ranCondition(result); return result; -}_$jscoverage['/pull-to-refresh.js'].branchData['22'][1].init(17, 16, '!this.scrollView'); +}_$jscoverage['/pull-to-refresh.js'].branchData['22'][1].init(18, 16, '!this.scrollView'); function visit1_22_1(result) { _$jscoverage['/pull-to-refresh.js'].branchData['22'][1].ranCondition(result); return result; From 7a27d9d9fb18ce73ee5ceff9fb62bb01631585d8 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Wed, 26 Feb 2014 12:37:35 +0800 Subject: [PATCH 36/80] update --- build/event/dom/touch-min.js | 8 ++++---- build/event/dom/touch.js | 14 +++++++------- .../sub-modules/touch/coverage/src/touch/handle.js | 6 +++--- .../sub-modules/touch/coverage/src/touch/pinch.js | 2 +- .../sub-modules/touch/coverage/src/touch/rotate.js | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index 1b56e88ba8..8b63004a41 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 25 15:53 +build time: Feb 26 12:37 */ KISSY.add("event/dom/touch/handle-map",[],function(){return{}});KISSY.add("event/dom/touch/single-touch",[],function(f){function a(){}a.prototype={constructor:a,requiredTouchCount:1,onTouchStart:function(f){if(f.touches.length!==this.requiredTouchCount)return!1;f=this.lastTouches=f.touches;this.lastXY={pageX:f[0].pageX,pageY:f[0].pageY}},onTouchMove:f.noop,onTouchEnd:f.noop};return a}); KISSY.add("event/dom/touch/tap",["./handle-map","event/dom/base","./single-touch"],function(f,a){function k(e){e.preventDefault()}function h(){h.superclass.constructor.apply(this,arguments)}var c=a("./handle-map"),l=a("event/dom/base"),i=a("./single-touch"),m=l.Object;f.extend(h,i,{onTouchStart:function(e){var b=this;if(!1===h.superclass.onTouchStart.call(b,e))return!1;b.tapHoldTimer&&clearTimeout(b.tapHoldTimer);b.tapHoldTimer=setTimeout(function(){var g=f.mix({touch:e.touches[0],which:1,TAP_HOLD_DELAY:(f.now()- @@ -14,13 +14,13 @@ g.preventDefault()},onTouchMove:function(e){var b=e.changedTouches[0],c=b.pageY- KISSY.add("event/dom/touch/multi-touch",["dom"],function(f,a){function k(){}var h=a("dom");k.prototype={constructor:k,requiredTouchCount:2,onTouchStart:function(c){var a=this.requiredTouchCount,f=c.touches.length;f===a?this.start():f>a&&this.end(c)},onTouchEnd:function(c){this.end(c)},start:function(){this.isTracking||(this.isTracking=!0,this.isStarted=!1)},fireEnd:f.noop,getCommonTarget:function(c){var a=c.touches,c=a[0].target,a=a[1].target;if(c===a||h.contains(c,a))return c;for(;;){if(h.contains(a, c))return a;a=a.parentNode}"getCommonTarget error!"},end:function(a){this.isTracking&&(this.isTracking=!1,this.isStarted&&(this.isStarted=!1,this.fireEnd(a)))}};return k}); KISSY.add("event/dom/touch/pinch",["./handle-map","event/dom/base","./multi-touch"],function(f,a){function k(){}function h(a){2===a.targetTouches.length&&a.preventDefault()}var c=a("./handle-map"),l=a("event/dom/base"),i=a("./multi-touch");f.extend(k,i,{onTouchMove:function(a){if(this.isTracking){var e=a.touches;if(0-1&&a.splice(d,1)},2500)}},isEventSimulatedFromTouch:function(d){for(var a=this.lastTouches,c=d.clientX,d=d.clientY,e=0,b=a.length,f;e Date: Wed, 26 Feb 2014 18:59:23 +0800 Subject: [PATCH 37/80] fix #571 --- build/dom/base-min.js | 28 +++++++++---------- build/dom/base.js | 4 +-- .../base/coverage/src/base/create.js | 2 +- src/dom/sub-modules/base/src/base/create.js | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 7c76580e40..f1c4193270 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.42 MIT Licensed -build time: Feb 11 16:30 +build time: Feb 26 18:57 */ KISSY.add("dom/base/api",[],function(h){var m=h.Env.host||{},n=m.document,q=h.UA,b={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e={isCustomDomain:function(b){var b=b||m,b=e.get(b),g=b.document.domain,b=b.location.hostname;return g!==b&&g!=="["+b+"]"},getEmptyIframeSrc:function(b){b=b||m;b=e.get(b);return q.ie&&e.isCustomDomain(b)? "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+b.document.domain+'";document.close();')+"}())":""},NodeType:b,getWindow:function(l){if(!l)return m;l=e.get(l);if(h.isWindow(l))return l;var g=l;g.nodeType!==b.DOCUMENT_NODE&&(g=l.ownerDocument);return g.defaultView||g.parentWindow},getDocument:function(l){if(!l)return n;l=e.get(l);return h.isWindow(l)?l.document:l.nodeType===b.DOCUMENT_NODE?l:l.ownerDocument},isDomNodeList:function(b){return b&&!b.nodeType&&b.item&& @@ -21,12 +21,12 @@ toggleClass:b("_toggleClass")});return e}); KISSY.add("dom/base/create",["./api"],function(h,m){function n(a){a=a&&a!==j?a.createElement(c):f;a===f&&(a.innerHTML="");return a}function q(a,c){var f=n(c);f.innerHTML="m
"+a+"
";return f.lastChild}function b(a,c){if(c)if(s&&c.canHaveChildren&&"removeNode"in a){if(a.firstChild)a:{try{a.innerHTML="";break a}catch(f){}for(var d;d=a.lastChild;)b(d,a)}a.removeNode(!1)}else c.removeChild(a)}function e(a,c,f){var d=c.nodeType;if(d===k.DOCUMENT_FRAGMENT_NODE){c=c.childNodes;f=f.childNodes;for(d= 0;c[d];)f[d]&&e(a,c[d],f[d]),d++}else if(d===k.ELEMENT_NODE){c=c.getElementsByTagName("*");f=f.getElementsByTagName("*");for(d=0;c[d];)f[d]&&a(c[d],f[d]),d++}}function l(c,d){var f=h.require("event/dom"),b,o;if(d.nodeType!==k.ELEMENT_NODE||a.hasData(c)){b=a.data(c);for(o in b)a.data(d,o,b[o]);f&&f.clone(c,d)}}function g(a){var c=null,d,f;if(a&&(a.push||a.item)&&a[0]){c=a[0].ownerDocument;c=c.createDocumentFragment();a=h.makeArray(a);d=0;for(f=a.length;d]*)\/>/ig,t=/<([\w:]+)/,i=/^\s+/,v=/\s+$/,s=!!(d&&9>d),p=s,x=/<|&#?\w+;/,H=j&&"outerHTML"in j.documentElement,D=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;h.mix(a,{create:function(d,f,b,e){var o=null;if(!d)return o;if(d.nodeType)return a.clone(d);if("string"!==typeof d)return o;void 0===e&&(e=!0);e&&(d=h.trim(d));var e=a._creators, -G,C,b=b||j,J,A=c;if(x.test(d))if(J=D.exec(d))o=b.createElement(J[1]);else{d=d.replace(r,"<$1>");if((J=t.exec(d))&&(G=J[1]))A=G.toLowerCase();G=(e[A]||q)(d,b);p&&(C=d.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(d)&&(C=d.match(v))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):d+" : create node error"}else o=b.createTextNode(d);d=o;h.isPlainObject(f)&&(d.nodeType===k.ELEMENT_NODE?a.attr(d,f, +G,C,b=b||j,J,B=c;if(x.test(d))if(J=D.exec(d))o=b.createElement(J[1]);else{d=d.replace(r,"<$1>");if((J=t.exec(d))&&(G=J[1]))B=G.toLowerCase();G=(e[B]||q)(d,b);p&&(C=d.match(i))&&G.insertBefore(b.createTextNode(C[0]),G.firstChild);p&&/\S/.test(d)&&(C=d.match(v))&&G.appendChild(b.createTextNode(C[0]));C=G.childNodes;1===C.length?o=C[0].parentNode.removeChild(C[0]):C.length?o=g(C):d+" : create node error"}else o=b.createTextNode(d);d=o;h.isPlainObject(f)&&(d.nodeType===k.ELEMENT_NODE?a.attr(d,f, !0):d.nodeType===k.DOCUMENT_FRAGMENT_NODE&&a.attr(d.childNodes,f,!0));return d},_fixCloneAttributes:function(c,d){"textarea"===a.nodeName(c)&&(d.defaultValue=c.defaultValue,d.value=c.value)},_creators:{div:q},_defaultCreator:q,html:function(c,d,f){var c=a.query(c),b=c[0],o=!1,e,g;if(!b)return null;if(void 0===d)return b.nodeType===k.ELEMENT_NODE?b.innerHTML:b.nodeType===k.DOCUMENT_FRAGMENT_NODE?(f=n(b.ownerDocument),f.appendChild(b),f.innerHTML):null;d+="";if(!d.match(/<(?:script|style|link)/i)&& -(!p||!d.match(i))&&!y[(d.match(t)||["",""])[1].toLowerCase()])try{for(e=c.length-1;0<=e;e--)g=c[e],g.nodeType===k.ELEMENT_NODE&&(a.cleanData(g.getElementsByTagName("*")),g.innerHTML=d);o=!0}catch(h){}o||(d=a.create(d,0,b.ownerDocument,0),a.empty(c),a.append(d,c,f))},outerHtml:function(c,d,f){var c=a.query(c),b=c.length,o=c[0];if(!o)return null;if(void 0===d){if(H&&o.nodeType!==a.DOCUMENT_FRAGMENT_NODE)return o.outerHTML;d=n(o.ownerDocument);d.appendChild(a.clone(o,!0));return d.innerHTML}d+="";if(!d.match(/<(?:script|style|link)/i)&& +(!p||!d.match(i))&&!A[(d.match(t)||["",""])[1].toLowerCase()])try{for(e=c.length-1;0<=e;e--)g=c[e],g.nodeType===k.ELEMENT_NODE&&(a.cleanData(g.getElementsByTagName("*")),g.innerHTML=d);o=!0}catch(h){}o||(d=a.create(d,0,b.ownerDocument,0),a.empty(c),a.append(d,c,f))},outerHtml:function(c,d,f){var c=a.query(c),b=c.length,o=c[0];if(!o)return null;if(void 0===d){if(H&&o.nodeType!==a.DOCUMENT_FRAGMENT_NODE)return o.outerHTML;d=n(o.ownerDocument);d.appendChild(a.clone(o,!0));return d.innerHTML}d+="";if(!d.match(/<(?:script|style|link)/i)&& H)for(f=b-1;0<=f;f--)o=c[f],o.nodeType===k.ELEMENT_NODE&&(a.cleanData(o,1),o.outerHTML=d);else d=a.create(d,0,o.ownerDocument,0),a.insertBefore(d,c,f),a.remove(c)},remove:function(c,d){var f,e=a.query(c),o,i=h.require("event/dom"),g;for(g=e.length-1;0<=g;g--)f=e[g],!d&&f.nodeType===k.ELEMENT_NODE&&(o=h.makeArray(f.getElementsByTagName("*")),o.push(f),a.removeData(o),i&&i.detach(o)),b(f,f.parentNode)},clone:function(c,d,f,b){"object"===typeof d&&(b=d.deepWithDataAndEvent,f=d.withDataAndEvent,d=d.deep); -var c=a.get(c),o,i=a._fixCloneAttributes,g;if(!c)return null;g=c.nodeType;o=c.cloneNode(d);if(g===k.ELEMENT_NODE||g===k.DOCUMENT_FRAGMENT_NODE)i&&g===k.ELEMENT_NODE&&i(c,o),d&&i&&e(i,c,o);f&&(l(c,o),d&&b&&e(l,c,o));return o},empty:function(c){var c=a.query(c),d,f;for(f=c.length-1;0<=f;f--)d=c[f],a.remove(d.childNodes)},_nodeListToFragment:g});a.outerHTML=a.outerHtml;var B=a._creators,F=a.create,y={area:"map",thead:"table",td:"tr",th:"tr",tr:"tbody",tbody:"table",tfoot:"table",caption:"table",colgroup:"table", -col:"colgroup",legend:"fieldset"},z;for(z in y)(function(c){B[z]=function(a,d){return F("<"+c+">"+a+"",void 0,d)}})(y[z]);y.option=y.optgroup=function(c,a){return F('",void 0,a)};return a}); +var c=a.get(c),o,i=a._fixCloneAttributes,g;if(!c)return null;g=c.nodeType;o=c.cloneNode(d);if(g===k.ELEMENT_NODE||g===k.DOCUMENT_FRAGMENT_NODE)i&&g===k.ELEMENT_NODE&&i(c,o),d&&i&&e(i,c,o);f&&(l(c,o),d&&b&&e(l,c,o));return o},empty:function(c){var c=a.query(c),d,f;for(f=c.length-1;0<=f;f--)d=c[f],a.remove(d.childNodes)},_nodeListToFragment:g});a.outerHTML=a.outerHtml;var z=a._creators,F=a.create,A={area:"map",thead:"table",td:"tr",th:"tr",tr:"tbody",tbody:"table",tfoot:"table",caption:"table",colgroup:"table", +col:"colgroup",legend:"fieldset"},y;for(y in A)(function(c){z[y]=function(a,d){return F("<"+c+">"+a+"",void 0,d)}})(A[y]);z.option=z.optgroup=function(c,a){return F('",void 0,a)};return a}); KISSY.add("dom/base/data",["./api"],function(h,m){var n=m("./api"),q=h.Env.host,b="_ks_data_"+h.now(),e={},l={},g={applet:1,object:1,embed:1},a={hasData:function(a,c){if(a)if(void 0!==c){if(c in a)return!0}else if(!h.isEmptyObject(a))return!0;return!1}},j={hasData:function(d,c){return d==q?j.hasData(l,c):a.hasData(d[b],c)},data:function(a,c,f){if(a==q)return j.data(l,c,f);var e=a[b];if(void 0!==f)e=a[b]=a[b]||{},e[c]=f;else return void 0!==c?e&&e[c]:e=a[b]=a[b]||{}},removeData:function(a,c){if(a== q)return j.removeData(l,c);var f=a[b];if(void 0!==c)delete f[c],h.isEmptyObject(f)&&j.removeData(a);else try{delete a[b]}catch(e){a[b]=void 0}}},k={hasData:function(d,c){var f=d[b];return!f?!1:a.hasData(e[f],c)},data:function(a,c,f){if(!g[a.nodeName.toLowerCase()]){var r=a[b];if(!r){if(void 0!==c&&void 0===f)return;r=a[b]=h.guid()}a=e[r];if(void 0!==f)a=e[r]=e[r]||{},a[c]=f;else return void 0!==c?a&&a[c]:a=e[r]=e[r]||{}}},removeData:function(a,c){var f=a[b],g;if(f)if(g=e[f],void 0!==c)delete g[c], h.isEmptyObject(g)&&k.removeData(a);else{delete e[f];try{delete a[b]}catch(j){a[b]=void 0}a.removeAttribute&&a.removeAttribute(b)}}};h.mix(n,{__EXPANDO:b,hasData:function(a,c){for(var f=!1,b=n.query(a),e=0;em||0m?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d);if(j)if(q){if(0>n||0m||0m?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d)}else(g=void 0===g?!0:!!g)?b.scrollTop(e,w.top+m):b.scrollTop(e,w.top+d);if(j)if(q){if(0>n||0n?b.scrollLeft(e,w.left+n):b.scrollLeft(e,w.left+l)}else void 0===g||g?b.scrollLeft(e,w.left+n):b.scrollLeft(e,w.left+l)}},docWidth:0,docHeight:0,viewportHeight:0,viewportWidth:0,scrollTop:0,scrollLeft:0});h.each(["Left","Top"],function(c,d){var f="scroll"+c;b[f]=function(g,h){if("number"===typeof g)return arguments.callee(e,g);var g=b.get(g),j,l,n,m;g&&g.nodeType===a.ELEMENT_NODE?void 0!==h?g[f]=parseFloat(h):j=g[f]:(m=k(g),void 0!==h?(h=parseFloat(h),l="Left"===c?h:b.scrollLeft(m),n= "Top"===c?h:b.scrollTop(m),m.scrollTo(l,n)):(j=m["page"+(d?"Y":"X")+"Offset"],"number"!==typeof j&&(l=m.document,j=l.documentElement[f],"number"!==typeof j&&(j=l.body[f]))));return j}});h.each(["Width","Height"],function(a){b["doc"+a]=function(c){c=b.get(c);c=b.getDocument(c);return d(c.documentElement["scroll"+a],c.body["scroll"+a],b["viewport"+a](c))};b["viewport"+a]=function(c){var c=b.get(c),d=k(c),c=d["inner"+a];if(l.mobile&&c)return c;var c="client"+a,d=d.document,e=d.body,f=d.documentElement[c]; return"CSS1Compat"===d.compatMode&&f||e&&e[c]||f}});return b}); -KISSY.add("dom/base/style",["./api"],function(h,m){function n(a,c){return c.toUpperCase()}function q(a){return a.replace(s,"ms-").replace(y,n)}function b(a,c,d){var b={},e=a.style,f;for(f in c)b[f]=e[f],e[f]=c[f];d.call(a);for(f in c)e[f]=b[f]}function e(a,c,d){var b,e,f;if(!(3===a.nodeType||8===a.nodeType||!(b=a.style)))if(c=q(c),f=D[c],c=B[c]||c,void 0!==d){null===d||d===p?d=p:!isNaN(Number(d))&&!v[c]&&(d+=x);f&&f.set&&(d=f.set(a,d));if(void 0!==d){try{b[c]=d}catch(g){"css set error:"+g}d===p&& +KISSY.add("dom/base/style",["./api"],function(h,m){function n(a,c){return c.toUpperCase()}function q(a){return a.replace(s,"ms-").replace(A,n)}function b(a,c,d){var b={},e=a.style,f;for(f in c)b[f]=e[f],e[f]=c[f];d.call(a);for(f in c)e[f]=b[f]}function e(a,c,d){var b,e,f;if(!(3===a.nodeType||8===a.nodeType||!(b=a.style)))if(c=q(c),f=D[c],c=z[c]||c,void 0!==d){null===d||d===p?d=p:!isNaN(Number(d))&&!v[c]&&(d+=x);f&&f.set&&(d=f.set(a,d));if(void 0!==d){try{b[c]=d}catch(g){"css set error:"+g}d===p&& b.removeAttribute&&b.removeAttribute(c)}b.cssText||a.removeAttribute("style")}else{if(!f||!("get"in f&&void 0!==(e=f.get(a,!1))))e=b[c];return void 0===e?"":e}}function l(a){var c,d=arguments;0!==a.offsetWidth?c=g.apply(void 0,d):b(a,L,function(){c=g.apply(void 0,d)});return c}function g(c,d,b){if(h.isWindow(c))return d===t?a.viewportWidth(c):a.viewportHeight(c);if(9===c.nodeType)return d===t?a.docWidth(c):a.docHeight(c);var e=d===t?["Left","Right"]:["Top","Bottom"],f=d===t?c.offsetWidth:c.offsetHeight; if(0Number(f))f=c.style[d]||0;f=parseFloat(f)||0;b&&h.each(e,function(d){f+=parseFloat(a.css(c,"padding"+d))||0;"padding"!==b&&(f+=parseFloat(a.css(c,"border"+d+"Width"))||0);"margin"===b&&(f+=parseFloat(a.css(c,b+d))||0)});return f}var a=m("./api"),j=h.Env.host,k=h.UA,d=h.Features, -c=a.nodeName,f=j.document,r=/^margin/,t="width",i="display"+h.now(),v={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},s=/^-ms-/,p="",x="px",H=/\d(?!px)[a-z%]+$/i,D={},B={"float":"cssFloat"},F={},y=/-([a-z])/ig,z=f&&f.documentElement.style||{},u;h.each(["","Webkit","Moz","O","ms"],function(a){a=a?a+"UserSelect":"userSelect";void 0===u&&a in z&&(u=a)});if(d.isTransformSupported()){var w;w=B.transform=d.getTransformProperty();B.transformOrigin=w+"Origin"}d.isTransitionSupported()&& -(B.transition=d.getTransitionProperty());h.mix(a,{_camelCase:q,_cssHooks:D,_cssProps:B,_getComputedStyle:function(c,d){var b="",e,f,g,h,i;f=c.ownerDocument;d=B[d]||d;if(e=f.defaultView.getComputedStyle(c,null))b=e.getPropertyValue(d)||e[d];b===""&&!a.contains(f,c)&&(b=c.style[d]);if(a._RE_NUM_NO_PX.test(b)&&r.test(d)){i=c.style;f=i.width;g=i.minWidth;h=i.maxWidth;i.minWidth=i.maxWidth=i.width=b;b=e.width;i.width=f;i.minWidth=g;i.maxWidth=h}return b},style:function(c,d,b){var c=a.query(c),f,g=c[0]; +c=a.nodeName,f=j.document,r=/^margin/,t="width",i="display"+h.now(),v={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},s=/^-ms-/,p="",x="px",H=/\d(?!px)[a-z%]+$/i,D={},z={"float":"cssFloat"},F={},A=/-([a-z])/ig,y=f&&f.documentElement.style||{},u;h.each(["","Webkit","Moz","O","ms"],function(a){a=a?a+"UserSelect":"userSelect";void 0===u&&a in y&&(u=a)});if(d.isTransformSupported()){var w;w=z.transform=d.getTransformProperty();z.transformOrigin=w+"Origin"}d.isTransitionSupported()&& +(z.transition=d.getTransitionProperty());h.mix(a,{_camelCase:q,_cssHooks:D,_cssProps:z,_getComputedStyle:function(c,d){var b="",e,f,g,h,i;f=c.ownerDocument;d=z[d]||d;if(e=f.defaultView.getComputedStyle(c,null))b=e.getPropertyValue(d)||e[d];b===""&&!a.contains(f,c)&&(b=c.style[d]);if(a._RE_NUM_NO_PX.test(b)&&r.test(d)){i=c.style;f=i.width;g=i.minWidth;h=i.maxWidth;i.minWidth=i.maxWidth=i.width=b;b=e.width;i.width=f;i.minWidth=g;i.maxWidth=h}return b},style:function(c,d,b){var c=a.query(c),f,g=c[0]; if(h.isPlainObject(d))for(f in d)for(g=c.length-1;g>=0;g--)e(c[g],f,d[f]);else{if(b===void 0){f="";g&&(f=e(g,d,b));return f}for(g=c.length-1;g>=0;g--)e(c[g],d,b)}},css:function(c,d,b){var c=a.query(c),f=c[0],g;if(h.isPlainObject(d))for(g in d)for(f=c.length-1;f>=0;f--)e(c[f],g,d[g]);else{d=q(d);g=D[d];if(b===void 0){b="";if(f&&(!g||!("get"in g&&(b=g.get(f,true))!==void 0)))b=a._getComputedStyle(f,d);return typeof b==="undefined"?"":b}for(f=c.length-1;f>=0;f--)e(c[f],d,b)}},show:function(c){var c= a.query(c),d,b,e;for(e=c.length-1;e>=0;e--){b=c[e];b.style.display=a.data(b,i)||p;if(a.css(b,"display")==="none"){d=b.tagName.toLowerCase();var g=void 0,h=F[d],j=void 0;if(!F[d]){g=f.body||f.documentElement;j=f.createElement(d);a.prepend(j,g);h=a.css(j,"display");g.removeChild(j);F[d]=h}d=h;a.data(b,i,d);b.style.display=d}}},hide:function(c){var c=a.query(c),d,b;for(b=c.length-1;b>=0;b--){d=c[b];var e=d.style,f=e.display;if(f!=="none"){f&&a.data(d,i,f);e.display="none"}}},toggle:function(c){var c= a.query(c),d,b;for(b=c.length-1;b>=0;b--){d=c[b];a.css(d,"display")==="none"?a.show(d):a.hide(d)}},addStyleSheet:function(c,d,b){if(typeof c==="string"){b=d;d=c;c=j}var c=a.getDocument(c),e;if(b&&(b=b.replace("#",p)))e=a.get("#"+b,c);if(!e){e=a.create("",data:f||"",script:b?'') : ''}); } _$jscoverage['/editor.js'].lineData[1110]++; @@ -2451,7 +2451,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/editor.js'].lineData[1136]++; iframeDom.src = iframeDom.src; _$jscoverage['/editor.js'].lineData[1139]++; - if (visit1242_1139_1(IS_IE < 7)) { + if (visit1253_1139_1(IS_IE < 7)) { _$jscoverage['/editor.js'].lineData[1140]++; setTimeout(run, 10); _$jscoverage['/editor.js'].lineData[1141]++; @@ -2483,9 +2483,9 @@ KISSY.add(function(S, require, exports, module) { function createIframe(self, afterData) { _$jscoverage['/editor.js'].functionData[71]++; _$jscoverage['/editor.js'].lineData[1161]++; - var iframeSrc = visit1243_1161_1($(window).getEmptyIframeSrc() || ''); + var iframeSrc = visit1254_1161_1($(window).getEmptyIframeSrc() || ''); _$jscoverage['/editor.js'].lineData[1162]++; - if (visit1244_1162_1(iframeSrc)) { + if (visit1255_1162_1(iframeSrc)) { _$jscoverage['/editor.js'].lineData[1163]++; iframeSrc = ' src="' + iframeSrc + '" '; } @@ -2494,7 +2494,7 @@ KISSY.add(function(S, require, exports, module) { iframeSrc: iframeSrc, prefixCls: self.get('prefixCls')})), textarea = self.get('textarea'); _$jscoverage['/editor.js'].lineData[1170]++; - if (visit1245_1170_1(textarea.hasAttr('tabindex'))) { + if (visit1256_1170_1(textarea.hasAttr('tabindex'))) { _$jscoverage['/editor.js'].lineData[1171]++; iframe.attr('tabindex', UA.webkit ? -1 : textarea.attr('tabindex')); } @@ -2505,7 +2505,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/editor.js'].lineData[1175]++; self.__docReady = 0; _$jscoverage['/editor.js'].lineData[1177]++; - if (visit1246_1177_1(UA.gecko && !iframe.__loaded)) { + if (visit1257_1177_1(UA.gecko && !iframe.__loaded)) { _$jscoverage['/editor.js'].lineData[1178]++; iframe.on('load', function() { _$jscoverage['/editor.js'].functionData[72]++; @@ -2521,7 +2521,7 @@ KISSY.add(function(S, require, exports, module) { function clearIframeDocContent(self) { _$jscoverage['/editor.js'].functionData[73]++; _$jscoverage['/editor.js'].lineData[1188]++; - if (visit1247_1188_1(!self.get('iframe'))) { + if (visit1258_1188_1(!self.get('iframe'))) { _$jscoverage['/editor.js'].lineData[1189]++; return; } diff --git a/src/editor/coverage/src/editor/enterKey.js b/src/editor/coverage/src/editor/enterKey.js index 99c4dd047d..de6c14fc1d 100644 --- a/src/editor/coverage/src/editor/enterKey.js +++ b/src/editor/coverage/src/editor/enterKey.js @@ -236,94 +236,111 @@ if (! _$jscoverage['/editor/enterKey.js']) { _$jscoverage['/editor/enterKey.js'].lineData[14] = 0; _$jscoverage['/editor/enterKey.js'].lineData[15] = 0; _$jscoverage['/editor/enterKey.js'].lineData[16] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[17] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[18] = 0; _$jscoverage['/editor/enterKey.js'].lineData[19] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[21] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[23] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[22] = 0; _$jscoverage['/editor/enterKey.js'].lineData[24] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[26] = 0; _$jscoverage['/editor/enterKey.js'].lineData[27] = 0; _$jscoverage['/editor/enterKey.js'].lineData[30] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[32] = 0; _$jscoverage['/editor/enterKey.js'].lineData[33] = 0; _$jscoverage['/editor/enterKey.js'].lineData[35] = 0; _$jscoverage['/editor/enterKey.js'].lineData[36] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[39] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[43] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[37] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[42] = 0; _$jscoverage['/editor/enterKey.js'].lineData[44] = 0; _$jscoverage['/editor/enterKey.js'].lineData[45] = 0; _$jscoverage['/editor/enterKey.js'].lineData[46] = 0; _$jscoverage['/editor/enterKey.js'].lineData[47] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[48] = 0; _$jscoverage['/editor/enterKey.js'].lineData[49] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[55] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[51] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[54] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[56] = 0; _$jscoverage['/editor/enterKey.js'].lineData[58] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[59] = 0; _$jscoverage['/editor/enterKey.js'].lineData[60] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[61] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[62] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[63] = 0; _$jscoverage['/editor/enterKey.js'].lineData[65] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[67] = 0; _$jscoverage['/editor/enterKey.js'].lineData[68] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[71] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[74] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[75] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[76] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[69] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[70] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[72] = 0; _$jscoverage['/editor/enterKey.js'].lineData[77] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[78] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[81] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[80] = 0; _$jscoverage['/editor/enterKey.js'].lineData[82] = 0; _$jscoverage['/editor/enterKey.js'].lineData[83] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[84] = 0; _$jscoverage['/editor/enterKey.js'].lineData[87] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[92] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[90] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[91] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[93] = 0; _$jscoverage['/editor/enterKey.js'].lineData[96] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[97] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[98] = 0; _$jscoverage['/editor/enterKey.js'].lineData[99] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[100] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[102] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[103] = 0; _$jscoverage['/editor/enterKey.js'].lineData[104] = 0; _$jscoverage['/editor/enterKey.js'].lineData[105] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[111] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[115] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[108] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[113] = 0; _$jscoverage['/editor/enterKey.js'].lineData[117] = 0; _$jscoverage['/editor/enterKey.js'].lineData[120] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[121] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[124] = 0; _$jscoverage['/editor/enterKey.js'].lineData[125] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[131] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[132] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[133] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[126] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[129] = 0; _$jscoverage['/editor/enterKey.js'].lineData[134] = 0; _$jscoverage['/editor/enterKey.js'].lineData[136] = 0; _$jscoverage['/editor/enterKey.js'].lineData[138] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[141] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[139] = 0; _$jscoverage['/editor/enterKey.js'].lineData[142] = 0; _$jscoverage['/editor/enterKey.js'].lineData[143] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[144] = 0; _$jscoverage['/editor/enterKey.js'].lineData[149] = 0; _$jscoverage['/editor/enterKey.js'].lineData[150] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[153] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[151] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[152] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[154] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[156] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[159] = 0; _$jscoverage['/editor/enterKey.js'].lineData[160] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[161] = 0; _$jscoverage['/editor/enterKey.js'].lineData[162] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[163] = 0; _$jscoverage['/editor/enterKey.js'].lineData[167] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[170] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[168] = 0; _$jscoverage['/editor/enterKey.js'].lineData[171] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[174] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[177] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[179] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[178] = 0; _$jscoverage['/editor/enterKey.js'].lineData[180] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[181] = 0; _$jscoverage['/editor/enterKey.js'].lineData[185] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[190] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[188] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[189] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[192] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[195] = 0; _$jscoverage['/editor/enterKey.js'].lineData[197] = 0; _$jscoverage['/editor/enterKey.js'].lineData[198] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[201] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[202] = 0; _$jscoverage['/editor/enterKey.js'].lineData[203] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[204] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[205] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[206] = 0; _$jscoverage['/editor/enterKey.js'].lineData[207] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[208] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[209] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[210] = 0; - _$jscoverage['/editor/enterKey.js'].lineData[211] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[214] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[215] = 0; _$jscoverage['/editor/enterKey.js'].lineData[218] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[219] = 0; _$jscoverage['/editor/enterKey.js'].lineData[220] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[221] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[222] = 0; _$jscoverage['/editor/enterKey.js'].lineData[223] = 0; _$jscoverage['/editor/enterKey.js'].lineData[224] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[225] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[226] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[227] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[228] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[235] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[237] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[240] = 0; + _$jscoverage['/editor/enterKey.js'].lineData[241] = 0; } if (! _$jscoverage['/editor/enterKey.js'].functionData) { _$jscoverage['/editor/enterKey.js'].functionData = []; @@ -337,476 +354,550 @@ if (! _$jscoverage['/editor/enterKey.js'].functionData) { } if (! _$jscoverage['/editor/enterKey.js'].branchData) { _$jscoverage['/editor/enterKey.js'].branchData = {}; - _$jscoverage['/editor/enterKey.js'].branchData['15'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['15'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['23'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['23'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['35'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['35'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['39'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['39'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['40'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['40'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['40'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['40'][3] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['43'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['43'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['18'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['18'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['26'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['26'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['42'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['42'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['44'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['44'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['44'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['44'][3] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['44'][4] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['45'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['45'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['54'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['54'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['54'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['56'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['56'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['58'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['58'][1] = new BranchData(); _$jscoverage['/editor/enterKey.js'].branchData['60'] = []; _$jscoverage['/editor/enterKey.js'].branchData['60'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['74'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['74'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['76'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['76'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['81'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['81'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['81'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['81'][3] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['92'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['92'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['69'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['69'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['82'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['82'][1] = new BranchData(); _$jscoverage['/editor/enterKey.js'].branchData['96'] = []; _$jscoverage['/editor/enterKey.js'].branchData['96'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['96'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['97'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['97'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['104'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['104'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['111'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['111'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['115'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['115'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['115'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['120'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['120'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['124'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['124'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['132'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['132'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['133'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['133'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['136'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['136'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['141'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['141'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['149'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['149'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['160'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['160'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['160'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['160'][3] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['98'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['98'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['102'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['102'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['102'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['102'][3] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['113'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['113'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['117'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['117'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['117'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['118'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['118'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['125'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['125'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['129'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['129'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['134'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['134'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['134'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['138'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['138'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['142'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['142'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['150'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['150'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['151'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['151'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['154'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['154'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['159'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['159'][1] = new BranchData(); _$jscoverage['/editor/enterKey.js'].branchData['167'] = []; _$jscoverage['/editor/enterKey.js'].branchData['167'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['170'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['170'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['171'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['171'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['205'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['205'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['206'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['206'][1] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['206'][2] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['206'][3] = new BranchData(); - _$jscoverage['/editor/enterKey.js'].branchData['210'] = []; - _$jscoverage['/editor/enterKey.js'].branchData['210'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['178'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['178'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['178'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['178'][3] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['185'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['185'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['188'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['188'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['189'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['189'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['222'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['222'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['223'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['223'][1] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['223'][2] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['223'][3] = new BranchData(); + _$jscoverage['/editor/enterKey.js'].branchData['227'] = []; + _$jscoverage['/editor/enterKey.js'].branchData['227'][1] = new BranchData(); } -_$jscoverage['/editor/enterKey.js'].branchData['210'][1].init(184, 12, 're !== false'); -function visit335_210_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['210'][1].ranCondition(result); +_$jscoverage['/editor/enterKey.js'].branchData['227'][1].init(184, 12, 're !== false'); +function visit341_227_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['227'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['206'][3].init(38, 24, 'ev.ctrlKey || ev.metaKey'); -function visit334_206_3(result) { - _$jscoverage['/editor/enterKey.js'].branchData['206'][3].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['223'][3].init(38, 24, 'ev.ctrlKey || ev.metaKey'); +function visit340_223_3(result) { + _$jscoverage['/editor/enterKey.js'].branchData['223'][3].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['206'][2].init(23, 39, 'ev.shiftKey || ev.ctrlKey || ev.metaKey'); -function visit333_206_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['206'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['223'][2].init(23, 39, 'ev.shiftKey || ev.ctrlKey || ev.metaKey'); +function visit339_223_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['223'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['206'][1].init(21, 42, '!(ev.shiftKey || ev.ctrlKey || ev.metaKey)'); -function visit332_206_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['206'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['223'][1].init(21, 42, '!(ev.shiftKey || ev.ctrlKey || ev.metaKey)'); +function visit338_223_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['223'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['205'][1].init(55, 14, 'keyCode === 13'); -function visit331_205_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['205'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['222'][1].init(55, 14, 'keyCode === 13'); +function visit337_222_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['222'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['171'][1].init(17, 9, 'nextBlock'); -function visit330_171_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['171'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['189'][1].init(17, 9, 'nextBlock'); +function visit336_189_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['189'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['170'][1].init(5446, 7, '!OLD_IE'); -function visit329_170_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['170'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['188'][1].init(6415, 7, '!OLD_IE'); +function visit335_188_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['188'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['167'][1].init(2441, 31, 'isStartOfBlock && !isEndOfBlock'); -function visit328_167_1(result) { +}_$jscoverage['/editor/enterKey.js'].branchData['185'][1].init(2462, 31, 'isStartOfBlock && !isEndOfBlock'); +function visit334_185_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['185'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['178'][3].init(2108, 52, '!isEndOfBlock || !previousBlock[0].childNodes.length'); +function visit333_178_3(result) { + _$jscoverage['/editor/enterKey.js'].branchData['178'][3].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['178'][2].init(2089, 72, 'isStartOfBlock && (!isEndOfBlock || !previousBlock[0].childNodes.length)'); +function visit332_178_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['178'][2].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['178'][1].init(2079, 82, 'OLD_IE && isStartOfBlock && (!isEndOfBlock || !previousBlock[0].childNodes.length)'); +function visit331_178_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['178'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['167'][1].init(1658, 7, '!OLD_IE'); +function visit330_167_1(result) { _$jscoverage['/editor/enterKey.js'].branchData['167'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['160'][3].init(2086, 52, '!isEndOfBlock || !previousBlock[0].childNodes.length'); -function visit327_160_3(result) { - _$jscoverage['/editor/enterKey.js'].branchData['160'][3].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['159'][1].init(317, 38, 'dtd.$removeEmpty[element.nodeName()]'); +function visit329_159_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['159'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['160'][2].init(2066, 74, 'isStartOfBlock && (!isEndOfBlock || !previousBlock[0].childNodes.length)'); -function visit326_160_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['160'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['154'][1].init(87, 99, 'element.equals(elementPath.block) || element.equals(elementPath.blockLimit)'); +function visit328_154_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['154'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['160'][1].init(2056, 84, 'OLD_IE && isStartOfBlock && (!isEndOfBlock || !previousBlock[0].childNodes.length)'); -function visit325_160_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['160'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['151'][1].init(68, 7, 'i < len'); +function visit327_151_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['151'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['149'][1].init(1636, 7, '!OLD_IE'); -function visit324_149_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['149'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['150'][1].init(971, 11, 'elementPath'); +function visit326_150_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['150'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['141'][1].init(316, 38, 'dtd.$removeEmpty[element.nodeName()]'); -function visit323_141_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['141'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['142'][1].init(627, 9, '!newBlock'); +function visit325_142_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['142'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['136'][1].init(87, 99, 'element.equals(elementPath.block) || element.equals(elementPath.blockLimit)'); -function visit322_136_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['136'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['138'][1].init(538, 9, 'nextBlock'); +function visit324_138_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['138'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['133'][1].init(68, 7, 'i < len'); -function visit321_133_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['133'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['134'][2].init(253, 33, 'previousBlock.nodeName() === \'li\''); +function visit323_134_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['134'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['132'][1].init(950, 11, 'elementPath'); -function visit320_132_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['132'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['134'][1].init(253, 88, 'previousBlock.nodeName() === \'li\' || !(headerPreTagRegex.test(previousBlock.nodeName()))'); +function visit322_134_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['134'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['124'][1].init(607, 9, '!newBlock'); -function visit319_124_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['124'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['129'][1].init(17, 13, 'previousBlock'); +function visit321_129_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['129'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['120'][1].init(519, 9, 'nextBlock'); -function visit318_120_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['120'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['125'][1].init(610, 9, 'nextBlock'); +function visit320_125_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['125'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['115'][2].init(214, 33, 'previousBlock.nodeName() === \'li\''); -function visit317_115_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['115'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['118'][1].init(49, 110, '(node = nextBlock.first(Walker.invisible(true))) && util.inArray(node.nodeName(), [\'ul\', \'ol\'])'); +function visit319_118_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['115'][1].init(214, 83, 'previousBlock.nodeName() === \'li\' || !headerTagRegex.test(previousBlock.nodeName())'); -function visit316_115_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['115'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['117'][2].init(223, 29, 'nextBlock.nodeName() === \'li\''); +function visit318_117_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['117'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['111'][1].init(30, 13, 'previousBlock'); -function visit315_111_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['111'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['117'][1].init(223, 160, 'nextBlock.nodeName() === \'li\' && (node = nextBlock.first(Walker.invisible(true))) && util.inArray(node.nodeName(), [\'ul\', \'ol\'])'); +function visit317_117_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['117'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['104'][1].init(608, 9, 'nextBlock'); -function visit314_104_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['104'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['113'][1].init(3121, 32, '!isStartOfBlock && !isEndOfBlock'); +function visit316_113_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['113'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['97'][1].init(50, 108, '(node = nextBlock.first(Walker.invisible(true))) && S.inArray(node.nodeName(), [\'ul\', \'ol\'])'); -function visit313_97_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['97'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['102'][3].init(2683, 24, 'node.nodeName() === \'li\''); +function visit315_102_3(result) { + _$jscoverage['/editor/enterKey.js'].branchData['102'][3].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['96'][2].init(223, 29, 'nextBlock.nodeName() === \'li\''); -function visit312_96_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['96'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['102'][2].init(2649, 58, '(node = previousBlock.parent()) && node.nodeName() === \'li\''); +function visit314_102_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['102'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['96'][1].init(223, 159, 'nextBlock.nodeName() === \'li\' && (node = nextBlock.first(Walker.invisible(true))) && S.inArray(node.nodeName(), [\'ul\', \'ol\'])'); +}_$jscoverage['/editor/enterKey.js'].branchData['102'][1].init(2631, 76, 'previousBlock && (node = previousBlock.parent()) && node.nodeName() === \'li\''); +function visit313_102_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['102'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['98'][1].init(56, 24, 'node.nodeName() === \'li\''); +function visit312_98_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['98'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/enterKey.js'].branchData['96'][1].init(2394, 9, 'nextBlock'); function visit311_96_1(result) { _$jscoverage['/editor/enterKey.js'].branchData['96'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['92'][1].init(2168, 32, '!isStartOfBlock && !isEndOfBlock'); -function visit310_92_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['92'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['82'][1].init(2003, 10, '!splitInfo'); +function visit310_82_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['82'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['81'][3].init(1722, 24, 'node.nodeName() === \'li\''); -function visit309_81_3(result) { - _$jscoverage['/editor/enterKey.js'].branchData['81'][3].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['69'][1].init(647, 13, 'UA.ieMode < 9'); +function visit309_69_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['69'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['81'][2].init(1687, 59, '(node = previousBlock.parent()) && node.nodeName() === \'li\''); -function visit308_81_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['81'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['60'][1].init(203, 13, 'UA.ieMode < 9'); +function visit308_60_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['60'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['81'][1].init(1668, 78, 'previousBlock && (node = previousBlock.parent()) && node.nodeName() === \'li\''); -function visit307_81_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['81'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['58'][1].init(64, 13, 'UA.ieMode < 9'); +function visit307_58_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['58'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['76'][1].init(56, 24, 'node.nodeName() === \'li\''); -function visit306_76_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['76'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['56'][1].init(93, 13, '!isEndOfBlock'); +function visit306_56_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['56'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['74'][1].init(1423, 9, 'nextBlock'); -function visit305_74_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['74'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['54'][2].init(913, 26, 'block.nodeName() === \'pre\''); +function visit305_54_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['54'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['60'][1].init(1025, 10, '!splitInfo'); -function visit304_60_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['60'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['54'][1].init(904, 35, 'block && block.nodeName() === \'pre\''); +function visit304_54_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['54'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['43'][1].init(21, 28, 'editor.hasCommand(\'outdent\')'); -function visit303_43_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['43'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['45'][1].init(21, 28, 'editor.hasCommand(\'outdent\')'); +function visit303_45_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['45'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['40'][3].init(55, 34, 'block.parent().nodeName() === \'li\''); -function visit302_40_3(result) { - _$jscoverage['/editor/enterKey.js'].branchData['40'][3].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['44'][4].init(77, 34, 'block.parent().nodeName() === \'li\''); +function visit302_44_4(result) { + _$jscoverage['/editor/enterKey.js'].branchData['44'][4].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['40'][2].init(26, 25, 'block.nodeName() === \'li\''); -function visit301_40_2(result) { - _$jscoverage['/editor/enterKey.js'].branchData['40'][2].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['44'][3].init(48, 25, 'block.nodeName() === \'li\''); +function visit301_44_3(result) { + _$jscoverage['/editor/enterKey.js'].branchData['44'][3].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['40'][1].init(26, 63, 'block.nodeName() === \'li\' || block.parent().nodeName() === \'li\''); -function visit300_40_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['40'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['44'][2].init(48, 63, 'block.nodeName() === \'li\' || block.parent().nodeName() === \'li\''); +function visit300_44_2(result) { + _$jscoverage['/editor/enterKey.js'].branchData['44'][2].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['39'][1].init(135, 92, 'block && (block.nodeName() === \'li\' || block.parent().nodeName() === \'li\')'); -function visit299_39_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['39'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['44'][1].init(38, 74, 'block && (block.nodeName() === \'li\' || block.parent().nodeName() === \'li\')'); +function visit299_44_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['44'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['35'][1].init(214, 52, 'range.checkStartOfBlock() && range.checkEndOfBlock()'); -function visit298_35_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['35'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['42'][1].init(412, 30, 'isStartOfBlock && isEndOfBlock'); +function visit298_42_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['42'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['23'][1].init(201, 5, 'i > 0'); -function visit297_23_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['23'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['26'][1].init(201, 5, 'i > 0'); +function visit297_26_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['26'][1].ranCondition(result); return result; -}_$jscoverage['/editor/enterKey.js'].branchData['15'][1].init(172, 16, 'S.UA.ieMode < 11'); -function visit296_15_1(result) { - _$jscoverage['/editor/enterKey.js'].branchData['15'][1].ranCondition(result); +}_$jscoverage['/editor/enterKey.js'].branchData['18'][1].init(240, 14, 'UA.ieMode < 11'); +function visit296_18_1(result) { + _$jscoverage['/editor/enterKey.js'].branchData['18'][1].ranCondition(result); return result; }_$jscoverage['/editor/enterKey.js'].lineData[10]++; KISSY.add(function(S, require) { _$jscoverage['/editor/enterKey.js'].functionData[0]++; _$jscoverage['/editor/enterKey.js'].lineData[11]++; - var Node = require('node'); + var util = S; _$jscoverage['/editor/enterKey.js'].lineData[12]++; - var Walker = require('./walker'); + var Node = require('node'); _$jscoverage['/editor/enterKey.js'].lineData[13]++; - var Editor = require('./base'); + var $ = Node.all; _$jscoverage['/editor/enterKey.js'].lineData[14]++; - var ElementPath = require('./elementPath'); + var UA = require('ua'); _$jscoverage['/editor/enterKey.js'].lineData[15]++; - var OLD_IE = visit296_15_1(S.UA.ieMode < 11); + var Walker = require('./walker'); _$jscoverage['/editor/enterKey.js'].lineData[16]++; - var headerTagRegex = /^h[1-6]$/, dtd = Editor.XHTML_DTD; + var Editor = require('./base'); + _$jscoverage['/editor/enterKey.js'].lineData[17]++; + var ElementPath = require('./elementPath'); + _$jscoverage['/editor/enterKey.js'].lineData[18]++; + var OLD_IE = visit296_18_1(UA.ieMode < 11); _$jscoverage['/editor/enterKey.js'].lineData[19]++; + var headerPreTagRegex = /^(?:h[1-6])|(?:pre)$/i, dtd = Editor.XHTML_DTD; + _$jscoverage['/editor/enterKey.js'].lineData[22]++; function getRange(editor) { _$jscoverage['/editor/enterKey.js'].functionData[1]++; - _$jscoverage['/editor/enterKey.js'].lineData[21]++; + _$jscoverage['/editor/enterKey.js'].lineData[24]++; var ranges = editor.getSelection().getRanges(); - _$jscoverage['/editor/enterKey.js'].lineData[23]++; - for (var i = ranges.length - 1; visit297_23_1(i > 0); i--) { - _$jscoverage['/editor/enterKey.js'].lineData[24]++; + _$jscoverage['/editor/enterKey.js'].lineData[26]++; + for (var i = ranges.length - 1; visit297_26_1(i > 0); i--) { + _$jscoverage['/editor/enterKey.js'].lineData[27]++; ranges[i].deleteContents(); } - _$jscoverage['/editor/enterKey.js'].lineData[27]++; + _$jscoverage['/editor/enterKey.js'].lineData[30]++; return ranges[0]; } - _$jscoverage['/editor/enterKey.js'].lineData[30]++; + _$jscoverage['/editor/enterKey.js'].lineData[33]++; function enterBlock(editor) { _$jscoverage['/editor/enterKey.js'].functionData[2]++; - _$jscoverage['/editor/enterKey.js'].lineData[32]++; + _$jscoverage['/editor/enterKey.js'].lineData[35]++; var range = getRange(editor); - _$jscoverage['/editor/enterKey.js'].lineData[33]++; + _$jscoverage['/editor/enterKey.js'].lineData[36]++; var doc = range.document; - _$jscoverage['/editor/enterKey.js'].lineData[35]++; - if (visit298_35_1(range.checkStartOfBlock() && range.checkEndOfBlock())) { - _$jscoverage['/editor/enterKey.js'].lineData[36]++; - var path = new ElementPath(range.startContainer), block = path.block; - _$jscoverage['/editor/enterKey.js'].lineData[39]++; - if (visit299_39_1(block && (visit300_40_1(visit301_40_2(block.nodeName() === 'li') || visit302_40_3(block.parent().nodeName() === 'li'))))) { - _$jscoverage['/editor/enterKey.js'].lineData[43]++; - if (visit303_43_1(editor.hasCommand('outdent'))) { - _$jscoverage['/editor/enterKey.js'].lineData[44]++; - editor.execCommand('save'); - _$jscoverage['/editor/enterKey.js'].lineData[45]++; - editor.execCommand('outdent'); + _$jscoverage['/editor/enterKey.js'].lineData[37]++; + var path = new ElementPath(range.startContainer), isStartOfBlock = range.checkStartOfBlock(), isEndOfBlock = range.checkEndOfBlock(), block = path.block; + _$jscoverage['/editor/enterKey.js'].lineData[42]++; + if (visit298_42_1(isStartOfBlock && isEndOfBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[44]++; + if (visit299_44_1(block && (visit300_44_2(visit301_44_3(block.nodeName() === 'li') || visit302_44_4(block.parent().nodeName() === 'li'))))) { + _$jscoverage['/editor/enterKey.js'].lineData[45]++; + if (visit303_45_1(editor.hasCommand('outdent'))) { _$jscoverage['/editor/enterKey.js'].lineData[46]++; editor.execCommand('save'); _$jscoverage['/editor/enterKey.js'].lineData[47]++; + editor.execCommand('outdent'); + _$jscoverage['/editor/enterKey.js'].lineData[48]++; + editor.execCommand('save'); + _$jscoverage['/editor/enterKey.js'].lineData[49]++; return true; } else { - _$jscoverage['/editor/enterKey.js'].lineData[49]++; + _$jscoverage['/editor/enterKey.js'].lineData[51]++; return false; } } + } else { + _$jscoverage['/editor/enterKey.js'].lineData[54]++; + if (visit304_54_1(block && visit305_54_2(block.nodeName() === 'pre'))) { + _$jscoverage['/editor/enterKey.js'].lineData[56]++; + if (visit306_56_1(!isEndOfBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[58]++; + var lineBreak = visit307_58_1(UA.ieMode < 9) ? $(doc.createTextNode('\r')) : $(doc.createElement('br')); + _$jscoverage['/editor/enterKey.js'].lineData[59]++; + range.insertNode(lineBreak); + _$jscoverage['/editor/enterKey.js'].lineData[60]++; + if (visit308_60_1(UA.ieMode < 9)) { + _$jscoverage['/editor/enterKey.js'].lineData[62]++; + lineBreak = $(doc.createTextNode('\ufeff')).insertAfter(lineBreak); + _$jscoverage['/editor/enterKey.js'].lineData[63]++; + range.setStartAt(lineBreak, Editor.RangeType.POSITION_AFTER_START); + } else { + _$jscoverage['/editor/enterKey.js'].lineData[65]++; + range.setStartAfter(lineBreak); + } + _$jscoverage['/editor/enterKey.js'].lineData[67]++; + range.collapse(true); + _$jscoverage['/editor/enterKey.js'].lineData[68]++; + range.select(); + _$jscoverage['/editor/enterKey.js'].lineData[69]++; + if (visit309_69_1(UA.ieMode < 9)) { + _$jscoverage['/editor/enterKey.js'].lineData[70]++; + lineBreak[0].nodeValue = ''; + } + _$jscoverage['/editor/enterKey.js'].lineData[72]++; + return; + } + } } - _$jscoverage['/editor/enterKey.js'].lineData[55]++; + _$jscoverage['/editor/enterKey.js'].lineData[77]++; var blockTag = 'p'; - _$jscoverage['/editor/enterKey.js'].lineData[58]++; + _$jscoverage['/editor/enterKey.js'].lineData[80]++; var splitInfo = range.splitBlock(blockTag); - _$jscoverage['/editor/enterKey.js'].lineData[60]++; - if (visit304_60_1(!splitInfo)) { - _$jscoverage['/editor/enterKey.js'].lineData[61]++; + _$jscoverage['/editor/enterKey.js'].lineData[82]++; + if (visit310_82_1(!splitInfo)) { + _$jscoverage['/editor/enterKey.js'].lineData[83]++; return true; } - _$jscoverage['/editor/enterKey.js'].lineData[65]++; + _$jscoverage['/editor/enterKey.js'].lineData[87]++; var previousBlock = splitInfo.previousBlock, nextBlock = splitInfo.nextBlock; - _$jscoverage['/editor/enterKey.js'].lineData[68]++; - var isStartOfBlock = splitInfo.wasStartOfBlock, isEndOfBlock = splitInfo.wasEndOfBlock; - _$jscoverage['/editor/enterKey.js'].lineData[71]++; + _$jscoverage['/editor/enterKey.js'].lineData[90]++; + isStartOfBlock = splitInfo.wasStartOfBlock; + _$jscoverage['/editor/enterKey.js'].lineData[91]++; + isEndOfBlock = splitInfo.wasEndOfBlock; + _$jscoverage['/editor/enterKey.js'].lineData[93]++; var node; - _$jscoverage['/editor/enterKey.js'].lineData[74]++; - if (visit305_74_1(nextBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[75]++; + _$jscoverage['/editor/enterKey.js'].lineData[96]++; + if (visit311_96_1(nextBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[97]++; node = nextBlock.parent(); - _$jscoverage['/editor/enterKey.js'].lineData[76]++; - if (visit306_76_1(node.nodeName() === 'li')) { - _$jscoverage['/editor/enterKey.js'].lineData[77]++; + _$jscoverage['/editor/enterKey.js'].lineData[98]++; + if (visit312_98_1(node.nodeName() === 'li')) { + _$jscoverage['/editor/enterKey.js'].lineData[99]++; nextBlock._4eBreakParent(node); - _$jscoverage['/editor/enterKey.js'].lineData[78]++; + _$jscoverage['/editor/enterKey.js'].lineData[100]++; nextBlock._4eMove(nextBlock.next(), true); } } else { - _$jscoverage['/editor/enterKey.js'].lineData[81]++; - if (visit307_81_1(previousBlock && visit308_81_2((node = previousBlock.parent()) && visit309_81_3(node.nodeName() === 'li')))) { - _$jscoverage['/editor/enterKey.js'].lineData[82]++; + _$jscoverage['/editor/enterKey.js'].lineData[102]++; + if (visit313_102_1(previousBlock && visit314_102_2((node = previousBlock.parent()) && visit315_102_3(node.nodeName() === 'li')))) { + _$jscoverage['/editor/enterKey.js'].lineData[103]++; previousBlock._4eBreakParent(node); - _$jscoverage['/editor/enterKey.js'].lineData[83]++; + _$jscoverage['/editor/enterKey.js'].lineData[104]++; range.moveToElementEditablePosition(previousBlock.next()); - _$jscoverage['/editor/enterKey.js'].lineData[84]++; + _$jscoverage['/editor/enterKey.js'].lineData[105]++; previousBlock._4eMove(previousBlock.prev()); } } - _$jscoverage['/editor/enterKey.js'].lineData[87]++; + _$jscoverage['/editor/enterKey.js'].lineData[108]++; var newBlock; - _$jscoverage['/editor/enterKey.js'].lineData[92]++; - if (visit310_92_1(!isStartOfBlock && !isEndOfBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[96]++; - if (visit311_96_1(visit312_96_2(nextBlock.nodeName() === 'li') && visit313_97_1((node = nextBlock.first(Walker.invisible(true))) && S.inArray(node.nodeName(), ['ul', 'ol'])))) { - _$jscoverage['/editor/enterKey.js'].lineData[99]++; + _$jscoverage['/editor/enterKey.js'].lineData[113]++; + if (visit316_113_1(!isStartOfBlock && !isEndOfBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[117]++; + if (visit317_117_1(visit318_117_2(nextBlock.nodeName() === 'li') && visit319_118_1((node = nextBlock.first(Walker.invisible(true))) && util.inArray(node.nodeName(), ['ul', 'ol'])))) { + _$jscoverage['/editor/enterKey.js'].lineData[120]++; (OLD_IE ? new Node(doc.createTextNode('\xa0')) : new Node(doc.createElement('br'))).insertBefore(node); } - _$jscoverage['/editor/enterKey.js'].lineData[104]++; - if (visit314_104_1(nextBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[105]++; + _$jscoverage['/editor/enterKey.js'].lineData[125]++; + if (visit320_125_1(nextBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[126]++; range.moveToElementEditablePosition(nextBlock); } } else { - _$jscoverage['/editor/enterKey.js'].lineData[111]++; - if (visit315_111_1(previousBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[115]++; - if (visit316_115_1(visit317_115_2(previousBlock.nodeName() === 'li') || !headerTagRegex.test(previousBlock.nodeName()))) { - _$jscoverage['/editor/enterKey.js'].lineData[117]++; + _$jscoverage['/editor/enterKey.js'].lineData[129]++; + if (visit321_129_1(previousBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[134]++; + if (visit322_134_1(visit323_134_2(previousBlock.nodeName() === 'li') || !(headerPreTagRegex.test(previousBlock.nodeName())))) { + _$jscoverage['/editor/enterKey.js'].lineData[136]++; newBlock = previousBlock.clone(); } } else { - _$jscoverage['/editor/enterKey.js'].lineData[120]++; - if (visit318_120_1(nextBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[121]++; + _$jscoverage['/editor/enterKey.js'].lineData[138]++; + if (visit324_138_1(nextBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[139]++; newBlock = nextBlock.clone(); } } - _$jscoverage['/editor/enterKey.js'].lineData[124]++; - if (visit319_124_1(!newBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[125]++; + _$jscoverage['/editor/enterKey.js'].lineData[142]++; + if (visit325_142_1(!newBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[143]++; newBlock = new Node('<' + blockTag + '>', null, doc); } - _$jscoverage['/editor/enterKey.js'].lineData[131]++; + _$jscoverage['/editor/enterKey.js'].lineData[149]++; var elementPath = splitInfo.elementPath; - _$jscoverage['/editor/enterKey.js'].lineData[132]++; - if (visit320_132_1(elementPath)) { - _$jscoverage['/editor/enterKey.js'].lineData[133]++; - for (var i = 0, len = elementPath.elements.length; visit321_133_1(i < len); i++) { - _$jscoverage['/editor/enterKey.js'].lineData[134]++; + _$jscoverage['/editor/enterKey.js'].lineData[150]++; + if (visit326_150_1(elementPath)) { + _$jscoverage['/editor/enterKey.js'].lineData[151]++; + for (var i = 0, len = elementPath.elements.length; visit327_151_1(i < len); i++) { + _$jscoverage['/editor/enterKey.js'].lineData[152]++; var element = elementPath.elements[i]; - _$jscoverage['/editor/enterKey.js'].lineData[136]++; - if (visit322_136_1(element.equals(elementPath.block) || element.equals(elementPath.blockLimit))) { - _$jscoverage['/editor/enterKey.js'].lineData[138]++; + _$jscoverage['/editor/enterKey.js'].lineData[154]++; + if (visit328_154_1(element.equals(elementPath.block) || element.equals(elementPath.blockLimit))) { + _$jscoverage['/editor/enterKey.js'].lineData[156]++; break; } - _$jscoverage['/editor/enterKey.js'].lineData[141]++; - if (visit323_141_1(dtd.$removeEmpty[element.nodeName()])) { - _$jscoverage['/editor/enterKey.js'].lineData[142]++; + _$jscoverage['/editor/enterKey.js'].lineData[159]++; + if (visit329_159_1(dtd.$removeEmpty[element.nodeName()])) { + _$jscoverage['/editor/enterKey.js'].lineData[160]++; element = element.clone(); - _$jscoverage['/editor/enterKey.js'].lineData[143]++; + _$jscoverage['/editor/enterKey.js'].lineData[161]++; newBlock._4eMoveChildren(element); - _$jscoverage['/editor/enterKey.js'].lineData[144]++; + _$jscoverage['/editor/enterKey.js'].lineData[162]++; newBlock.append(element); } } } - _$jscoverage['/editor/enterKey.js'].lineData[149]++; - if (visit324_149_1(!OLD_IE)) { - _$jscoverage['/editor/enterKey.js'].lineData[150]++; + _$jscoverage['/editor/enterKey.js'].lineData[167]++; + if (visit330_167_1(!OLD_IE)) { + _$jscoverage['/editor/enterKey.js'].lineData[168]++; newBlock._4eAppendBogus(); } - _$jscoverage['/editor/enterKey.js'].lineData[153]++; + _$jscoverage['/editor/enterKey.js'].lineData[171]++; range.insertNode(newBlock); - _$jscoverage['/editor/enterKey.js'].lineData[160]++; - if (visit325_160_1(OLD_IE && visit326_160_2(isStartOfBlock && (visit327_160_3(!isEndOfBlock || !previousBlock[0].childNodes.length))))) { - _$jscoverage['/editor/enterKey.js'].lineData[162]++; + _$jscoverage['/editor/enterKey.js'].lineData[178]++; + if (visit331_178_1(OLD_IE && visit332_178_2(isStartOfBlock && (visit333_178_3(!isEndOfBlock || !previousBlock[0].childNodes.length))))) { + _$jscoverage['/editor/enterKey.js'].lineData[180]++; range.moveToElementEditablePosition(isEndOfBlock ? previousBlock : newBlock); - _$jscoverage['/editor/enterKey.js'].lineData[163]++; + _$jscoverage['/editor/enterKey.js'].lineData[181]++; range.select(); } - _$jscoverage['/editor/enterKey.js'].lineData[167]++; - range.moveToElementEditablePosition(visit328_167_1(isStartOfBlock && !isEndOfBlock) ? nextBlock : newBlock); + _$jscoverage['/editor/enterKey.js'].lineData[185]++; + range.moveToElementEditablePosition(visit334_185_1(isStartOfBlock && !isEndOfBlock) ? nextBlock : newBlock); } - _$jscoverage['/editor/enterKey.js'].lineData[170]++; - if (visit329_170_1(!OLD_IE)) { - _$jscoverage['/editor/enterKey.js'].lineData[171]++; - if (visit330_171_1(nextBlock)) { - _$jscoverage['/editor/enterKey.js'].lineData[174]++; + _$jscoverage['/editor/enterKey.js'].lineData[188]++; + if (visit335_188_1(!OLD_IE)) { + _$jscoverage['/editor/enterKey.js'].lineData[189]++; + if (visit336_189_1(nextBlock)) { + _$jscoverage['/editor/enterKey.js'].lineData[192]++; var tmpNode = new Node(doc.createElement('span')); - _$jscoverage['/editor/enterKey.js'].lineData[177]++; + _$jscoverage['/editor/enterKey.js'].lineData[195]++; tmpNode.html(' '); - _$jscoverage['/editor/enterKey.js'].lineData[179]++; + _$jscoverage['/editor/enterKey.js'].lineData[197]++; range.insertNode(tmpNode); - _$jscoverage['/editor/enterKey.js'].lineData[180]++; + _$jscoverage['/editor/enterKey.js'].lineData[198]++; tmpNode.scrollIntoView(undefined, { alignWithTop: false, allowHorizontalScroll: true, onlyScrollIfNeeded: true}); - _$jscoverage['/editor/enterKey.js'].lineData[185]++; + _$jscoverage['/editor/enterKey.js'].lineData[203]++; range.deleteContents(); } else { - _$jscoverage['/editor/enterKey.js'].lineData[190]++; + _$jscoverage['/editor/enterKey.js'].lineData[207]++; newBlock.scrollIntoView(undefined, { alignWithTop: false, allowHorizontalScroll: true, onlyScrollIfNeeded: true}); } } - _$jscoverage['/editor/enterKey.js'].lineData[197]++; + _$jscoverage['/editor/enterKey.js'].lineData[214]++; range.select(); - _$jscoverage['/editor/enterKey.js'].lineData[198]++; + _$jscoverage['/editor/enterKey.js'].lineData[215]++; return true; } - _$jscoverage['/editor/enterKey.js'].lineData[201]++; + _$jscoverage['/editor/enterKey.js'].lineData[218]++; function enterKey(editor) { _$jscoverage['/editor/enterKey.js'].functionData[3]++; - _$jscoverage['/editor/enterKey.js'].lineData[202]++; + _$jscoverage['/editor/enterKey.js'].lineData[219]++; var doc = editor.get('document'); - _$jscoverage['/editor/enterKey.js'].lineData[203]++; + _$jscoverage['/editor/enterKey.js'].lineData[220]++; doc.on('keydown', function(ev) { _$jscoverage['/editor/enterKey.js'].functionData[4]++; - _$jscoverage['/editor/enterKey.js'].lineData[204]++; + _$jscoverage['/editor/enterKey.js'].lineData[221]++; var keyCode = ev.keyCode; - _$jscoverage['/editor/enterKey.js'].lineData[205]++; - if (visit331_205_1(keyCode === 13)) { - _$jscoverage['/editor/enterKey.js'].lineData[206]++; - if (visit332_206_1(!(visit333_206_2(ev.shiftKey || visit334_206_3(ev.ctrlKey || ev.metaKey))))) { - _$jscoverage['/editor/enterKey.js'].lineData[207]++; + _$jscoverage['/editor/enterKey.js'].lineData[222]++; + if (visit337_222_1(keyCode === 13)) { + _$jscoverage['/editor/enterKey.js'].lineData[223]++; + if (visit338_223_1(!(visit339_223_2(ev.shiftKey || visit340_223_3(ev.ctrlKey || ev.metaKey))))) { + _$jscoverage['/editor/enterKey.js'].lineData[224]++; editor.execCommand('save'); - _$jscoverage['/editor/enterKey.js'].lineData[208]++; + _$jscoverage['/editor/enterKey.js'].lineData[225]++; var re = editor.execCommand('enterBlock'); - _$jscoverage['/editor/enterKey.js'].lineData[209]++; + _$jscoverage['/editor/enterKey.js'].lineData[226]++; editor.execCommand('save'); - _$jscoverage['/editor/enterKey.js'].lineData[210]++; - if (visit335_210_1(re !== false)) { - _$jscoverage['/editor/enterKey.js'].lineData[211]++; + _$jscoverage['/editor/enterKey.js'].lineData[227]++; + if (visit341_227_1(re !== false)) { + _$jscoverage['/editor/enterKey.js'].lineData[228]++; ev.preventDefault(); } } } }); } - _$jscoverage['/editor/enterKey.js'].lineData[218]++; + _$jscoverage['/editor/enterKey.js'].lineData[235]++; return { init: function(editor) { _$jscoverage['/editor/enterKey.js'].functionData[5]++; - _$jscoverage['/editor/enterKey.js'].lineData[220]++; + _$jscoverage['/editor/enterKey.js'].lineData[237]++; editor.addCommand('enterBlock', { exec: enterBlock}); - _$jscoverage['/editor/enterKey.js'].lineData[223]++; + _$jscoverage['/editor/enterKey.js'].lineData[240]++; editor.docReady(function() { _$jscoverage['/editor/enterKey.js'].functionData[6]++; - _$jscoverage['/editor/enterKey.js'].lineData[224]++; + _$jscoverage['/editor/enterKey.js'].lineData[241]++; enterKey(editor); }); }}; diff --git a/src/editor/coverage/src/editor/focusManager.js b/src/editor/coverage/src/editor/focusManager.js index 9a7556ec40..21e2e67917 100644 --- a/src/editor/coverage/src/editor/focusManager.js +++ b/src/editor/coverage/src/editor/focusManager.js @@ -282,11 +282,11 @@ if (! _$jscoverage['/editor/focusManager.js'].branchData) { _$jscoverage['/editor/focusManager.js'].branchData['25'][1] = new BranchData(); } _$jscoverage['/editor/focusManager.js'].branchData['25'][1].init(110, 5, 'timer'); -function visit337_25_1(result) { +function visit343_25_1(result) { _$jscoverage['/editor/focusManager.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/editor/focusManager.js'].branchData['13'][1].init(111, 5, 'timer'); -function visit336_13_1(result) { +function visit342_13_1(result) { _$jscoverage['/editor/focusManager.js'].branchData['13'][1].ranCondition(result); return result; }_$jscoverage['/editor/focusManager.js'].lineData[6]++; @@ -304,7 +304,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/focusManager.js'].lineData[12]++; currentInstance = editor; _$jscoverage['/editor/focusManager.js'].lineData[13]++; - if (visit336_13_1(timer)) { + if (visit342_13_1(timer)) { _$jscoverage['/editor/focusManager.js'].lineData[14]++; clearTimeout(timer); } @@ -325,7 +325,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/focusManager.js'].lineData[24]++; currentInstance = NULL; _$jscoverage['/editor/focusManager.js'].lineData[25]++; - if (visit337_25_1(timer)) { + if (visit343_25_1(timer)) { _$jscoverage['/editor/focusManager.js'].lineData[26]++; clearTimeout(timer); } diff --git a/src/editor/coverage/src/editor/htmlDataProcessor.js b/src/editor/coverage/src/editor/htmlDataProcessor.js index bf5ce9aae8..f9e61781d4 100644 --- a/src/editor/coverage/src/editor/htmlDataProcessor.js +++ b/src/editor/coverage/src/editor/htmlDataProcessor.js @@ -234,143 +234,151 @@ if (! _$jscoverage['/editor/htmlDataProcessor.js']) { _$jscoverage['/editor/htmlDataProcessor.js'].lineData[12] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[13] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[14] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[15] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[16] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[17] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[20] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[21] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[22] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[23] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[24] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[27] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[28] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[29] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[30] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[31] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[32] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[33] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[34] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[37] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[39] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[43] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[45] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[35] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[38] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[40] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[44] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[46] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[47] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[52] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[71] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[80] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[82] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[85] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[87] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[88] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[89] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[50] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[51] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[54] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[55] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[56] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[57] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[62] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[81] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[90] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[92] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[95] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[97] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[98] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[101] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[102] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[104] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[99] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[100] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[105] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[107] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[108] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[111] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[112] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[114] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[115] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[116] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[117] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[118] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[129] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[130] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[132] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[148] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[149] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[150] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[152] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[155] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[125] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[126] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[128] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[139] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[140] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[142] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[158] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[159] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[160] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[162] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[163] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[168] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[169] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[165] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[170] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[171] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[172] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[177] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[182] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[185] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[178] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[186] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[189] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[190] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[192] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[191] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[194] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[195] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[196] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[197] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[198] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[199] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[201] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[202] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[203] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[206] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[207] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[208] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[209] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[210] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[211] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[212] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[217] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[218] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[219] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[220] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[223] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[224] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[228] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[229] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[230] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[231] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[232] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[235] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[233] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[234] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[240] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[241] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[242] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[245] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[246] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[247] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[253] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[250] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[254] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[255] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[257] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[258] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[259] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[256] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[262] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[263] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[270] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[264] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[266] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[267] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[268] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[271] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[272] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[279] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[284] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[285] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[278] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[280] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[286] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[289] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[290] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[291] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[292] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[293] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[296] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[297] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[299] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[302] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[305] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[307] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[308] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[311] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[304] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[306] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[309] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[312] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[313] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[317] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[314] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[315] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[318] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[319] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[323] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[320] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[324] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[327] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[328] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[325] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[326] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[330] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[331] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[337] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[339] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[345] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[347] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[348] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[349] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[334] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[335] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[338] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[344] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[346] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[352] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[354] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[355] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[356] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[361] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[363] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[367] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[371] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[376] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[368] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[370] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[374] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[378] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[379] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[382] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[384] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[383] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[385] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[386] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[389] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[392] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[394] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[391] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[396] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[402] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[404] = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[405] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[399] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[401] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[403] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[409] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[411] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[412] = 0; } if (! _$jscoverage['/editor/htmlDataProcessor.js'].functionData) { _$jscoverage['/editor/htmlDataProcessor.js'].functionData = []; @@ -406,278 +414,330 @@ if (! _$jscoverage['/editor/htmlDataProcessor.js'].functionData) { _$jscoverage['/editor/htmlDataProcessor.js'].functionData[29] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].functionData[30] = 0; _$jscoverage['/editor/htmlDataProcessor.js'].functionData[31] = 0; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[32] = 0; } if (! _$jscoverage['/editor/htmlDataProcessor.js'].branchData) { _$jscoverage['/editor/htmlDataProcessor.js'].branchData = {}; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['13'] = []; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['13'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['21'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['21'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['27'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['27'][1] = new BranchData(); _$jscoverage['/editor/htmlDataProcessor.js'].branchData['28'] = []; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['28'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['30'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['30'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][3] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['82'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['82'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['87'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['87'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['89'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['89'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['104'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['104'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['107'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['107'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['115'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['115'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['129'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['129'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['148'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['148'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['155'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['155'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][3] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['197'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['197'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][3] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['34'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['34'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['92'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['92'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['97'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['97'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['99'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['99'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['114'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['114'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['117'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['117'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['125'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['125'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['139'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['139'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['158'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['158'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['165'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['165'][1] = new BranchData(); _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'] = []; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][3] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['210'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['210'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][2] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['214'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['214'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][3] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['208'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['208'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][3] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][2] = new BranchData(); _$jscoverage['/editor/htmlDataProcessor.js'].branchData['220'] = []; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['220'][1] = new BranchData(); _$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'] = []; _$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['232'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['232'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['246'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['246'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['289'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['289'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['337'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['337'][1] = new BranchData(); - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['354'] = []; - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['354'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][2] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['224'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['224'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['230'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['230'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['233'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['233'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['242'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['242'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['255'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['255'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['296'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['296'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['344'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['344'][1] = new BranchData(); + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['361'] = []; + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['361'][1] = new BranchData(); } -_$jscoverage['/editor/htmlDataProcessor.js'].branchData['354'][1].init(85, 25, '_dataFilter || dataFilter'); -function visit374_354_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['354'][1].ranCondition(result); +_$jscoverage['/editor/htmlDataProcessor.js'].branchData['361'][1].init(85, 25, '_dataFilter || dataFilter'); +function visit385_361_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['361'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['337'][1].init(25, 9, 'UA.webkit'); -function visit373_337_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['337'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['344'][1].init(25, 9, 'UA.webkit'); +function visit384_344_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['344'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['289'][1].init(183, 49, 'attributes.indexOf(\'_keSaved_\' + attrName) === -1'); -function visit372_289_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['289'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['296'][1].init(183, 49, 'attributes.indexOf(\'_keSaved_\' + attrName) === -1'); +function visit383_296_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['296'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['246'][1].init(25, 19, '!(\'br\' in dtd[i])'); -function visit371_246_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['246'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['255'][1].init(25, 17, '!(\'br\' in dtd[i])'); +function visit382_255_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['255'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['232'][1].init(65, 26, 'blockNeedsExtension(block)'); -function visit370_232_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['232'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['242'][1].init(65, 26, 'blockNeedsExtension(block)'); +function visit381_242_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['242'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][1].init(138, 7, '!OLD_IE'); -function visit369_223_1(result) { +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['233'][1].init(138, 7, '!OLD_IE'); +function visit380_233_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['233'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['230'][1].init(65, 26, 'blockNeedsExtension(block)'); +function visit379_230_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['230'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['224'][1].init(52, 30, 'lastChild.nodeName === \'input\''); +function visit378_224_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['224'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][2].init(335, 25, 'block.nodeName === \'form\''); +function visit377_223_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][2].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][1].init(188, 83, 'block.nodeName === \'form\' && lastChild.nodeName === \'input\''); +function visit376_223_1(result) { _$jscoverage['/editor/htmlDataProcessor.js'].branchData['223'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['220'][1].init(65, 26, 'blockNeedsExtension(block)'); -function visit368_220_1(result) { +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['220'][1].init(144, 272, '!lastChild || block.nodeName === \'form\' && lastChild.nodeName === \'input\''); +function visit375_220_1(result) { _$jscoverage['/editor/htmlDataProcessor.js'].branchData['220'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['214'][1].init(52, 30, 'lastChild.nodeName === \'input\''); -function visit367_214_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['214'][1].ranCondition(result); - return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][2].init(335, 25, 'block.nodeName === \'form\''); -function visit366_213_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][2].init(182, 24, 'lastChild.nodeType === 3'); +function visit374_211_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][1].init(188, 83, 'block.nodeName === \'form\' && lastChild.nodeName === \'input\''); -function visit365_213_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['213'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][1].init(182, 67, 'lastChild.nodeType === 3 && tailNbspRegex.test(lastChild.nodeValue)'); +function visit373_211_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['211'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['210'][1].init(144, 272, '!lastChild || block.nodeName === \'form\' && lastChild.nodeName === \'input\''); -function visit364_210_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['210'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][3].init(57, 27, 'lastChild.nodeName === \'br\''); +function visit372_209_3(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][3].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][2].init(206, 24, 'lastChild.nodeType === 3'); -function visit363_201_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][2].init(29, 24, 'lastChild.nodeType === 1'); +function visit371_209_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][1].init(206, 67, 'lastChild.nodeType === 3 && tailNbspRegex.test(lastChild.nodeValue)'); -function visit362_201_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['201'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][1].init(29, 55, 'lastChild.nodeType === 1 && lastChild.nodeName === \'br\''); +function visit370_209_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['209'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][3].init(57, 27, 'lastChild.nodeName === \'br\''); -function visit361_198_3(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][3].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['208'][1].init(88, 9, 'lastChild'); +function visit369_208_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['208'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][2].init(29, 24, 'lastChild.nodeType === 1'); -function visit360_198_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][2].init(115, 19, 'last.nodeType === 1'); +function visit368_200_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][1].init(29, 55, 'lastChild.nodeType === 1 && lastChild.nodeName === \'br\''); -function visit359_198_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][1].init(80, 43, 'last.nodeType === 1 && isEmptyElement(last)'); +function visit367_200_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['200'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['197'][1].init(88, 9, 'lastChild'); -function visit358_197_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['197'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][3].init(32, 19, 'last.nodeType === 3'); +function visit366_199_3(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][3].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][3].init(206, 19, 'last.nodeType === 3'); -function visit357_189_3(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][3].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][2].init(32, 49, 'last.nodeType === 3 && !util.trim(last.nodeValue)'); +function visit365_199_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][2].init(206, 46, 'last.nodeType === 3 && !S.trim(last.nodeValue)'); -function visit356_189_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][1].init(32, 124, 'last.nodeType === 3 && !util.trim(last.nodeValue) || last.nodeType === 1 && isEmptyElement(last)'); +function visit364_199_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['199'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][1].init(198, 54, 'last && last.nodeType === 3 && !S.trim(last.nodeValue)'); -function visit355_189_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['189'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][1].init(196, 158, 'last && (last.nodeType === 3 && !util.trim(last.nodeValue) || last.nodeType === 1 && isEmptyElement(last))'); +function visit363_198_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['198'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['155'][1].init(5205, 6, 'OLD_IE'); -function visit354_155_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['155'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['165'][1].init(5182, 6, 'OLD_IE'); +function visit362_165_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['165'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['148'][1].init(99, 74, 'contents.substr(0, protectedSourceMarker.length) === protectedSourceMarker'); -function visit353_148_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['148'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['158'][1].init(99, 74, 'contents.substr(0, protectedSourceMarker.length) === protectedSourceMarker'); +function visit361_158_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['158'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['129'][1].init(33, 10, '!S.trim(v)'); -function visit352_129_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['129'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['139'][1].init(33, 13, '!util.trim(v)'); +function visit360_139_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['139'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['115'][1].init(33, 60, '!(element.childNodes.length) && !(element.attributes.length)'); -function visit351_115_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['115'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['125'][1].init(33, 60, '!(element.childNodes.length) && !(element.attributes.length)'); +function visit359_125_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['125'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['107'][1].init(364, 12, 'parentHeight'); -function visit350_107_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['107'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['117'][1].init(364, 12, 'parentHeight'); +function visit358_117_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['117'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['104'][1].init(199, 11, 'parentWidth'); -function visit349_104_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['104'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['114'][1].init(199, 11, 'parentWidth'); +function visit357_114_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['114'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][2].init(251, 28, 'parent.nodeName === \'object\''); -function visit348_101_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][2].init(251, 28, 'parent.nodeName === \'object\''); +function visit356_111_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][1].init(241, 38, 'parent && parent.nodeName === \'object\''); -function visit347_101_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['101'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][1].init(241, 38, 'parent && parent.nodeName === \'object\''); +function visit355_111_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['111'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['89'][1].init(133, 40, 'element.getAttribute(savedAttributeName)'); -function visit346_89_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['89'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['99'][1].init(131, 40, 'element.getAttribute(savedAttributeName)'); +function visit354_99_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['99'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['87'][1].init(324, 25, 'i < attributeNames.length'); -function visit345_87_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['87'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['97'][1].init(322, 25, 'i < attributeNames.length'); +function visit353_97_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['82'][1].init(99, 17, 'attributes.length'); -function visit344_82_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['82'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['92'][1].init(99, 17, 'attributes.length'); +function visit352_92_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['92'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][3].init(78, 43, 'child.nodeType === S.DOM.NodeType.TEXT_NODE'); -function visit343_32_3(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][3].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['34'][1].init(237, 22, '!isEmptyElement(child)'); +function visit351_34_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['34'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][2].init(78, 63, 'child.nodeType === S.DOM.NodeType.TEXT_NODE && !child.nodeValue'); -function visit342_32_2(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][2].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][3].init(109, 31, 'nodeType === NodeType.TEXT_NODE'); +function visit350_31_3(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][3].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][1].init(76, 66, '!(child.nodeType === S.DOM.NodeType.TEXT_NODE && !child.nodeValue)'); -function visit341_32_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['32'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][2].init(109, 51, 'nodeType === NodeType.TEXT_NODE && !child.nodeValue'); +function visit349_31_2(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][2].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['30'][1].init(67, 5, 'i < l'); -function visit340_30_1(result) { - _$jscoverage['/editor/htmlDataProcessor.js'].branchData['30'][1].ranCondition(result); +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][1].init(107, 54, '!(nodeType === NodeType.TEXT_NODE && !child.nodeValue)'); +function visit348_31_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['31'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['28'][1].init(197, 1, 'l'); -function visit339_28_1(result) { +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['28'][1].init(25, 5, 'i < l'); +function visit347_28_1(result) { _$jscoverage['/editor/htmlDataProcessor.js'].branchData['28'][1].ranCondition(result); return result; -}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['13'][1].init(99, 16, 'S.UA.ieMode < 11'); -function visit338_13_1(result) { +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['27'][1].init(192, 1, 'l'); +function visit346_27_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['27'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['21'][1].init(13, 30, '!dtd.$removeEmpty[el.nodeName]'); +function visit345_21_1(result) { + _$jscoverage['/editor/htmlDataProcessor.js'].branchData['21'][1].ranCondition(result); + return result; +}_$jscoverage['/editor/htmlDataProcessor.js'].branchData['13'][1].init(91, 14, 'UA.ieMode < 11'); +function visit344_13_1(result) { _$jscoverage['/editor/htmlDataProcessor.js'].branchData['13'][1].ranCondition(result); return result; }_$jscoverage['/editor/htmlDataProcessor.js'].lineData[10]++; KISSY.add(function(S, require) { _$jscoverage['/editor/htmlDataProcessor.js'].functionData[0]++; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[11]++; - var Editor = require('./base'); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[12]++; var HtmlParser = require('html-parser'); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[12]++; + var UA = require('ua'); _$jscoverage['/editor/htmlDataProcessor.js'].lineData[13]++; - var OLD_IE = visit338_13_1(S.UA.ieMode < 11); + var OLD_IE = visit344_13_1(UA.ieMode < 11); _$jscoverage['/editor/htmlDataProcessor.js'].lineData[14]++; - return { - init: function(editor) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[1]++; + var Node = require('node'); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[15]++; + var dtd = HtmlParser.DTD; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[16]++; - var Node = S.Node, UA = S.UA, htmlFilter = new HtmlParser.Filter(), dataFilter = new HtmlParser.Filter(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[22]++; - function filterInline(element) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[2]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[23]++; - var childNodes = element.childNodes, i, child, allEmpty, l = childNodes.length; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[28]++; - if (visit339_28_1(l)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[29]++; - allEmpty = 1; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[30]++; - for (i = 0; visit340_30_1(i < l); i++) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[31]++; + var NodeType = Node.NodeType; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[17]++; + var util = S; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[20]++; + function isEmptyElement(el) { + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[1]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[21]++; + if (visit345_21_1(!dtd.$removeEmpty[el.nodeName])) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[22]++; + return false; + } + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[24]++; + var childNodes = el.childNodes, i, child, l = childNodes.length; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[27]++; + if (visit346_27_1(l)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[28]++; + for (i = 0; visit347_28_1(i < l); i++) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[29]++; child = childNodes[i]; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[32]++; - if (visit341_32_1(!(visit342_32_2(visit343_32_3(child.nodeType === S.DOM.NodeType.TEXT_NODE) && !child.nodeValue)))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[33]++; - allEmpty = 0; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[34]++; - break; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[30]++; + var nodeType = child.nodeType; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[31]++; + if (visit348_31_1(!(visit349_31_2(visit350_31_3(nodeType === NodeType.TEXT_NODE) && !child.nodeValue)))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[32]++; + return false; + } + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[34]++; + if (visit351_34_1(!isEmptyElement(child))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[35]++; + return false; } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[37]++; - return allEmpty ? false : undefined; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[38]++; + return true; } else { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[39]++; - return false; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[40]++; + return true; } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[43]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[44]++; + return { + init: function(editor) { + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[2]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[46]++; + var htmlFilter = new HtmlParser.Filter(), dataFilter = new HtmlParser.Filter(); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[50]++; + function filterInline(element) { + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[3]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[51]++; + return !isEmptyElement(element); + } + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[54]++; (function() { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[3]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[45]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[4]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[55]++; function wrapAsComment(element) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[4]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[46]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[5]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[56]++; var html = HtmlParser.serialize(element); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[47]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[57]++; return new HtmlParser.Comment(protectedSourceMarker + encodeURIComponent(html).replace(/--/g, '%2D%2D')); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[52]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[62]++; var defaultDataFilterRules = { tagNames: [[/^\?xml.*$/i, ''], [/^.*namespace.*$/i, '']], attributeNames: [[/^on/, 'ke_on'], [/^lang$/, '']], @@ -685,60 +745,60 @@ KISSY.add(function(S, require) { script: wrapAsComment, noscript: wrapAsComment, span: filterInline}}; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[71]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[81]++; var defaultHTMLFilterRules = { tagNames: [[(/^ke:/), ''], [(/^\?xml:namespace$/), '']], tags: { $: function(element) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[5]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[80]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[6]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[90]++; var attributes = element.attributes; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[82]++; - if (visit344_82_1(attributes.length)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[85]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[92]++; + if (visit352_92_1(attributes.length)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[95]++; var attributeNames = ['name', 'href', 'src'], savedAttributeName; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[87]++; - for (var i = 0; visit345_87_1(i < attributeNames.length); i++) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[88]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[97]++; + for (var i = 0; visit353_97_1(i < attributeNames.length); i++) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[98]++; savedAttributeName = '_keSaved_' + attributeNames[i]; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[89]++; - if (visit346_89_1(element.getAttribute(savedAttributeName))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[90]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[99]++; + if (visit354_99_1(element.getAttribute(savedAttributeName))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[100]++; element.removeAttribute(attributeNames[i]); } } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[95]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[105]++; return element; }, embed: function(element) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[6]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[98]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[7]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[108]++; var parent = element.parentNode; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[101]++; - if (visit347_101_1(parent && visit348_101_2(parent.nodeName === 'object'))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[102]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[111]++; + if (visit355_111_1(parent && visit356_111_2(parent.nodeName === 'object'))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[112]++; var parentWidth = parent.getAttribute('width'), parentHeight = parent.getAttribute('height'); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[104]++; - if (visit349_104_1(parentWidth)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[105]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[114]++; + if (visit357_114_1(parentWidth)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[115]++; element.setAttribute('width', parentWidth); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[107]++; - if (visit350_107_1(parentHeight)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[108]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[117]++; + if (visit358_117_1(parentHeight)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[118]++; element.setAttribute('width', parentHeight); } } }, a: function(element) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[7]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[115]++; - if (visit351_115_1(!(element.childNodes.length) && !(element.attributes.length))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[116]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[8]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[125]++; + if (visit359_125_1(!(element.childNodes.length) && !(element.attributes.length))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[126]++; return false; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[118]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[128]++; return undefined; }, span: filterInline, @@ -748,281 +808,279 @@ KISSY.add(function(S, require) { u: filterInline}, attributes: { style: function(v) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[8]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[129]++; - if (visit352_129_1(!S.trim(v))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[130]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[9]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[139]++; + if (visit360_139_1(!util.trim(v))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[140]++; return false; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[132]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[142]++; return undefined; }}, attributeNames: [[(/^_keSaved_/), ''], [(/^ke_on/), 'on'], [(/^_ke.*/), ''], [(/^ke:.*$/), ''], [(/^_ks.*/), '']], comment: function(contents) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[9]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[148]++; - if (visit353_148_1(contents.substr(0, protectedSourceMarker.length) === protectedSourceMarker)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[149]++; - contents = S.trim(S.urlDecode(contents.substr(protectedSourceMarker.length))); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[150]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[10]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[158]++; + if (visit361_158_1(contents.substr(0, protectedSourceMarker.length) === protectedSourceMarker)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[159]++; + contents = util.trim(util.urlDecode(contents.substr(protectedSourceMarker.length))); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[160]++; return HtmlParser.parse(contents).childNodes[0]; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[152]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[162]++; return undefined; }}; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[155]++; - if (visit354_155_1(OLD_IE)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[160]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[165]++; + if (visit362_165_1(OLD_IE)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[170]++; defaultHTMLFilterRules.attributes.style = function(value) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[10]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[162]++; - return value.replace(/(^|;)([^:]+)/g, function(match) { _$jscoverage['/editor/htmlDataProcessor.js'].functionData[11]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[163]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[171]++; + return value.replace(/(^|;)([^:]+)/g, function(match) { + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[12]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[172]++; return match.toLowerCase(); }); }; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[168]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[177]++; htmlFilter.addRules(defaultHTMLFilterRules); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[169]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[178]++; dataFilter.addRules(defaultDataFilterRules); })(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[177]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[186]++; (function() { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[12]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[182]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[13]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[191]++; var tailNbspRegex = /^[\t\r\n ]*(?: |\xa0)[\t\r\n ]*$/; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[185]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[194]++; function lastNoneSpaceChild(block) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[13]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[186]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[14]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[195]++; var childNodes = block.childNodes, lastIndex = childNodes.length, last = childNodes[lastIndex - 1]; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[189]++; - while (visit355_189_1(last && visit356_189_2(visit357_189_3(last.nodeType === 3) && !S.trim(last.nodeValue)))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[190]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[198]++; + while (visit363_198_1(last && (visit364_199_1(visit365_199_2(visit366_199_3(last.nodeType === 3) && !util.trim(last.nodeValue)) || visit367_200_1(visit368_200_2(last.nodeType === 1) && isEmptyElement(last)))))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[201]++; last = childNodes[--lastIndex]; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[192]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[203]++; return last; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[195]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[206]++; function trimFillers(block) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[14]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[196]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[15]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[207]++; var lastChild = lastNoneSpaceChild(block); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[197]++; - if (visit358_197_1(lastChild)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[198]++; - if (visit359_198_1(visit360_198_2(lastChild.nodeType === 1) && visit361_198_3(lastChild.nodeName === 'br'))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[199]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[208]++; + if (visit369_208_1(lastChild)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[209]++; + if (visit370_209_1(visit371_209_2(lastChild.nodeType === 1) && visit372_209_3(lastChild.nodeName === 'br'))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[210]++; block.removeChild(lastChild); } else { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[201]++; - if (visit362_201_1(visit363_201_2(lastChild.nodeType === 3) && tailNbspRegex.test(lastChild.nodeValue))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[202]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[211]++; + if (visit373_211_1(visit374_211_2(lastChild.nodeType === 3) && tailNbspRegex.test(lastChild.nodeValue))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[212]++; block.removeChild(lastChild); } } } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[207]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[217]++; function blockNeedsExtension(block) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[15]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[208]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[16]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[218]++; var lastChild = lastNoneSpaceChild(block); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[210]++; - return visit364_210_1(!lastChild || visit365_213_1(visit366_213_2(block.nodeName === 'form') && visit367_214_1(lastChild.nodeName === 'input'))); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[220]++; + return visit375_220_1(!lastChild || visit376_223_1(visit377_223_2(block.nodeName === 'form') && visit378_224_1(lastChild.nodeName === 'input'))); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[218]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[228]++; function extendBlockForDisplay(block) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[16]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[219]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[17]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[229]++; trimFillers(block); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[220]++; - if (visit368_220_1(blockNeedsExtension(block))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[223]++; - if (visit369_223_1(!OLD_IE)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[224]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[230]++; + if (visit379_230_1(blockNeedsExtension(block))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[233]++; + if (visit380_233_1(!OLD_IE)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[234]++; block.appendChild(new HtmlParser.Tag('br')); } } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[230]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[240]++; function extendBlockForOutput(block) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[17]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[231]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[18]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[241]++; trimFillers(block); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[232]++; - if (visit370_232_1(blockNeedsExtension(block))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[235]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[242]++; + if (visit381_242_1(blockNeedsExtension(block))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[245]++; block.appendChild(new HtmlParser.Text('\xa0')); } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[240]++; - var dtd = Editor.XHTML_DTD; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[241]++; - var blockLikeTags = S.merge(dtd.$block, dtd.$listItem, dtd.$tableContent), i; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[245]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[250]++; + var blockLikeTags = util.merge(dtd.$block, dtd.$listItem, dtd.$tableContent), i; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[254]++; for (i in blockLikeTags) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[246]++; - if (visit371_246_1(!('br' in dtd[i]))) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[247]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[255]++; + if (visit382_255_1(!('br' in dtd[i]))) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[256]++; delete blockLikeTags[i]; } } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[253]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[262]++; delete blockLikeTags.pre; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[254]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[263]++; var defaultDataBlockFilterRules = { tags: {}}; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[255]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[264]++; var defaultHTMLBlockFilterRules = { tags: {}}; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[257]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[266]++; for (i in blockLikeTags) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[258]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[267]++; defaultDataBlockFilterRules.tags[i] = extendBlockForDisplay; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[259]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[268]++; defaultHTMLBlockFilterRules.tags[i] = extendBlockForOutput; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[262]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[271]++; dataFilter.addRules(defaultDataBlockFilterRules); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[263]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[272]++; htmlFilter.addRules(defaultHTMLBlockFilterRules); })(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[270]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[278]++; htmlFilter.addRules({ text: function(text) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[18]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[272]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[19]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[280]++; return text.replace(/\xa0/g, ' '); }}); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[279]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[286]++; var protectElementRegex = /<(a|area|img|input)\b([^>]*)>/gi, protectAttributeRegex = /\b(href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[284]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[291]++; function protectAttributes(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[19]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[285]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[20]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[292]++; return html.replace(protectElementRegex, function(element, tag, attributes) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[20]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[286]++; - return '<' + tag + attributes.replace(protectAttributeRegex, function(fullAttr, attrName) { _$jscoverage['/editor/htmlDataProcessor.js'].functionData[21]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[289]++; - if (visit372_289_1(attributes.indexOf('_keSaved_' + attrName) === -1)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[290]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[293]++; + return '<' + tag + attributes.replace(protectAttributeRegex, function(fullAttr, attrName) { + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[22]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[296]++; + if (visit383_296_1(attributes.indexOf('_keSaved_' + attrName) === -1)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[297]++; return ' _keSaved_' + fullAttr + ' ' + fullAttr; } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[292]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[299]++; return fullAttr; }) + '>'; }); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[297]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[304]++; var protectedSourceMarker = '{ke_protected}'; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[299]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[306]++; var protectElementsRegex = /(?:]*>[\s\S]*<\/textarea>)|(?:]*>[\s\S]*<\/style>)|(?:]*>[\s\S]*<\/script>)|(?:<(:?link|meta|base)[^>]*>)/gi, encodedElementsRegex = /([^<]*)<\/ke:encoded>/gi; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[302]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[309]++; var protectElementNamesRegex = /(<\/?)((?:object|embed|param|html|body|head|title|noscript)[^>]*>)/gi, unprotectElementNamesRegex = /(<\/?)ke:((?:object|embed|param|html|body|head|title|noscript)[^>]*>)/gi; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[305]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[312]++; var protectSelfClosingRegex = /]*?)\/?>(?!\s*<\/ke:\1)/gi; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[307]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[314]++; function protectSelfClosingElements(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[22]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[308]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[23]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[315]++; return html.replace(protectSelfClosingRegex, ''); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[311]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[318]++; function protectElements(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[23]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[312]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[24]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[319]++; return html.replace(protectElementsRegex, function(match) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[24]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[313]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[25]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[320]++; return '' + encodeURIComponent(match) + ''; }); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[317]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[324]++; function unprotectElements(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[25]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[318]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[26]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[325]++; return html.replace(encodedElementsRegex, function(match, encoded) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[26]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[319]++; - return S.urlDecode(encoded); + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[27]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[326]++; + return util.urlDecode(encoded); }); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[323]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[330]++; function protectElementsNames(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[27]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[324]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[28]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[331]++; return html.replace(protectElementNamesRegex, '$1ke:$2'); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[327]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[334]++; function unprotectElementNames(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[28]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[328]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[29]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[335]++; return html.replace(unprotectElementNamesRegex, '$1$2'); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[331]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[338]++; editor.htmlDataProcessor = { dataFilter: dataFilter, htmlFilter: htmlFilter, toHtml: function(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[29]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[337]++; - if (visit373_337_1(UA.webkit)) { - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[339]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[30]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[344]++; + if (visit384_344_1(UA.webkit)) { + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[346]++; html = html.replace(/\u200b/g, ''); } - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[345]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[352]++; var writer = new HtmlParser.BeautifyWriter(), n = new HtmlParser.Parser(html).parse(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[347]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[354]++; n.writeHtml(writer, htmlFilter); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[348]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[355]++; html = writer.getHtml(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[349]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[356]++; return html; }, toDataFormat: function(html, _dataFilter) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[30]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[354]++; - _dataFilter = visit374_354_1(_dataFilter || dataFilter); + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[31]++; _$jscoverage['/editor/htmlDataProcessor.js'].lineData[361]++; + _dataFilter = visit385_361_1(_dataFilter || dataFilter); + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[368]++; html = protectElements(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[363]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[370]++; html = protectAttributes(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[367]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[374]++; html = protectElementsNames(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[371]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[378]++; html = protectSelfClosingElements(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[376]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[383]++; var div = new Node('
'); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[378]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[385]++; div.html('a' + html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[379]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[386]++; html = div.html().substr(1); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[382]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[389]++; html = unprotectElementNames(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[384]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[391]++; html = unprotectElements(html); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[389]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[396]++; var writer = new HtmlParser.BasicWriter(), n = new HtmlParser.Parser(html).parse(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[392]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[399]++; n.writeHtml(writer, _dataFilter); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[394]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[401]++; html = writer.getHtml(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[396]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[403]++; return html; }, toServer: function(html) { - _$jscoverage['/editor/htmlDataProcessor.js'].functionData[31]++; - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[402]++; + _$jscoverage['/editor/htmlDataProcessor.js'].functionData[32]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[409]++; var writer = new HtmlParser.MinifyWriter(), n = new HtmlParser.Parser(html).parse(); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[404]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[411]++; n.writeHtml(writer, htmlFilter); - _$jscoverage['/editor/htmlDataProcessor.js'].lineData[405]++; + _$jscoverage['/editor/htmlDataProcessor.js'].lineData[412]++; return writer.getHtml(); }}; }}; diff --git a/src/editor/coverage/src/editor/plugin-meta.js b/src/editor/coverage/src/editor/plugin-meta.js index b34bb7a883..a1f99e6db4 100644 --- a/src/editor/coverage/src/editor/plugin-meta.js +++ b/src/editor/coverage/src/editor/plugin-meta.js @@ -424,7 +424,7 @@ KISSY.add(function() { _$jscoverage['/editor/plugin-meta.js'].lineData[90]++; config({ 'editor/plugin/flash-common/base-class': { - requires: ['editor/plugin/flash-common/utils', 'base', 'editor', 'editor/plugin/dialog-loader', 'editor/plugin/bubble']}}); + requires: ['editor/plugin/flash-common/utils', 'base', 'editor', 'editor/plugin/dialog-loader', 'editor/plugin/bubble', 'editor/plugin/contextmenu']}}); _$jscoverage['/editor/plugin-meta.js'].lineData[94]++; config({ 'editor/plugin/flash-common/utils': { @@ -484,7 +484,7 @@ KISSY.add(function() { _$jscoverage['/editor/plugin-meta.js'].lineData[150]++; config({ 'editor/plugin/image': { - requires: ['editor/plugin/button', 'editor', 'editor/plugin/bubble', 'editor/plugin/dialog-loader']}}); + requires: ['editor/plugin/button', 'editor', 'editor/plugin/bubble', 'editor/plugin/dialog-loader', 'editor/plugin/contextmenu']}}); _$jscoverage['/editor/plugin-meta.js'].lineData[154]++; config({ 'editor/plugin/image/dialog': { diff --git a/src/editor/coverage/src/editor/range.js b/src/editor/coverage/src/editor/range.js index d669e7b014..dd54bd1a89 100644 --- a/src/editor/coverage/src/editor/range.js +++ b/src/editor/coverage/src/editor/range.js @@ -1351,1007 +1351,1007 @@ if (! _$jscoverage['/editor/range.js'].branchData) { _$jscoverage['/editor/range.js'].branchData['1770'][1] = new BranchData(); } _$jscoverage['/editor/range.js'].branchData['1770'][1].init(764, 4, 'last'); -function visit625_1770_1(result) { +function visit636_1770_1(result) { _$jscoverage['/editor/range.js'].branchData['1770'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1760'][1].init(232, 50, 'self.checkStartOfBlock() && self.checkEndOfBlock()'); -function visit624_1760_1(result) { +function visit635_1760_1(result) { _$jscoverage['/editor/range.js'].branchData['1760'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1756'][2].init(132, 32, 'tmpDtd && tmpDtd[elementName]'); -function visit623_1756_2(result) { +function visit634_1756_2(result) { _$jscoverage['/editor/range.js'].branchData['1756'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1756'][1].init(89, 77, '(tmpDtd = dtd[current.nodeName()]) && !(tmpDtd && tmpDtd[elementName])'); -function visit622_1756_1(result) { +function visit633_1756_1(result) { _$jscoverage['/editor/range.js'].branchData['1756'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1754'][1].init(255, 7, 'isBlock'); -function visit621_1754_1(result) { +function visit632_1754_1(result) { _$jscoverage['/editor/range.js'].branchData['1754'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1737'][1].init(115, 43, 'domNode.nodeType === Dom.NodeType.TEXT_NODE'); -function visit620_1737_1(result) { +function visit631_1737_1(result) { _$jscoverage['/editor/range.js'].branchData['1737'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1717'][2].init(482, 44, 'el[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit619_1717_2(result) { +function visit630_1717_2(result) { _$jscoverage['/editor/range.js'].branchData['1717'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1717'][1].init(482, 66, 'el[0].nodeType === Dom.NodeType.ELEMENT_NODE && el._4eIsEditable()'); -function visit618_1717_1(result) { +function visit629_1717_1(result) { _$jscoverage['/editor/range.js'].branchData['1717'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1708'][1].init(85, 41, 'el[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit617_1708_1(result) { +function visit628_1708_1(result) { _$jscoverage['/editor/range.js'].branchData['1708'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1697'][1].init(278, 19, '!childOnly && !next'); -function visit616_1697_1(result) { +function visit627_1697_1(result) { _$jscoverage['/editor/range.js'].branchData['1697'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1692'][2].init(48, 46, 'node[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit615_1692_2(result) { +function visit626_1692_2(result) { _$jscoverage['/editor/range.js'].branchData['1692'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1692'][1].init(48, 90, 'node[0].nodeType === Dom.NodeType.ELEMENT_NODE && node._4eIsEditable()'); -function visit614_1692_1(result) { +function visit625_1692_1(result) { _$jscoverage['/editor/range.js'].branchData['1692'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1661'][1].init(46, 15, '!self.collapsed'); -function visit613_1661_1(result) { +function visit624_1661_1(result) { _$jscoverage['/editor/range.js'].branchData['1661'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1639'][1].init(296, 57, '!UA.ie && !S.inArray(startBlock.nodeName(), [\'ul\', \'ol\'])'); -function visit612_1639_1(result) { +function visit623_1639_1(result) { _$jscoverage['/editor/range.js'].branchData['1639'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1629'][1].init(265, 14, 'isStartOfBlock'); -function visit611_1629_1(result) { +function visit622_1629_1(result) { _$jscoverage['/editor/range.js'].branchData['1629'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1624'][1].init(21, 12, 'isEndOfBlock'); -function visit610_1624_1(result) { +function visit621_1624_1(result) { _$jscoverage['/editor/range.js'].branchData['1624'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1623'][2].init(1257, 29, 'startBlock[0] === endBlock[0]'); -function visit609_1623_2(result) { +function visit620_1623_2(result) { _$jscoverage['/editor/range.js'].branchData['1623'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1623'][1].init(1243, 43, 'startBlock && startBlock[0] === endBlock[0]'); -function visit608_1623_1(result) { +function visit619_1623_1(result) { _$jscoverage['/editor/range.js'].branchData['1623'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1618'][1].init(91, 34, 'endBlock && self.checkEndOfBlock()'); -function visit607_1618_1(result) { +function visit618_1618_1(result) { _$jscoverage['/editor/range.js'].branchData['1618'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1617'][1].init(1039, 38, 'startBlock && self.checkStartOfBlock()'); -function visit606_1617_1(result) { +function visit617_1617_1(result) { _$jscoverage['/editor/range.js'].branchData['1617'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1611'][1].init(212, 9, '!endBlock'); -function visit605_1611_1(result) { +function visit616_1611_1(result) { _$jscoverage['/editor/range.js'].branchData['1611'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1606'][1].init(21, 11, '!startBlock'); -function visit604_1606_1(result) { +function visit615_1606_1(result) { _$jscoverage['/editor/range.js'].branchData['1606'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1605'][1].init(626, 17, 'blockTag !== \'br\''); -function visit603_1605_1(result) { +function visit614_1605_1(result) { _$jscoverage['/editor/range.js'].branchData['1605'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1600'][1].init(482, 38, '!startBlockLimit.equals(endBlockLimit)'); -function visit602_1600_1(result) { +function visit613_1600_1(result) { _$jscoverage['/editor/range.js'].branchData['1600'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1576'][1].init(354, 6, '!UA.ie'); -function visit601_1576_1(result) { +function visit612_1576_1(result) { _$jscoverage['/editor/range.js'].branchData['1576'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1554'][1].init(2355, 55, 'startNode._4ePosition(endNode) & KEP.POSITION_FOLLOWING'); -function visit600_1554_1(result) { +function visit611_1554_1(result) { _$jscoverage['/editor/range.js'].branchData['1554'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1539'][1].init(305, 16, 'childCount === 0'); -function visit599_1539_1(result) { +function visit610_1539_1(result) { _$jscoverage['/editor/range.js'].branchData['1539'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1535'][1].init(80, 22, 'childCount > endOffset'); -function visit598_1535_1(result) { +function visit609_1535_1(result) { _$jscoverage['/editor/range.js'].branchData['1535'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1533'][1].init(1364, 49, 'endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit597_1533_1(result) { +function visit608_1533_1(result) { _$jscoverage['/editor/range.js'].branchData['1533'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1529'][1].init(599, 42, 'startNode._4eNextSourceNode() || startNode'); -function visit596_1529_1(result) { +function visit607_1529_1(result) { _$jscoverage['/editor/range.js'].branchData['1529'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1513'][1].init(211, 16, 'childCount === 0'); -function visit595_1513_1(result) { +function visit606_1513_1(result) { _$jscoverage['/editor/range.js'].branchData['1513'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1511'][1].init(82, 24, 'childCount > startOffset'); -function visit594_1511_1(result) { +function visit605_1511_1(result) { _$jscoverage['/editor/range.js'].branchData['1511'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1509'][1].init(261, 51, 'startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit593_1509_1(result) { +function visit604_1509_1(result) { _$jscoverage['/editor/range.js'].branchData['1509'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1493'][1].init(7, 23, 'checkType === KER.START'); -function visit592_1493_1(result) { +function visit603_1493_1(result) { _$jscoverage['/editor/range.js'].branchData['1493'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1486'][1].init(219, 23, 'checkType === KER.START'); -function visit591_1486_1(result) { +function visit602_1486_1(result) { _$jscoverage['/editor/range.js'].branchData['1486'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1484'][1].init(12, 23, 'checkType === KER.START'); -function visit590_1484_1(result) { +function visit601_1484_1(result) { _$jscoverage['/editor/range.js'].branchData['1484'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1468'][1].init(1113, 29, 'path.block || path.blockLimit'); -function visit589_1468_1(result) { +function visit600_1468_1(result) { _$jscoverage['/editor/range.js'].branchData['1468'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1451'][1].init(109, 16, 'textAfter.length'); -function visit588_1451_1(result) { +function visit599_1451_1(result) { _$jscoverage['/editor/range.js'].branchData['1451'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1449'][1].init(265, 51, 'endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit587_1449_1(result) { +function visit598_1449_1(result) { _$jscoverage['/editor/range.js'].branchData['1449'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1431'][1].init(1171, 29, 'path.block || path.blockLimit'); -function visit586_1431_1(result) { +function visit597_1431_1(result) { _$jscoverage['/editor/range.js'].branchData['1431'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1414'][1].init(117, 17, 'textBefore.length'); -function visit585_1414_1(result) { +function visit596_1414_1(result) { _$jscoverage['/editor/range.js'].branchData['1414'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1412'][2].init(309, 53, 'startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit584_1412_2(result) { +function visit595_1412_2(result) { _$jscoverage['/editor/range.js'].branchData['1412'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1412'][1].init(294, 68, 'startOffset && startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit583_1412_1(result) { +function visit594_1412_1(result) { _$jscoverage['/editor/range.js'].branchData['1412'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1394'][1].init(4381, 6, 'tailBr'); -function visit582_1394_1(result) { +function visit593_1394_1(result) { _$jscoverage['/editor/range.js'].branchData['1394'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1389'][3].init(129, 50, 'enlargeable && blockBoundary.contains(enlargeable)'); -function visit581_1389_3(result) { +function visit592_1389_3(result) { _$jscoverage['/editor/range.js'].branchData['1389'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1389'][2].init(87, 38, '!enlargeable && self.checkEndOfBlock()'); -function visit580_1389_2(result) { +function visit591_1389_2(result) { _$jscoverage['/editor/range.js'].branchData['1389'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1389'][1].init(87, 92, '!enlargeable && self.checkEndOfBlock() || enlargeable && blockBoundary.contains(enlargeable)'); -function visit579_1389_1(result) { +function visit590_1389_1(result) { _$jscoverage['/editor/range.js'].branchData['1389'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1383'][1].init(3691, 21, 'blockBoundary || body'); -function visit578_1383_1(result) { +function visit589_1383_1(result) { _$jscoverage['/editor/range.js'].branchData['1383'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1375'][1].init(3269, 39, 'unit === KER.ENLARGE_LIST_ITEM_CONTENTS'); -function visit577_1375_1(result) { +function visit588_1375_1(result) { _$jscoverage['/editor/range.js'].branchData['1375'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1364'][3].init(587, 50, 'enlargeable && blockBoundary.contains(enlargeable)'); -function visit576_1364_3(result) { +function visit587_1364_3(result) { _$jscoverage['/editor/range.js'].branchData['1364'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1364'][2].init(543, 40, '!enlargeable && self.checkStartOfBlock()'); -function visit575_1364_2(result) { +function visit586_1364_2(result) { _$jscoverage['/editor/range.js'].branchData['1364'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1364'][1].init(543, 94, '!enlargeable && self.checkStartOfBlock() || enlargeable && blockBoundary.contains(enlargeable)'); -function visit574_1364_1(result) { +function visit585_1364_1(result) { _$jscoverage['/editor/range.js'].branchData['1364'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1356'][2].init(88, 33, 'blockBoundary.nodeName() !== \'br\''); -function visit573_1356_2(result) { +function visit584_1356_2(result) { _$jscoverage['/editor/range.js'].branchData['1356'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1356'][1].init(-1, 552, 'blockBoundary.nodeName() !== \'br\' && (!enlargeable && self.checkStartOfBlock() || enlargeable && blockBoundary.contains(enlargeable))'); -function visit572_1356_1(result) { +function visit583_1356_1(result) { _$jscoverage['/editor/range.js'].branchData['1356'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1350'][1].init(1904, 21, 'blockBoundary || body'); -function visit571_1350_1(result) { +function visit582_1350_1(result) { _$jscoverage['/editor/range.js'].branchData['1350'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1339'][2].init(114, 27, 'Dom.nodeName(node) === \'br\''); -function visit570_1339_2(result) { +function visit581_1339_2(result) { _$jscoverage['/editor/range.js'].branchData['1339'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1339'][1].init(103, 38, '!retVal && Dom.nodeName(node) === \'br\''); -function visit569_1339_1(result) { +function visit580_1339_1(result) { _$jscoverage['/editor/range.js'].branchData['1339'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1331'][1].init(102, 7, '!retVal'); -function visit568_1331_1(result) { +function visit579_1331_1(result) { _$jscoverage['/editor/range.js'].branchData['1331'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1326'][1].init(55, 39, 'unit === KER.ENLARGE_LIST_ITEM_CONTENTS'); -function visit567_1326_1(result) { +function visit578_1326_1(result) { _$jscoverage['/editor/range.js'].branchData['1326'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1304'][1].init(418, 18, 'stop[0] && stop[1]'); -function visit566_1304_1(result) { +function visit577_1304_1(result) { _$jscoverage['/editor/range.js'].branchData['1304'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1294'][1].init(55, 14, 'self.collapsed'); -function visit565_1294_1(result) { +function visit576_1294_1(result) { _$jscoverage['/editor/range.js'].branchData['1294'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1275'][1].init(961, 47, 'commonReached || enlarge.equals(commonAncestor)'); -function visit564_1275_1(result) { +function visit575_1275_1(result) { _$jscoverage['/editor/range.js'].branchData['1275'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1271'][1].init(849, 29, 'enlarge.nodeName() === \'body\''); -function visit563_1271_1(result) { +function visit574_1271_1(result) { _$jscoverage['/editor/range.js'].branchData['1271'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1258'][1].init(67, 14, '!commonReached'); -function visit562_1258_1(result) { +function visit573_1258_1(result) { _$jscoverage['/editor/range.js'].branchData['1258'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1256'][1].init(385, 7, 'sibling'); -function visit561_1256_1(result) { +function visit572_1256_1(result) { _$jscoverage['/editor/range.js'].branchData['1256'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1248'][1].init(29, 44, 'isWhitespace(sibling) || isBookmark(sibling)'); -function visit560_1248_1(result) { +function visit571_1248_1(result) { _$jscoverage['/editor/range.js'].branchData['1248'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1240'][1].init(64, 57, 'container[0].childNodes[offset + (left ? -1 : 1)] || null'); -function visit559_1240_1(result) { +function visit570_1240_1(result) { _$jscoverage['/editor/range.js'].branchData['1240'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1229'][1].init(29, 38, 'offset < container[0].nodeValue.length'); -function visit558_1229_1(result) { +function visit569_1229_1(result) { _$jscoverage['/editor/range.js'].branchData['1229'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1225'][1].init(68, 6, 'offset'); -function visit557_1225_1(result) { +function visit568_1225_1(result) { _$jscoverage['/editor/range.js'].branchData['1225'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1223'][1].init(25, 4, 'left'); -function visit556_1223_1(result) { +function visit567_1223_1(result) { _$jscoverage['/editor/range.js'].branchData['1223'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1222'][1].init(386, 48, 'container[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit555_1222_1(result) { +function visit566_1222_1(result) { _$jscoverage['/editor/range.js'].branchData['1222'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1200'][2].init(642, 47, 'ancestor[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit554_1200_2(result) { +function visit565_1200_2(result) { _$jscoverage['/editor/range.js'].branchData['1200'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1200'][1].init(624, 65, 'ignoreTextNode && ancestor[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit553_1200_1(result) { +function visit564_1200_1(result) { _$jscoverage['/editor/range.js'].branchData['1200'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1191'][1].init(70, 39, 'self.startOffset === self.endOffset - 1'); -function visit552_1191_1(result) { +function visit563_1191_1(result) { _$jscoverage['/editor/range.js'].branchData['1191'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1190'][2].init(58, 47, 'start[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit551_1190_2(result) { +function visit562_1190_2(result) { _$jscoverage['/editor/range.js'].branchData['1190'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1190'][1].init(34, 110, 'start[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.startOffset === self.endOffset - 1'); -function visit550_1190_1(result) { +function visit561_1190_1(result) { _$jscoverage['/editor/range.js'].branchData['1190'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1189'][1].init(21, 145, 'includeSelf && start[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.startOffset === self.endOffset - 1'); -function visit549_1189_1(result) { +function visit560_1189_1(result) { _$jscoverage['/editor/range.js'].branchData['1189'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1188'][1].init(159, 19, 'start[0] === end[0]'); -function visit548_1188_1(result) { +function visit559_1188_1(result) { _$jscoverage['/editor/range.js'].branchData['1188'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1168'][1].init(767, 21, 'endNode && endNode[0]'); -function visit547_1168_1(result) { +function visit558_1168_1(result) { _$jscoverage['/editor/range.js'].branchData['1168'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1147'][1].init(554, 12, 'endContainer'); -function visit546_1147_1(result) { +function visit557_1147_1(result) { _$jscoverage['/editor/range.js'].branchData['1147'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1140'][1].init(169, 70, 'bookmark.end && doc._4eGetByAddress(bookmark.end, bookmark.normalized)'); -function visit545_1140_1(result) { +function visit556_1140_1(result) { _$jscoverage['/editor/range.js'].branchData['1140'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1136'][1].init(86, 12, 'bookmark.is2'); -function visit544_1136_1(result) { +function visit555_1136_1(result) { _$jscoverage['/editor/range.js'].branchData['1136'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1122'][1].init(423, 42, 'startContainer[0] === self.endContainer[0]'); -function visit543_1122_1(result) { +function visit554_1122_1(result) { _$jscoverage['/editor/range.js'].branchData['1122'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1118'][1].init(116, 49, 'startContainer[0].childNodes[startOffset] || null'); -function visit542_1118_1(result) { +function visit553_1118_1(result) { _$jscoverage['/editor/range.js'].branchData['1118'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1092'][1].init(405, 45, 'endOffset >= endContainer[0].nodeValue.length'); -function visit541_1092_1(result) { +function visit552_1092_1(result) { _$jscoverage['/editor/range.js'].branchData['1092'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1086'][1].init(128, 10, '!endOffset'); -function visit540_1086_1(result) { +function visit551_1086_1(result) { _$jscoverage['/editor/range.js'].branchData['1086'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1083'][2].init(2070, 51, 'endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit539_1083_2(result) { +function visit550_1083_2(result) { _$jscoverage['/editor/range.js'].branchData['1083'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1083'][1].init(46, 70, 'endContainer[0] && endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit538_1083_1(result) { +function visit549_1083_1(result) { _$jscoverage['/editor/range.js'].branchData['1083'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1082'][2].init(2005, 22, 'ignoreEnd || collapsed'); -function visit537_1082_2(result) { +function visit548_1082_2(result) { _$jscoverage['/editor/range.js'].branchData['1082'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1082'][1].init(2002, 117, '!(ignoreEnd || collapsed) && endContainer[0] && endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit536_1082_1(result) { +function visit547_1082_1(result) { _$jscoverage['/editor/range.js'].branchData['1082'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1073'][1].init(1441, 9, 'collapsed'); -function visit535_1073_1(result) { +function visit546_1073_1(result) { _$jscoverage['/editor/range.js'].branchData['1073'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1066'][1].init(472, 45, 'Dom.equals(startContainer, self.endContainer)'); -function visit534_1066_1(result) { +function visit545_1066_1(result) { _$jscoverage['/editor/range.js'].branchData['1066'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1064'][1].init(304, 50, 'Dom.equals(self.startContainer, self.endContainer)'); -function visit533_1064_1(result) { +function visit544_1064_1(result) { _$jscoverage['/editor/range.js'].branchData['1064'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1051'][1].init(415, 49, 'startOffset >= startContainer[0].nodeValue.length'); -function visit532_1051_1(result) { +function visit543_1051_1(result) { _$jscoverage['/editor/range.js'].branchData['1051'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1045'][1].init(128, 12, '!startOffset'); -function visit531_1045_1(result) { +function visit542_1045_1(result) { _$jscoverage['/editor/range.js'].branchData['1045'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1042'][1].init(36, 53, 'startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit530_1042_1(result) { +function visit541_1042_1(result) { _$jscoverage['/editor/range.js'].branchData['1042'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1041'][1].init(46, 90, 'startContainer[0] && startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit529_1041_1(result) { +function visit540_1041_1(result) { _$jscoverage['/editor/range.js'].branchData['1041'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1040'][2].init(195, 25, '!ignoreStart || collapsed'); -function visit528_1040_2(result) { +function visit539_1040_2(result) { _$jscoverage['/editor/range.js'].branchData['1040'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1040'][1].init(195, 137, '(!ignoreStart || collapsed) && startContainer[0] && startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit527_1040_1(result) { +function visit538_1040_1(result) { _$jscoverage['/editor/range.js'].branchData['1040'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['1003'][1].init(1218, 7, 'endNode'); -function visit526_1003_1(result) { +function visit537_1003_1(result) { _$jscoverage['/editor/range.js'].branchData['1003'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['989'][1].init(107, 12, 'serializable'); -function visit525_989_1(result) { +function visit536_989_1(result) { _$jscoverage['/editor/range.js'].branchData['989'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['985'][1].init(711, 10, '!collapsed'); -function visit524_985_1(result) { +function visit535_985_1(result) { _$jscoverage['/editor/range.js'].branchData['985'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['979'][1].init(507, 12, 'serializable'); -function visit523_979_1(result) { +function visit534_979_1(result) { _$jscoverage['/editor/range.js'].branchData['979'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['944'][1].init(71, 47, 'previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit522_944_1(result) { +function visit533_944_1(result) { _$jscoverage['/editor/range.js'].branchData['944'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['943'][1].init(80, 119, '(previous = endContainer.prev(undefined, 1)) && previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit521_943_1(result) { +function visit532_943_1(result) { _$jscoverage['/editor/range.js'].branchData['943'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['942'][2].init(844, 51, 'endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit520_942_2(result) { +function visit531_942_2(result) { _$jscoverage['/editor/range.js'].branchData['942'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['942'][1].init(844, 200, 'endContainer[0].nodeType === Dom.NodeType.TEXT_NODE && (previous = endContainer.prev(undefined, 1)) && previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit519_942_1(result) { +function visit530_942_1(result) { _$jscoverage['/editor/range.js'].branchData['942'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['935'][1].init(44, 60, 'child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit518_935_1(result) { +function visit529_935_1(result) { _$jscoverage['/editor/range.js'].branchData['935'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['934'][4].init(326, 13, 'endOffset > 0'); -function visit517_934_4(result) { +function visit528_934_4(result) { _$jscoverage['/editor/range.js'].branchData['934'][4].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['934'][3].init(47, 105, 'endOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit516_934_3(result) { +function visit527_934_3(result) { _$jscoverage['/editor/range.js'].branchData['934'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['934'][2].init(277, 44, 'child[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit515_934_2(result) { +function visit526_934_2(result) { _$jscoverage['/editor/range.js'].branchData['934'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['934'][1].init(39, 153, 'child[0].nodeType === Dom.NodeType.TEXT_NODE && endOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit514_934_1(result) { +function visit525_934_1(result) { _$jscoverage['/editor/range.js'].branchData['934'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['933'][2].init(234, 193, 'child[0] && child[0].nodeType === Dom.NodeType.TEXT_NODE && endOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit513_933_2(result) { +function visit524_933_2(result) { _$jscoverage['/editor/range.js'].branchData['933'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['933'][1].init(225, 202, 'child && child[0] && child[0].nodeType === Dom.NodeType.TEXT_NODE && endOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit512_933_1(result) { +function visit523_933_1(result) { _$jscoverage['/editor/range.js'].branchData['933'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['928'][1].init(145, 54, 'endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit511_928_1(result) { +function visit522_928_1(result) { _$jscoverage['/editor/range.js'].branchData['928'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['925'][1].init(1185, 15, '!self.collapsed'); -function visit510_925_1(result) { +function visit521_925_1(result) { _$jscoverage['/editor/range.js'].branchData['925'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['919'][1].init(69, 47, 'previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit509_919_1(result) { +function visit520_919_1(result) { _$jscoverage['/editor/range.js'].branchData['919'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['918'][1].init(78, 117, '(previous = startContainer.prev(undefined, 1)) && previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit508_918_1(result) { +function visit519_918_1(result) { _$jscoverage['/editor/range.js'].branchData['918'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['917'][2].init(775, 53, 'startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit507_917_2(result) { +function visit518_917_2(result) { _$jscoverage['/editor/range.js'].branchData['917'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['917'][1].init(775, 196, 'startContainer[0].nodeType === Dom.NodeType.TEXT_NODE && (previous = startContainer.prev(undefined, 1)) && previous[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit506_917_1(result) { +function visit517_917_1(result) { _$jscoverage['/editor/range.js'].branchData['917'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['909'][3].init(18, 60, 'child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit505_909_3(result) { +function visit516_909_3(result) { _$jscoverage['/editor/range.js'].branchData['909'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['909'][2].init(310, 15, 'startOffset > 0'); -function visit504_909_2(result) { +function visit515_909_2(result) { _$jscoverage['/editor/range.js'].branchData['909'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['909'][1].init(71, 79, 'startOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit503_909_1(result) { +function visit514_909_1(result) { _$jscoverage['/editor/range.js'].branchData['909'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['908'][4].init(234, 44, 'child[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit502_908_4(result) { +function visit513_908_4(result) { _$jscoverage['/editor/range.js'].branchData['908'][4].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['908'][3].init(234, 151, 'child[0].nodeType === Dom.NodeType.TEXT_NODE && startOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit501_908_3(result) { +function visit512_908_3(result) { _$jscoverage['/editor/range.js'].branchData['908'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['908'][2].init(222, 163, 'child[0] && child[0].nodeType === Dom.NodeType.TEXT_NODE && startOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit500_908_2(result) { +function visit511_908_2(result) { _$jscoverage['/editor/range.js'].branchData['908'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['908'][1].init(213, 172, 'child && child[0] && child[0].nodeType === Dom.NodeType.TEXT_NODE && startOffset > 0 && child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit499_908_1(result) { +function visit510_908_1(result) { _$jscoverage['/editor/range.js'].branchData['908'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['903'][1].init(133, 56, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit498_903_1(result) { +function visit509_903_1(result) { _$jscoverage['/editor/range.js'].branchData['903'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['900'][1].init(621, 10, 'normalized'); -function visit497_900_1(result) { +function visit508_900_1(result) { _$jscoverage['/editor/range.js'].branchData['900'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['893'][1].init(453, 32, '!startContainer || !endContainer'); -function visit496_893_1(result) { +function visit507_893_1(result) { _$jscoverage['/editor/range.js'].branchData['893'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['873'][1].init(3638, 20, 'moveStart || moveEnd'); -function visit495_873_1(result) { +function visit506_873_1(result) { _$jscoverage['/editor/range.js'].branchData['873'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['868'][1].init(164, 7, 'textEnd'); -function visit494_868_1(result) { +function visit505_868_1(result) { _$jscoverage['/editor/range.js'].branchData['868'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['867'][1].init(78, 27, 'mode === KER.SHRINK_ELEMENT'); -function visit493_867_1(result) { +function visit504_867_1(result) { _$jscoverage['/editor/range.js'].branchData['867'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['865'][1].init(3274, 7, 'moveEnd'); -function visit492_865_1(result) { +function visit503_865_1(result) { _$jscoverage['/editor/range.js'].branchData['865'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['860'][1].init(125, 9, 'textStart'); -function visit491_860_1(result) { +function visit502_860_1(result) { _$jscoverage['/editor/range.js'].branchData['860'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['859'][1].init(44, 27, 'mode === KER.SHRINK_ELEMENT'); -function visit490_859_1(result) { +function visit501_859_1(result) { _$jscoverage['/editor/range.js'].branchData['859'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['858'][1].init(2940, 9, 'moveStart'); -function visit489_858_1(result) { +function visit500_858_1(result) { _$jscoverage['/editor/range.js'].branchData['858'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['850'][2].init(556, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit488_850_2(result) { +function visit499_850_2(result) { _$jscoverage['/editor/range.js'].branchData['850'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['850'][1].init(542, 57, '!movingOut && node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit487_850_1(result) { +function visit498_850_1(result) { _$jscoverage['/editor/range.js'].branchData['850'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['847'][2].init(419, 23, 'node === currentElement'); -function visit486_847_2(result) { +function visit497_847_2(result) { _$jscoverage['/editor/range.js'].branchData['847'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['847'][1].init(406, 36, 'movingOut && node === currentElement'); -function visit485_847_1(result) { +function visit496_847_1(result) { _$jscoverage['/editor/range.js'].branchData['847'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['843'][1].init(58, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit484_843_1(result) { +function visit495_843_1(result) { _$jscoverage['/editor/range.js'].branchData['843'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['842'][2].init(127, 27, 'mode === KER.SHRINK_ELEMENT'); -function visit483_842_2(result) { +function visit494_842_2(result) { _$jscoverage['/editor/range.js'].branchData['842'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['842'][1].init(127, 99, 'mode === KER.SHRINK_ELEMENT && node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit482_842_1(result) { +function visit493_842_1(result) { _$jscoverage['/editor/range.js'].branchData['842'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['836'][2].init(52, 27, 'mode === KER.SHRINK_ELEMENT'); -function visit481_836_2(result) { +function visit492_836_2(result) { _$jscoverage['/editor/range.js'].branchData['836'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['836'][1].init(32, 130, 'node.nodeType === (mode === KER.SHRINK_ELEMENT ? Dom.NodeType.ELEMENT_NODE : Dom.NodeType.TEXT_NODE)'); -function visit480_836_1(result) { +function visit491_836_1(result) { _$jscoverage['/editor/range.js'].branchData['836'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['831'][1].init(1773, 20, 'moveStart || moveEnd'); -function visit479_831_1(result) { +function visit490_831_1(result) { _$jscoverage['/editor/range.js'].branchData['831'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['823'][1].init(135, 45, 'endOffset >= endContainer[0].nodeValue.length'); -function visit478_823_1(result) { +function visit489_823_1(result) { _$jscoverage['/editor/range.js'].branchData['823'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['821'][1].init(25, 10, '!endOffset'); -function visit477_821_1(result) { +function visit488_821_1(result) { _$jscoverage['/editor/range.js'].branchData['821'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['820'][1].init(35, 51, 'endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit476_820_1(result) { +function visit487_820_1(result) { _$jscoverage['/editor/range.js'].branchData['820'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['819'][1].init(1243, 87, 'endContainer && endContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit475_819_1(result) { +function visit486_819_1(result) { _$jscoverage['/editor/range.js'].branchData['819'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['809'][1].init(141, 49, 'startOffset >= startContainer[0].nodeValue.length'); -function visit474_809_1(result) { +function visit485_809_1(result) { _$jscoverage['/editor/range.js'].branchData['809'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['807'][1].init(25, 12, '!startOffset'); -function visit473_807_1(result) { +function visit484_807_1(result) { _$jscoverage['/editor/range.js'].branchData['807'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['806'][1].init(37, 53, 'startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit472_806_1(result) { +function visit483_806_1(result) { _$jscoverage['/editor/range.js'].branchData['806'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['805'][1].init(531, 91, 'startContainer && startContainer[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit471_805_1(result) { +function visit482_805_1(result) { _$jscoverage['/editor/range.js'].branchData['805'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['792'][1].init(24, 23, 'mode || KER.SHRINK_TEXT'); -function visit470_792_1(result) { +function visit481_792_1(result) { _$jscoverage['/editor/range.js'].branchData['792'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['791'][1].init(97, 15, '!self.collapsed'); -function visit469_791_1(result) { +function visit480_791_1(result) { _$jscoverage['/editor/range.js'].branchData['791'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['780'][1].init(858, 24, 'node && node.equals(pre)'); -function visit468_780_1(result) { +function visit479_780_1(result) { _$jscoverage['/editor/range.js'].branchData['780'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['769'][1].init(24, 46, 'isNotWhitespaces(node) && isNotBookmarks(node)'); -function visit467_769_1(result) { +function visit478_769_1(result) { _$jscoverage['/editor/range.js'].branchData['769'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['761'][1].init(87, 66, 'walkerRange.endContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit466_761_1(result) { +function visit477_761_1(result) { _$jscoverage['/editor/range.js'].branchData['761'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['760'][2].init(188, 68, 'walkerRange.startContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit465_760_2(result) { +function visit476_760_2(result) { _$jscoverage['/editor/range.js'].branchData['760'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['760'][1].init(188, 154, 'walkerRange.startContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE || walkerRange.endContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit464_760_1(result) { +function visit475_760_1(result) { _$jscoverage['/editor/range.js'].branchData['760'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['719'][1].init(46, 7, 'toStart'); -function visit463_719_1(result) { +function visit474_719_1(result) { _$jscoverage['/editor/range.js'].branchData['719'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['674'][1].init(54, 43, 'node[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit462_674_1(result) { +function visit473_674_1(result) { _$jscoverage['/editor/range.js'].branchData['674'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['643'][1].init(54, 43, 'node[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit461_643_1(result) { +function visit472_643_1(result) { _$jscoverage['/editor/range.js'].branchData['643'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['622'][1].init(684, 20, '!self.startContainer'); -function visit460_622_1(result) { +function visit471_622_1(result) { _$jscoverage['/editor/range.js'].branchData['622'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['614'][2].init(391, 49, 'endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit459_614_2(result) { +function visit470_614_2(result) { _$jscoverage['/editor/range.js'].branchData['614'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['614'][1].init(391, 80, 'endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && EMPTY[endNode.nodeName()]'); -function visit458_614_1(result) { +function visit469_614_1(result) { _$jscoverage['/editor/range.js'].branchData['614'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['591'][1].init(701, 18, '!self.endContainer'); -function visit457_591_1(result) { +function visit468_591_1(result) { _$jscoverage['/editor/range.js'].branchData['591'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['583'][2].init(392, 51, 'startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit456_583_2(result) { +function visit467_583_2(result) { _$jscoverage['/editor/range.js'].branchData['583'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['583'][1].init(392, 84, 'startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && EMPTY[startNode.nodeName()]'); -function visit455_583_1(result) { +function visit466_583_1(result) { _$jscoverage['/editor/range.js'].branchData['583'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['562'][2].init(362, 29, 'endNode.nodeName() === \'span\''); -function visit454_562_2(result) { +function visit465_562_2(result) { _$jscoverage['/editor/range.js'].branchData['562'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['562'][1].init(26, 77, 'endNode.nodeName() === \'span\' && endNode.attr(\'_ke_bookmark\')'); -function visit453_562_1(result) { +function visit464_562_1(result) { _$jscoverage['/editor/range.js'].branchData['562'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['561'][1].init(333, 104, 'endNode && endNode.nodeName() === \'span\' && endNode.attr(\'_ke_bookmark\')'); -function visit452_561_1(result) { +function visit463_561_1(result) { _$jscoverage['/editor/range.js'].branchData['561'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['557'][2].init(172, 31, 'startNode.nodeName() === \'span\''); -function visit451_557_2(result) { +function visit462_557_2(result) { _$jscoverage['/editor/range.js'].branchData['557'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['557'][1].init(28, 81, 'startNode.nodeName() === \'span\' && startNode.attr(\'_ke_bookmark\')'); -function visit450_557_1(result) { +function visit461_557_1(result) { _$jscoverage['/editor/range.js'].branchData['557'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['556'][1].init(141, 110, 'startNode && startNode.nodeName() === \'span\' && startNode.attr(\'_ke_bookmark\')'); -function visit449_556_1(result) { +function visit460_556_1(result) { _$jscoverage['/editor/range.js'].branchData['556'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['513'][1].init(110, 39, 'offset >= container[0].nodeValue.length'); -function visit448_513_1(result) { +function visit459_513_1(result) { _$jscoverage['/editor/range.js'].branchData['513'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['511'][1].init(21, 7, '!offset'); -function visit447_511_1(result) { +function visit458_511_1(result) { _$jscoverage['/editor/range.js'].branchData['511'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['510'][1].init(528, 51, 'container[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit446_510_1(result) { +function visit457_510_1(result) { _$jscoverage['/editor/range.js'].branchData['510'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['502'][1].init(112, 39, 'offset >= container[0].nodeValue.length'); -function visit445_502_1(result) { +function visit456_502_1(result) { _$jscoverage['/editor/range.js'].branchData['502'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['500'][1].init(21, 7, '!offset'); -function visit444_500_1(result) { +function visit455_500_1(result) { _$jscoverage['/editor/range.js'].branchData['500'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['499'][1].init(139, 51, 'container[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit443_499_1(result) { +function visit454_499_1(result) { _$jscoverage['/editor/range.js'].branchData['499'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['484'][1].init(277, 40, 'endContainer.id || endContainer.nodeName'); -function visit442_484_1(result) { +function visit453_484_1(result) { _$jscoverage['/editor/range.js'].branchData['484'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['483'][1].init(184, 44, 'startContainer.id || startContainer.nodeName'); -function visit441_483_1(result) { +function visit452_483_1(result) { _$jscoverage['/editor/range.js'].branchData['483'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['454'][1].init(66, 35, 'self.startOffset === self.endOffset'); -function visit440_454_1(result) { +function visit451_454_1(result) { _$jscoverage['/editor/range.js'].branchData['454'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['453'][2].init(109, 47, 'self.startContainer[0] === self.endContainer[0]'); -function visit439_453_2(result) { +function visit450_453_2(result) { _$jscoverage['/editor/range.js'].branchData['453'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['453'][1].init(36, 102, 'self.startContainer[0] === self.endContainer[0] && self.startOffset === self.endOffset'); -function visit438_453_1(result) { +function visit449_453_1(result) { _$jscoverage['/editor/range.js'].branchData['453'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['452'][1].init(38, 139, 'self.endContainer && self.startContainer[0] === self.endContainer[0] && self.startOffset === self.endOffset'); -function visit437_452_1(result) { +function visit448_452_1(result) { _$jscoverage['/editor/range.js'].branchData['452'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['451'][1].init(-1, 178, 'self.startContainer && self.endContainer && self.startContainer[0] === self.endContainer[0] && self.startOffset === self.endOffset'); -function visit436_451_1(result) { +function visit447_451_1(result) { _$jscoverage['/editor/range.js'].branchData['451'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['442'][1].init(10746, 13, 'removeEndNode'); -function visit435_442_1(result) { +function visit446_442_1(result) { _$jscoverage['/editor/range.js'].branchData['442'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['438'][1].init(10672, 15, 'removeStartNode'); -function visit434_438_1(result) { +function visit445_438_1(result) { _$jscoverage['/editor/range.js'].branchData['438'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['423'][1].init(200, 120, 'removeStartNode && (topStart._4eSameLevel(startNode))'); -function visit433_423_1(result) { +function visit444_423_1(result) { _$jscoverage['/editor/range.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['416'][1].init(-1, 66, '!startNode._4eSameLevel(topStart) || !endNode._4eSameLevel(topEnd)'); -function visit432_416_1(result) { +function visit443_416_1(result) { _$jscoverage['/editor/range.js'].branchData['416'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['414'][2].init(272, 148, 'topEnd && (!startNode._4eSameLevel(topStart) || !endNode._4eSameLevel(topEnd))'); -function visit431_414_2(result) { +function visit442_414_2(result) { _$jscoverage['/editor/range.js'].branchData['414'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['414'][1].init(20, 160, 'topStart && topEnd && (!startNode._4eSameLevel(topStart) || !endNode._4eSameLevel(topEnd))'); -function visit430_414_1(result) { +function visit441_414_1(result) { _$jscoverage['/editor/range.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['401'][1].init(50, 63, 'endTextNode.previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit429_401_1(result) { +function visit440_401_1(result) { _$jscoverage['/editor/range.js'].branchData['401'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['400'][1].init(70, 114, 'endTextNode.previousSibling && endTextNode.previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit428_400_1(result) { +function visit439_400_1(result) { _$jscoverage['/editor/range.js'].branchData['400'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['399'][2].init(67, 47, 'endTextNode.nodeType === Dom.NodeType.TEXT_NODE'); -function visit427_399_2(result) { +function visit438_399_2(result) { _$jscoverage['/editor/range.js'].branchData['399'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['399'][1].init(67, 185, 'endTextNode.nodeType === Dom.NodeType.TEXT_NODE && endTextNode.previousSibling && endTextNode.previousSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit426_399_1(result) { +function visit437_399_1(result) { _$jscoverage['/editor/range.js'].branchData['399'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['397'][1].init(631, 11, 'hasSplitEnd'); -function visit425_397_1(result) { +function visit436_397_1(result) { _$jscoverage['/editor/range.js'].branchData['397'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['391'][1].init(113, 61, 'startTextNode.nextSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit424_391_1(result) { +function visit435_391_1(result) { _$jscoverage['/editor/range.js'].branchData['391'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['389'][3].init(124, 175, 'startTextNode.nextSibling && startTextNode.nextSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit423_389_3(result) { +function visit434_389_3(result) { _$jscoverage['/editor/range.js'].branchData['389'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['389'][2].init(71, 49, 'startTextNode.nodeType === Dom.NodeType.TEXT_NODE'); -function visit422_389_2(result) { +function visit433_389_2(result) { _$jscoverage['/editor/range.js'].branchData['389'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['389'][1].init(71, 228, 'startTextNode.nodeType === Dom.NodeType.TEXT_NODE && startTextNode.nextSibling && startTextNode.nextSibling.nodeType === Dom.NodeType.TEXT_NODE'); -function visit421_389_1(result) { +function visit432_389_1(result) { _$jscoverage['/editor/range.js'].branchData['389'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['387'][1].init(104, 13, 'hasSplitStart'); -function visit420_387_1(result) { +function visit431_387_1(result) { _$jscoverage['/editor/range.js'].branchData['387'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['383'][1].init(8533, 12, 'action === 2'); -function visit419_383_1(result) { +function visit430_383_1(result) { _$jscoverage['/editor/range.js'].branchData['383'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['378'][1].init(1653, 10, 'levelClone'); -function visit418_378_1(result) { +function visit429_378_1(result) { _$jscoverage['/editor/range.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['368'][1].init(237, 12, 'action === 1'); -function visit417_368_1(result) { +function visit428_368_1(result) { _$jscoverage['/editor/range.js'].branchData['368'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['360'][1].init(189, 12, 'action === 2'); -function visit416_360_1(result) { +function visit427_360_1(result) { _$jscoverage['/editor/range.js'].branchData['360'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['350'][1].init(20, 137, '!startParents[k] || !levelStartNode._4eSameLevel(startParents[k])'); -function visit415_350_1(result) { +function visit426_350_1(result) { _$jscoverage['/editor/range.js'].branchData['350'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['340'][2].init(128, 10, 'action > 0'); -function visit414_340_2(result) { +function visit425_340_2(result) { _$jscoverage['/editor/range.js'].branchData['340'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['340'][1].init(128, 45, 'action > 0 && !levelStartNode.equals(endNode)'); -function visit413_340_1(result) { +function visit424_340_1(result) { _$jscoverage['/editor/range.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['336'][1].init(6743, 21, 'k < endParents.length'); -function visit412_336_1(result) { +function visit423_336_1(result) { _$jscoverage['/editor/range.js'].branchData['336'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['327'][1].init(2184, 10, 'levelClone'); -function visit411_327_1(result) { +function visit422_327_1(result) { _$jscoverage['/editor/range.js'].branchData['327'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['318'][1].init(644, 12, 'action === 1'); -function visit410_318_1(result) { +function visit421_318_1(result) { _$jscoverage['/editor/range.js'].branchData['318'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['308'][1].init(155, 48, 'UN_REMOVABLE[currentNode.nodeName.toLowerCase()]'); -function visit409_308_1(result) { +function visit420_308_1(result) { _$jscoverage['/editor/range.js'].branchData['308'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['301'][1].init(437, 12, 'action === 2'); -function visit408_301_1(result) { +function visit419_301_1(result) { _$jscoverage['/editor/range.js'].branchData['301'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['293'][3].init(193, 26, 'domEndNode === currentNode'); -function visit407_293_3(result) { +function visit418_293_3(result) { _$jscoverage['/editor/range.js'].branchData['293'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['293'][2].init(160, 29, 'domEndParentJ === currentNode'); -function visit406_293_2(result) { +function visit417_293_2(result) { _$jscoverage['/editor/range.js'].branchData['293'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['293'][1].init(160, 59, 'domEndParentJ === currentNode || domEndNode === currentNode'); -function visit405_293_1(result) { +function visit416_293_1(result) { _$jscoverage['/editor/range.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['288'][1].init(106, 27, 'endParentJ && endParentJ[0]'); -function visit404_288_1(result) { +function visit415_288_1(result) { _$jscoverage['/editor/range.js'].branchData['288'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['276'][2].init(128, 10, 'action > 0'); -function visit403_276_2(result) { +function visit414_276_2(result) { _$jscoverage['/editor/range.js'].branchData['276'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['276'][1].init(128, 47, 'action > 0 && !levelStartNode.equals(startNode)'); -function visit402_276_1(result) { +function visit413_276_1(result) { _$jscoverage['/editor/range.js'].branchData['276'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['272'][1].init(4308, 23, 'j < startParents.length'); -function visit401_272_1(result) { +function visit412_272_1(result) { _$jscoverage['/editor/range.js'].branchData['272'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['259'][1].init(340, 24, '!topStart.equals(topEnd)'); -function visit400_259_1(result) { +function visit411_259_1(result) { _$jscoverage['/editor/range.js'].branchData['259'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['251'][1].init(3603, 23, 'i < startParents.length'); -function visit399_251_1(result) { +function visit410_251_1(result) { _$jscoverage['/editor/range.js'].branchData['251'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['222'][1].init(608, 45, 'startOffset >= startNode[0].childNodes.length'); -function visit398_222_1(result) { +function visit409_222_1(result) { _$jscoverage['/editor/range.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['215'][1].init(319, 12, '!startOffset'); -function visit397_215_1(result) { +function visit408_215_1(result) { _$jscoverage['/editor/range.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['206'][1].init(1924, 48, 'startNode[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit396_206_1(result) { +function visit407_206_1(result) { _$jscoverage['/editor/range.js'].branchData['206'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['190'][1].init(82, 41, 'endOffset >= endNode[0].childNodes.length'); -function visit395_190_1(result) { +function visit406_190_1(result) { _$jscoverage['/editor/range.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['188'][1].init(150, 32, 'endNode[0].childNodes.length > 0'); -function visit394_188_1(result) { +function visit405_188_1(result) { _$jscoverage['/editor/range.js'].branchData['188'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['182'][1].init(862, 46, 'endNode[0].nodeType === Dom.NodeType.TEXT_NODE'); -function visit393_182_1(result) { +function visit404_182_1(result) { _$jscoverage['/editor/range.js'].branchData['182'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['169'][1].init(466, 14, 'self.collapsed'); -function visit392_169_1(result) { +function visit403_169_1(result) { _$jscoverage['/editor/range.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['165'][1].init(377, 10, 'action > 0'); -function visit391_165_1(result) { +function visit402_165_1(result) { _$jscoverage['/editor/range.js'].branchData['165'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['134'][4].init(176, 17, 'nodeName === \'br\''); -function visit390_134_4(result) { +function visit401_134_4(result) { _$jscoverage['/editor/range.js'].branchData['134'][4].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['134'][3].init(176, 27, 'nodeName === \'br\' && !hadBr'); -function visit389_134_3(result) { +function visit400_134_3(result) { _$jscoverage['/editor/range.js'].branchData['134'][3].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['134'][2].init(166, 37, '!UA.ie && nodeName === \'br\' && !hadBr'); -function visit388_134_2(result) { +function visit399_134_2(result) { _$jscoverage['/editor/range.js'].branchData['134'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['134'][1].init(154, 49, '!isStart && !UA.ie && nodeName === \'br\' && !hadBr'); -function visit387_134_1(result) { +function visit398_134_1(result) { _$jscoverage['/editor/range.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['131'][1].init(194, 35, '!inlineChildReqElements[nodeName]'); -function visit386_131_1(result) { +function visit397_131_1(result) { _$jscoverage['/editor/range.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['127'][1].init(391, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit385_127_1(result) { +function visit396_127_1(result) { _$jscoverage['/editor/range.js'].branchData['127'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['124'][1].init(98, 29, 'S.trim(node.nodeValue).length'); -function visit384_124_1(result) { +function visit395_124_1(result) { _$jscoverage['/editor/range.js'].branchData['124'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['122'][1].init(141, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit383_122_1(result) { +function visit394_122_1(result) { _$jscoverage['/editor/range.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['118'][1].init(61, 16, 'isBookmark(node)'); -function visit382_118_1(result) { +function visit393_118_1(result) { _$jscoverage['/editor/range.js'].branchData['118'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['111'][1].init(77, 40, '!isWhitespace(node) && !isBookmark(node)'); -function visit381_111_1(result) { +function visit392_111_1(result) { _$jscoverage['/editor/range.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['106'][2].init(483, 8, 'c2 || c3'); -function visit380_106_2(result) { +function visit391_106_2(result) { _$jscoverage['/editor/range.js'].branchData['106'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['106'][1].init(477, 14, 'c1 || c2 || c3'); -function visit379_106_1(result) { +function visit390_106_1(result) { _$jscoverage['/editor/range.js'].branchData['106'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['103'][2].init(154, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit378_103_2(result) { +function visit389_103_2(result) { _$jscoverage['/editor/range.js'].branchData['103'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['103'][1].init(154, 67, 'node.nodeType === Dom.NodeType.TEXT_NODE && !S.trim(node.nodeValue)'); -function visit377_103_1(result) { +function visit388_103_1(result) { _$jscoverage['/editor/range.js'].branchData['103'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['100'][2].init(150, 40, 'node.nodeType !== Dom.NodeType.TEXT_NODE'); -function visit376_100_2(result) { +function visit387_100_2(result) { _$jscoverage['/editor/range.js'].branchData['100'][2].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].branchData['100'][1].init(150, 98, 'node.nodeType !== Dom.NodeType.TEXT_NODE && Dom.nodeName(node) in dtd.$removeEmpty'); -function visit375_100_1(result) { +function visit386_100_1(result) { _$jscoverage['/editor/range.js'].branchData['100'][1].ranCondition(result); return result; }_$jscoverage['/editor/range.js'].lineData[10]++; @@ -2429,15 +2429,15 @@ KISSY.add(function(S, require) { function elementBoundaryEval(node) { _$jscoverage['/editor/range.js'].functionData[1]++; _$jscoverage['/editor/range.js'].lineData[100]++; - var c1 = visit375_100_1(visit376_100_2(node.nodeType !== Dom.NodeType.TEXT_NODE) && Dom.nodeName(node) in dtd.$removeEmpty), c2 = visit377_103_1(visit378_103_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)), c3 = !!node.parentNode.getAttribute('_ke_bookmark'); + var c1 = visit386_100_1(visit387_100_2(node.nodeType !== Dom.NodeType.TEXT_NODE) && Dom.nodeName(node) in dtd.$removeEmpty), c2 = visit388_103_1(visit389_103_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)), c3 = !!node.parentNode.getAttribute('_ke_bookmark'); _$jscoverage['/editor/range.js'].lineData[106]++; - return visit379_106_1(c1 || visit380_106_2(c2 || c3)); + return visit390_106_1(c1 || visit391_106_2(c2 || c3)); } _$jscoverage['/editor/range.js'].lineData[109]++; function nonWhitespaceOrIsBookmark(node) { _$jscoverage['/editor/range.js'].functionData[2]++; _$jscoverage['/editor/range.js'].lineData[111]++; - return visit381_111_1(!isWhitespace(node) && !isBookmark(node)); + return visit392_111_1(!isWhitespace(node) && !isBookmark(node)); } _$jscoverage['/editor/range.js'].lineData[114]++; function getCheckStartEndBlockEvalFunction(isStart) { @@ -2448,26 +2448,26 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/range.js'].functionData[4]++; _$jscoverage['/editor/range.js'].lineData[118]++; - if (visit382_118_1(isBookmark(node))) { + if (visit393_118_1(isBookmark(node))) { _$jscoverage['/editor/range.js'].lineData[119]++; return TRUE; } _$jscoverage['/editor/range.js'].lineData[122]++; - if (visit383_122_1(node.nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit394_122_1(node.nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[124]++; - if (visit384_124_1(S.trim(node.nodeValue).length)) { + if (visit395_124_1(S.trim(node.nodeValue).length)) { _$jscoverage['/editor/range.js'].lineData[125]++; return FALSE; } } else { _$jscoverage['/editor/range.js'].lineData[127]++; - if (visit385_127_1(node.nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit396_127_1(node.nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[128]++; var nodeName = Dom.nodeName(node); _$jscoverage['/editor/range.js'].lineData[131]++; - if (visit386_131_1(!inlineChildReqElements[nodeName])) { + if (visit397_131_1(!inlineChildReqElements[nodeName])) { _$jscoverage['/editor/range.js'].lineData[134]++; - if (visit387_134_1(!isStart && visit388_134_2(!UA.ie && visit389_134_3(visit390_134_4(nodeName === 'br') && !hadBr)))) { + if (visit398_134_1(!isStart && visit399_134_2(!UA.ie && visit400_134_3(visit401_134_4(nodeName === 'br') && !hadBr)))) { _$jscoverage['/editor/range.js'].lineData[135]++; hadBr = TRUE; } else { @@ -2487,28 +2487,28 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[153]++; var startNode = self.startContainer, endNode = self.endContainer, startOffset = self.startOffset, endOffset = self.endOffset, removeStartNode, hasSplitStart = FALSE, hasSplitEnd = FALSE, t, docFrag, doc = self.document, removeEndNode; _$jscoverage['/editor/range.js'].lineData[165]++; - if (visit391_165_1(action > 0)) { + if (visit402_165_1(action > 0)) { _$jscoverage['/editor/range.js'].lineData[166]++; docFrag = doc.createDocumentFragment(); } _$jscoverage['/editor/range.js'].lineData[169]++; - if (visit392_169_1(self.collapsed)) { + if (visit403_169_1(self.collapsed)) { _$jscoverage['/editor/range.js'].lineData[170]++; return docFrag; } _$jscoverage['/editor/range.js'].lineData[174]++; self.optimizeBookmark(); _$jscoverage['/editor/range.js'].lineData[182]++; - if (visit393_182_1(endNode[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit404_182_1(endNode[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[183]++; hasSplitEnd = TRUE; _$jscoverage['/editor/range.js'].lineData[184]++; endNode = endNode._4eSplitText(endOffset); } else { _$jscoverage['/editor/range.js'].lineData[188]++; - if (visit394_188_1(endNode[0].childNodes.length > 0)) { + if (visit405_188_1(endNode[0].childNodes.length > 0)) { _$jscoverage['/editor/range.js'].lineData[190]++; - if (visit395_190_1(endOffset >= endNode[0].childNodes.length)) { + if (visit406_190_1(endOffset >= endNode[0].childNodes.length)) { _$jscoverage['/editor/range.js'].lineData[192]++; endNode = new Node(endNode[0].appendChild(doc.createTextNode(''))); _$jscoverage['/editor/range.js'].lineData[195]++; @@ -2520,14 +2520,14 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[206]++; - if (visit396_206_1(startNode[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit407_206_1(startNode[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[207]++; hasSplitStart = TRUE; _$jscoverage['/editor/range.js'].lineData[208]++; startNode._4eSplitText(startOffset); } else { _$jscoverage['/editor/range.js'].lineData[215]++; - if (visit397_215_1(!startOffset)) { + if (visit408_215_1(!startOffset)) { _$jscoverage['/editor/range.js'].lineData[217]++; t = new Node(doc.createTextNode('')); _$jscoverage['/editor/range.js'].lineData[218]++; @@ -2538,7 +2538,7 @@ KISSY.add(function(S, require) { removeStartNode = TRUE; } else { _$jscoverage['/editor/range.js'].lineData[222]++; - if (visit398_222_1(startOffset >= startNode[0].childNodes.length)) { + if (visit409_222_1(startOffset >= startNode[0].childNodes.length)) { _$jscoverage['/editor/range.js'].lineData[224]++; startNode = new Node(startNode[0].appendChild(doc.createTextNode(''))); _$jscoverage['/editor/range.js'].lineData[226]++; @@ -2566,13 +2566,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[249]++; var i, topStart, topEnd; _$jscoverage['/editor/range.js'].lineData[251]++; - for (i = 0; visit399_251_1(i < startParents.length); i++) { + for (i = 0; visit410_251_1(i < startParents.length); i++) { _$jscoverage['/editor/range.js'].lineData[252]++; topStart = startParents[i]; _$jscoverage['/editor/range.js'].lineData[253]++; topEnd = endParents[i]; _$jscoverage['/editor/range.js'].lineData[259]++; - if (visit400_259_1(!topStart.equals(topEnd))) { + if (visit411_259_1(!topStart.equals(topEnd))) { _$jscoverage['/editor/range.js'].lineData[260]++; break; } @@ -2580,11 +2580,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[264]++; var clone = docFrag, levelStartNode, levelClone, currentNode, currentSibling; _$jscoverage['/editor/range.js'].lineData[272]++; - for (var j = i; visit401_272_1(j < startParents.length); j++) { + for (var j = i; visit412_272_1(j < startParents.length); j++) { _$jscoverage['/editor/range.js'].lineData[273]++; levelStartNode = startParents[j]; _$jscoverage['/editor/range.js'].lineData[276]++; - if (visit402_276_1(visit403_276_2(action > 0) && !levelStartNode.equals(startNode))) { + if (visit413_276_1(visit414_276_2(action > 0) && !levelStartNode.equals(startNode))) { _$jscoverage['/editor/range.js'].lineData[278]++; levelClone = clone.appendChild(levelStartNode.clone()[0]); } else { @@ -2594,23 +2594,23 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[284]++; currentNode = levelStartNode[0].nextSibling; _$jscoverage['/editor/range.js'].lineData[286]++; - var endParentJ = endParents[j], domEndNode = endNode[0], domEndParentJ = visit404_288_1(endParentJ && endParentJ[0]); + var endParentJ = endParents[j], domEndNode = endNode[0], domEndParentJ = visit415_288_1(endParentJ && endParentJ[0]); _$jscoverage['/editor/range.js'].lineData[290]++; while (currentNode) { _$jscoverage['/editor/range.js'].lineData[293]++; - if (visit405_293_1(visit406_293_2(domEndParentJ === currentNode) || visit407_293_3(domEndNode === currentNode))) { + if (visit416_293_1(visit417_293_2(domEndParentJ === currentNode) || visit418_293_3(domEndNode === currentNode))) { _$jscoverage['/editor/range.js'].lineData[294]++; break; } _$jscoverage['/editor/range.js'].lineData[298]++; currentSibling = currentNode.nextSibling; _$jscoverage['/editor/range.js'].lineData[301]++; - if (visit408_301_1(action === 2)) { + if (visit419_301_1(action === 2)) { _$jscoverage['/editor/range.js'].lineData[303]++; clone.appendChild(currentNode.cloneNode(TRUE)); } else { _$jscoverage['/editor/range.js'].lineData[308]++; - if (visit409_308_1(UN_REMOVABLE[currentNode.nodeName.toLowerCase()])) { + if (visit420_308_1(UN_REMOVABLE[currentNode.nodeName.toLowerCase()])) { _$jscoverage['/editor/range.js'].lineData[309]++; var tmp = currentNode.cloneNode(TRUE); _$jscoverage['/editor/range.js'].lineData[310]++; @@ -2622,7 +2622,7 @@ KISSY.add(function(S, require) { Dom._4eRemove(currentNode); } _$jscoverage['/editor/range.js'].lineData[318]++; - if (visit410_318_1(action === 1)) { + if (visit421_318_1(action === 1)) { _$jscoverage['/editor/range.js'].lineData[320]++; clone.appendChild(currentNode); } @@ -2631,7 +2631,7 @@ KISSY.add(function(S, require) { currentNode = currentSibling; } _$jscoverage['/editor/range.js'].lineData[327]++; - if (visit411_327_1(levelClone)) { + if (visit422_327_1(levelClone)) { _$jscoverage['/editor/range.js'].lineData[328]++; clone = levelClone; } @@ -2639,11 +2639,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[332]++; clone = docFrag; _$jscoverage['/editor/range.js'].lineData[336]++; - for (var k = i; visit412_336_1(k < endParents.length); k++) { + for (var k = i; visit423_336_1(k < endParents.length); k++) { _$jscoverage['/editor/range.js'].lineData[337]++; levelStartNode = endParents[k]; _$jscoverage['/editor/range.js'].lineData[340]++; - if (visit413_340_1(visit414_340_2(action > 0) && !levelStartNode.equals(endNode))) { + if (visit424_340_1(visit425_340_2(action > 0) && !levelStartNode.equals(endNode))) { _$jscoverage['/editor/range.js'].lineData[343]++; levelClone = clone.appendChild(levelStartNode.clone()[0]); } else { @@ -2651,7 +2651,7 @@ KISSY.add(function(S, require) { levelClone = null; } _$jscoverage['/editor/range.js'].lineData[349]++; - if (visit415_350_1(!startParents[k] || !levelStartNode._4eSameLevel(startParents[k]))) { + if (visit426_350_1(!startParents[k] || !levelStartNode._4eSameLevel(startParents[k]))) { _$jscoverage['/editor/range.js'].lineData[354]++; currentNode = levelStartNode[0].previousSibling; _$jscoverage['/editor/range.js'].lineData[355]++; @@ -2659,14 +2659,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[357]++; currentSibling = currentNode.previousSibling; _$jscoverage['/editor/range.js'].lineData[360]++; - if (visit416_360_1(action === 2)) { + if (visit427_360_1(action === 2)) { _$jscoverage['/editor/range.js'].lineData[361]++; clone.insertBefore(currentNode.cloneNode(TRUE), clone.firstChild); } else { _$jscoverage['/editor/range.js'].lineData[365]++; Dom._4eRemove(currentNode); _$jscoverage['/editor/range.js'].lineData[368]++; - if (visit417_368_1(action === 1)) { + if (visit428_368_1(action === 1)) { _$jscoverage['/editor/range.js'].lineData[370]++; clone.insertBefore(currentNode, clone.firstChild); } @@ -2676,19 +2676,19 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[378]++; - if (visit418_378_1(levelClone)) { + if (visit429_378_1(levelClone)) { _$jscoverage['/editor/range.js'].lineData[379]++; clone = levelClone; } } _$jscoverage['/editor/range.js'].lineData[383]++; - if (visit419_383_1(action === 2)) { + if (visit430_383_1(action === 2)) { _$jscoverage['/editor/range.js'].lineData[387]++; - if (visit420_387_1(hasSplitStart)) { + if (visit431_387_1(hasSplitStart)) { _$jscoverage['/editor/range.js'].lineData[388]++; var startTextNode = startNode[0]; _$jscoverage['/editor/range.js'].lineData[389]++; - if (visit421_389_1(visit422_389_2(startTextNode.nodeType === Dom.NodeType.TEXT_NODE) && visit423_389_3(startTextNode.nextSibling && visit424_391_1(startTextNode.nextSibling.nodeType === Dom.NodeType.TEXT_NODE)))) { + if (visit432_389_1(visit433_389_2(startTextNode.nodeType === Dom.NodeType.TEXT_NODE) && visit434_389_3(startTextNode.nextSibling && visit435_391_1(startTextNode.nextSibling.nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[392]++; startTextNode.data += startTextNode.nextSibling.data; _$jscoverage['/editor/range.js'].lineData[393]++; @@ -2696,11 +2696,11 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[397]++; - if (visit425_397_1(hasSplitEnd)) { + if (visit436_397_1(hasSplitEnd)) { _$jscoverage['/editor/range.js'].lineData[398]++; var endTextNode = endNode[0]; _$jscoverage['/editor/range.js'].lineData[399]++; - if (visit426_399_1(visit427_399_2(endTextNode.nodeType === Dom.NodeType.TEXT_NODE) && visit428_400_1(endTextNode.previousSibling && visit429_401_1(endTextNode.previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))) { + if (visit437_399_1(visit438_399_2(endTextNode.nodeType === Dom.NodeType.TEXT_NODE) && visit439_400_1(endTextNode.previousSibling && visit440_401_1(endTextNode.previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[402]++; endTextNode.previousSibling.data += endTextNode.data; _$jscoverage['/editor/range.js'].lineData[403]++; @@ -2709,11 +2709,11 @@ KISSY.add(function(S, require) { } } else { _$jscoverage['/editor/range.js'].lineData[413]++; - if (visit430_414_1(topStart && visit431_414_2(topEnd && (visit432_416_1(!startNode._4eSameLevel(topStart) || !endNode._4eSameLevel(topEnd)))))) { + if (visit441_414_1(topStart && visit442_414_2(topEnd && (visit443_416_1(!startNode._4eSameLevel(topStart) || !endNode._4eSameLevel(topEnd)))))) { _$jscoverage['/editor/range.js'].lineData[419]++; var startIndex = topStart._4eIndex(); _$jscoverage['/editor/range.js'].lineData[423]++; - if (visit433_423_1(removeStartNode && (topStart._4eSameLevel(startNode)))) { + if (visit444_423_1(removeStartNode && (topStart._4eSameLevel(startNode)))) { _$jscoverage['/editor/range.js'].lineData[426]++; startIndex--; } @@ -2724,12 +2724,12 @@ KISSY.add(function(S, require) { self.collapse(TRUE); } _$jscoverage['/editor/range.js'].lineData[438]++; - if (visit434_438_1(removeStartNode)) { + if (visit445_438_1(removeStartNode)) { _$jscoverage['/editor/range.js'].lineData[439]++; startNode.remove(); } _$jscoverage['/editor/range.js'].lineData[442]++; - if (visit435_442_1(removeEndNode)) { + if (visit446_442_1(removeEndNode)) { _$jscoverage['/editor/range.js'].lineData[443]++; endNode.remove(); } @@ -2740,7 +2740,7 @@ KISSY.add(function(S, require) { function updateCollapsed(self) { _$jscoverage['/editor/range.js'].functionData[8]++; _$jscoverage['/editor/range.js'].lineData[450]++; - self.collapsed = (visit436_451_1(self.startContainer && visit437_452_1(self.endContainer && visit438_453_1(visit439_453_2(self.startContainer[0] === self.endContainer[0]) && visit440_454_1(self.startOffset === self.endOffset))))); + self.collapsed = (visit447_451_1(self.startContainer && visit448_452_1(self.endContainer && visit449_453_1(visit450_453_2(self.startContainer[0] === self.endContainer[0]) && visit451_454_1(self.startOffset === self.endOffset))))); } _$jscoverage['/editor/range.js'].lineData[463]++; function KERange(document) { @@ -2767,9 +2767,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[479]++; var s = [], self = this, startContainer = self.startContainer[0], endContainer = self.endContainer[0]; _$jscoverage['/editor/range.js'].lineData[483]++; - s.push((visit441_483_1(startContainer.id || startContainer.nodeName)) + ':' + self.startOffset); + s.push((visit452_483_1(startContainer.id || startContainer.nodeName)) + ':' + self.startOffset); _$jscoverage['/editor/range.js'].lineData[484]++; - s.push((visit442_484_1(endContainer.id || endContainer.nodeName)) + ':' + self.endOffset); + s.push((visit453_484_1(endContainer.id || endContainer.nodeName)) + ':' + self.endOffset); _$jscoverage['/editor/range.js'].lineData[485]++; return s.join('
'); }, @@ -2778,14 +2778,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[495]++; var self = this, container = self.startContainer, offset = self.startOffset; _$jscoverage['/editor/range.js'].lineData[499]++; - if (visit443_499_1(container[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { + if (visit454_499_1(container[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[500]++; - if (visit444_500_1(!offset)) { + if (visit455_500_1(!offset)) { _$jscoverage['/editor/range.js'].lineData[501]++; self.setStartBefore(container); } else { _$jscoverage['/editor/range.js'].lineData[502]++; - if (visit445_502_1(offset >= container[0].nodeValue.length)) { + if (visit456_502_1(offset >= container[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[503]++; self.setStartAfter(container); } @@ -2796,14 +2796,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[508]++; offset = self.endOffset; _$jscoverage['/editor/range.js'].lineData[510]++; - if (visit446_510_1(container[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { + if (visit457_510_1(container[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[511]++; - if (visit447_511_1(!offset)) { + if (visit458_511_1(!offset)) { _$jscoverage['/editor/range.js'].lineData[512]++; self.setEndBefore(container); } else { _$jscoverage['/editor/range.js'].lineData[513]++; - if (visit448_513_1(offset >= container[0].nodeValue.length)) { + if (visit459_513_1(offset >= container[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[514]++; self.setEndAfter(container); } @@ -2835,12 +2835,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[552]++; var self = this, startNode = self.startContainer, endNode = self.endContainer; _$jscoverage['/editor/range.js'].lineData[556]++; - if (visit449_556_1(startNode && visit450_557_1(visit451_557_2(startNode.nodeName() === 'span') && startNode.attr('_ke_bookmark')))) { + if (visit460_556_1(startNode && visit461_557_1(visit462_557_2(startNode.nodeName() === 'span') && startNode.attr('_ke_bookmark')))) { _$jscoverage['/editor/range.js'].lineData[559]++; self.setStartBefore(startNode); } _$jscoverage['/editor/range.js'].lineData[561]++; - if (visit452_561_1(endNode && visit453_562_1(visit454_562_2(endNode.nodeName() === 'span') && endNode.attr('_ke_bookmark')))) { + if (visit463_561_1(endNode && visit464_562_1(visit465_562_2(endNode.nodeName() === 'span') && endNode.attr('_ke_bookmark')))) { _$jscoverage['/editor/range.js'].lineData[564]++; self.setEndAfter(endNode); } @@ -2850,7 +2850,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[582]++; var self = this; _$jscoverage['/editor/range.js'].lineData[583]++; - if (visit455_583_1(visit456_583_2(startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && EMPTY[startNode.nodeName()])) { + if (visit466_583_1(visit467_583_2(startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && EMPTY[startNode.nodeName()])) { _$jscoverage['/editor/range.js'].lineData[584]++; startNode = startNode.parent(); _$jscoverage['/editor/range.js'].lineData[585]++; @@ -2861,7 +2861,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[589]++; self.startOffset = startOffset; _$jscoverage['/editor/range.js'].lineData[591]++; - if (visit457_591_1(!self.endContainer)) { + if (visit468_591_1(!self.endContainer)) { _$jscoverage['/editor/range.js'].lineData[592]++; self.endContainer = startNode; _$jscoverage['/editor/range.js'].lineData[593]++; @@ -2875,7 +2875,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[613]++; var self = this; _$jscoverage['/editor/range.js'].lineData[614]++; - if (visit458_614_1(visit459_614_2(endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && EMPTY[endNode.nodeName()])) { + if (visit469_614_1(visit470_614_2(endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && EMPTY[endNode.nodeName()])) { _$jscoverage['/editor/range.js'].lineData[615]++; endNode = endNode.parent(); _$jscoverage['/editor/range.js'].lineData[616]++; @@ -2886,7 +2886,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[620]++; self.endOffset = endOffset; _$jscoverage['/editor/range.js'].lineData[622]++; - if (visit460_622_1(!self.startContainer)) { + if (visit471_622_1(!self.startContainer)) { _$jscoverage['/editor/range.js'].lineData[623]++; self.startContainer = endNode; _$jscoverage['/editor/range.js'].lineData[624]++; @@ -2908,7 +2908,7 @@ KISSY.add(function(S, require) { break; case KER.POSITION_BEFORE_END: _$jscoverage['/editor/range.js'].lineData[643]++; - if (visit461_643_1(node[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit472_643_1(node[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[644]++; self.setStart(node, node[0].nodeValue.length); } else { @@ -2942,7 +2942,7 @@ KISSY.add(function(S, require) { break; case KER.POSITION_BEFORE_END: _$jscoverage['/editor/range.js'].lineData[674]++; - if (visit462_674_1(node[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit473_674_1(node[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[675]++; self.setEnd(node, node[0].nodeValue.length); } else { @@ -2983,7 +2983,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[718]++; var self = this; _$jscoverage['/editor/range.js'].lineData[719]++; - if (visit463_719_1(toStart)) { + if (visit474_719_1(toStart)) { _$jscoverage['/editor/range.js'].lineData[720]++; self.endContainer = self.startContainer; _$jscoverage['/editor/range.js'].lineData[721]++; @@ -3021,7 +3021,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[758]++; walkerRange.optimize(); _$jscoverage['/editor/range.js'].lineData[760]++; - if (visit464_760_1(visit465_760_2(walkerRange.startContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE) || visit466_761_1(walkerRange.endContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE))) { + if (visit475_760_1(visit476_760_2(walkerRange.startContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE) || visit477_761_1(walkerRange.endContainer[0].nodeType !== Dom.NodeType.ELEMENT_NODE))) { _$jscoverage['/editor/range.js'].lineData[762]++; return NULL; } @@ -3031,7 +3031,7 @@ KISSY.add(function(S, require) { walker.evaluator = function(node) { _$jscoverage['/editor/range.js'].functionData[27]++; _$jscoverage['/editor/range.js'].lineData[769]++; - return visit467_769_1(isNotWhitespaces(node) && isNotBookmarks(node)); + return visit478_769_1(isNotWhitespaces(node) && isNotBookmarks(node)); }; _$jscoverage['/editor/range.js'].lineData[776]++; node = walker.next(); @@ -3040,27 +3040,27 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[778]++; pre = walker.previous(); _$jscoverage['/editor/range.js'].lineData[780]++; - return visit468_780_1(node && node.equals(pre)) ? node : NULL; + return visit479_780_1(node && node.equals(pre)) ? node : NULL; }, shrink: function(mode, selectContents) { _$jscoverage['/editor/range.js'].functionData[28]++; _$jscoverage['/editor/range.js'].lineData[790]++; var self = this; _$jscoverage['/editor/range.js'].lineData[791]++; - if (visit469_791_1(!self.collapsed)) { + if (visit480_791_1(!self.collapsed)) { _$jscoverage['/editor/range.js'].lineData[792]++; - mode = visit470_792_1(mode || KER.SHRINK_TEXT); + mode = visit481_792_1(mode || KER.SHRINK_TEXT); _$jscoverage['/editor/range.js'].lineData[794]++; var walkerRange = self.clone(), startContainer = self.startContainer, endContainer = self.endContainer, startOffset = self.startOffset, endOffset = self.endOffset, moveStart = TRUE, currentElement, walker, moveEnd = TRUE; _$jscoverage['/editor/range.js'].lineData[805]++; - if (visit471_805_1(startContainer && visit472_806_1(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { + if (visit482_805_1(startContainer && visit483_806_1(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { _$jscoverage['/editor/range.js'].lineData[807]++; - if (visit473_807_1(!startOffset)) { + if (visit484_807_1(!startOffset)) { _$jscoverage['/editor/range.js'].lineData[808]++; walkerRange.setStartBefore(startContainer); } else { _$jscoverage['/editor/range.js'].lineData[809]++; - if (visit474_809_1(startOffset >= startContainer[0].nodeValue.length)) { + if (visit485_809_1(startOffset >= startContainer[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[810]++; walkerRange.setStartAfter(startContainer); } else { @@ -3072,14 +3072,14 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[819]++; - if (visit475_819_1(endContainer && visit476_820_1(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { + if (visit486_819_1(endContainer && visit487_820_1(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { _$jscoverage['/editor/range.js'].lineData[821]++; - if (visit477_821_1(!endOffset)) { + if (visit488_821_1(!endOffset)) { _$jscoverage['/editor/range.js'].lineData[822]++; walkerRange.setEndBefore(endContainer); } else { _$jscoverage['/editor/range.js'].lineData[823]++; - if (visit478_823_1(endOffset >= endContainer[0].nodeValue.length)) { + if (visit489_823_1(endOffset >= endContainer[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[824]++; walkerRange.setEndAfter(endContainer); } else { @@ -3091,30 +3091,30 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[831]++; - if (visit479_831_1(moveStart || moveEnd)) { + if (visit490_831_1(moveStart || moveEnd)) { _$jscoverage['/editor/range.js'].lineData[833]++; walker = new Walker(walkerRange); _$jscoverage['/editor/range.js'].lineData[835]++; walker.evaluator = function(node) { _$jscoverage['/editor/range.js'].functionData[29]++; _$jscoverage['/editor/range.js'].lineData[836]++; - return visit480_836_1(node.nodeType === (visit481_836_2(mode === KER.SHRINK_ELEMENT) ? Dom.NodeType.ELEMENT_NODE : Dom.NodeType.TEXT_NODE)); + return visit491_836_1(node.nodeType === (visit492_836_2(mode === KER.SHRINK_ELEMENT) ? Dom.NodeType.ELEMENT_NODE : Dom.NodeType.TEXT_NODE)); }; _$jscoverage['/editor/range.js'].lineData[840]++; walker.guard = function(node, movingOut) { _$jscoverage['/editor/range.js'].functionData[30]++; _$jscoverage['/editor/range.js'].lineData[842]++; - if (visit482_842_1(visit483_842_2(mode === KER.SHRINK_ELEMENT) && visit484_843_1(node.nodeType === Dom.NodeType.TEXT_NODE))) { + if (visit493_842_1(visit494_842_2(mode === KER.SHRINK_ELEMENT) && visit495_843_1(node.nodeType === Dom.NodeType.TEXT_NODE))) { _$jscoverage['/editor/range.js'].lineData[844]++; return FALSE; } _$jscoverage['/editor/range.js'].lineData[847]++; - if (visit485_847_1(movingOut && visit486_847_2(node === currentElement))) { + if (visit496_847_1(movingOut && visit497_847_2(node === currentElement))) { _$jscoverage['/editor/range.js'].lineData[848]++; return FALSE; } _$jscoverage['/editor/range.js'].lineData[850]++; - if (visit487_850_1(!movingOut && visit488_850_2(node.nodeType === Dom.NodeType.ELEMENT_NODE))) { + if (visit498_850_1(!movingOut && visit499_850_2(node.nodeType === Dom.NodeType.ELEMENT_NODE))) { _$jscoverage['/editor/range.js'].lineData[851]++; currentElement = node; } @@ -3123,29 +3123,29 @@ KISSY.add(function(S, require) { }; } _$jscoverage['/editor/range.js'].lineData[858]++; - if (visit489_858_1(moveStart)) { + if (visit500_858_1(moveStart)) { _$jscoverage['/editor/range.js'].lineData[859]++; - var textStart = walker[visit490_859_1(mode === KER.SHRINK_ELEMENT) ? 'lastForward' : 'next'](); + var textStart = walker[visit501_859_1(mode === KER.SHRINK_ELEMENT) ? 'lastForward' : 'next'](); _$jscoverage['/editor/range.js'].lineData[860]++; - if (visit491_860_1(textStart)) { + if (visit502_860_1(textStart)) { _$jscoverage['/editor/range.js'].lineData[861]++; self.setStartAt(textStart, selectContents ? KER.POSITION_AFTER_START : KER.POSITION_BEFORE_START); } } _$jscoverage['/editor/range.js'].lineData[865]++; - if (visit492_865_1(moveEnd)) { + if (visit503_865_1(moveEnd)) { _$jscoverage['/editor/range.js'].lineData[866]++; walker.reset(); _$jscoverage['/editor/range.js'].lineData[867]++; - var textEnd = walker[visit493_867_1(mode === KER.SHRINK_ELEMENT) ? 'lastBackward' : 'previous'](); + var textEnd = walker[visit504_867_1(mode === KER.SHRINK_ELEMENT) ? 'lastBackward' : 'previous'](); _$jscoverage['/editor/range.js'].lineData[868]++; - if (visit494_868_1(textEnd)) { + if (visit505_868_1(textEnd)) { _$jscoverage['/editor/range.js'].lineData[869]++; self.setEndAt(textEnd, selectContents ? KER.POSITION_BEFORE_END : KER.POSITION_AFTER_END); } } _$jscoverage['/editor/range.js'].lineData[873]++; - return visit495_873_1(moveStart || moveEnd); + return visit506_873_1(moveStart || moveEnd); } }, createBookmark2: function(normalized) { @@ -3153,20 +3153,20 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[883]++; var self = this, startContainer = self.startContainer, endContainer = self.endContainer, startOffset = self.startOffset, endOffset = self.endOffset, child, previous; _$jscoverage['/editor/range.js'].lineData[893]++; - if (visit496_893_1(!startContainer || !endContainer)) { + if (visit507_893_1(!startContainer || !endContainer)) { _$jscoverage['/editor/range.js'].lineData[894]++; return { start: 0, end: 0}; } _$jscoverage['/editor/range.js'].lineData[900]++; - if (visit497_900_1(normalized)) { + if (visit508_900_1(normalized)) { _$jscoverage['/editor/range.js'].lineData[903]++; - if (visit498_903_1(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit509_903_1(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[904]++; child = new Node(startContainer[0].childNodes[startOffset]); _$jscoverage['/editor/range.js'].lineData[908]++; - if (visit499_908_1(child && visit500_908_2(child[0] && visit501_908_3(visit502_908_4(child[0].nodeType === Dom.NodeType.TEXT_NODE) && visit503_909_1(visit504_909_2(startOffset > 0) && visit505_909_3(child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))))) { + if (visit510_908_1(child && visit511_908_2(child[0] && visit512_908_3(visit513_908_4(child[0].nodeType === Dom.NodeType.TEXT_NODE) && visit514_909_1(visit515_909_2(startOffset > 0) && visit516_909_3(child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))))) { _$jscoverage['/editor/range.js'].lineData[910]++; startContainer = child; _$jscoverage['/editor/range.js'].lineData[911]++; @@ -3174,20 +3174,20 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[917]++; - while (visit506_917_1(visit507_917_2(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE) && visit508_918_1((previous = startContainer.prev(undefined, 1)) && visit509_919_1(previous[0].nodeType === Dom.NodeType.TEXT_NODE)))) { + while (visit517_917_1(visit518_917_2(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE) && visit519_918_1((previous = startContainer.prev(undefined, 1)) && visit520_919_1(previous[0].nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[920]++; startContainer = previous; _$jscoverage['/editor/range.js'].lineData[921]++; startOffset += previous[0].nodeValue.length; } _$jscoverage['/editor/range.js'].lineData[925]++; - if (visit510_925_1(!self.collapsed)) { + if (visit521_925_1(!self.collapsed)) { _$jscoverage['/editor/range.js'].lineData[928]++; - if (visit511_928_1(endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit522_928_1(endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[929]++; child = new Node(endContainer[0].childNodes[endOffset]); _$jscoverage['/editor/range.js'].lineData[933]++; - if (visit512_933_1(child && visit513_933_2(child[0] && visit514_934_1(visit515_934_2(child[0].nodeType === Dom.NodeType.TEXT_NODE) && visit516_934_3(visit517_934_4(endOffset > 0) && visit518_935_1(child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))))) { + if (visit523_933_1(child && visit524_933_2(child[0] && visit525_934_1(visit526_934_2(child[0].nodeType === Dom.NodeType.TEXT_NODE) && visit527_934_3(visit528_934_4(endOffset > 0) && visit529_935_1(child[0].previousSibling.nodeType === Dom.NodeType.TEXT_NODE)))))) { _$jscoverage['/editor/range.js'].lineData[936]++; endContainer = child; _$jscoverage['/editor/range.js'].lineData[937]++; @@ -3195,7 +3195,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[942]++; - while (visit519_942_1(visit520_942_2(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE) && visit521_943_1((previous = endContainer.prev(undefined, 1)) && visit522_944_1(previous[0].nodeType === Dom.NodeType.TEXT_NODE)))) { + while (visit530_942_1(visit531_942_2(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE) && visit532_943_1((previous = endContainer.prev(undefined, 1)) && visit533_944_1(previous[0].nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[945]++; endContainer = previous; _$jscoverage['/editor/range.js'].lineData[946]++; @@ -3225,20 +3225,20 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[977]++; startNode.html(' '); _$jscoverage['/editor/range.js'].lineData[979]++; - if (visit523_979_1(serializable)) { + if (visit534_979_1(serializable)) { _$jscoverage['/editor/range.js'].lineData[980]++; baseId = S.guid('ke_bm_'); _$jscoverage['/editor/range.js'].lineData[981]++; startNode.attr('id', baseId + 'S'); } _$jscoverage['/editor/range.js'].lineData[985]++; - if (visit524_985_1(!collapsed)) { + if (visit535_985_1(!collapsed)) { _$jscoverage['/editor/range.js'].lineData[986]++; endNode = startNode.clone(); _$jscoverage['/editor/range.js'].lineData[987]++; endNode.html(' '); _$jscoverage['/editor/range.js'].lineData[989]++; - if (visit525_989_1(serializable)) { + if (visit536_989_1(serializable)) { _$jscoverage['/editor/range.js'].lineData[990]++; endNode.attr('id', baseId + 'E'); } @@ -3256,7 +3256,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1000]++; clone.insertNode(startNode); _$jscoverage['/editor/range.js'].lineData[1003]++; - if (visit526_1003_1(endNode)) { + if (visit537_1003_1(endNode)) { _$jscoverage['/editor/range.js'].lineData[1004]++; self.setStartAfter(startNode); _$jscoverage['/editor/range.js'].lineData[1005]++; @@ -3286,16 +3286,16 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1035]++; var self = this, startContainer = self.startContainer, startOffset = self.startOffset, collapsed = self.collapsed; _$jscoverage['/editor/range.js'].lineData[1040]++; - if (visit527_1040_1((visit528_1040_2(!ignoreStart || collapsed)) && visit529_1041_1(startContainer[0] && visit530_1042_1(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE)))) { + if (visit538_1040_1((visit539_1040_2(!ignoreStart || collapsed)) && visit540_1041_1(startContainer[0] && visit541_1042_1(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[1045]++; - if (visit531_1045_1(!startOffset)) { + if (visit542_1045_1(!startOffset)) { _$jscoverage['/editor/range.js'].lineData[1046]++; startOffset = startContainer._4eIndex(); _$jscoverage['/editor/range.js'].lineData[1047]++; startContainer = startContainer.parent(); } else { _$jscoverage['/editor/range.js'].lineData[1051]++; - if (visit532_1051_1(startOffset >= startContainer[0].nodeValue.length)) { + if (visit543_1051_1(startOffset >= startContainer[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[1052]++; startOffset = startContainer._4eIndex() + 1; _$jscoverage['/editor/range.js'].lineData[1053]++; @@ -3308,12 +3308,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1061]++; startContainer = startContainer.parent(); _$jscoverage['/editor/range.js'].lineData[1064]++; - if (visit533_1064_1(Dom.equals(self.startContainer, self.endContainer))) { + if (visit544_1064_1(Dom.equals(self.startContainer, self.endContainer))) { _$jscoverage['/editor/range.js'].lineData[1065]++; self.setEnd(nextText, self.endOffset - self.startOffset); } else { _$jscoverage['/editor/range.js'].lineData[1066]++; - if (visit534_1066_1(Dom.equals(startContainer, self.endContainer))) { + if (visit545_1066_1(Dom.equals(startContainer, self.endContainer))) { _$jscoverage['/editor/range.js'].lineData[1067]++; self.endOffset += 1; } @@ -3323,7 +3323,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1071]++; self.setStart(startContainer, startOffset); _$jscoverage['/editor/range.js'].lineData[1073]++; - if (visit535_1073_1(collapsed)) { + if (visit546_1073_1(collapsed)) { _$jscoverage['/editor/range.js'].lineData[1074]++; self.collapse(TRUE); _$jscoverage['/editor/range.js'].lineData[1075]++; @@ -3333,16 +3333,16 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1079]++; var endContainer = self.endContainer, endOffset = self.endOffset; _$jscoverage['/editor/range.js'].lineData[1082]++; - if (visit536_1082_1(!(visit537_1082_2(ignoreEnd || collapsed)) && visit538_1083_1(endContainer[0] && visit539_1083_2(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE)))) { + if (visit547_1082_1(!(visit548_1082_2(ignoreEnd || collapsed)) && visit549_1083_1(endContainer[0] && visit550_1083_2(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE)))) { _$jscoverage['/editor/range.js'].lineData[1086]++; - if (visit540_1086_1(!endOffset)) { + if (visit551_1086_1(!endOffset)) { _$jscoverage['/editor/range.js'].lineData[1087]++; endOffset = endContainer._4eIndex(); _$jscoverage['/editor/range.js'].lineData[1088]++; endContainer = endContainer.parent(); } else { _$jscoverage['/editor/range.js'].lineData[1092]++; - if (visit541_1092_1(endOffset >= endContainer[0].nodeValue.length)) { + if (visit552_1092_1(endOffset >= endContainer[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[1093]++; endOffset = endContainer._4eIndex() + 1; _$jscoverage['/editor/range.js'].lineData[1094]++; @@ -3369,11 +3369,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1115]++; self.trim(FALSE, TRUE); _$jscoverage['/editor/range.js'].lineData[1116]++; - var startContainer = self.startContainer, startOffset = self.startOffset, nextNode = visit542_1118_1(startContainer[0].childNodes[startOffset] || null); + var startContainer = self.startContainer, startOffset = self.startOffset, nextNode = visit553_1118_1(startContainer[0].childNodes[startOffset] || null); _$jscoverage['/editor/range.js'].lineData[1120]++; startContainer[0].insertBefore(node[0], nextNode); _$jscoverage['/editor/range.js'].lineData[1122]++; - if (visit543_1122_1(startContainer[0] === self.endContainer[0])) { + if (visit554_1122_1(startContainer[0] === self.endContainer[0])) { _$jscoverage['/editor/range.js'].lineData[1123]++; self.endOffset++; } @@ -3385,13 +3385,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1134]++; var self = this, doc = $(self.document); _$jscoverage['/editor/range.js'].lineData[1136]++; - if (visit544_1136_1(bookmark.is2)) { + if (visit555_1136_1(bookmark.is2)) { _$jscoverage['/editor/range.js'].lineData[1138]++; - var startContainer = doc._4eGetByAddress(bookmark.start, bookmark.normalized), startOffset = bookmark.startOffset, endContainer = visit545_1140_1(bookmark.end && doc._4eGetByAddress(bookmark.end, bookmark.normalized)), endOffset = bookmark.endOffset; + var startContainer = doc._4eGetByAddress(bookmark.start, bookmark.normalized), startOffset = bookmark.startOffset, endContainer = visit556_1140_1(bookmark.end && doc._4eGetByAddress(bookmark.end, bookmark.normalized)), endOffset = bookmark.endOffset; _$jscoverage['/editor/range.js'].lineData[1144]++; self.setStart(startContainer, startOffset); _$jscoverage['/editor/range.js'].lineData[1147]++; - if (visit546_1147_1(endContainer)) { + if (visit557_1147_1(endContainer)) { _$jscoverage['/editor/range.js'].lineData[1148]++; self.setEnd(endContainer, endOffset); } else { @@ -3406,7 +3406,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1164]++; startNode._4eRemove(); _$jscoverage['/editor/range.js'].lineData[1168]++; - if (visit547_1168_1(endNode && endNode[0])) { + if (visit558_1168_1(endNode && endNode[0])) { _$jscoverage['/editor/range.js'].lineData[1169]++; self.setEndBefore(endNode); _$jscoverage['/editor/range.js'].lineData[1170]++; @@ -3422,9 +3422,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1183]++; var self = this, start = self.startContainer, end = self.endContainer, ancestor; _$jscoverage['/editor/range.js'].lineData[1188]++; - if (visit548_1188_1(start[0] === end[0])) { + if (visit559_1188_1(start[0] === end[0])) { _$jscoverage['/editor/range.js'].lineData[1189]++; - if (visit549_1189_1(includeSelf && visit550_1190_1(visit551_1190_2(start[0].nodeType === Dom.NodeType.ELEMENT_NODE) && visit552_1191_1(self.startOffset === self.endOffset - 1)))) { + if (visit560_1189_1(includeSelf && visit561_1190_1(visit562_1190_2(start[0].nodeType === Dom.NodeType.ELEMENT_NODE) && visit563_1191_1(self.startOffset === self.endOffset - 1)))) { _$jscoverage['/editor/range.js'].lineData[1192]++; ancestor = new Node(start[0].childNodes[self.startOffset]); } else { @@ -3436,7 +3436,7 @@ KISSY.add(function(S, require) { ancestor = start._4eCommonAncestor(end); } _$jscoverage['/editor/range.js'].lineData[1200]++; - return visit553_1200_1(ignoreTextNode && visit554_1200_2(ancestor[0].nodeType === Dom.NodeType.TEXT_NODE)) ? ancestor.parent() : ancestor; + return visit564_1200_1(ignoreTextNode && visit565_1200_2(ancestor[0].nodeType === Dom.NodeType.TEXT_NODE)) ? ancestor.parent() : ancestor; }, enlarge: (function() { _$jscoverage['/editor/range.js'].functionData[38]++; @@ -3446,17 +3446,17 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1214]++; var container = self[left ? 'startContainer' : 'endContainer'], enlarge, sibling, index = left ? 0 : 1, commonReached = 0, direction = left ? 'previousSibling' : 'nextSibling', offset = self[left ? 'startOffset' : 'endOffset']; _$jscoverage['/editor/range.js'].lineData[1222]++; - if (visit555_1222_1(container[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit566_1222_1(container[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[1223]++; - if (visit556_1223_1(left)) { + if (visit567_1223_1(left)) { _$jscoverage['/editor/range.js'].lineData[1225]++; - if (visit557_1225_1(offset)) { + if (visit568_1225_1(offset)) { _$jscoverage['/editor/range.js'].lineData[1226]++; return; } } else { _$jscoverage['/editor/range.js'].lineData[1229]++; - if (visit558_1229_1(offset < container[0].nodeValue.length)) { + if (visit569_1229_1(offset < container[0].nodeValue.length)) { _$jscoverage['/editor/range.js'].lineData[1230]++; return; } @@ -3467,7 +3467,7 @@ KISSY.add(function(S, require) { enlarge = container[0].parentNode; } else { _$jscoverage['/editor/range.js'].lineData[1240]++; - sibling = visit559_1240_1(container[0].childNodes[offset + (left ? -1 : 1)] || null); + sibling = visit570_1240_1(container[0].childNodes[offset + (left ? -1 : 1)] || null); _$jscoverage['/editor/range.js'].lineData[1242]++; enlarge = container[0]; } @@ -3476,7 +3476,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1247]++; while (sibling) { _$jscoverage['/editor/range.js'].lineData[1248]++; - if (visit560_1248_1(isWhitespace(sibling) || isBookmark(sibling))) { + if (visit571_1248_1(isWhitespace(sibling) || isBookmark(sibling))) { _$jscoverage['/editor/range.js'].lineData[1249]++; sibling = sibling[direction]; } else { @@ -3485,9 +3485,9 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[1256]++; - if (visit561_1256_1(sibling)) { + if (visit572_1256_1(sibling)) { _$jscoverage['/editor/range.js'].lineData[1258]++; - if (visit562_1258_1(!commonReached)) { + if (visit573_1258_1(!commonReached)) { _$jscoverage['/editor/range.js'].lineData[1260]++; self[left ? 'setStartAfter' : 'setEndBefore']($(sibling)); } @@ -3497,12 +3497,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1269]++; enlarge = $(enlarge); _$jscoverage['/editor/range.js'].lineData[1271]++; - if (visit563_1271_1(enlarge.nodeName() === 'body')) { + if (visit574_1271_1(enlarge.nodeName() === 'body')) { _$jscoverage['/editor/range.js'].lineData[1272]++; return; } _$jscoverage['/editor/range.js'].lineData[1275]++; - if (visit564_1275_1(commonReached || enlarge.equals(commonAncestor))) { + if (visit575_1275_1(commonReached || enlarge.equals(commonAncestor))) { _$jscoverage['/editor/range.js'].lineData[1276]++; stop[index] = enlarge; _$jscoverage['/editor/range.js'].lineData[1277]++; @@ -3526,7 +3526,7 @@ KISSY.add(function(S, require) { switch (unit) { case KER.ENLARGE_ELEMENT: _$jscoverage['/editor/range.js'].lineData[1294]++; - if (visit565_1294_1(self.collapsed)) { + if (visit576_1294_1(self.collapsed)) { _$jscoverage['/editor/range.js'].lineData[1295]++; return; } @@ -3537,7 +3537,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1302]++; enlargeElement(self, 0, stop, commonAncestor); _$jscoverage['/editor/range.js'].lineData[1304]++; - if (visit566_1304_1(stop[0] && stop[1])) { + if (visit577_1304_1(stop[0] && stop[1])) { _$jscoverage['/editor/range.js'].lineData[1305]++; var commonStop = stop[0].contains(stop[1]) ? stop[1] : stop[0]; _$jscoverage['/editor/range.js'].lineData[1306]++; @@ -3558,13 +3558,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1320]++; walkerRange.setEnd(self.startContainer, self.startOffset); _$jscoverage['/editor/range.js'].lineData[1322]++; - var walker = new Walker(walkerRange), blockBoundary, tailBr, defaultGuard = Walker.blockBoundary((visit567_1326_1(unit === KER.ENLARGE_LIST_ITEM_CONTENTS)) ? { + var walker = new Walker(walkerRange), blockBoundary, tailBr, defaultGuard = Walker.blockBoundary((visit578_1326_1(unit === KER.ENLARGE_LIST_ITEM_CONTENTS)) ? { br: 1} : NULL), boundaryGuard = function(node) { _$jscoverage['/editor/range.js'].functionData[41]++; _$jscoverage['/editor/range.js'].lineData[1330]++; var retVal = defaultGuard(node); _$jscoverage['/editor/range.js'].lineData[1331]++; - if (visit568_1331_1(!retVal)) { + if (visit579_1331_1(!retVal)) { _$jscoverage['/editor/range.js'].lineData[1332]++; blockBoundary = $(node); } @@ -3575,7 +3575,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1338]++; var retVal = boundaryGuard(node); _$jscoverage['/editor/range.js'].lineData[1339]++; - if (visit569_1339_1(!retVal && visit570_1339_2(Dom.nodeName(node) === 'br'))) { + if (visit580_1339_1(!retVal && visit581_1339_2(Dom.nodeName(node) === 'br'))) { _$jscoverage['/editor/range.js'].lineData[1340]++; tailBr = $(node); } @@ -3587,9 +3587,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1347]++; enlargeable = walker.lastBackward(); _$jscoverage['/editor/range.js'].lineData[1350]++; - blockBoundary = visit571_1350_1(blockBoundary || body); + blockBoundary = visit582_1350_1(blockBoundary || body); _$jscoverage['/editor/range.js'].lineData[1354]++; - self.setStartAt(blockBoundary, visit572_1356_1(visit573_1356_2(blockBoundary.nodeName() !== 'br') && (visit574_1364_1(visit575_1364_2(!enlargeable && self.checkStartOfBlock()) || visit576_1364_3(enlargeable && blockBoundary.contains(enlargeable))))) ? KER.POSITION_AFTER_START : KER.POSITION_AFTER_END); + self.setStartAt(blockBoundary, visit583_1356_1(visit584_1356_2(blockBoundary.nodeName() !== 'br') && (visit585_1364_1(visit586_1364_2(!enlargeable && self.checkStartOfBlock()) || visit587_1364_3(enlargeable && blockBoundary.contains(enlargeable))))) ? KER.POSITION_AFTER_START : KER.POSITION_AFTER_END); _$jscoverage['/editor/range.js'].lineData[1369]++; walkerRange = self.clone(); _$jscoverage['/editor/range.js'].lineData[1370]++; @@ -3599,17 +3599,17 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1372]++; walker = new Walker(walkerRange); _$jscoverage['/editor/range.js'].lineData[1375]++; - walker.guard = (visit577_1375_1(unit === KER.ENLARGE_LIST_ITEM_CONTENTS)) ? tailBrGuard : boundaryGuard; + walker.guard = (visit588_1375_1(unit === KER.ENLARGE_LIST_ITEM_CONTENTS)) ? tailBrGuard : boundaryGuard; _$jscoverage['/editor/range.js'].lineData[1377]++; blockBoundary = NULL; _$jscoverage['/editor/range.js'].lineData[1380]++; enlargeable = walker.lastForward(); _$jscoverage['/editor/range.js'].lineData[1383]++; - blockBoundary = visit578_1383_1(blockBoundary || body); + blockBoundary = visit589_1383_1(blockBoundary || body); _$jscoverage['/editor/range.js'].lineData[1387]++; - self.setEndAt(blockBoundary, (visit579_1389_1(visit580_1389_2(!enlargeable && self.checkEndOfBlock()) || visit581_1389_3(enlargeable && blockBoundary.contains(enlargeable)))) ? KER.POSITION_BEFORE_END : KER.POSITION_BEFORE_START); + self.setEndAt(blockBoundary, (visit590_1389_1(visit591_1389_2(!enlargeable && self.checkEndOfBlock()) || visit592_1389_3(enlargeable && blockBoundary.contains(enlargeable)))) ? KER.POSITION_BEFORE_END : KER.POSITION_BEFORE_START); _$jscoverage['/editor/range.js'].lineData[1394]++; - if (visit582_1394_1(tailBr)) { + if (visit593_1394_1(tailBr)) { _$jscoverage['/editor/range.js'].lineData[1395]++; self.setEndAfter(tailBr); } @@ -3621,11 +3621,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1406]++; var self = this, startContainer = self.startContainer, startOffset = self.startOffset; _$jscoverage['/editor/range.js'].lineData[1412]++; - if (visit583_1412_1(startOffset && visit584_1412_2(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { + if (visit594_1412_1(startOffset && visit595_1412_2(startContainer[0].nodeType === Dom.NodeType.TEXT_NODE))) { _$jscoverage['/editor/range.js'].lineData[1413]++; var textBefore = S.trim(startContainer[0].nodeValue.substring(0, startOffset)); _$jscoverage['/editor/range.js'].lineData[1414]++; - if (visit585_1414_1(textBefore.length)) { + if (visit596_1414_1(textBefore.length)) { _$jscoverage['/editor/range.js'].lineData[1415]++; return FALSE; } @@ -3639,7 +3639,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1430]++; walkerRange.collapse(TRUE); _$jscoverage['/editor/range.js'].lineData[1431]++; - walkerRange.setStartAt(visit586_1431_1(path.block || path.blockLimit), KER.POSITION_AFTER_START); + walkerRange.setStartAt(visit597_1431_1(path.block || path.blockLimit), KER.POSITION_AFTER_START); _$jscoverage['/editor/range.js'].lineData[1433]++; var walker = new Walker(walkerRange); _$jscoverage['/editor/range.js'].lineData[1434]++; @@ -3652,11 +3652,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1444]++; var self = this, endContainer = self.endContainer, endOffset = self.endOffset; _$jscoverage['/editor/range.js'].lineData[1449]++; - if (visit587_1449_1(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit598_1449_1(endContainer[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[1450]++; var textAfter = S.trim(endContainer[0].nodeValue.substring(endOffset)); _$jscoverage['/editor/range.js'].lineData[1451]++; - if (visit588_1451_1(textAfter.length)) { + if (visit599_1451_1(textAfter.length)) { _$jscoverage['/editor/range.js'].lineData[1452]++; return FALSE; } @@ -3670,7 +3670,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1467]++; walkerRange.collapse(FALSE); _$jscoverage['/editor/range.js'].lineData[1468]++; - walkerRange.setEndAt(visit589_1468_1(path.block || path.blockLimit), KER.POSITION_BEFORE_END); + walkerRange.setEndAt(visit600_1468_1(path.block || path.blockLimit), KER.POSITION_BEFORE_END); _$jscoverage['/editor/range.js'].lineData[1470]++; var walker = new Walker(walkerRange); _$jscoverage['/editor/range.js'].lineData[1471]++; @@ -3683,29 +3683,29 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1482]++; var walkerRange = this.clone(); _$jscoverage['/editor/range.js'].lineData[1486]++; - walkerRange[visit590_1484_1(checkType === KER.START) ? 'setStartAt' : 'setEndAt'](element, visit591_1486_1(checkType === KER.START) ? KER.POSITION_AFTER_START : KER.POSITION_BEFORE_END); + walkerRange[visit601_1484_1(checkType === KER.START) ? 'setStartAt' : 'setEndAt'](element, visit602_1486_1(checkType === KER.START) ? KER.POSITION_AFTER_START : KER.POSITION_BEFORE_END); _$jscoverage['/editor/range.js'].lineData[1490]++; var walker = new Walker(walkerRange); _$jscoverage['/editor/range.js'].lineData[1492]++; walker.evaluator = elementBoundaryEval; _$jscoverage['/editor/range.js'].lineData[1493]++; - return walker[visit592_1493_1(checkType === KER.START) ? 'checkBackward' : 'checkForward'](); + return walker[visit603_1493_1(checkType === KER.START) ? 'checkBackward' : 'checkForward'](); }, getBoundaryNodes: function() { _$jscoverage['/editor/range.js'].functionData[46]++; _$jscoverage['/editor/range.js'].lineData[1502]++; var self = this, startNode = self.startContainer, endNode = self.endContainer, startOffset = self.startOffset, endOffset = self.endOffset, childCount; _$jscoverage['/editor/range.js'].lineData[1509]++; - if (visit593_1509_1(startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit604_1509_1(startNode[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[1510]++; childCount = startNode[0].childNodes.length; _$jscoverage['/editor/range.js'].lineData[1511]++; - if (visit594_1511_1(childCount > startOffset)) { + if (visit605_1511_1(childCount > startOffset)) { _$jscoverage['/editor/range.js'].lineData[1512]++; startNode = $(startNode[0].childNodes[startOffset]); } else { _$jscoverage['/editor/range.js'].lineData[1513]++; - if (visit595_1513_1(childCount === 0)) { + if (visit606_1513_1(childCount === 0)) { _$jscoverage['/editor/range.js'].lineData[1515]++; startNode = startNode._4ePreviousSourceNode(); } else { @@ -3719,21 +3719,21 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1524]++; startNode = $(startNode); _$jscoverage['/editor/range.js'].lineData[1529]++; - startNode = visit596_1529_1(startNode._4eNextSourceNode() || startNode); + startNode = visit607_1529_1(startNode._4eNextSourceNode() || startNode); } } } _$jscoverage['/editor/range.js'].lineData[1533]++; - if (visit597_1533_1(endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit608_1533_1(endNode[0].nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/range.js'].lineData[1534]++; childCount = endNode[0].childNodes.length; _$jscoverage['/editor/range.js'].lineData[1535]++; - if (visit598_1535_1(childCount > endOffset)) { + if (visit609_1535_1(childCount > endOffset)) { _$jscoverage['/editor/range.js'].lineData[1536]++; endNode = $(endNode[0].childNodes[endOffset])._4ePreviousSourceNode(TRUE); } else { _$jscoverage['/editor/range.js'].lineData[1539]++; - if (visit599_1539_1(childCount === 0)) { + if (visit610_1539_1(childCount === 0)) { _$jscoverage['/editor/range.js'].lineData[1540]++; endNode = endNode._4ePreviousSourceNode(); } else { @@ -3750,7 +3750,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/range.js'].lineData[1554]++; - if (visit600_1554_1(startNode._4ePosition(endNode) & KEP.POSITION_FOLLOWING)) { + if (visit611_1554_1(startNode._4ePosition(endNode) & KEP.POSITION_FOLLOWING)) { _$jscoverage['/editor/range.js'].lineData[1555]++; startNode = endNode; } @@ -3772,7 +3772,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1575]++; fixedBlock._4eTrim(); _$jscoverage['/editor/range.js'].lineData[1576]++; - if (visit601_1576_1(!UA.ie)) { + if (visit612_1576_1(!UA.ie)) { _$jscoverage['/editor/range.js'].lineData[1577]++; fixedBlock._4eAppendBogus(); } @@ -3788,33 +3788,33 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1590]++; var self = this, startPath = new ElementPath(self.startContainer), endPath = new ElementPath(self.endContainer), startBlockLimit = startPath.blockLimit, endBlockLimit = endPath.blockLimit, startBlock = startPath.block, endBlock = endPath.block, elementPath = NULL; _$jscoverage['/editor/range.js'].lineData[1600]++; - if (visit602_1600_1(!startBlockLimit.equals(endBlockLimit))) { + if (visit613_1600_1(!startBlockLimit.equals(endBlockLimit))) { _$jscoverage['/editor/range.js'].lineData[1601]++; return NULL; } _$jscoverage['/editor/range.js'].lineData[1605]++; - if (visit603_1605_1(blockTag !== 'br')) { + if (visit614_1605_1(blockTag !== 'br')) { _$jscoverage['/editor/range.js'].lineData[1606]++; - if (visit604_1606_1(!startBlock)) { + if (visit615_1606_1(!startBlock)) { _$jscoverage['/editor/range.js'].lineData[1607]++; startBlock = self.fixBlock(TRUE, blockTag); _$jscoverage['/editor/range.js'].lineData[1608]++; endBlock = new ElementPath(self.endContainer).block; } _$jscoverage['/editor/range.js'].lineData[1611]++; - if (visit605_1611_1(!endBlock)) { + if (visit616_1611_1(!endBlock)) { _$jscoverage['/editor/range.js'].lineData[1612]++; endBlock = self.fixBlock(FALSE, blockTag); } } _$jscoverage['/editor/range.js'].lineData[1617]++; - var isStartOfBlock = visit606_1617_1(startBlock && self.checkStartOfBlock()), isEndOfBlock = visit607_1618_1(endBlock && self.checkEndOfBlock()); + var isStartOfBlock = visit617_1617_1(startBlock && self.checkStartOfBlock()), isEndOfBlock = visit618_1618_1(endBlock && self.checkEndOfBlock()); _$jscoverage['/editor/range.js'].lineData[1621]++; self.deleteContents(); _$jscoverage['/editor/range.js'].lineData[1623]++; - if (visit608_1623_1(startBlock && visit609_1623_2(startBlock[0] === endBlock[0]))) { + if (visit619_1623_1(startBlock && visit620_1623_2(startBlock[0] === endBlock[0]))) { _$jscoverage['/editor/range.js'].lineData[1624]++; - if (visit610_1624_1(isEndOfBlock)) { + if (visit621_1624_1(isEndOfBlock)) { _$jscoverage['/editor/range.js'].lineData[1625]++; elementPath = new ElementPath(self.startContainer); _$jscoverage['/editor/range.js'].lineData[1626]++; @@ -3823,7 +3823,7 @@ KISSY.add(function(S, require) { endBlock = NULL; } else { _$jscoverage['/editor/range.js'].lineData[1629]++; - if (visit611_1629_1(isStartOfBlock)) { + if (visit622_1629_1(isStartOfBlock)) { _$jscoverage['/editor/range.js'].lineData[1630]++; elementPath = new ElementPath(self.startContainer); _$jscoverage['/editor/range.js'].lineData[1631]++; @@ -3834,7 +3834,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1635]++; endBlock = self.splitElement(startBlock); _$jscoverage['/editor/range.js'].lineData[1639]++; - if (visit612_1639_1(!UA.ie && !S.inArray(startBlock.nodeName(), ['ul', 'ol']))) { + if (visit623_1639_1(!UA.ie && !S.inArray(startBlock.nodeName(), ['ul', 'ol']))) { _$jscoverage['/editor/range.js'].lineData[1640]++; startBlock._4eAppendBogus(); } @@ -3854,7 +3854,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1660]++; var self = this; _$jscoverage['/editor/range.js'].lineData[1661]++; - if (visit613_1661_1(!self.collapsed)) { + if (visit624_1661_1(!self.collapsed)) { _$jscoverage['/editor/range.js'].lineData[1662]++; return NULL; } @@ -3879,12 +3879,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1690]++; var next; _$jscoverage['/editor/range.js'].lineData[1692]++; - if (visit614_1692_1(visit615_1692_2(node[0].nodeType === Dom.NodeType.ELEMENT_NODE) && node._4eIsEditable())) { + if (visit625_1692_1(visit626_1692_2(node[0].nodeType === Dom.NodeType.ELEMENT_NODE) && node._4eIsEditable())) { _$jscoverage['/editor/range.js'].lineData[1694]++; next = node[isMoveToEnd ? 'last' : 'first'](nonWhitespaceOrIsBookmark, 1); } _$jscoverage['/editor/range.js'].lineData[1697]++; - if (visit616_1697_1(!childOnly && !next)) { + if (visit627_1697_1(!childOnly && !next)) { _$jscoverage['/editor/range.js'].lineData[1698]++; next = node[isMoveToEnd ? 'prev' : 'next'](nonWhitespaceOrIsBookmark, 1); } @@ -3896,7 +3896,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1706]++; while (el) { _$jscoverage['/editor/range.js'].lineData[1708]++; - if (visit617_1708_1(el[0].nodeType === Dom.NodeType.TEXT_NODE)) { + if (visit628_1708_1(el[0].nodeType === Dom.NodeType.TEXT_NODE)) { _$jscoverage['/editor/range.js'].lineData[1709]++; self.moveToPosition(el, isMoveToEnd ? KER.POSITION_AFTER_END : KER.POSITION_BEFORE_START); _$jscoverage['/editor/range.js'].lineData[1712]++; @@ -3905,7 +3905,7 @@ KISSY.add(function(S, require) { break; } _$jscoverage['/editor/range.js'].lineData[1717]++; - if (visit618_1717_1(visit619_1717_2(el[0].nodeType === Dom.NodeType.ELEMENT_NODE) && el._4eIsEditable())) { + if (visit629_1717_1(visit630_1717_2(el[0].nodeType === Dom.NodeType.ELEMENT_NODE) && el._4eIsEditable())) { _$jscoverage['/editor/range.js'].lineData[1718]++; self.moveToPosition(el, isMoveToEnd ? KER.POSITION_BEFORE_END : KER.POSITION_AFTER_START); _$jscoverage['/editor/range.js'].lineData[1721]++; @@ -3924,7 +3924,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1736]++; self.setStart(node, 0); _$jscoverage['/editor/range.js'].lineData[1737]++; - self.setEnd(node, visit620_1737_1(domNode.nodeType === Dom.NodeType.TEXT_NODE) ? domNode.nodeValue.length : domNode.childNodes.length); + self.setEnd(node, visit631_1737_1(domNode.nodeType === Dom.NodeType.TEXT_NODE) ? domNode.nodeValue.length : domNode.childNodes.length); }, insertNodeByDtd: function(element) { _$jscoverage['/editor/range.js'].functionData[53]++; @@ -3933,15 +3933,15 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/range.js'].lineData[1753]++; self.deleteContents(); _$jscoverage['/editor/range.js'].lineData[1754]++; - if (visit621_1754_1(isBlock)) { + if (visit632_1754_1(isBlock)) { _$jscoverage['/editor/range.js'].lineData[1755]++; current = self.getCommonAncestor(FALSE, TRUE); _$jscoverage['/editor/range.js'].lineData[1756]++; - while (visit622_1756_1((tmpDtd = dtd[current.nodeName()]) && !(visit623_1756_2(tmpDtd && tmpDtd[elementName])))) { + while (visit633_1756_1((tmpDtd = dtd[current.nodeName()]) && !(visit634_1756_2(tmpDtd && tmpDtd[elementName])))) { _$jscoverage['/editor/range.js'].lineData[1757]++; var parent = current.parent(); _$jscoverage['/editor/range.js'].lineData[1760]++; - if (visit624_1760_1(self.checkStartOfBlock() && self.checkEndOfBlock())) { + if (visit635_1760_1(self.checkStartOfBlock() && self.checkEndOfBlock())) { _$jscoverage['/editor/range.js'].lineData[1761]++; self.setStartBefore(current); _$jscoverage['/editor/range.js'].lineData[1762]++; @@ -3956,7 +3956,7 @@ KISSY.add(function(S, require) { current = parent; } _$jscoverage['/editor/range.js'].lineData[1770]++; - if (visit625_1770_1(last)) { + if (visit636_1770_1(last)) { _$jscoverage['/editor/range.js'].lineData[1771]++; self.splitElement(last); } diff --git a/src/editor/coverage/src/editor/render-xtpl.js b/src/editor/coverage/src/editor/render-xtpl.js index c9cfab5a4b..4dc42e97d5 100644 --- a/src/editor/coverage/src/editor/render-xtpl.js +++ b/src/editor/coverage/src/editor/render-xtpl.js @@ -319,11 +319,11 @@ if (! _$jscoverage['/editor/render-xtpl.js'].branchData) { _$jscoverage['/editor/render-xtpl.js'].branchData['9'][2] = new BranchData(); } _$jscoverage['/editor/render-xtpl.js'].branchData['9'][2].init(165, 29, 'typeof module !== "undefined"'); -function visit627_9_2(result) { +function visit638_9_2(result) { _$jscoverage['/editor/render-xtpl.js'].branchData['9'][2].ranCondition(result); return result; }_$jscoverage['/editor/render-xtpl.js'].branchData['9'][1].init(165, 45, 'typeof module !== "undefined" && module.kissy'); -function visit626_9_1(result) { +function visit637_9_1(result) { _$jscoverage['/editor/render-xtpl.js'].branchData['9'][1].ranCondition(result); return result; }_$jscoverage['/editor/render-xtpl.js'].lineData[2]++; @@ -335,7 +335,7 @@ KISSY.add(function(S, require, exports, module) { _$jscoverage['/editor/render-xtpl.js'].lineData[5]++; var buffer = "", config = this.config, engine = this, moduleWrap, utils = config.utils; _$jscoverage['/editor/render-xtpl.js'].lineData[9]++; - if (visit626_9_1(visit627_9_2(typeof module !== "undefined") && module.kissy)) { + if (visit637_9_1(visit638_9_2(typeof module !== "undefined") && module.kissy)) { _$jscoverage['/editor/render-xtpl.js'].lineData[10]++; moduleWrap = module; } diff --git a/src/editor/coverage/src/editor/selection.js b/src/editor/coverage/src/editor/selection.js index 438325b601..f6b61d68b5 100644 --- a/src/editor/coverage/src/editor/selection.js +++ b/src/editor/coverage/src/editor/selection.js @@ -797,503 +797,503 @@ if (! _$jscoverage['/editor/selection.js'].branchData) { _$jscoverage['/editor/selection.js'].branchData['853'][1] = new BranchData(); } _$jscoverage['/editor/selection.js'].branchData['853'][1].init(58, 21, '!sel || sel.isInvalid'); -function visit752_853_1(result) { +function visit763_853_1(result) { _$jscoverage['/editor/selection.js'].branchData['853'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['839'][1].init(463, 9, 'dummySpan'); -function visit751_839_1(result) { +function visit762_839_1(result) { _$jscoverage['/editor/selection.js'].branchData['839'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['830'][1].init(25, 18, 'isStartMarkerAlone'); -function visit750_830_1(result) { +function visit761_830_1(result) { _$jscoverage['/editor/selection.js'].branchData['830'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['829'][1].init(4952, 9, 'collapsed'); -function visit749_829_1(result) { +function visit760_829_1(result) { _$jscoverage['/editor/selection.js'].branchData['829'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['821'][1].init(376, 25, 'startNode[0] || startNode'); -function visit748_821_1(result) { +function visit759_821_1(result) { _$jscoverage['/editor/selection.js'].branchData['821'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['816'][1].init(1750, 18, 'isStartMarkerAlone'); -function visit747_816_1(result) { +function visit758_816_1(result) { _$jscoverage['/editor/selection.js'].branchData['816'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['803'][1].init(71, 51, 'Dom.nodeName(startNode[0].previousSibling) === \'br\''); -function visit746_803_1(result) { +function visit757_803_1(result) { _$jscoverage['/editor/selection.js'].branchData['803'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['802'][1].init(-1, 123, 'startNode[0].previousSibling && Dom.nodeName(startNode[0].previousSibling) === \'br\''); -function visit745_802_1(result) { +function visit756_802_1(result) { _$jscoverage['/editor/selection.js'].branchData['802'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['800'][2].init(171, 264, '!startNode[0].previousSibling || (startNode[0].previousSibling && Dom.nodeName(startNode[0].previousSibling) === \'br\')'); -function visit744_800_2(result) { +function visit755_800_2(result) { _$jscoverage['/editor/selection.js'].branchData['800'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['800'][1].init(156, 279, 'forceExpand || !startNode[0].previousSibling || (startNode[0].previousSibling && Dom.nodeName(startNode[0].previousSibling) === \'br\')'); -function visit743_800_1(result) { +function visit754_800_1(result) { _$jscoverage['/editor/selection.js'].branchData['800'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['798'][3].init(58, 55, 'next.nodeValue && next.nodeValue.match(fillerTextRegex)'); -function visit742_798_3(result) { +function visit753_798_3(result) { _$jscoverage['/editor/selection.js'].branchData['798'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['798'][2].init(50, 63, 'next && next.nodeValue && next.nodeValue.match(fillerTextRegex)'); -function visit741_798_2(result) { +function visit752_798_2(result) { _$jscoverage['/editor/selection.js'].branchData['798'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['798'][1].init(-1, 470, '!(next && next.nodeValue && next.nodeValue.match(fillerTextRegex)) && (forceExpand || !startNode[0].previousSibling || (startNode[0].previousSibling && Dom.nodeName(startNode[0].previousSibling) === \'br\'))'); -function visit740_798_1(result) { +function visit751_798_1(result) { _$jscoverage['/editor/selection.js'].branchData['798'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['794'][1].init(427, 29, 'next && !notWhitespaces(next)'); -function visit739_794_1(result) { +function visit750_794_1(result) { _$jscoverage['/editor/selection.js'].branchData['794'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['779'][1].init(2018, 7, 'endNode'); -function visit738_779_1(result) { +function visit749_779_1(result) { _$jscoverage['/editor/selection.js'].branchData['779'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['767'][1].init(1564, 10, '!collapsed'); -function visit737_767_1(result) { +function visit748_767_1(result) { _$jscoverage['/editor/selection.js'].branchData['767'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['758'][2].init(1130, 59, 'self.endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit736_758_2(result) { +function visit747_758_2(result) { _$jscoverage['/editor/selection.js'].branchData['758'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['758'][1].init(150, 127, 'self.endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.endContainer.nodeName() in nonCells'); -function visit735_758_1(result) { +function visit746_758_1(result) { _$jscoverage['/editor/selection.js'].branchData['758'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['756'][3].init(977, 61, 'self.startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit734_756_3(result) { +function visit745_756_3(result) { _$jscoverage['/editor/selection.js'].branchData['756'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['756'][2].init(977, 127, 'self.startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.startContainer.nodeName() in nonCells'); -function visit733_756_2(result) { +function visit744_756_2(result) { _$jscoverage['/editor/selection.js'].branchData['756'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['756'][1].init(977, 278, 'self.startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.startContainer.nodeName() in nonCells || self.endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && self.endContainer.nodeName() in nonCells'); -function visit732_756_1(result) { +function visit743_756_1(result) { _$jscoverage['/editor/selection.js'].branchData['756'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['749'][1].init(110, 44, 'selEl.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit731_749_1(result) { +function visit742_749_1(result) { _$jscoverage['/editor/selection.js'].branchData['749'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['747'][3].init(50, 39, 'self.endOffset - self.startOffset === 1'); -function visit730_747_3(result) { +function visit741_747_3(result) { _$jscoverage['/editor/selection.js'].branchData['747'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['747'][2].init(339, 47, 'self.startContainer[0] === self.endContainer[0]'); -function visit729_747_2(result) { +function visit740_747_2(result) { _$jscoverage['/editor/selection.js'].branchData['747'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['747'][1].init(88, 90, 'self.startContainer[0] === self.endContainer[0] && self.endOffset - self.startOffset === 1'); -function visit728_747_1(result) { +function visit739_747_1(result) { _$jscoverage['/editor/selection.js'].branchData['747'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['723'][1].init(276, 51, 'e.toString().indexOf(\'NS_ERROR_ILLEGAL_VALUE\') >= 0'); -function visit727_723_1(result) { +function visit738_723_1(result) { _$jscoverage['/editor/selection.js'].branchData['723'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['704'][2].init(276, 56, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit726_704_2(result) { +function visit737_704_2(result) { _$jscoverage['/editor/selection.js'].branchData['704'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['704'][1].init(33, 96, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && !startContainer[0].childNodes.length'); -function visit725_704_1(result) { +function visit736_704_1(result) { _$jscoverage['/editor/selection.js'].branchData['704'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['703'][1].init(240, 130, 'self.collapsed && startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && !startContainer[0].childNodes.length'); -function visit724_703_1(result) { +function visit735_703_1(result) { _$jscoverage['/editor/selection.js'].branchData['703'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['687'][1].init(21, 3, 'sel'); -function visit723_687_1(result) { +function visit734_687_1(result) { _$jscoverage['/editor/selection.js'].branchData['687'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['683'][1].init(21, 3, 'sel'); -function visit722_683_1(result) { +function visit733_683_1(result) { _$jscoverage['/editor/selection.js'].branchData['683'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['682'][1].init(57, 7, '!OLD_IE'); -function visit721_682_1(result) { +function visit732_682_1(result) { _$jscoverage['/editor/selection.js'].branchData['682'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['672'][1].init(196, 5, 'start'); -function visit720_672_1(result) { +function visit731_672_1(result) { _$jscoverage['/editor/selection.js'].branchData['672'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['651'][1].init(71, 20, 'i < bookmarks.length'); -function visit719_651_1(result) { +function visit730_651_1(result) { _$jscoverage['/editor/selection.js'].branchData['651'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['640'][1].init(632, 42, 'Dom.equals(rangeEnd, bookmarkEnd.parent())'); -function visit718_640_1(result) { +function visit729_640_1(result) { _$jscoverage['/editor/selection.js'].branchData['640'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['637'][1].init(490, 44, 'Dom.equals(rangeEnd, bookmarkStart.parent())'); -function visit717_637_1(result) { +function visit728_637_1(result) { _$jscoverage['/editor/selection.js'].branchData['637'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['634'][1].init(346, 44, 'Dom.equals(rangeStart, bookmarkEnd.parent())'); -function visit716_634_1(result) { +function visit727_634_1(result) { _$jscoverage['/editor/selection.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['631'][1].init(200, 46, 'Dom.equals(rangeStart, bookmarkStart.parent())'); -function visit715_631_1(result) { +function visit726_631_1(result) { _$jscoverage['/editor/selection.js'].branchData['631'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['626'][1].init(492, 10, 'j < length'); -function visit714_626_1(result) { +function visit725_626_1(result) { _$jscoverage['/editor/selection.js'].branchData['626'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['618'][1].init(239, 10, 'i < length'); -function visit713_618_1(result) { +function visit724_618_1(result) { _$jscoverage['/editor/selection.js'].branchData['618'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['616'][1].init(143, 26, 'ranges || self.getRanges()'); -function visit712_616_1(result) { +function visit723_616_1(result) { _$jscoverage['/editor/selection.js'].branchData['616'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['605'][1].init(105, 17, 'i < ranges.length'); -function visit711_605_1(result) { +function visit722_605_1(result) { _$jscoverage['/editor/selection.js'].branchData['605'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['584'][2].init(590, 56, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit710_584_2(result) { +function visit721_584_2(result) { _$jscoverage['/editor/selection.js'].branchData['584'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['584'][1].init(84, 96, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && !startContainer[0].childNodes.length'); -function visit709_584_1(result) { +function visit720_584_1(result) { _$jscoverage['/editor/selection.js'].branchData['584'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['583'][5].init(539, 21, 'UA.opera || UA.webkit'); -function visit708_583_5(result) { +function visit719_583_5(result) { _$jscoverage['/editor/selection.js'].branchData['583'][5].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['583'][4].init(516, 17, 'UA.gecko < 1.0900'); -function visit707_583_4(result) { +function visit718_583_4(result) { _$jscoverage['/editor/selection.js'].branchData['583'][4].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['583'][3].init(504, 29, 'UA.gecko && UA.gecko < 1.0900'); -function visit706_583_3(result) { +function visit717_583_3(result) { _$jscoverage['/editor/selection.js'].branchData['583'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['583'][2].init(504, 56, '(UA.gecko && UA.gecko < 1.0900) || UA.opera || UA.webkit'); -function visit705_583_2(result) { +function visit716_583_2(result) { _$jscoverage['/editor/selection.js'].branchData['583'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['583'][1].init(45, 181, '((UA.gecko && UA.gecko < 1.0900) || UA.opera || UA.webkit) && startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && !startContainer[0].childNodes.length'); -function visit704_583_1(result) { +function visit715_583_1(result) { _$jscoverage['/editor/selection.js'].branchData['583'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['582'][1].init(456, 227, 'range.collapsed && ((UA.gecko && UA.gecko < 1.0900) || UA.opera || UA.webkit) && startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE && !startContainer[0].childNodes.length'); -function visit703_582_1(result) { +function visit714_582_1(result) { _$jscoverage['/editor/selection.js'].branchData['582'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['573'][1].init(190, 17, 'i < ranges.length'); -function visit702_573_1(result) { +function visit713_573_1(result) { _$jscoverage['/editor/selection.js'].branchData['573'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['569'][1].init(65, 4, '!sel'); -function visit701_569_1(result) { +function visit712_569_1(result) { _$jscoverage['/editor/selection.js'].branchData['569'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['561'][1].init(464, 11, 'ranges[0]'); -function visit700_561_1(result) { +function visit711_561_1(result) { _$jscoverage['/editor/selection.js'].branchData['561'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['552'][1].init(21, 17, 'ranges.length > 1'); -function visit699_552_1(result) { +function visit710_552_1(result) { _$jscoverage['/editor/selection.js'].branchData['552'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['551'][1].init(46, 6, 'OLD_IE'); -function visit698_551_1(result) { +function visit709_551_1(result) { _$jscoverage['/editor/selection.js'].branchData['551'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['519'][1].init(106, 6, 'OLD_IE'); -function visit697_519_1(result) { +function visit708_519_1(result) { _$jscoverage['/editor/selection.js'].branchData['519'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['489'][1].init(129, 98, 'styleObjectElements[enclosed.nodeName()] && (selected = enclosed)'); -function visit696_489_1(result) { +function visit707_489_1(result) { _$jscoverage['/editor/selection.js'].branchData['489'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['487'][2].init(76, 50, 'enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit695_487_2(result) { +function visit706_487_2(result) { _$jscoverage['/editor/selection.js'].branchData['487'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['487'][1].init(70, 228, '(enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE) && styleObjectElements[enclosed.nodeName()] && (selected = enclosed)'); -function visit694_487_1(result) { +function visit705_487_1(result) { _$jscoverage['/editor/selection.js'].branchData['487'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['486'][2].init(359, 299, '(enclosed = range.getEnclosedNode()) && (enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE) && styleObjectElements[enclosed.nodeName()] && (selected = enclosed)'); -function visit693_486_2(result) { +function visit704_486_2(result) { _$jscoverage['/editor/selection.js'].branchData['486'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['486'][1].init(40, 309, 'i && !((enclosed = range.getEnclosedNode()) && (enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE) && styleObjectElements[enclosed.nodeName()] && (selected = enclosed))'); -function visit692_486_1(result) { +function visit703_486_1(result) { _$jscoverage['/editor/selection.js'].branchData['486'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['475'][1].init(566, 5, '!node'); -function visit691_475_1(result) { +function visit702_475_1(result) { _$jscoverage['/editor/selection.js'].branchData['475'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['469'][1].init(84, 27, 'range.item && range.item(0)'); -function visit690_469_1(result) { +function visit701_469_1(result) { _$jscoverage['/editor/selection.js'].branchData['469'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['467'][1].init(278, 6, 'OLD_IE'); -function visit689_467_1(result) { +function visit700_467_1(result) { _$jscoverage['/editor/selection.js'].branchData['467'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['462'][1].init(107, 35, 'cache.selectedElement !== undefined'); -function visit688_462_1(result) { +function visit699_462_1(result) { _$jscoverage['/editor/selection.js'].branchData['462'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['437'][1].init(237, 4, 'node'); -function visit687_437_1(result) { +function visit698_437_1(result) { _$jscoverage['/editor/selection.js'].branchData['437'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['434'][2].init(84, 43, 'node.nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit686_434_2(result) { +function visit697_434_2(result) { _$jscoverage['/editor/selection.js'].branchData['434'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['434'][1].init(76, 51, 'node && node.nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit685_434_1(result) { +function visit696_434_1(result) { _$jscoverage['/editor/selection.js'].branchData['434'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['427'][1].init(2086, 6, 'OLD_IE'); -function visit684_427_1(result) { +function visit695_427_1(result) { _$jscoverage['/editor/selection.js'].branchData['427'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['419'][2].init(1620, 44, 'child.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit683_419_2(result) { +function visit694_419_2(result) { _$jscoverage['/editor/selection.js'].branchData['419'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['419'][1].init(1611, 53, 'child && child.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit682_419_1(result) { +function visit693_419_1(result) { _$jscoverage['/editor/selection.js'].branchData['419'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['414'][2].init(1374, 46, 'node[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit681_414_2(result) { +function visit692_414_2(result) { _$jscoverage['/editor/selection.js'].branchData['414'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['414'][1].init(1362, 58, '!node[0] || node[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit680_414_1(result) { +function visit691_414_1(result) { _$jscoverage['/editor/selection.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['408'][1].init(1110, 46, 'node[0].nodeType !== Dom.NodeType.ELEMENT_NODE'); -function visit679_408_1(result) { +function visit690_408_1(result) { _$jscoverage['/editor/selection.js'].branchData['408'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['398'][3].init(283, 56, 'startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit678_398_3(result) { +function visit689_398_3(result) { _$jscoverage['/editor/selection.js'].branchData['398'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['398'][2].init(265, 187, 'startOffset === (startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE ? startContainer[0].childNodes.length : startContainer[0].nodeValue.length)'); -function visit677_398_2(result) { +function visit688_398_2(result) { _$jscoverage['/editor/selection.js'].branchData['398'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['398'][1].init(265, 227, 'startOffset === (startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE ? startContainer[0].childNodes.length : startContainer[0].nodeValue.length) && !startContainer._4eIsBlockBoundary()'); -function visit676_398_1(result) { +function visit687_398_1(result) { _$jscoverage['/editor/selection.js'].branchData['398'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['388'][1].init(29, 16, '!range.collapsed'); -function visit675_388_1(result) { +function visit686_388_1(result) { _$jscoverage['/editor/selection.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['387'][1].init(104, 5, 'range'); -function visit674_387_1(result) { +function visit685_387_1(result) { _$jscoverage['/editor/selection.js'].branchData['387'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['372'][1].init(68, 32, 'cache.startElement !== undefined'); -function visit673_372_1(result) { +function visit684_372_1(result) { _$jscoverage['/editor/selection.js'].branchData['372'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['349'][1].init(485, 18, 'i < sel.rangeCount'); -function visit672_349_1(result) { +function visit683_349_1(result) { _$jscoverage['/editor/selection.js'].branchData['349'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['345'][1].init(395, 4, '!sel'); -function visit671_345_1(result) { +function visit682_345_1(result) { _$jscoverage['/editor/selection.js'].branchData['345'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['335'][1].init(76, 22, 'cache.ranges && !force'); -function visit670_335_1(result) { +function visit681_335_1(result) { _$jscoverage['/editor/selection.js'].branchData['335'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['317'][3].init(364, 39, 'parentElement.childNodes[j] !== element'); -function visit669_317_3(result) { +function visit680_317_3(result) { _$jscoverage['/editor/selection.js'].branchData['317'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['317'][2].init(325, 35, 'j < parentElement.childNodes.length'); -function visit668_317_2(result) { +function visit679_317_2(result) { _$jscoverage['/editor/selection.js'].branchData['317'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['317'][1].init(325, 78, 'j < parentElement.childNodes.length && parentElement.childNodes[j] !== element'); -function visit667_317_1(result) { +function visit678_317_1(result) { _$jscoverage['/editor/selection.js'].branchData['317'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['309'][1].init(98, 22, 'i < nativeRange.length'); -function visit666_309_1(result) { +function visit677_309_1(result) { _$jscoverage['/editor/selection.js'].branchData['309'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['306'][1].init(1238, 30, 'type === KES.SELECTION_ELEMENT'); -function visit665_306_1(result) { +function visit676_306_1(result) { _$jscoverage['/editor/selection.js'].branchData['306'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['298'][1].init(675, 27, 'type === KES.SELECTION_TEXT'); -function visit664_298_1(result) { +function visit675_298_1(result) { _$jscoverage['/editor/selection.js'].branchData['298'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['294'][1].init(585, 4, '!sel'); -function visit663_294_1(result) { +function visit674_294_1(result) { _$jscoverage['/editor/selection.js'].branchData['294'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['290'][1].init(65, 24, 'sel && sel.createRange()'); -function visit662_290_1(result) { +function visit673_290_1(result) { _$jscoverage['/editor/selection.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['281'][1].init(84, 22, 'cache.ranges && !force'); -function visit661_281_1(result) { +function visit672_281_1(result) { _$jscoverage['/editor/selection.js'].branchData['281'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['265'][1].init(3000, 14, 'distance === 0'); -function visit660_265_1(result) { +function visit671_265_1(result) { _$jscoverage['/editor/selection.js'].branchData['265'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['251'][1].init(32, 12, 'distance > 0'); -function visit659_251_1(result) { +function visit670_251_1(result) { _$jscoverage['/editor/selection.js'].branchData['251'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['237'][1].init(1773, 10, '!testRange'); -function visit658_237_1(result) { +function visit669_237_1(result) { _$jscoverage['/editor/selection.js'].branchData['237'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['229'][1].init(975, 14, '!comparisonEnd'); -function visit657_229_1(result) { +function visit668_229_1(result) { _$jscoverage['/editor/selection.js'].branchData['229'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['226'][4].init(808, 22, 'comparisonStart === -1'); -function visit656_226_4(result) { +function visit667_226_4(result) { _$jscoverage['/editor/selection.js'].branchData['226'][4].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['226'][3].init(785, 19, 'comparisonEnd === 1'); -function visit655_226_3(result) { +function visit666_226_3(result) { _$jscoverage['/editor/selection.js'].branchData['226'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['226'][2].init(785, 45, 'comparisonEnd === 1 && comparisonStart === -1'); -function visit654_226_2(result) { +function visit665_226_2(result) { _$jscoverage['/editor/selection.js'].branchData['226'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['226'][1].init(765, 65, '!comparisonStart || comparisonEnd === 1 && comparisonStart === -1'); -function visit653_226_1(result) { +function visit664_226_1(result) { _$jscoverage['/editor/selection.js'].branchData['226'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['221'][1].init(445, 19, 'comparisonStart > 0'); -function visit652_221_1(result) { +function visit663_221_1(result) { _$jscoverage['/editor/selection.js'].branchData['221'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['211'][1].init(81, 44, 'child.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit651_211_1(result) { +function visit662_211_1(result) { _$jscoverage['/editor/selection.js'].branchData['211'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['208'][1].init(400, 19, 'i < siblings.length'); -function visit650_208_1(result) { +function visit661_208_1(result) { _$jscoverage['/editor/selection.js'].branchData['208'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['184'][1].init(701, 31, 'sel.createRange().parentElement'); -function visit649_184_1(result) { +function visit660_184_1(result) { _$jscoverage['/editor/selection.js'].branchData['184'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['175'][1].init(236, 20, 'ieType === \'Control\''); -function visit648_175_1(result) { +function visit659_175_1(result) { _$jscoverage['/editor/selection.js'].branchData['175'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['171'][1].init(117, 17, 'ieType === \'Text\''); -function visit647_171_1(result) { +function visit658_171_1(result) { _$jscoverage['/editor/selection.js'].branchData['171'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['161'][1].init(76, 10, 'cache.type'); -function visit646_161_1(result) { +function visit657_161_1(result) { _$jscoverage['/editor/selection.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['150'][2].init(405, 49, 'Number(range.endOffset - range.startOffset) === 1'); -function visit645_150_2(result) { +function visit656_150_2(result) { _$jscoverage['/editor/selection.js'].branchData['150'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['150'][1].init(80, 169, 'Number(range.endOffset - range.startOffset) === 1 && styleObjectElements[startContainer.childNodes[range.startOffset].nodeName.toLowerCase()]'); -function visit644_150_1(result) { +function visit655_150_1(result) { _$jscoverage['/editor/selection.js'].branchData['150'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['149'][2].init(323, 53, 'startContainer.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit643_149_2(result) { +function visit654_149_2(result) { _$jscoverage['/editor/selection.js'].branchData['149'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['149'][1].init(64, 250, 'startContainer.nodeType === Dom.NodeType.ELEMENT_NODE && Number(range.endOffset - range.startOffset) === 1 && styleObjectElements[startContainer.childNodes[range.startOffset].nodeName.toLowerCase()]'); -function visit642_149_1(result) { +function visit653_149_1(result) { _$jscoverage['/editor/selection.js'].branchData['149'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['148'][2].init(256, 37, 'startContainer === range.endContainer'); -function visit641_148_2(result) { +function visit652_148_2(result) { _$jscoverage['/editor/selection.js'].branchData['148'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['148'][1].init(256, 315, 'startContainer === range.endContainer && startContainer.nodeType === Dom.NodeType.ELEMENT_NODE && Number(range.endOffset - range.startOffset) === 1 && styleObjectElements[startContainer.childNodes[range.startOffset].nodeName.toLowerCase()]'); -function visit640_148_1(result) { +function visit651_148_1(result) { _$jscoverage['/editor/selection.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['141'][1].init(359, 20, 'sel.rangeCount === 1'); -function visit639_141_1(result) { +function visit650_141_1(result) { _$jscoverage['/editor/selection.js'].branchData['141'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['138'][1].init(260, 4, '!sel'); -function visit638_138_1(result) { +function visit649_138_1(result) { _$jscoverage['/editor/selection.js'].branchData['138'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['131'][1].init(76, 10, 'cache.type'); -function visit637_131_1(result) { +function visit648_131_1(result) { _$jscoverage['/editor/selection.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['107'][1].init(79, 64, 'cache.nativeSel || (cache.nativeSel = self.document.selection)'); -function visit636_107_1(result) { +function visit647_107_1(result) { _$jscoverage['/editor/selection.js'].branchData['107'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['102'][1].init(99, 84, 'cache.nativeSel || (cache.nativeSel = Dom.getWindow(self.document).getSelection())'); -function visit635_102_1(result) { +function visit646_102_1(result) { _$jscoverage['/editor/selection.js'].branchData['102'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['55'][2].init(104, 48, 'range.parentElement().ownerDocument !== document'); -function visit634_55_2(result) { +function visit645_55_2(result) { _$jscoverage['/editor/selection.js'].branchData['55'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['55'][1].init(81, 71, 'range.parentElement && range.parentElement().ownerDocument !== document'); -function visit633_55_1(result) { +function visit644_55_1(result) { _$jscoverage['/editor/selection.js'].branchData['55'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['54'][4].init(107, 40, 'range.item(0).ownerDocument !== document'); -function visit632_54_4(result) { +function visit643_54_4(result) { _$jscoverage['/editor/selection.js'].branchData['54'][4].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['54'][3].init(93, 54, 'range.item && range.item(0).ownerDocument !== document'); -function visit631_54_3(result) { +function visit642_54_3(result) { _$jscoverage['/editor/selection.js'].branchData['54'][3].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['54'][2].init(93, 155, '(range.item && range.item(0).ownerDocument !== document) || (range.parentElement && range.parentElement().ownerDocument !== document)'); -function visit630_54_2(result) { +function visit641_54_2(result) { _$jscoverage['/editor/selection.js'].branchData['54'][2].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['54'][1].init(81, 167, '!range || (range.item && range.item(0).ownerDocument !== document) || (range.parentElement && range.parentElement().ownerDocument !== document)'); -function visit629_54_1(result) { +function visit640_54_1(result) { _$jscoverage['/editor/selection.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].branchData['51'][1].init(285, 6, 'OLD_IE'); -function visit628_51_1(result) { +function visit639_51_1(result) { _$jscoverage['/editor/selection.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/editor/selection.js'].lineData[10]++; @@ -1325,13 +1325,13 @@ KISSY.add(function(S, require) { self._ = { cache: {}}; _$jscoverage['/editor/selection.js'].lineData[51]++; - if (visit628_51_1(OLD_IE)) { + if (visit639_51_1(OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[52]++; try { _$jscoverage['/editor/selection.js'].lineData[53]++; var range = self.getNative().createRange(); _$jscoverage['/editor/selection.js'].lineData[54]++; - if (visit629_54_1(!range || visit630_54_2((visit631_54_3(range.item && visit632_54_4(range.item(0).ownerDocument !== document))) || (visit633_55_1(range.parentElement && visit634_55_2(range.parentElement().ownerDocument !== document)))))) { + if (visit640_54_1(!range || visit641_54_2((visit642_54_3(range.item && visit643_54_4(range.item(0).ownerDocument !== document))) || (visit644_55_1(range.parentElement && visit645_55_2(range.parentElement().ownerDocument !== document)))))) { _$jscoverage['/editor/selection.js'].lineData[56]++; self.isInvalid = TRUE; } @@ -1370,36 +1370,36 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[100]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[102]++; - return visit635_102_1(cache.nativeSel || (cache.nativeSel = Dom.getWindow(self.document).getSelection())); + return visit646_102_1(cache.nativeSel || (cache.nativeSel = Dom.getWindow(self.document).getSelection())); } : function() { _$jscoverage['/editor/selection.js'].functionData[3]++; _$jscoverage['/editor/selection.js'].lineData[106]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[107]++; - return visit636_107_1(cache.nativeSel || (cache.nativeSel = self.document.selection)); + return visit647_107_1(cache.nativeSel || (cache.nativeSel = self.document.selection)); }, getType: !OLD_IE ? function() { _$jscoverage['/editor/selection.js'].functionData[4]++; _$jscoverage['/editor/selection.js'].lineData[130]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[131]++; - if (visit637_131_1(cache.type)) { + if (visit648_131_1(cache.type)) { _$jscoverage['/editor/selection.js'].lineData[132]++; return cache.type; } _$jscoverage['/editor/selection.js'].lineData[135]++; var type = KES.SELECTION_TEXT, sel = self.getNative(); _$jscoverage['/editor/selection.js'].lineData[138]++; - if (visit638_138_1(!sel)) { + if (visit649_138_1(!sel)) { _$jscoverage['/editor/selection.js'].lineData[139]++; type = KES.SELECTION_NONE; } else { _$jscoverage['/editor/selection.js'].lineData[141]++; - if (visit639_141_1(sel.rangeCount === 1)) { + if (visit650_141_1(sel.rangeCount === 1)) { _$jscoverage['/editor/selection.js'].lineData[145]++; var range = sel.getRangeAt(0), startContainer = range.startContainer; _$jscoverage['/editor/selection.js'].lineData[148]++; - if (visit640_148_1(visit641_148_2(startContainer === range.endContainer) && visit642_149_1(visit643_149_2(startContainer.nodeType === Dom.NodeType.ELEMENT_NODE) && visit644_150_1(visit645_150_2(Number(range.endOffset - range.startOffset) === 1) && styleObjectElements[startContainer.childNodes[range.startOffset].nodeName.toLowerCase()])))) { + if (visit651_148_1(visit652_148_2(startContainer === range.endContainer) && visit653_149_1(visit654_149_2(startContainer.nodeType === Dom.NodeType.ELEMENT_NODE) && visit655_150_1(visit656_150_2(Number(range.endOffset - range.startOffset) === 1) && styleObjectElements[startContainer.childNodes[range.startOffset].nodeName.toLowerCase()])))) { _$jscoverage['/editor/selection.js'].lineData[152]++; type = KES.SELECTION_ELEMENT; } @@ -1414,7 +1414,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[160]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[161]++; - if (visit646_161_1(cache.type)) { + if (visit657_161_1(cache.type)) { _$jscoverage['/editor/selection.js'].lineData[162]++; return cache.type; } @@ -1425,17 +1425,17 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[168]++; var sel = self.getNative(), ieType = sel.type; _$jscoverage['/editor/selection.js'].lineData[171]++; - if (visit647_171_1(ieType === 'Text')) { + if (visit658_171_1(ieType === 'Text')) { _$jscoverage['/editor/selection.js'].lineData[172]++; type = KES.SELECTION_TEXT; } _$jscoverage['/editor/selection.js'].lineData[175]++; - if (visit648_175_1(ieType === 'Control')) { + if (visit659_175_1(ieType === 'Control')) { _$jscoverage['/editor/selection.js'].lineData[176]++; type = KES.SELECTION_ELEMENT; } _$jscoverage['/editor/selection.js'].lineData[184]++; - if (visit649_184_1(sel.createRange().parentElement)) { + if (visit660_184_1(sel.createRange().parentElement)) { _$jscoverage['/editor/selection.js'].lineData[185]++; type = KES.SELECTION_TEXT; } @@ -1458,11 +1458,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[205]++; var parent = range.parentElement(), siblings = parent.childNodes, testRange; _$jscoverage['/editor/selection.js'].lineData[208]++; - for (var i = 0; visit650_208_1(i < siblings.length); i++) { + for (var i = 0; visit661_208_1(i < siblings.length); i++) { _$jscoverage['/editor/selection.js'].lineData[209]++; var child = siblings[i]; _$jscoverage['/editor/selection.js'].lineData[211]++; - if (visit651_211_1(child.nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit662_211_1(child.nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/selection.js'].lineData[212]++; testRange = range.duplicate(); _$jscoverage['/editor/selection.js'].lineData[214]++; @@ -1472,19 +1472,19 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[219]++; testRange.collapse(); _$jscoverage['/editor/selection.js'].lineData[221]++; - if (visit652_221_1(comparisonStart > 0)) { + if (visit663_221_1(comparisonStart > 0)) { _$jscoverage['/editor/selection.js'].lineData[222]++; break; } else { _$jscoverage['/editor/selection.js'].lineData[226]++; - if (visit653_226_1(!comparisonStart || visit654_226_2(visit655_226_3(comparisonEnd === 1) && visit656_226_4(comparisonStart === -1)))) { + if (visit664_226_1(!comparisonStart || visit665_226_2(visit666_226_3(comparisonEnd === 1) && visit667_226_4(comparisonStart === -1)))) { _$jscoverage['/editor/selection.js'].lineData[227]++; return { container: parent, offset: i}; } else { _$jscoverage['/editor/selection.js'].lineData[229]++; - if (visit657_229_1(!comparisonEnd)) { + if (visit668_229_1(!comparisonEnd)) { _$jscoverage['/editor/selection.js'].lineData[230]++; return { container: parent, @@ -1497,7 +1497,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/selection.js'].lineData[237]++; - if (visit658_237_1(!testRange)) { + if (visit669_237_1(!testRange)) { _$jscoverage['/editor/selection.js'].lineData[238]++; testRange = range.duplicate(); _$jscoverage['/editor/selection.js'].lineData[239]++; @@ -1512,7 +1512,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[250]++; try { _$jscoverage['/editor/selection.js'].lineData[251]++; - while (visit659_251_1(distance > 0)) { + while (visit670_251_1(distance > 0)) { _$jscoverage['/editor/selection.js'].lineData[256]++; distance -= siblings[--i].nodeValue.length; } @@ -1521,7 +1521,7 @@ KISSY.add(function(S, require) { distance = 0; } _$jscoverage['/editor/selection.js'].lineData[265]++; - if (visit660_265_1(distance === 0)) { + if (visit671_265_1(distance === 0)) { _$jscoverage['/editor/selection.js'].lineData[266]++; return { container: parent, @@ -1539,19 +1539,19 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[280]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[281]++; - if (visit661_281_1(cache.ranges && !force)) { + if (visit672_281_1(cache.ranges && !force)) { _$jscoverage['/editor/selection.js'].lineData[282]++; return cache.ranges; } _$jscoverage['/editor/selection.js'].lineData[289]++; - var sel = self.getNative(), nativeRange = visit662_290_1(sel && sel.createRange()), type = self.getType(), range; + var sel = self.getNative(), nativeRange = visit673_290_1(sel && sel.createRange()), type = self.getType(), range; _$jscoverage['/editor/selection.js'].lineData[294]++; - if (visit663_294_1(!sel)) { + if (visit674_294_1(!sel)) { _$jscoverage['/editor/selection.js'].lineData[295]++; return []; } _$jscoverage['/editor/selection.js'].lineData[298]++; - if (visit664_298_1(type === KES.SELECTION_TEXT)) { + if (visit675_298_1(type === KES.SELECTION_TEXT)) { _$jscoverage['/editor/selection.js'].lineData[299]++; range = new KERange(self.document); _$jscoverage['/editor/selection.js'].lineData[300]++; @@ -1568,17 +1568,17 @@ KISSY.add(function(S, require) { return [range]; } else { _$jscoverage['/editor/selection.js'].lineData[306]++; - if (visit665_306_1(type === KES.SELECTION_ELEMENT)) { + if (visit676_306_1(type === KES.SELECTION_ELEMENT)) { _$jscoverage['/editor/selection.js'].lineData[307]++; var retval = cache.ranges = []; _$jscoverage['/editor/selection.js'].lineData[309]++; - for (var i = 0; visit666_309_1(i < nativeRange.length); i++) { + for (var i = 0; visit677_309_1(i < nativeRange.length); i++) { _$jscoverage['/editor/selection.js'].lineData[310]++; var element = nativeRange.item(i), parentElement = element.parentNode, j = 0; _$jscoverage['/editor/selection.js'].lineData[314]++; range = new KERange(self.document); _$jscoverage['/editor/selection.js'].lineData[317]++; - for (; visit667_317_1(visit668_317_2(j < parentElement.childNodes.length) && visit669_317_3(parentElement.childNodes[j] !== element)); j++) { + for (; visit678_317_1(visit679_317_2(j < parentElement.childNodes.length) && visit680_317_3(parentElement.childNodes[j] !== element)); j++) { } _$jscoverage['/editor/selection.js'].lineData[320]++; range.setStart(new Node(parentElement), j); @@ -1601,19 +1601,19 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[334]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[335]++; - if (visit670_335_1(cache.ranges && !force)) { + if (visit681_335_1(cache.ranges && !force)) { _$jscoverage['/editor/selection.js'].lineData[336]++; return cache.ranges; } _$jscoverage['/editor/selection.js'].lineData[343]++; var ranges = [], sel = self.getNative(); _$jscoverage['/editor/selection.js'].lineData[345]++; - if (visit671_345_1(!sel)) { + if (visit682_345_1(!sel)) { _$jscoverage['/editor/selection.js'].lineData[346]++; return []; } _$jscoverage['/editor/selection.js'].lineData[349]++; - for (var i = 0; visit672_349_1(i < sel.rangeCount); i++) { + for (var i = 0; visit683_349_1(i < sel.rangeCount); i++) { _$jscoverage['/editor/selection.js'].lineData[350]++; var nativeRange = sel.getRangeAt(i), range = new KERange(self.document); _$jscoverage['/editor/selection.js'].lineData[352]++; @@ -1633,7 +1633,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[371]++; var self = this, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[372]++; - if (visit673_372_1(cache.startElement !== undefined)) { + if (visit684_372_1(cache.startElement !== undefined)) { _$jscoverage['/editor/selection.js'].lineData[373]++; return cache.startElement; } @@ -1648,9 +1648,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[385]++; var range = self.getRanges()[0]; _$jscoverage['/editor/selection.js'].lineData[387]++; - if (visit674_387_1(range)) { + if (visit685_387_1(range)) { _$jscoverage['/editor/selection.js'].lineData[388]++; - if (visit675_388_1(!range.collapsed)) { + if (visit686_388_1(!range.collapsed)) { _$jscoverage['/editor/selection.js'].lineData[389]++; range.optimize(); _$jscoverage['/editor/selection.js'].lineData[394]++; @@ -1658,7 +1658,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[395]++; var startContainer = range.startContainer, startOffset = range.startOffset; _$jscoverage['/editor/selection.js'].lineData[398]++; - if (visit676_398_1(visit677_398_2(startOffset === (visit678_398_3(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) ? startContainer[0].childNodes.length : startContainer[0].nodeValue.length)) && !startContainer._4eIsBlockBoundary())) { + if (visit687_398_1(visit688_398_2(startOffset === (visit689_398_3(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) ? startContainer[0].childNodes.length : startContainer[0].nodeValue.length)) && !startContainer._4eIsBlockBoundary())) { _$jscoverage['/editor/selection.js'].lineData[400]++; range.setStartAfter(startContainer); } else { @@ -1669,21 +1669,21 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[406]++; node = range.startContainer; _$jscoverage['/editor/selection.js'].lineData[408]++; - if (visit679_408_1(node[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { + if (visit690_408_1(node[0].nodeType !== Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/selection.js'].lineData[409]++; return node.parent(); } _$jscoverage['/editor/selection.js'].lineData[412]++; node = new Node(node[0].childNodes[range.startOffset]); _$jscoverage['/editor/selection.js'].lineData[414]++; - if (visit680_414_1(!node[0] || visit681_414_2(node[0].nodeType !== Dom.NodeType.ELEMENT_NODE))) { + if (visit691_414_1(!node[0] || visit692_414_2(node[0].nodeType !== Dom.NodeType.ELEMENT_NODE))) { _$jscoverage['/editor/selection.js'].lineData[415]++; return range.startContainer; } _$jscoverage['/editor/selection.js'].lineData[418]++; var child = node[0].firstChild; _$jscoverage['/editor/selection.js'].lineData[419]++; - while (visit682_419_1(child && visit683_419_2(child.nodeType === Dom.NodeType.ELEMENT_NODE))) { + while (visit693_419_1(child && visit694_419_2(child.nodeType === Dom.NodeType.ELEMENT_NODE))) { _$jscoverage['/editor/selection.js'].lineData[420]++; node = new Node(child); _$jscoverage['/editor/selection.js'].lineData[421]++; @@ -1694,7 +1694,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/selection.js'].lineData[427]++; - if (visit684_427_1(OLD_IE)) { + if (visit695_427_1(OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[428]++; range = sel.createRange(); _$jscoverage['/editor/selection.js'].lineData[429]++; @@ -1705,12 +1705,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[433]++; node = sel.anchorNode; _$jscoverage['/editor/selection.js'].lineData[434]++; - if (visit685_434_1(node && visit686_434_2(node.nodeType !== Dom.NodeType.ELEMENT_NODE))) { + if (visit696_434_1(node && visit697_434_2(node.nodeType !== Dom.NodeType.ELEMENT_NODE))) { _$jscoverage['/editor/selection.js'].lineData[435]++; node = node.parentNode; } _$jscoverage['/editor/selection.js'].lineData[437]++; - if (visit687_437_1(node)) { + if (visit698_437_1(node)) { _$jscoverage['/editor/selection.js'].lineData[438]++; node = new Node(node); } @@ -1726,26 +1726,26 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[458]++; var self = this, node, cache = self._.cache; _$jscoverage['/editor/selection.js'].lineData[462]++; - if (visit688_462_1(cache.selectedElement !== undefined)) { + if (visit699_462_1(cache.selectedElement !== undefined)) { _$jscoverage['/editor/selection.js'].lineData[463]++; return cache.selectedElement; } _$jscoverage['/editor/selection.js'].lineData[467]++; - if (visit689_467_1(OLD_IE)) { + if (visit700_467_1(OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[468]++; var range = self.getNative().createRange(); _$jscoverage['/editor/selection.js'].lineData[469]++; - node = visit690_469_1(range.item && range.item(0)); + node = visit701_469_1(range.item && range.item(0)); } _$jscoverage['/editor/selection.js'].lineData[475]++; - if (visit691_475_1(!node)) { + if (visit702_475_1(!node)) { _$jscoverage['/editor/selection.js'].lineData[476]++; node = (function() { _$jscoverage['/editor/selection.js'].functionData[12]++; _$jscoverage['/editor/selection.js'].lineData[477]++; var range = self.getRanges()[0], enclosed, selected; _$jscoverage['/editor/selection.js'].lineData[485]++; - for (var i = 2; visit692_486_1(i && !(visit693_486_2((enclosed = range.getEnclosedNode()) && visit694_487_1((visit695_487_2(enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE)) && visit696_489_1(styleObjectElements[enclosed.nodeName()] && (selected = enclosed)))))); i--) { + for (var i = 2; visit703_486_1(i && !(visit704_486_2((enclosed = range.getEnclosedNode()) && visit705_487_1((visit706_487_2(enclosed[0].nodeType === Dom.NodeType.ELEMENT_NODE)) && visit707_489_1(styleObjectElements[enclosed.nodeName()] && (selected = enclosed)))))); i--) { _$jscoverage['/editor/selection.js'].lineData[497]++; range.shrink(KER.SHRINK_ELEMENT); } @@ -1771,7 +1771,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[516]++; var range, self = this, doc = self.document; _$jscoverage['/editor/selection.js'].lineData[519]++; - if (visit697_519_1(OLD_IE)) { + if (visit708_519_1(OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[523]++; try { _$jscoverage['/editor/selection.js'].lineData[525]++; @@ -1812,9 +1812,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[550]++; var self = this; _$jscoverage['/editor/selection.js'].lineData[551]++; - if (visit698_551_1(OLD_IE)) { + if (visit709_551_1(OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[552]++; - if (visit699_552_1(ranges.length > 1)) { + if (visit710_552_1(ranges.length > 1)) { _$jscoverage['/editor/selection.js'].lineData[554]++; var last = ranges[ranges.length - 1]; _$jscoverage['/editor/selection.js'].lineData[555]++; @@ -1823,7 +1823,7 @@ KISSY.add(function(S, require) { ranges.length = 1; } _$jscoverage['/editor/selection.js'].lineData[561]++; - if (visit700_561_1(ranges[0])) { + if (visit711_561_1(ranges[0])) { _$jscoverage['/editor/selection.js'].lineData[562]++; ranges[0].select(); } @@ -1833,18 +1833,18 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[568]++; var sel = self.getNative(); _$jscoverage['/editor/selection.js'].lineData[569]++; - if (visit701_569_1(!sel)) { + if (visit712_569_1(!sel)) { _$jscoverage['/editor/selection.js'].lineData[570]++; return; } _$jscoverage['/editor/selection.js'].lineData[572]++; sel.removeAllRanges(); _$jscoverage['/editor/selection.js'].lineData[573]++; - for (var i = 0; visit702_573_1(i < ranges.length); i++) { + for (var i = 0; visit713_573_1(i < ranges.length); i++) { _$jscoverage['/editor/selection.js'].lineData[574]++; var range = ranges[i], nativeRange = self.document.createRange(), startContainer = range.startContainer; _$jscoverage['/editor/selection.js'].lineData[582]++; - if (visit703_582_1(range.collapsed && visit704_583_1((visit705_583_2((visit706_583_3(UA.gecko && visit707_583_4(UA.gecko < 1.0900))) || visit708_583_5(UA.opera || UA.webkit))) && visit709_584_1(visit710_584_2(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !startContainer[0].childNodes.length)))) { + if (visit714_582_1(range.collapsed && visit715_583_1((visit716_583_2((visit717_583_3(UA.gecko && visit718_583_4(UA.gecko < 1.0900))) || visit719_583_5(UA.opera || UA.webkit))) && visit720_584_1(visit721_584_2(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !startContainer[0].childNodes.length)))) { _$jscoverage['/editor/selection.js'].lineData[586]++; startContainer[0].appendChild(self.document.createTextNode(UA.webkit ? '\u200b' : '')); _$jscoverage['/editor/selection.js'].lineData[589]++; @@ -1868,7 +1868,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[602]++; var bookmarks = [], ranges = this.getRanges(); _$jscoverage['/editor/selection.js'].lineData[605]++; - for (var i = 0; visit711_605_1(i < ranges.length); i++) { + for (var i = 0; visit722_605_1(i < ranges.length); i++) { _$jscoverage['/editor/selection.js'].lineData[606]++; bookmarks.push(ranges[i].createBookmark2(normalized)); } @@ -1880,11 +1880,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[612]++; var self = this, retval = [], doc = self.document, bookmark; _$jscoverage['/editor/selection.js'].lineData[616]++; - ranges = visit712_616_1(ranges || self.getRanges()); + ranges = visit723_616_1(ranges || self.getRanges()); _$jscoverage['/editor/selection.js'].lineData[617]++; var length = ranges.length; _$jscoverage['/editor/selection.js'].lineData[618]++; - for (var i = 0; visit713_618_1(i < length); i++) { + for (var i = 0; visit724_618_1(i < length); i++) { _$jscoverage['/editor/selection.js'].lineData[619]++; retval.push(bookmark = ranges[i].createBookmark(serializable, TRUE)); _$jscoverage['/editor/selection.js'].lineData[620]++; @@ -1892,26 +1892,26 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[622]++; var bookmarkStart = serializable ? S.one('#' + bookmark.startNode, doc) : bookmark.startNode, bookmarkEnd = serializable ? S.one('#' + bookmark.endNode, doc) : bookmark.endNode; _$jscoverage['/editor/selection.js'].lineData[626]++; - for (var j = i + 1; visit714_626_1(j < length); j++) { + for (var j = i + 1; visit725_626_1(j < length); j++) { _$jscoverage['/editor/selection.js'].lineData[627]++; var dirtyRange = ranges[j], rangeStart = dirtyRange.startContainer, rangeEnd = dirtyRange.endContainer; _$jscoverage['/editor/selection.js'].lineData[631]++; - if (visit715_631_1(Dom.equals(rangeStart, bookmarkStart.parent()))) { + if (visit726_631_1(Dom.equals(rangeStart, bookmarkStart.parent()))) { _$jscoverage['/editor/selection.js'].lineData[632]++; dirtyRange.startOffset++; } _$jscoverage['/editor/selection.js'].lineData[634]++; - if (visit716_634_1(Dom.equals(rangeStart, bookmarkEnd.parent()))) { + if (visit727_634_1(Dom.equals(rangeStart, bookmarkEnd.parent()))) { _$jscoverage['/editor/selection.js'].lineData[635]++; dirtyRange.startOffset++; } _$jscoverage['/editor/selection.js'].lineData[637]++; - if (visit717_637_1(Dom.equals(rangeEnd, bookmarkStart.parent()))) { + if (visit728_637_1(Dom.equals(rangeEnd, bookmarkStart.parent()))) { _$jscoverage['/editor/selection.js'].lineData[638]++; dirtyRange.endOffset++; } _$jscoverage['/editor/selection.js'].lineData[640]++; - if (visit718_640_1(Dom.equals(rangeEnd, bookmarkEnd.parent()))) { + if (visit729_640_1(Dom.equals(rangeEnd, bookmarkEnd.parent()))) { _$jscoverage['/editor/selection.js'].lineData[641]++; dirtyRange.endOffset++; } @@ -1925,7 +1925,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[650]++; var self = this, ranges = []; _$jscoverage['/editor/selection.js'].lineData[651]++; - for (var i = 0; visit719_651_1(i < bookmarks.length); i++) { + for (var i = 0; visit730_651_1(i < bookmarks.length); i++) { _$jscoverage['/editor/selection.js'].lineData[652]++; var range = new KERange(self.document); _$jscoverage['/editor/selection.js'].lineData[653]++; @@ -1950,7 +1950,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[671]++; var start = this.getStartElement(); _$jscoverage['/editor/selection.js'].lineData[672]++; - if (visit720_672_1(start)) { + if (visit731_672_1(start)) { _$jscoverage['/editor/selection.js'].lineData[673]++; start.scrollIntoView(undefined, { alignWithTop: false, @@ -1963,15 +1963,15 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[681]++; var sel = this.getNative(); _$jscoverage['/editor/selection.js'].lineData[682]++; - if (visit721_682_1(!OLD_IE)) { + if (visit732_682_1(!OLD_IE)) { _$jscoverage['/editor/selection.js'].lineData[683]++; - if (visit722_683_1(sel)) { + if (visit733_683_1(sel)) { _$jscoverage['/editor/selection.js'].lineData[684]++; sel.removeAllRanges(); } } else { _$jscoverage['/editor/selection.js'].lineData[687]++; - if (visit723_687_1(sel)) { + if (visit734_687_1(sel)) { _$jscoverage['/editor/selection.js'].lineData[688]++; sel.clear(); } @@ -1988,7 +1988,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[699]++; var self = this, startContainer = self.startContainer; _$jscoverage['/editor/selection.js'].lineData[703]++; - if (visit724_703_1(self.collapsed && visit725_704_1(visit726_704_2(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !startContainer[0].childNodes.length))) { + if (visit735_703_1(self.collapsed && visit736_704_1(visit737_704_2(startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !startContainer[0].childNodes.length))) { _$jscoverage['/editor/selection.js'].lineData[705]++; startContainer[0].appendChild(self.document.createTextNode(UA.webkit ? '\u200b' : '')); _$jscoverage['/editor/selection.js'].lineData[709]++; @@ -2006,7 +2006,7 @@ KISSY.add(function(S, require) { nativeRange.setEnd(self.endContainer[0], self.endOffset); } catch (e) { _$jscoverage['/editor/selection.js'].lineData[723]++; - if (visit727_723_1(e.toString().indexOf('NS_ERROR_ILLEGAL_VALUE') >= 0)) { + if (visit738_723_1(e.toString().indexOf('NS_ERROR_ILLEGAL_VALUE') >= 0)) { _$jscoverage['/editor/selection.js'].lineData[724]++; self.collapse(TRUE); _$jscoverage['/editor/selection.js'].lineData[725]++; @@ -2027,11 +2027,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[738]++; var self = this, collapsed = self.collapsed, isStartMarkerAlone, dummySpan; _$jscoverage['/editor/selection.js'].lineData[744]++; - if (visit728_747_1(visit729_747_2(self.startContainer[0] === self.endContainer[0]) && visit730_747_3(self.endOffset - self.startOffset === 1))) { + if (visit739_747_1(visit740_747_2(self.startContainer[0] === self.endContainer[0]) && visit741_747_3(self.endOffset - self.startOffset === 1))) { _$jscoverage['/editor/selection.js'].lineData[748]++; var selEl = self.startContainer[0].childNodes[self.startOffset]; _$jscoverage['/editor/selection.js'].lineData[749]++; - if (visit731_749_1(selEl.nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit742_749_1(selEl.nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/selection.js'].lineData[750]++; new KESelection(self.document).selectElement(new Node(selEl)); _$jscoverage['/editor/selection.js'].lineData[751]++; @@ -2039,14 +2039,14 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/selection.js'].lineData[756]++; - if (visit732_756_1(visit733_756_2(visit734_756_3(self.startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && self.startContainer.nodeName() in nonCells) || visit735_758_1(visit736_758_2(self.endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && self.endContainer.nodeName() in nonCells))) { + if (visit743_756_1(visit744_756_2(visit745_756_3(self.startContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && self.startContainer.nodeName() in nonCells) || visit746_758_1(visit747_758_2(self.endContainer[0].nodeType === Dom.NodeType.ELEMENT_NODE) && self.endContainer.nodeName() in nonCells))) { _$jscoverage['/editor/selection.js'].lineData[760]++; self.shrink(KER.SHRINK_ELEMENT, TRUE); } _$jscoverage['/editor/selection.js'].lineData[763]++; var bookmark = self.createBookmark(), startNode = bookmark.startNode, endNode; _$jscoverage['/editor/selection.js'].lineData[767]++; - if (visit737_767_1(!collapsed)) { + if (visit748_767_1(!collapsed)) { _$jscoverage['/editor/selection.js'].lineData[768]++; endNode = bookmark.endNode; } @@ -2057,7 +2057,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[777]++; ieRange.moveStart('character', 1); _$jscoverage['/editor/selection.js'].lineData[779]++; - if (visit738_779_1(endNode)) { + if (visit749_779_1(endNode)) { _$jscoverage['/editor/selection.js'].lineData[781]++; var ieRangeEnd = self.document.body.createTextRange(); _$jscoverage['/editor/selection.js'].lineData[783]++; @@ -2070,12 +2070,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[793]++; var next = startNode[0].nextSibling; _$jscoverage['/editor/selection.js'].lineData[794]++; - while (visit739_794_1(next && !notWhitespaces(next))) { + while (visit750_794_1(next && !notWhitespaces(next))) { _$jscoverage['/editor/selection.js'].lineData[795]++; next = next.nextSibling; } _$jscoverage['/editor/selection.js'].lineData[797]++; - isStartMarkerAlone = (visit740_798_1(!(visit741_798_2(next && visit742_798_3(next.nodeValue && next.nodeValue.match(fillerTextRegex)))) && (visit743_800_1(forceExpand || visit744_800_2(!startNode[0].previousSibling || (visit745_802_1(startNode[0].previousSibling && visit746_803_1(Dom.nodeName(startNode[0].previousSibling) === 'br')))))))); + isStartMarkerAlone = (visit751_798_1(!(visit752_798_2(next && visit753_798_3(next.nodeValue && next.nodeValue.match(fillerTextRegex)))) && (visit754_800_1(forceExpand || visit755_800_2(!startNode[0].previousSibling || (visit756_802_1(startNode[0].previousSibling && visit757_803_1(Dom.nodeName(startNode[0].previousSibling) === 'br')))))))); _$jscoverage['/editor/selection.js'].lineData[813]++; dummySpan = new Node(self.document.createElement('span')); _$jscoverage['/editor/selection.js'].lineData[814]++; @@ -2083,9 +2083,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[815]++; dummySpan.insertBefore(startNode); _$jscoverage['/editor/selection.js'].lineData[816]++; - if (visit747_816_1(isStartMarkerAlone)) { + if (visit758_816_1(isStartMarkerAlone)) { _$jscoverage['/editor/selection.js'].lineData[821]++; - Dom.insertBefore(self.document.createTextNode('\ufeff'), visit748_821_1(startNode[0] || startNode)); + Dom.insertBefore(self.document.createTextNode('\ufeff'), visit759_821_1(startNode[0] || startNode)); } } _$jscoverage['/editor/selection.js'].lineData[826]++; @@ -2093,9 +2093,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[827]++; startNode._4eRemove(); _$jscoverage['/editor/selection.js'].lineData[829]++; - if (visit749_829_1(collapsed)) { + if (visit760_829_1(collapsed)) { _$jscoverage['/editor/selection.js'].lineData[830]++; - if (visit750_830_1(isStartMarkerAlone)) { + if (visit761_830_1(isStartMarkerAlone)) { _$jscoverage['/editor/selection.js'].lineData[832]++; ieRange.moveStart('character', -1); _$jscoverage['/editor/selection.js'].lineData[833]++; @@ -2107,7 +2107,7 @@ KISSY.add(function(S, require) { ieRange.select(); } _$jscoverage['/editor/selection.js'].lineData[839]++; - if (visit751_839_1(dummySpan)) { + if (visit762_839_1(dummySpan)) { _$jscoverage['/editor/selection.js'].lineData[840]++; self.moveToPosition(dummySpan, KER.POSITION_BEFORE_START); _$jscoverage['/editor/selection.js'].lineData[841]++; @@ -2128,7 +2128,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selection.js'].lineData[852]++; var sel = new KESelection(doc); _$jscoverage['/editor/selection.js'].lineData[853]++; - return (visit752_853_1(!sel || sel.isInvalid)) ? NULL : sel; + return (visit763_853_1(!sel || sel.isInvalid)) ? NULL : sel; } _$jscoverage['/editor/selection.js'].lineData[856]++; KESelection.getSelection = getSelection; diff --git a/src/editor/coverage/src/editor/selectionFix.js b/src/editor/coverage/src/editor/selectionFix.js index b13b5c1499..1c1939aba1 100644 --- a/src/editor/coverage/src/editor/selectionFix.js +++ b/src/editor/coverage/src/editor/selectionFix.js @@ -559,275 +559,275 @@ if (! _$jscoverage['/editor/selectionFix.js'].branchData) { _$jscoverage['/editor/selectionFix.js'].branchData['488'][1] = new BranchData(); } _$jscoverage['/editor/selectionFix.js'].branchData['488'][1].init(33, 11, 'savedRanges'); -function visit820_488_1(result) { +function visit831_488_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['488'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['481'][1].init(163, 5, 'UA.ie'); -function visit819_481_1(result) { +function visit830_481_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['481'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['475'][1].init(84, 18, 'document.selection'); -function visit818_475_1(result) { +function visit829_475_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['475'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['464'][1].init(98, 6, '!UA.ie'); -function visit817_464_1(result) { +function visit828_464_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['464'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['462'][1].init(4141, 41, 'lastPath.blockLimit.nodeName() !== \'body\''); -function visit816_462_1(result) { +function visit827_462_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['462'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['434'][2].init(149, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit815_434_2(result) { +function visit826_434_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['434'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['434'][1].init(42, 81, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit814_434_1(result) { +function visit825_434_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['434'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['433'][1].init(104, 124, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit813_433_1(result) { +function visit824_433_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['433'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['428'][2].init(141, 49, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit812_428_2(result) { +function visit823_428_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['428'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['428'][1].init(38, 83, 'element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit811_428_1(result) { +function visit822_428_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['428'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['427'][1].init(100, 122, 'element && element[0].nodeType === Dom.NodeType.ELEMENT_NODE && !cannotCursorPlaced[element]'); -function visit810_427_1(result) { +function visit821_427_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['427'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['425'][1].init(80, 28, 'isBlankParagraph(fixedBlock)'); -function visit809_425_1(result) { +function visit820_425_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['425'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['423'][1].init(216, 35, 'fixedBlock[0] !== body[0].lastChild'); -function visit808_423_1(result) { +function visit819_423_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['419'][1].init(210, 252, 'fixedBlock && fixedBlock[0] !== body[0].lastChild'); -function visit807_419_1(result) { +function visit818_419_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['419'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['415'][1].init(21, 42, 'range.startContainer.nodeName() === \'html\''); -function visit806_415_1(result) { +function visit817_415_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['415'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['414'][1].init(1869, 32, 'blockLimit.nodeName() === \'body\''); -function visit805_414_1(result) { +function visit816_414_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['409'][2].init(1749, 30, '!range.collapsed || path.block'); -function visit804_409_2(result) { +function visit815_409_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['409'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['409'][1].init(1739, 40, '!range || !range.collapsed || path.block'); -function visit803_409_1(result) { +function visit814_409_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['409'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['402'][2].init(461, 30, 'pathBlock.nodeName() !== \'pre\''); -function visit802_402_2(result) { +function visit813_402_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['402'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['402'][1].init(130, 121, 'pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit801_402_1(result) { +function visit812_402_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['402'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['400'][4].init(344, 26, 'lastNode[0].nodeType === 1'); -function visit800_400_4(result) { +function visit811_400_4(result) { _$jscoverage['/editor/selectionFix.js'].branchData['400'][4].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['400'][3].init(344, 59, 'lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); -function visit799_400_3(result) { +function visit810_400_3(result) { _$jscoverage['/editor/selectionFix.js'].branchData['400'][3].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['400'][2].init(332, 71, 'lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()'); -function visit798_400_2(result) { +function visit809_400_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['400'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['400'][1].init(98, 252, '!(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit797_400_1(result) { +function visit808_400_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['400'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['398'][1].init(70, 351, 'pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit796_398_1(result) { +function visit807_398_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['398'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['396'][1].init(156, 422, 'pathBlock && pathBlock._4eIsBlockBoundary() && !(lastNode && lastNode[0].nodeType === 1 && lastNode._4eIsBlockBoundary()) && pathBlock.nodeName() !== \'pre\' && !pathBlock._4eGetBogus()'); -function visit795_396_1(result) { +function visit806_396_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['396'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['395'][1].init(77, 39, 'pathBlock && pathBlock.last(isNotEmpty)'); -function visit794_395_1(result) { +function visit805_395_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['395'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['394'][1].init(33, 29, 'path.block || path.blockLimit'); -function visit793_394_1(result) { +function visit804_394_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['394'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['393'][1].init(1049, 8, 'UA.gecko'); -function visit792_393_1(result) { +function visit803_393_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['393'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['387'][1].init(779, 18, 'blockLimit || body'); -function visit791_387_1(result) { +function visit802_387_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['387'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['381'][1].init(198, 5, 'range'); -function visit790_381_1(result) { +function visit801_381_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['381'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['377'][1].init(419, 8, '!body[0]'); -function visit789_377_1(result) { +function visit800_377_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['377'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['373'][1].init(189, 37, 'selection && selection.getRanges()[0]'); -function visit788_373_1(result) { +function visit799_373_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['373'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['361'][1].init(20, 44, 'isNotWhitespace(node) && isNotBookmark(node)'); -function visit787_361_1(result) { +function visit798_361_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['361'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['357'][1].init(60, 64, 'element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]'); -function visit786_357_1(result) { +function visit797_357_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['357'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['351'][2].init(45, 19, 'node.nodeType !== 8'); -function visit785_351_2(result) { +function visit796_351_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['351'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['351'][1].init(20, 44, 'isNotWhitespace(node) && node.nodeType !== 8'); -function visit784_351_1(result) { +function visit795_351_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['351'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['297'][1].init(1837, 33, 'nativeSel && sel.getRanges()[0]'); -function visit783_297_1(result) { +function visit794_297_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['297'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['293'][1].init(64, 108, '(parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit782_293_1(result) { +function visit793_293_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['292'][1].init(62, 173, '(parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit781_292_1(result) { +function visit792_292_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['291'][1].init(53, 236, '(parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit780_291_1(result) { +function visit791_291_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['291'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['290'][4].init(1468, 28, 'nativeSel.type !== \'Control\''); -function visit779_290_4(result) { +function visit790_290_4(result) { _$jscoverage['/editor/selectionFix.js'].branchData['290'][4].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['290'][3].init(1468, 290, 'nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit778_290_3(result) { +function visit789_290_3(result) { _$jscoverage['/editor/selectionFix.js'].branchData['290'][3].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['290'][2].init(1450, 308, 'nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit777_290_2(result) { +function visit788_290_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['290'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['290'][1].init(1437, 321, 'nativeSel && nativeSel.type && nativeSel.type !== \'Control\' && (parentTag = nativeSel.createRange()) && (parentTag = parentTag.parentElement()) && (parentTag = parentTag.nodeName) && parentTag.toLowerCase() in {\n input: 1, \n textarea: 1}'); -function visit776_290_1(result) { +function visit787_290_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['279'][1].init(276, 39, '!doc.queryCommandEnabled(\'InsertImage\')'); -function visit775_279_1(result) { +function visit786_279_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['279'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['274'][3].init(714, 27, 'type === KES.SELECTION_NONE'); -function visit774_274_3(result) { +function visit785_274_3(result) { _$jscoverage['/editor/selectionFix.js'].branchData['274'][3].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['274'][2].init(701, 40, 'nativeSel && type === KES.SELECTION_NONE'); -function visit773_274_2(result) { +function visit784_274_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['274'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['274'][1].init(691, 50, 'testIt && nativeSel && type === KES.SELECTION_NONE'); -function visit772_274_1(result) { +function visit783_274_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['274'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['263'][1].init(113, 20, 'sel && doc.selection'); -function visit771_263_1(result) { +function visit782_263_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['263'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['262'][1].init(59, 20, 'sel && sel.getType()'); -function visit770_262_1(result) { +function visit781_262_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['262'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['260'][1].init(56, 11, 'saveEnabled'); -function visit769_260_1(result) { +function visit780_260_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['260'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['215'][1].init(178, 17, 'evt.relatedTarget'); -function visit768_215_1(result) { +function visit779_215_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['194'][1].init(119, 14, 'restoreEnabled'); -function visit767_194_1(result) { +function visit778_194_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['194'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['189'][1].init(364, 10, 'savedRange'); -function visit766_189_1(result) { +function visit777_189_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['183'][1].init(200, 23, 't.nodeName() !== \'body\''); -function visit765_183_1(result) { +function visit776_183_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['183'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['129'][1].init(67, 23, 't.nodeName() === \'html\''); -function visit764_129_1(result) { +function visit775_129_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['123'][1].init(30, 15, 'S.UA.ieMode < 8'); -function visit763_123_1(result) { +function visit774_123_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['123'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['101'][1].init(506, 8, 'startRng'); -function visit762_101_1(result) { +function visit773_101_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['101'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['94'][1].init(228, 37, 'html.scrollHeight > html.clientHeight'); -function visit761_94_1(result) { +function visit772_94_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['90'][1].init(21, 7, 'started'); -function visit760_90_1(result) { +function visit771_90_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['90'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['89'][1].init(61, 17, 'e.target === html'); -function visit759_89_1(result) { +function visit770_89_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['89'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['71'][1].init(119, 55, 'pointRng.compareEndPoints(\'StartToStart\', startRng) > 0'); -function visit758_71_1(result) { +function visit769_71_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['69'][1].init(133, 8, 'pointRng'); -function visit757_69_1(result) { +function visit768_69_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['69'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['65'][1].init(94, 8, 'e.button'); -function visit756_65_1(result) { +function visit767_65_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['65'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['52'][3].init(165, 45, 'rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit755_52_3(result) { +function visit766_52_3(result) { _$jscoverage['/editor/selectionFix.js'].branchData['52'][3].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['52'][2].init(152, 58, '!rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit754_52_2(result) { +function visit765_52_2(result) { _$jscoverage['/editor/selectionFix.js'].branchData['52'][2].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].branchData['52'][1].init(140, 70, 'startRng && !rng.item && rng.compareEndPoints(\'StartToEnd\', rng) === 0'); -function visit753_52_1(result) { +function visit764_52_1(result) { _$jscoverage['/editor/selectionFix.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/editor/selectionFix.js'].lineData[10]++; @@ -868,7 +868,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[49]++; var rng = doc.selection.createRange(); _$jscoverage['/editor/selectionFix.js'].lineData[52]++; - if (visit753_52_1(startRng && visit754_52_2(!rng.item && visit755_52_3(rng.compareEndPoints('StartToEnd', rng) === 0)))) { + if (visit764_52_1(startRng && visit765_52_2(!rng.item && visit766_52_3(rng.compareEndPoints('StartToEnd', rng) === 0)))) { _$jscoverage['/editor/selectionFix.js'].lineData[53]++; startRng.select(); } @@ -885,13 +885,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[62]++; var pointRng; _$jscoverage['/editor/selectionFix.js'].lineData[65]++; - if (visit756_65_1(e.button)) { + if (visit767_65_1(e.button)) { _$jscoverage['/editor/selectionFix.js'].lineData[67]++; pointRng = rngFromPoint(e.pageX, e.pageY); _$jscoverage['/editor/selectionFix.js'].lineData[69]++; - if (visit757_69_1(pointRng)) { + if (visit768_69_1(pointRng)) { _$jscoverage['/editor/selectionFix.js'].lineData[71]++; - if (visit758_71_1(pointRng.compareEndPoints('StartToStart', startRng) > 0)) { + if (visit769_71_1(pointRng.compareEndPoints('StartToStart', startRng) > 0)) { _$jscoverage['/editor/selectionFix.js'].lineData[72]++; pointRng.setEndPoint('StartToStart', startRng); } else { @@ -912,14 +912,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[88]++; var html = doc.documentElement; _$jscoverage['/editor/selectionFix.js'].lineData[89]++; - if (visit759_89_1(e.target === html)) { + if (visit770_89_1(e.target === html)) { _$jscoverage['/editor/selectionFix.js'].lineData[90]++; - if (visit760_90_1(started)) { + if (visit771_90_1(started)) { _$jscoverage['/editor/selectionFix.js'].lineData[91]++; endSelection(); } _$jscoverage['/editor/selectionFix.js'].lineData[94]++; - if (visit761_94_1(html.scrollHeight > html.clientHeight)) { + if (visit772_94_1(html.scrollHeight > html.clientHeight)) { _$jscoverage['/editor/selectionFix.js'].lineData[95]++; return; } @@ -928,7 +928,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[100]++; startRng = rngFromPoint(e.pageX, e.pageY); _$jscoverage['/editor/selectionFix.js'].lineData[101]++; - if (visit762_101_1(startRng)) { + if (visit773_101_1(startRng)) { _$jscoverage['/editor/selectionFix.js'].lineData[103]++; $doc.on('mouseup', endSelection); _$jscoverage['/editor/selectionFix.js'].lineData[104]++; @@ -947,14 +947,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[114]++; var doc = editor.get('document')[0], body = new Node(doc.body), html = new Node(doc.documentElement); _$jscoverage['/editor/selectionFix.js'].lineData[122]++; - if (visit763_123_1(S.UA.ieMode < 8)) { + if (visit774_123_1(S.UA.ieMode < 8)) { _$jscoverage['/editor/selectionFix.js'].lineData[127]++; html.on('click', function(evt) { _$jscoverage['/editor/selectionFix.js'].functionData[7]++; _$jscoverage['/editor/selectionFix.js'].lineData[128]++; var t = new Node(evt.target); _$jscoverage['/editor/selectionFix.js'].lineData[129]++; - if (visit764_129_1(t.nodeName() === 'html')) { + if (visit775_129_1(t.nodeName() === 'html')) { _$jscoverage['/editor/selectionFix.js'].lineData[130]++; editor.getSelection().getNative().createRange().select(); } @@ -980,16 +980,16 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[180]++; var t = new Node(evt.target); _$jscoverage['/editor/selectionFix.js'].lineData[183]++; - if (visit765_183_1(t.nodeName() !== 'body')) { + if (visit776_183_1(t.nodeName() !== 'body')) { _$jscoverage['/editor/selectionFix.js'].lineData[184]++; return; } _$jscoverage['/editor/selectionFix.js'].lineData[189]++; - if (visit766_189_1(savedRange)) { + if (visit777_189_1(savedRange)) { _$jscoverage['/editor/selectionFix.js'].lineData[191]++; try { _$jscoverage['/editor/selectionFix.js'].lineData[194]++; - if (visit767_194_1(restoreEnabled)) { + if (visit778_194_1(restoreEnabled)) { _$jscoverage['/editor/selectionFix.js'].lineData[195]++; savedRange.select(); } @@ -1011,7 +1011,7 @@ KISSY.add(function(S, require) { body.on('beforedeactivate', function(evt) { _$jscoverage['/editor/selectionFix.js'].functionData[12]++; _$jscoverage['/editor/selectionFix.js'].lineData[215]++; - if (visit768_215_1(evt.relatedTarget)) { + if (visit779_215_1(evt.relatedTarget)) { _$jscoverage['/editor/selectionFix.js'].lineData[216]++; return; } @@ -1042,13 +1042,13 @@ KISSY.add(function(S, require) { function saveSelection(testIt) { _$jscoverage['/editor/selectionFix.js'].functionData[16]++; _$jscoverage['/editor/selectionFix.js'].lineData[260]++; - if (visit769_260_1(saveEnabled)) { + if (visit780_260_1(saveEnabled)) { _$jscoverage['/editor/selectionFix.js'].lineData[261]++; - var sel = editor.getSelection(), type = visit770_262_1(sel && sel.getType()), nativeSel = visit771_263_1(sel && doc.selection); + var sel = editor.getSelection(), type = visit781_262_1(sel && sel.getType()), nativeSel = visit782_263_1(sel && doc.selection); _$jscoverage['/editor/selectionFix.js'].lineData[274]++; - if (visit772_274_1(testIt && visit773_274_2(nativeSel && visit774_274_3(type === KES.SELECTION_NONE)))) { + if (visit783_274_1(testIt && visit784_274_2(nativeSel && visit785_274_3(type === KES.SELECTION_NONE)))) { _$jscoverage['/editor/selectionFix.js'].lineData[279]++; - if (visit775_279_1(!doc.queryCommandEnabled('InsertImage'))) { + if (visit786_279_1(!doc.queryCommandEnabled('InsertImage'))) { _$jscoverage['/editor/selectionFix.js'].lineData[280]++; setTimeout(function() { _$jscoverage['/editor/selectionFix.js'].functionData[17]++; @@ -1062,14 +1062,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[289]++; var parentTag; _$jscoverage['/editor/selectionFix.js'].lineData[290]++; - if (visit776_290_1(nativeSel && visit777_290_2(nativeSel.type && visit778_290_3(visit779_290_4(nativeSel.type !== 'Control') && visit780_291_1((parentTag = nativeSel.createRange()) && visit781_292_1((parentTag = parentTag.parentElement()) && visit782_293_1((parentTag = parentTag.nodeName) && parentTag.toLowerCase() in { + if (visit787_290_1(nativeSel && visit788_290_2(nativeSel.type && visit789_290_3(visit790_290_4(nativeSel.type !== 'Control') && visit791_291_1((parentTag = nativeSel.createRange()) && visit792_292_1((parentTag = parentTag.parentElement()) && visit793_293_1((parentTag = parentTag.nodeName) && parentTag.toLowerCase() in { input: 1, textarea: 1}))))))) { _$jscoverage['/editor/selectionFix.js'].lineData[295]++; return; } _$jscoverage['/editor/selectionFix.js'].lineData[297]++; - savedRange = visit783_297_1(nativeSel && sel.getRanges()[0]); + savedRange = visit794_297_1(nativeSel && sel.getRanges()[0]); _$jscoverage['/editor/selectionFix.js'].lineData[300]++; editor.checkSelectionChange(); } @@ -1122,7 +1122,7 @@ KISSY.add(function(S, require) { var nextValidEl = function(node) { _$jscoverage['/editor/selectionFix.js'].functionData[25]++; _$jscoverage['/editor/selectionFix.js'].lineData[351]++; - return visit784_351_1(isNotWhitespace(node) && visit785_351_2(node.nodeType !== 8)); + return visit795_351_1(isNotWhitespace(node) && visit796_351_2(node.nodeType !== 8)); }; _$jscoverage['/editor/selectionFix.js'].lineData[355]++; function cannotCursorPlaced(element) { @@ -1130,27 +1130,27 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[356]++; var dtd = Editor.XHTML_DTD; _$jscoverage['/editor/selectionFix.js'].lineData[357]++; - return visit786_357_1(element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]); + return visit797_357_1(element._4eIsBlockBoundary() && dtd.$empty[element.nodeName()]); } _$jscoverage['/editor/selectionFix.js'].lineData[360]++; function isNotEmpty(node) { _$jscoverage['/editor/selectionFix.js'].functionData[27]++; _$jscoverage['/editor/selectionFix.js'].lineData[361]++; - return visit787_361_1(isNotWhitespace(node) && isNotBookmark(node)); + return visit798_361_1(isNotWhitespace(node) && isNotBookmark(node)); } _$jscoverage['/editor/selectionFix.js'].lineData[367]++; editor.on('selectionChange', function(ev) { _$jscoverage['/editor/selectionFix.js'].functionData[28]++; _$jscoverage['/editor/selectionFix.js'].lineData[369]++; - var path = ev.path, editorDoc = editor.get('document')[0], body = new Node(editorDoc.body), selection = ev.selection, range = visit788_373_1(selection && selection.getRanges()[0]), blockLimit = path.blockLimit; + var path = ev.path, editorDoc = editor.get('document')[0], body = new Node(editorDoc.body), selection = ev.selection, range = visit799_373_1(selection && selection.getRanges()[0]), blockLimit = path.blockLimit; _$jscoverage['/editor/selectionFix.js'].lineData[377]++; - if (visit789_377_1(!body[0])) { + if (visit800_377_1(!body[0])) { _$jscoverage['/editor/selectionFix.js'].lineData[379]++; editorDoc.documentElement.appendChild(editorDoc.createElement('body')); _$jscoverage['/editor/selectionFix.js'].lineData[380]++; body = new Node(editorDoc.body); _$jscoverage['/editor/selectionFix.js'].lineData[381]++; - if (visit790_381_1(range)) { + if (visit801_381_1(range)) { _$jscoverage['/editor/selectionFix.js'].lineData[382]++; range.setStart(body, 0); _$jscoverage['/editor/selectionFix.js'].lineData[383]++; @@ -1158,39 +1158,39 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/selectionFix.js'].lineData[387]++; - blockLimit = visit791_387_1(blockLimit || body); + blockLimit = visit802_387_1(blockLimit || body); _$jscoverage['/editor/selectionFix.js'].lineData[393]++; - if (visit792_393_1(UA.gecko)) { + if (visit803_393_1(UA.gecko)) { _$jscoverage['/editor/selectionFix.js'].lineData[394]++; - var pathBlock = visit793_394_1(path.block || path.blockLimit), lastNode = visit794_395_1(pathBlock && pathBlock.last(isNotEmpty)); + var pathBlock = visit804_394_1(path.block || path.blockLimit), lastNode = visit805_395_1(pathBlock && pathBlock.last(isNotEmpty)); _$jscoverage['/editor/selectionFix.js'].lineData[396]++; - if (visit795_396_1(pathBlock && visit796_398_1(pathBlock._4eIsBlockBoundary() && visit797_400_1(!(visit798_400_2(lastNode && visit799_400_3(visit800_400_4(lastNode[0].nodeType === 1) && lastNode._4eIsBlockBoundary()))) && visit801_402_1(visit802_402_2(pathBlock.nodeName() !== 'pre') && !pathBlock._4eGetBogus()))))) { + if (visit806_396_1(pathBlock && visit807_398_1(pathBlock._4eIsBlockBoundary() && visit808_400_1(!(visit809_400_2(lastNode && visit810_400_3(visit811_400_4(lastNode[0].nodeType === 1) && lastNode._4eIsBlockBoundary()))) && visit812_402_1(visit813_402_2(pathBlock.nodeName() !== 'pre') && !pathBlock._4eGetBogus()))))) { _$jscoverage['/editor/selectionFix.js'].lineData[405]++; pathBlock._4eAppendBogus(); } } _$jscoverage['/editor/selectionFix.js'].lineData[409]++; - if (visit803_409_1(!range || visit804_409_2(!range.collapsed || path.block))) { + if (visit814_409_1(!range || visit815_409_2(!range.collapsed || path.block))) { _$jscoverage['/editor/selectionFix.js'].lineData[410]++; return; } _$jscoverage['/editor/selectionFix.js'].lineData[414]++; - if (visit805_414_1(blockLimit.nodeName() === 'body')) { + if (visit816_414_1(blockLimit.nodeName() === 'body')) { _$jscoverage['/editor/selectionFix.js'].lineData[415]++; - if (visit806_415_1(range.startContainer.nodeName() === 'html')) { + if (visit817_415_1(range.startContainer.nodeName() === 'html')) { _$jscoverage['/editor/selectionFix.js'].lineData[416]++; range.setStart(body, 0); } _$jscoverage['/editor/selectionFix.js'].lineData[418]++; var fixedBlock = range.fixBlock(TRUE, 'p'); _$jscoverage['/editor/selectionFix.js'].lineData[419]++; - if (visit807_419_1(fixedBlock && visit808_423_1(fixedBlock[0] !== body[0].lastChild))) { + if (visit818_419_1(fixedBlock && visit819_423_1(fixedBlock[0] !== body[0].lastChild))) { _$jscoverage['/editor/selectionFix.js'].lineData[425]++; - if (visit809_425_1(isBlankParagraph(fixedBlock))) { + if (visit820_425_1(isBlankParagraph(fixedBlock))) { _$jscoverage['/editor/selectionFix.js'].lineData[426]++; var element = fixedBlock.next(nextValidEl, 1); _$jscoverage['/editor/selectionFix.js'].lineData[427]++; - if (visit810_427_1(element && visit811_428_1(visit812_428_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { + if (visit821_427_1(element && visit822_428_1(visit823_428_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { _$jscoverage['/editor/selectionFix.js'].lineData[429]++; range.moveToElementEditablePosition(element); _$jscoverage['/editor/selectionFix.js'].lineData[430]++; @@ -1199,7 +1199,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[432]++; element = fixedBlock.prev(nextValidEl, 1); _$jscoverage['/editor/selectionFix.js'].lineData[433]++; - if (visit813_433_1(element && visit814_434_1(visit815_434_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { + if (visit824_433_1(element && visit825_434_1(visit826_434_2(element[0].nodeType === Dom.NodeType.ELEMENT_NODE) && !cannotCursorPlaced[element]))) { _$jscoverage['/editor/selectionFix.js'].lineData[435]++; range.moveToElementEditablePosition(element, isBlankParagraph(element) ? FALSE : TRUE); _$jscoverage['/editor/selectionFix.js'].lineData[438]++; @@ -1220,11 +1220,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[460]++; lastPath = new Editor.ElementPath(lastRange.startContainer); _$jscoverage['/editor/selectionFix.js'].lineData[462]++; - if (visit816_462_1(lastPath.blockLimit.nodeName() !== 'body')) { + if (visit827_462_1(lastPath.blockLimit.nodeName() !== 'body')) { _$jscoverage['/editor/selectionFix.js'].lineData[463]++; editBlock = new Node(doc.createElement('p')).appendTo(body); _$jscoverage['/editor/selectionFix.js'].lineData[464]++; - if (visit817_464_1(!UA.ie)) { + if (visit828_464_1(!UA.ie)) { _$jscoverage['/editor/selectionFix.js'].lineData[465]++; editBlock._4eAppendBogus(); } @@ -1239,7 +1239,7 @@ KISSY.add(function(S, require) { editor.docReady(function() { _$jscoverage['/editor/selectionFix.js'].functionData[30]++; _$jscoverage['/editor/selectionFix.js'].lineData[475]++; - if (visit818_475_1(document.selection)) { + if (visit829_475_1(document.selection)) { _$jscoverage['/editor/selectionFix.js'].lineData[476]++; fixCursorForIE(editor); _$jscoverage['/editor/selectionFix.js'].lineData[477]++; @@ -1248,7 +1248,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/selectionFix.js'].lineData[479]++; fireSelectionChangeForStandard(editor); _$jscoverage['/editor/selectionFix.js'].lineData[481]++; - if (visit819_481_1(UA.ie)) { + if (visit830_481_1(UA.ie)) { _$jscoverage['/editor/selectionFix.js'].lineData[482]++; var savedRanges, doc = editor.get('document'); _$jscoverage['/editor/selectionFix.js'].lineData[484]++; @@ -1261,7 +1261,7 @@ KISSY.add(function(S, require) { doc.on('focusin', function() { _$jscoverage['/editor/selectionFix.js'].functionData[32]++; _$jscoverage['/editor/selectionFix.js'].lineData[488]++; - if (visit820_488_1(savedRanges)) { + if (visit831_488_1(savedRanges)) { _$jscoverage['/editor/selectionFix.js'].lineData[489]++; var selection = editor.getSelection(); _$jscoverage['/editor/selectionFix.js'].lineData[490]++; diff --git a/src/editor/coverage/src/editor/styles.js b/src/editor/coverage/src/editor/styles.js index 2d59ec92e3..cad13bad47 100644 --- a/src/editor/coverage/src/editor/styles.js +++ b/src/editor/coverage/src/editor/styles.js @@ -1167,939 +1167,939 @@ if (! _$jscoverage['/editor/styles.js'].branchData) { _$jscoverage['/editor/styles.js'].branchData['1377'][4] = new BranchData(); } _$jscoverage['/editor/styles.js'].branchData['1377'][4].init(261, 48, 'lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1054_1377_4(result) { +function visit1065_1377_4(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][3].init(233, 24, 'firstChild !== lastChild'); -function visit1053_1377_3(result) { +function visit1064_1377_3(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][2].init(233, 76, 'firstChild !== lastChild && lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1052_1377_2(result) { +function visit1063_1377_2(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1377'][1].init(220, 89, 'lastChild && firstChild !== lastChild && lastChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1051_1377_1(result) { +function visit1062_1377_1(result) { _$jscoverage['/editor/styles.js'].branchData['1377'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1373'][1].init(75, 49, 'firstChild.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1050_1373_1(result) { +function visit1061_1373_1(result) { _$jscoverage['/editor/styles.js'].branchData['1373'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1371'][1].init(309, 10, 'firstChild'); -function visit1049_1371_1(result) { +function visit1060_1371_1(result) { _$jscoverage['/editor/styles.js'].branchData['1371'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1363'][1].init(115, 27, '!element._4eHasAttributes()'); -function visit1048_1363_1(result) { +function visit1059_1363_1(result) { _$jscoverage['/editor/styles.js'].branchData['1363'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][3].init(116, 31, 'actualStyleValue === styleValue'); -function visit1047_1349_3(result) { +function visit1058_1349_3(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][2].init(82, 30, 'typeof styleValue === \'string\''); -function visit1046_1349_2(result) { +function visit1057_1349_2(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1349'][1].init(82, 65, 'typeof styleValue === \'string\' && actualStyleValue === styleValue'); -function visit1045_1349_1(result) { +function visit1056_1349_1(result) { _$jscoverage['/editor/styles.js'].branchData['1349'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1348'][2].init(181, 51, 'styleValue.test && styleValue.test(actualAttrValue)'); -function visit1044_1348_2(result) { +function visit1055_1348_2(result) { _$jscoverage['/editor/styles.js'].branchData['1348'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1348'][1].init(102, 150, '(styleValue.test && styleValue.test(actualAttrValue)) || (typeof styleValue === \'string\' && actualStyleValue === styleValue)'); -function visit1043_1348_1(result) { +function visit1054_1348_1(result) { _$jscoverage['/editor/styles.js'].branchData['1348'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1346'][2].init(76, 19, 'styleValue === NULL'); -function visit1042_1346_2(result) { +function visit1053_1346_2(result) { _$jscoverage['/editor/styles.js'].branchData['1346'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1346'][1].init(76, 253, 'styleValue === NULL || (styleValue.test && styleValue.test(actualAttrValue)) || (typeof styleValue === \'string\' && actualStyleValue === styleValue)'); -function visit1041_1346_1(result) { +function visit1052_1346_1(result) { _$jscoverage['/editor/styles.js'].branchData['1346'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1341'][1].init(25, 17, 'i < styles.length'); -function visit1040_1341_1(result) { +function visit1051_1341_1(result) { _$jscoverage['/editor/styles.js'].branchData['1341'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1340'][1].init(1145, 6, 'styles'); -function visit1039_1340_1(result) { +function visit1050_1340_1(result) { _$jscoverage['/editor/styles.js'].branchData['1340'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1338'][1].init(1101, 29, 'overrides && overrides.styles'); -function visit1038_1338_1(result) { +function visit1049_1338_1(result) { _$jscoverage['/editor/styles.js'].branchData['1338'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][3].init(110, 28, 'actualAttrValue === attValue'); -function visit1037_1331_3(result) { +function visit1048_1331_3(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][2].init(78, 28, 'typeof attValue === \'string\''); -function visit1036_1331_2(result) { +function visit1047_1331_2(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1331'][1].init(78, 60, 'typeof attValue === \'string\' && actualAttrValue === attValue'); -function visit1035_1331_1(result) { +function visit1046_1331_1(result) { _$jscoverage['/editor/styles.js'].branchData['1331'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1330'][2].init(522, 47, 'attValue.test && attValue.test(actualAttrValue)'); -function visit1034_1330_2(result) { +function visit1045_1330_2(result) { _$jscoverage['/editor/styles.js'].branchData['1330'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1330'][1].init(46, 141, '(attValue.test && attValue.test(actualAttrValue)) || (typeof attValue === \'string\' && actualAttrValue === attValue)'); -function visit1033_1330_1(result) { +function visit1044_1330_1(result) { _$jscoverage['/editor/styles.js'].branchData['1330'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1329'][2].init(473, 17, 'attValue === NULL'); -function visit1032_1329_2(result) { +function visit1043_1329_2(result) { _$jscoverage['/editor/styles.js'].branchData['1329'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1329'][1].init(473, 188, 'attValue === NULL || (attValue.test && attValue.test(actualAttrValue)) || (typeof attValue === \'string\' && actualAttrValue === attValue)'); -function visit1031_1329_1(result) { +function visit1042_1329_1(result) { _$jscoverage['/editor/styles.js'].branchData['1329'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1317'][1].init(25, 21, 'i < attributes.length'); -function visit1030_1317_1(result) { +function visit1041_1317_1(result) { _$jscoverage['/editor/styles.js'].branchData['1317'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1316'][1].init(106, 10, 'attributes'); -function visit1029_1316_1(result) { +function visit1040_1316_1(result) { _$jscoverage['/editor/styles.js'].branchData['1316'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1314'][1].init(48, 33, 'overrides && overrides.attributes'); -function visit1028_1314_1(result) { +function visit1039_1314_1(result) { _$jscoverage['/editor/styles.js'].branchData['1314'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1297'][1].init(114, 6, 'i >= 0'); -function visit1027_1297_1(result) { +function visit1038_1297_1(result) { _$jscoverage['/editor/styles.js'].branchData['1297'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1295'][1].init(18, 33, 'overrideElement !== style.element'); -function visit1026_1295_1(result) { +function visit1037_1295_1(result) { _$jscoverage['/editor/styles.js'].branchData['1295'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1287'][1].init(253, 8, '--i >= 0'); -function visit1025_1287_1(result) { +function visit1036_1287_1(result) { _$jscoverage['/editor/styles.js'].branchData['1287'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1262'][1].init(297, 41, 'removeEmpty || !!element.style(styleName)'); -function visit1024_1262_1(result) { +function visit1035_1262_1(result) { _$jscoverage['/editor/styles.js'].branchData['1262'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1258'][1].init(47, 84, 'element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)'); -function visit1023_1258_1(result) { +function visit1034_1258_1(result) { _$jscoverage['/editor/styles.js'].branchData['1258'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1257'][1].init(94, 132, 'style._.definition.fullMatch && element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)'); -function visit1022_1257_1(result) { +function visit1033_1257_1(result) { _$jscoverage['/editor/styles.js'].branchData['1257'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1249'][1].init(299, 41, 'removeEmpty || !!element.hasAttr(attName)'); -function visit1021_1249_1(result) { +function visit1032_1249_1(result) { _$jscoverage['/editor/styles.js'].branchData['1249'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][4].init(138, 91, 'element.attr(attName) !== normalizeProperty(attName, attributes[attName])'); -function visit1020_1245_4(result) { +function visit1031_1245_4(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][3].init(81, 19, 'attName === \'class\''); -function visit1019_1245_3(result) { +function visit1030_1245_3(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][2].init(81, 51, 'attName === \'class\' || style._.definition.fullMatch'); -function visit1018_1245_2(result) { +function visit1029_1245_2(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1245'][1].init(81, 148, '(attName === \'class\' || style._.definition.fullMatch) && element.attr(attName) !== normalizeProperty(attName, attributes[attName])'); -function visit1017_1245_1(result) { +function visit1028_1245_1(result) { _$jscoverage['/editor/styles.js'].branchData['1245'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1238'][1].init(447, 70, 'S.isEmptyObject(attributes) && S.isEmptyObject(styles)'); -function visit1016_1238_1(result) { +function visit1027_1238_1(result) { _$jscoverage['/editor/styles.js'].branchData['1238'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1236'][2].init(70, 20, 'overrides[\'*\'] || {}'); -function visit1015_1236_2(result) { +function visit1026_1236_2(result) { _$jscoverage['/editor/styles.js'].branchData['1236'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1236'][1].init(36, 54, 'overrides[element.nodeName()] || overrides[\'*\'] || {}'); -function visit1014_1236_1(result) { +function visit1025_1236_1(result) { _$jscoverage['/editor/styles.js'].branchData['1236'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1234'][2].init(74, 20, 'overrides[\'*\'] || {}'); -function visit1013_1234_2(result) { +function visit1024_1234_2(result) { _$jscoverage['/editor/styles.js'].branchData['1234'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1234'][1].init(40, 54, 'overrides[element.nodeName()] || overrides[\'*\'] || {}'); -function visit1012_1234_1(result) { +function visit1023_1234_1(result) { _$jscoverage['/editor/styles.js'].branchData['1234'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1215'][1].init(43, 23, 'overrideEl.styles || []'); -function visit1011_1215_1(result) { +function visit1022_1215_1(result) { _$jscoverage['/editor/styles.js'].branchData['1215'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1210'][1].init(1710, 6, 'styles'); -function visit1010_1210_1(result) { +function visit1021_1210_1(result) { _$jscoverage['/editor/styles.js'].branchData['1210'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1200'][1].init(47, 27, 'overrideEl.attributes || []'); -function visit1009_1200_1(result) { +function visit1020_1200_1(result) { _$jscoverage['/editor/styles.js'].branchData['1200'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1195'][1].init(990, 5, 'attrs'); -function visit1008_1195_1(result) { +function visit1019_1195_1(result) { _$jscoverage['/editor/styles.js'].branchData['1195'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1192'][1].init(886, 81, 'overrides[elementName] || (overrides[elementName] = {})'); -function visit1007_1192_1(result) { +function visit1018_1192_1(result) { _$jscoverage['/editor/styles.js'].branchData['1192'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1177'][1].init(229, 28, 'typeof override === \'string\''); -function visit1006_1177_1(result) { +function visit1017_1177_1(result) { _$jscoverage['/editor/styles.js'].branchData['1177'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1170'][1].init(338, 21, 'i < definition.length'); -function visit1005_1170_1(result) { +function visit1016_1170_1(result) { _$jscoverage['/editor/styles.js'].branchData['1170'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1165'][1].init(170, 22, '!S.isArray(definition)'); -function visit1004_1165_1(result) { +function visit1015_1165_1(result) { _$jscoverage['/editor/styles.js'].branchData['1165'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1162'][1].init(203, 10, 'definition'); -function visit1003_1162_1(result) { +function visit1014_1162_1(result) { _$jscoverage['/editor/styles.js'].branchData['1162'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1155'][1].init(13, 17, 'style._.overrides'); -function visit1002_1155_1(result) { +function visit1013_1155_1(result) { _$jscoverage['/editor/styles.js'].branchData['1155'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1133'][1].init(17, 14, '!attribs.style'); -function visit1001_1133_1(result) { +function visit1012_1133_1(result) { _$jscoverage['/editor/styles.js'].branchData['1133'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1132'][1].init(627, 9, 'styleText'); -function visit1000_1132_1(result) { +function visit1011_1132_1(result) { _$jscoverage['/editor/styles.js'].branchData['1132'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1121'][1].init(327, 12, 'styleAttribs'); -function visit999_1121_1(result) { +function visit1010_1121_1(result) { _$jscoverage['/editor/styles.js'].branchData['1121'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1112'][1].init(115, 7, 'attribs'); -function visit998_1112_1(result) { +function visit1009_1112_1(result) { _$jscoverage['/editor/styles.js'].branchData['1112'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1091'][1].init(320, 24, 'temp.style.cssText || \'\''); -function visit997_1091_1(result) { +function visit1008_1091_1(result) { _$jscoverage['/editor/styles.js'].branchData['1091'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1085'][1].init(41, 25, 'nativeNormalize !== FALSE'); -function visit996_1085_1(result) { +function visit1007_1085_1(result) { _$jscoverage['/editor/styles.js'].branchData['1085'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][3].init(31, 28, 'target[name] === \'inherit\''); -function visit995_1075_3(result) { +function visit1006_1075_3(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][2].init(94, 28, 'source[name] === \'inherit\''); -function visit994_1075_2(result) { +function visit1005_1075_2(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1075'][1].init(56, 60, 'source[name] === \'inherit\' || target[name] === \'inherit\''); -function visit993_1075_1(result) { +function visit1004_1075_1(result) { _$jscoverage['/editor/styles.js'].branchData['1075'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1074'][2].init(35, 33, 'target[name] === source[name]'); -function visit992_1074_2(result) { +function visit1003_1074_2(result) { _$jscoverage['/editor/styles.js'].branchData['1074'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1074'][1].init(35, 117, 'target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\''); -function visit991_1074_1(result) { +function visit1002_1074_1(result) { _$jscoverage['/editor/styles.js'].branchData['1074'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1073'][2].init(122, 155, 'name in target && (target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\')'); -function visit990_1073_2(result) { +function visit1001_1073_2(result) { _$jscoverage['/editor/styles.js'].branchData['1073'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1073'][1].init(119, 160, '!(name in target && (target[name] === source[name] || source[name] === \'inherit\' || target[name] === \'inherit\'))'); -function visit989_1073_1(result) { +function visit1000_1073_1(result) { _$jscoverage['/editor/styles.js'].branchData['1073'][1].ranCondition(result); return result; -}_$jscoverage['/editor/styles.js'].branchData['1066'][1].init(110, 19, 'target === \'string\''); -function visit988_1066_1(result) { +}_$jscoverage['/editor/styles.js'].branchData['1066'][1].init(110, 26, 'typeof target === \'string\''); +function visit999_1066_1(result) { _$jscoverage['/editor/styles.js'].branchData['1066'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1063'][1].init(13, 26, 'typeof source === \'string\''); -function visit987_1063_1(result) { +function visit998_1063_1(result) { _$jscoverage['/editor/styles.js'].branchData['1063'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1038'][2].init(896, 50, 'nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit986_1038_2(result) { +function visit997_1038_2(result) { _$jscoverage['/editor/styles.js'].branchData['1038'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1038'][1].init(896, 106, 'nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && nextNode.contains(startNode)'); -function visit985_1038_1(result) { +function visit996_1038_1(result) { _$jscoverage['/editor/styles.js'].branchData['1038'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1028'][1].init(56, 53, 'overrides[currentNode.nodeName()] || overrides[\'*\']'); -function visit984_1028_1(result) { +function visit995_1028_1(result) { _$jscoverage['/editor/styles.js'].branchData['1028'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1022'][1].init(97, 39, 'currentNode.nodeName() === this.element'); -function visit983_1022_1(result) { +function visit994_1022_1(result) { _$jscoverage['/editor/styles.js'].branchData['1022'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1019'][2].init(305, 53, 'currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit982_1019_2(result) { +function visit993_1019_2(result) { _$jscoverage['/editor/styles.js'].branchData['1019'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1019'][1].init(37, 116, 'currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && this.checkElementRemovable(currentNode)'); -function visit981_1019_1(result) { +function visit992_1019_1(result) { _$jscoverage['/editor/styles.js'].branchData['1019'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1018'][1].init(265, 154, 'currentNode[0] && currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE && this.checkElementRemovable(currentNode)'); -function visit980_1018_1(result) { +function visit991_1018_1(result) { _$jscoverage['/editor/styles.js'].branchData['1018'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1012'][1].init(1929, 29, 'currentNode[0] !== endNode[0]'); -function visit979_1012_1(result) { +function visit990_1012_1(result) { _$jscoverage['/editor/styles.js'].branchData['1012'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1003'][1].init(1235, 10, 'breakStart'); -function visit978_1003_1(result) { +function visit989_1003_1(result) { _$jscoverage['/editor/styles.js'].branchData['1003'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['1000'][1].init(1131, 8, 'breakEnd'); -function visit977_1000_1(result) { +function visit988_1000_1(result) { _$jscoverage['/editor/styles.js'].branchData['1000'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['995'][1].init(244, 33, 'me.checkElementRemovable(element)'); -function visit976_995_1(result) { +function visit987_995_1(result) { _$jscoverage['/editor/styles.js'].branchData['995'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['991'][1].init(52, 30, 'element === endPath.blockLimit'); -function visit975_991_1(result) { +function visit986_991_1(result) { _$jscoverage['/editor/styles.js'].branchData['991'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['990'][2].init(79, 25, 'element === endPath.block'); -function visit974_990_2(result) { +function visit985_990_2(result) { _$jscoverage['/editor/styles.js'].branchData['990'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['990'][1].init(79, 83, 'element === endPath.block || element === endPath.blockLimit'); -function visit973_990_1(result) { +function visit984_990_1(result) { _$jscoverage['/editor/styles.js'].branchData['990'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['987'][1].init(710, 27, 'i < endPath.elements.length'); -function visit972_987_1(result) { +function visit983_987_1(result) { _$jscoverage['/editor/styles.js'].branchData['987'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['983'][1].init(250, 33, 'me.checkElementRemovable(element)'); -function visit971_983_1(result) { +function visit982_983_1(result) { _$jscoverage['/editor/styles.js'].branchData['983'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['979'][1].init(54, 32, 'element === startPath.blockLimit'); -function visit970_979_1(result) { +function visit981_979_1(result) { _$jscoverage['/editor/styles.js'].branchData['979'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['978'][2].init(81, 27, 'element === startPath.block'); -function visit969_978_2(result) { +function visit980_978_2(result) { _$jscoverage['/editor/styles.js'].branchData['978'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['978'][1].init(81, 87, 'element === startPath.block || element === startPath.blockLimit'); -function visit968_978_1(result) { +function visit979_978_1(result) { _$jscoverage['/editor/styles.js'].branchData['978'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['975'][1].init(272, 29, 'i < startPath.elements.length'); -function visit967_975_1(result) { +function visit978_975_1(result) { _$jscoverage['/editor/styles.js'].branchData['975'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['953'][1].init(1330, 9, 'UA.webkit'); -function visit966_953_1(result) { +function visit977_953_1(result) { _$jscoverage['/editor/styles.js'].branchData['953'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['949'][1].init(63, 16, 'tmp === \'\\u200b\''); -function visit965_949_1(result) { +function visit976_949_1(result) { _$jscoverage['/editor/styles.js'].branchData['949'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['947'][1].init(1079, 80, '!tmp || tmp === \'\\u200b\''); -function visit964_947_1(result) { +function visit975_947_1(result) { _$jscoverage['/editor/styles.js'].branchData['947'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['942'][1].init(14, 33, 'boundaryElement.match === \'start\''); -function visit963_942_1(result) { +function visit974_942_1(result) { _$jscoverage['/editor/styles.js'].branchData['942'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['930'][1].init(266, 16, 'newElement.match'); -function visit962_930_1(result) { +function visit973_930_1(result) { _$jscoverage['/editor/styles.js'].branchData['930'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['926'][1].init(87, 34, 'newElement.equals(boundaryElement)'); -function visit961_926_1(result) { +function visit972_926_1(result) { _$jscoverage['/editor/styles.js'].branchData['926'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['922'][1].init(2574, 15, 'boundaryElement'); -function visit960_922_1(result) { +function visit971_922_1(result) { _$jscoverage['/editor/styles.js'].branchData['922'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['910'][1].init(56, 51, '_overrides[element.nodeName()] || _overrides[\'*\']'); -function visit959_910_1(result) { +function visit970_910_1(result) { _$jscoverage['/editor/styles.js'].branchData['910'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['907'][1].init(644, 35, 'element.nodeName() !== this.element'); -function visit958_907_1(result) { +function visit969_907_1(result) { _$jscoverage['/editor/styles.js'].branchData['907'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['893'][1].init(248, 30, 'startOfElement || endOfElement'); -function visit957_893_1(result) { +function visit968_893_1(result) { _$jscoverage['/editor/styles.js'].branchData['893'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['891'][1].init(107, 93, '!endOfElement && range.checkBoundaryOfElement(element, KER.START)'); -function visit956_891_1(result) { +function visit967_891_1(result) { _$jscoverage['/editor/styles.js'].branchData['891'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['889'][1].init(540, 35, 'this.checkElementRemovable(element)'); -function visit955_889_1(result) { +function visit966_889_1(result) { _$jscoverage['/editor/styles.js'].branchData['889'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][3].init(439, 32, 'element === startPath.blockLimit'); -function visit954_886_3(result) { +function visit965_886_3(result) { _$jscoverage['/editor/styles.js'].branchData['886'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][2].init(408, 27, 'element === startPath.block'); -function visit953_886_2(result) { +function visit964_886_2(result) { _$jscoverage['/editor/styles.js'].branchData['886'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['886'][1].init(408, 63, 'element === startPath.block || element === startPath.blockLimit'); -function visit952_886_1(result) { +function visit963_886_1(result) { _$jscoverage['/editor/styles.js'].branchData['886'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['878'][2].init(220, 29, 'i < startPath.elements.length'); -function visit951_878_2(result) { +function visit962_878_2(result) { _$jscoverage['/editor/styles.js'].branchData['878'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['878'][1].init(220, 68, 'i < startPath.elements.length && (element = startPath.elements[i])'); -function visit950_878_1(result) { +function visit961_878_1(result) { _$jscoverage['/editor/styles.js'].branchData['878'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['871'][1].init(304, 15, 'range.collapsed'); -function visit949_871_1(result) { +function visit960_871_1(result) { _$jscoverage['/editor/styles.js'].branchData['871'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['825'][1].init(1163, 6, '!UA.ie'); -function visit948_825_1(result) { +function visit959_825_1(result) { _$jscoverage['/editor/styles.js'].branchData['825'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['804'][1].init(2646, 9, 'styleNode'); -function visit947_804_1(result) { +function visit958_804_1(result) { _$jscoverage['/editor/styles.js'].branchData['804'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['795'][1].init(1505, 29, '!styleNode._4eHasAttributes()'); -function visit946_795_1(result) { +function visit957_795_1(result) { _$jscoverage['/editor/styles.js'].branchData['795'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['786'][1].init(220, 36, 'styleNode.style(styleName) === value'); -function visit945_786_1(result) { +function visit956_786_1(result) { _$jscoverage['/editor/styles.js'].branchData['786'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['782'][1].init(34, 77, 'removeList.blockedStyles[styleName] || !(value = parent.style(styleName))'); -function visit944_782_1(result) { +function visit955_782_1(result) { _$jscoverage['/editor/styles.js'].branchData['782'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['768'][1].init(216, 33, 'styleNode.attr(attName) === value'); -function visit943_768_1(result) { +function visit954_768_1(result) { _$jscoverage['/editor/styles.js'].branchData['768'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['764'][1].init(34, 73, 'removeList.blockedAttrs[attName] || !(value = parent.attr(styleName))'); -function visit942_764_1(result) { +function visit953_764_1(result) { _$jscoverage['/editor/styles.js'].branchData['764'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['761'][1].init(25, 33, 'parent.nodeName() === elementName'); -function visit941_761_1(result) { +function visit952_761_1(result) { _$jscoverage['/editor/styles.js'].branchData['761'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][3].init(804, 25, 'styleNode[0] && parent[0]'); -function visit940_760_3(result) { +function visit951_760_3(result) { _$jscoverage['/editor/styles.js'].branchData['760'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][2].init(794, 35, 'parent && styleNode[0] && parent[0]'); -function visit939_760_2(result) { +function visit950_760_2(result) { _$jscoverage['/editor/styles.js'].branchData['760'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['760'][1].init(781, 48, 'styleNode && parent && styleNode[0] && parent[0]'); -function visit938_760_1(result) { +function visit949_760_1(result) { _$jscoverage['/editor/styles.js'].branchData['760'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['739'][2].init(6216, 35, 'styleRange && !styleRange.collapsed'); -function visit937_739_2(result) { +function visit948_739_2(result) { _$jscoverage['/editor/styles.js'].branchData['739'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['739'][1].init(6202, 49, 'applyStyle && styleRange && !styleRange.collapsed'); -function visit936_739_1(result) { +function visit947_739_1(result) { _$jscoverage['/editor/styles.js'].branchData['739'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['718'][1].init(401, 43, '!def.childRule || def.childRule(parentNode)'); -function visit935_718_1(result) { +function visit946_718_1(result) { _$jscoverage['/editor/styles.js'].branchData['718'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['713'][2].init(1128, 396, '(parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit934_713_2(result) { +function visit945_713_2(result) { _$jscoverage['/editor/styles.js'].branchData['713'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['713'][1].init(150, 447, '(parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit933_713_1(result) { +function visit944_713_1(result) { _$jscoverage['/editor/styles.js'].branchData['713'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['711'][2].init(976, 107, '(parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]'); -function visit932_711_2(result) { +function visit943_711_2(result) { _$jscoverage['/editor/styles.js'].branchData['711'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['711'][1].init(90, 598, '((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]) && (parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit931_711_1(result) { +function visit942_711_1(result) { _$jscoverage['/editor/styles.js'].branchData['711'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['710'][1].init(40, 689, '(applyStyle = !includedNode.next(notBookmark, 1)) && ((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()]) && (parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(parentNode))'); -function visit930_710_1(result) { +function visit941_710_1(result) { _$jscoverage['/editor/styles.js'].branchData['710'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['695'][2].init(68, 38, 'nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit929_695_2(result) { +function visit940_695_2(result) { _$jscoverage['/editor/styles.js'].branchData['695'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['695'][1].init(68, 75, 'nodeType === Dom.NodeType.ELEMENT_NODE && !currentNode[0].childNodes.length'); -function visit928_695_1(result) { +function visit939_695_1(result) { _$jscoverage['/editor/styles.js'].branchData['695'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['694'][2].init(1192, 35, 'nodeType === Dom.NodeType.TEXT_NODE'); -function visit927_694_2(result) { +function visit938_694_2(result) { _$jscoverage['/editor/styles.js'].branchData['694'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['694'][1].init(1192, 146, 'nodeType === Dom.NodeType.TEXT_NODE || (nodeType === Dom.NodeType.ELEMENT_NODE && !currentNode[0].childNodes.length)'); -function visit926_694_1(result) { +function visit937_694_1(result) { _$jscoverage['/editor/styles.js'].branchData['694'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][3].init(92, 408, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit925_680_3(result) { +function visit936_680_3(result) { _$jscoverage['/editor/styles.js'].branchData['680'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][2].init(57, 443, '!DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit924_680_2(result) { +function visit935_680_2(result) { _$jscoverage['/editor/styles.js'].branchData['680'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['680'][1].init(44, 456, '!nodeName || !DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit923_680_1(result) { +function visit934_680_1(result) { _$jscoverage['/editor/styles.js'].branchData['680'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['679'][1].init(337, 535, '!styleRange && (!nodeName || !DTD.$removeEmpty[nodeName] || (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))'); -function visit922_679_1(result) { +function visit933_679_1(result) { _$jscoverage['/editor/styles.js'].branchData['679'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['674'][1].init(133, 48, '!def.parentRule || def.parentRule(currentParent)'); -function visit921_674_1(result) { +function visit932_674_1(result) { _$jscoverage['/editor/styles.js'].branchData['674'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][4].init(-1, 65, 'DTD[currentParent.nodeName()] || DTD.span'); -function visit920_672_4(result) { +function visit931_672_4(result) { _$jscoverage['/editor/styles.js'].branchData['672'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['673'][1].init(-1, 126, '(DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement'); -function visit919_673_1(result) { +function visit930_673_1(result) { _$jscoverage['/editor/styles.js'].branchData['673'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][3].init(1286, 184, '((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit918_672_3(result) { +function visit929_672_3(result) { _$jscoverage['/editor/styles.js'].branchData['672'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][2].init(1262, 208, 'currentParent[0] && ((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit917_672_2(result) { +function visit928_672_2(result) { _$jscoverage['/editor/styles.js'].branchData['672'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['672'][1].init(1245, 225, 'currentParent && currentParent[0] && ((DTD[currentParent.nodeName()] || DTD.span)[elementName] || isUnknownElement) && (!def.parentRule || def.parentRule(currentParent))'); -function visit916_672_1(result) { +function visit927_672_1(result) { _$jscoverage['/editor/styles.js'].branchData['672'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['663'][1].init(46, 40, 'currentParent.nodeName() === elementName'); -function visit915_663_1(result) { +function visit926_663_1(result) { _$jscoverage['/editor/styles.js'].branchData['663'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['662'][2].init(650, 19, 'elementName === \'a\''); -function visit914_662_2(result) { +function visit925_662_2(result) { _$jscoverage['/editor/styles.js'].branchData['662'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['662'][1].init(40, 87, 'elementName === \'a\' && currentParent.nodeName() === elementName'); -function visit913_662_1(result) { +function visit924_662_1(result) { _$jscoverage['/editor/styles.js'].branchData['662'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['661'][1].init(607, 128, 'currentParent && elementName === \'a\' && currentParent.nodeName() === elementName'); -function visit912_661_1(result) { +function visit923_661_1(result) { _$jscoverage['/editor/styles.js'].branchData['661'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['648'][1].init(377, 44, '!def.childRule || def.childRule(currentNode)'); -function visit911_648_1(result) { +function visit922_648_1(result) { _$jscoverage['/editor/styles.js'].branchData['648'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['642'][2].init(81, 348, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)'); -function visit910_642_2(result) { +function visit921_642_2(result) { _$jscoverage['/editor/styles.js'].branchData['642'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['642'][1].init(44, 424, '(currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode))'); -function visit909_642_1(result) { +function visit920_642_1(result) { _$jscoverage['/editor/styles.js'].branchData['642'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['641'][1].init(-1, 469, 'dtd[nodeName] && (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode))'); -function visit908_641_1(result) { +function visit919_641_1(result) { _$jscoverage['/editor/styles.js'].branchData['641'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['640'][1].init(475, 526, '!nodeName || (dtd[nodeName] && (currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED) && (!def.childRule || def.childRule(currentNode)))'); -function visit907_640_1(result) { +function visit918_640_1(result) { _$jscoverage['/editor/styles.js'].branchData['640'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['634'][1].init(205, 44, 'nodeName && currentNode.attr(\'_ke_bookmark\')'); -function visit906_634_1(result) { +function visit917_634_1(result) { _$jscoverage['/editor/styles.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['631'][1].init(70, 38, 'nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit905_631_1(result) { +function visit916_631_1(result) { _$jscoverage['/editor/styles.js'].branchData['631'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['625'][1].init(54, 33, 'Dom.equals(currentNode, lastNode)'); -function visit904_625_1(result) { +function visit915_625_1(result) { _$jscoverage['/editor/styles.js'].branchData['625'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['622'][1].init(1384, 29, 'currentNode && currentNode[0]'); -function visit903_622_1(result) { +function visit914_622_1(result) { _$jscoverage['/editor/styles.js'].branchData['622'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['602'][1].init(758, 4, '!dtd'); -function visit902_602_1(result) { +function visit913_602_1(result) { _$jscoverage['/editor/styles.js'].branchData['602'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['588'][1].init(78, 15, 'range.collapsed'); -function visit901_588_1(result) { +function visit912_588_1(result) { _$jscoverage['/editor/styles.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['561'][1].init(149, 7, '!offset'); -function visit900_561_1(result) { +function visit911_561_1(result) { _$jscoverage['/editor/styles.js'].branchData['561'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['558'][1].init(21, 18, 'match.length === 1'); -function visit899_558_1(result) { +function visit910_558_1(result) { _$jscoverage['/editor/styles.js'].branchData['558'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['547'][1].init(99, 19, 'i < preHTMLs.length'); -function visit898_547_1(result) { +function visit909_547_1(result) { _$jscoverage['/editor/styles.js'].branchData['547'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['533'][1].init(807, 5, 'UA.ie'); -function visit897_533_1(result) { +function visit908_533_1(result) { _$jscoverage['/editor/styles.js'].branchData['533'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['518'][1].init(96, 34, 'previousBlock.nodeName() === \'pre\''); -function visit896_518_1(result) { +function visit907_518_1(result) { _$jscoverage['/editor/styles.js'].branchData['518'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['517'][2].init(45, 131, '(previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && previousBlock.nodeName() === \'pre\''); -function visit895_517_2(result) { +function visit906_517_2(result) { _$jscoverage['/editor/styles.js'].branchData['517'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['517'][1].init(40, 138, '!((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && previousBlock.nodeName() === \'pre\')'); -function visit894_517_1(result) { +function visit905_517_1(result) { _$jscoverage['/editor/styles.js'].branchData['517'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['508'][1].init(621, 13, 'newBlockIsPre'); -function visit893_508_1(result) { +function visit904_508_1(result) { _$jscoverage['/editor/styles.js'].branchData['508'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['499'][1].init(318, 9, 'isFromPre'); -function visit892_499_1(result) { +function visit903_499_1(result) { _$jscoverage['/editor/styles.js'].branchData['499'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['496'][1].init(232, 7, 'isToPre'); -function visit891_496_1(result) { +function visit902_496_1(result) { _$jscoverage['/editor/styles.js'].branchData['496'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['494'][1].init(179, 28, '!newBlockIsPre && blockIsPre'); -function visit890_494_1(result) { +function visit901_494_1(result) { _$jscoverage['/editor/styles.js'].branchData['494'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['493'][1].init(125, 28, 'newBlockIsPre && !blockIsPre'); -function visit889_493_1(result) { +function visit900_493_1(result) { _$jscoverage['/editor/styles.js'].branchData['493'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['492'][1].init(75, 26, 'block.nodeName === (\'pre\')'); -function visit888_492_1(result) { +function visit899_492_1(result) { _$jscoverage['/editor/styles.js'].branchData['492'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['491'][1].init(29, 29, 'newBlock.nodeName === (\'pre\')'); -function visit887_491_1(result) { +function visit898_491_1(result) { _$jscoverage['/editor/styles.js'].branchData['491'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['452'][1].init(944, 5, 'UA.ie'); -function visit886_452_1(result) { +function visit897_452_1(result) { _$jscoverage['/editor/styles.js'].branchData['452'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['423'][1].init(104, 2, 'm2'); -function visit885_423_1(result) { +function visit896_423_1(result) { _$jscoverage['/editor/styles.js'].branchData['423'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['420'][1].init(21, 2, 'm1'); -function visit884_420_1(result) { +function visit895_420_1(result) { _$jscoverage['/editor/styles.js'].branchData['420'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['386'][1].init(364, 6, 'styles'); -function visit883_386_1(result) { +function visit894_386_1(result) { _$jscoverage['/editor/styles.js'].branchData['386'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['378'][1].init(183, 10, 'attributes'); -function visit882_378_1(result) { +function visit893_378_1(result) { _$jscoverage['/editor/styles.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['365'][1].init(436, 7, 'element'); -function visit881_365_1(result) { +function visit892_365_1(result) { _$jscoverage['/editor/styles.js'].branchData['365'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['357'][1].init(180, 19, 'elementName === \'*\''); -function visit880_357_1(result) { +function visit891_357_1(result) { _$jscoverage['/editor/styles.js'].branchData['357'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['340'][1].init(1087, 17, 'stylesText.length'); -function visit879_340_1(result) { +function visit890_340_1(result) { _$jscoverage['/editor/styles.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['329'][1].init(245, 22, 'styleVal === \'inherit\''); -function visit878_329_1(result) { +function visit889_329_1(result) { _$jscoverage['/editor/styles.js'].branchData['329'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['319'][1].init(397, 17, 'stylesText.length'); -function visit877_319_1(result) { +function visit888_319_1(result) { _$jscoverage['/editor/styles.js'].branchData['319'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['316'][2].init(276, 62, 'styleDefinition.attributes && styleDefinition.attributes.style'); -function visit876_316_2(result) { +function visit887_316_2(result) { _$jscoverage['/editor/styles.js'].branchData['316'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['316'][1].init(276, 70, '(styleDefinition.attributes && styleDefinition.attributes.style) || \'\''); -function visit875_316_1(result) { +function visit886_316_1(result) { _$jscoverage['/editor/styles.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['309'][1].init(117, 9, 'stylesDef'); -function visit874_309_1(result) { +function visit885_309_1(result) { _$jscoverage['/editor/styles.js'].branchData['309'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['296'][1].init(501, 41, 'this.checkElementRemovable(element, TRUE)'); -function visit873_296_1(result) { +function visit884_296_1(result) { _$jscoverage['/editor/styles.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['292'][2].init(328, 31, 'this.type === KEST.STYLE_OBJECT'); -function visit872_292_2(result) { +function visit883_292_2(result) { _$jscoverage['/editor/styles.js'].branchData['292'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['292'][1].init(328, 76, 'this.type === KEST.STYLE_OBJECT && !(element.nodeName() in objectElements)'); -function visit871_292_1(result) { +function visit882_292_1(result) { _$jscoverage['/editor/styles.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][3].init(116, 113, 'Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit)'); -function visit870_287_3(result) { +function visit881_287_3(result) { _$jscoverage['/editor/styles.js'].branchData['287'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][2].init(79, 31, 'this.type === KEST.STYLE_INLINE'); -function visit869_287_2(result) { +function visit880_287_2(result) { _$jscoverage['/editor/styles.js'].branchData['287'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['287'][1].init(79, 152, 'this.type === KEST.STYLE_INLINE && (Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))'); -function visit868_287_1(result) { +function visit879_287_1(result) { _$jscoverage['/editor/styles.js'].branchData['287'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['284'][1].init(128, 19, 'i < elements.length'); -function visit867_284_1(result) { +function visit878_284_1(result) { _$jscoverage['/editor/styles.js'].branchData['284'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['277'][1].init(77, 43, 'elementPath.block || elementPath.blockLimit'); -function visit866_277_1(result) { +function visit877_277_1(result) { _$jscoverage['/editor/styles.js'].branchData['277'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['260'][1].init(102, 52, 'styleValue.test && styleValue.test(actualStyleValue)'); -function visit865_260_1(result) { +function visit876_260_1(result) { _$jscoverage['/editor/styles.js'].branchData['260'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][6].init(151, 31, 'actualStyleValue === styleValue'); -function visit864_259_6(result) { +function visit875_259_6(result) { _$jscoverage['/editor/styles.js'].branchData['259'][6].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][5].init(117, 30, 'typeof styleValue === \'string\''); -function visit863_259_5(result) { +function visit874_259_5(result) { _$jscoverage['/editor/styles.js'].branchData['259'][5].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][4].init(117, 65, 'typeof styleValue === \'string\' && actualStyleValue === styleValue'); -function visit862_259_4(result) { +function visit873_259_4(result) { _$jscoverage['/editor/styles.js'].branchData['259'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][3].init(117, 155, '(typeof styleValue === \'string\' && actualStyleValue === styleValue) || styleValue.test && styleValue.test(actualStyleValue)'); -function visit861_259_3(result) { +function visit872_259_3(result) { _$jscoverage['/editor/styles.js'].branchData['259'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][2].init(92, 19, 'styleValue === NULL'); -function visit860_259_2(result) { +function visit871_259_2(result) { _$jscoverage['/editor/styles.js'].branchData['259'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['259'][1].init(92, 180, 'styleValue === NULL || (typeof styleValue === \'string\' && actualStyleValue === styleValue) || styleValue.test && styleValue.test(actualStyleValue)'); -function visit859_259_1(result) { +function visit870_259_1(result) { _$jscoverage['/editor/styles.js'].branchData['259'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['257'][1].init(154, 16, 'actualStyleValue'); -function visit858_257_1(result) { +function visit869_257_1(result) { _$jscoverage['/editor/styles.js'].branchData['257'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['254'][1].init(33, 17, 'i < styles.length'); -function visit857_254_1(result) { +function visit868_254_1(result) { _$jscoverage['/editor/styles.js'].branchData['254'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['253'][1].init(1368, 6, 'styles'); -function visit856_253_1(result) { +function visit867_253_1(result) { _$jscoverage['/editor/styles.js'].branchData['253'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['247'][1].init(97, 47, 'attValue.test && attValue.test(actualAttrValue)'); -function visit855_247_1(result) { +function visit866_247_1(result) { _$jscoverage['/editor/styles.js'].branchData['247'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][4].init(621, 28, 'actualAttrValue === attValue'); -function visit854_246_4(result) { +function visit865_246_4(result) { _$jscoverage['/editor/styles.js'].branchData['246'][4].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][3].init(589, 28, 'typeof attValue === \'string\''); -function visit853_246_3(result) { +function visit864_246_3(result) { _$jscoverage['/editor/styles.js'].branchData['246'][3].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][2].init(589, 60, 'typeof attValue === \'string\' && actualAttrValue === attValue'); -function visit852_246_2(result) { +function visit863_246_2(result) { _$jscoverage['/editor/styles.js'].branchData['246'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['246'][1].init(54, 145, '(typeof attValue === \'string\' && actualAttrValue === attValue) || attValue.test && attValue.test(actualAttrValue)'); -function visit851_246_1(result) { +function visit862_246_1(result) { _$jscoverage['/editor/styles.js'].branchData['246'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['245'][2].init(532, 17, 'attValue === NULL'); -function visit850_245_2(result) { +function visit861_245_2(result) { _$jscoverage['/editor/styles.js'].branchData['245'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['245'][1].init(532, 200, 'attValue === NULL || (typeof attValue === \'string\' && actualAttrValue === attValue) || attValue.test && attValue.test(actualAttrValue)'); -function visit849_245_1(result) { +function visit860_245_1(result) { _$jscoverage['/editor/styles.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['237'][1].init(147, 15, 'actualAttrValue'); -function visit848_237_1(result) { +function visit859_237_1(result) { _$jscoverage['/editor/styles.js'].branchData['237'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['234'][1].init(33, 18, 'i < attribs.length'); -function visit847_234_1(result) { +function visit858_234_1(result) { _$jscoverage['/editor/styles.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['233'][1].init(237, 7, 'attribs'); -function visit846_233_1(result) { +function visit857_233_1(result) { _$jscoverage['/editor/styles.js'].branchData['233'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['230'][1].init(96, 66, '!(attribs = override.attributes) && !(styles = override.styles)'); -function visit845_230_1(result) { +function visit856_230_1(result) { _$jscoverage['/editor/styles.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['228'][1].init(1773, 8, 'override'); -function visit844_228_1(result) { +function visit855_228_1(result) { _$jscoverage['/editor/styles.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['226'][1].init(81, 49, 'overrides[element.nodeName()] || overrides[\'*\']'); -function visit843_226_1(result) { +function visit854_226_1(result) { _$jscoverage['/editor/styles.js'].branchData['226'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['214'][1].init(797, 9, 'fullMatch'); -function visit842_214_1(result) { +function visit853_214_1(result) { _$jscoverage['/editor/styles.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['209'][1].init(623, 9, 'fullMatch'); -function visit841_209_1(result) { +function visit852_209_1(result) { _$jscoverage['/editor/styles.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['205'][1].init(33, 10, '!fullMatch'); -function visit840_205_1(result) { +function visit851_205_1(result) { _$jscoverage['/editor/styles.js'].branchData['205'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['204'][1].init(184, 34, 'attribs[attName] === elementAttr'); -function visit839_204_1(result) { +function visit850_204_1(result) { _$jscoverage['/editor/styles.js'].branchData['204'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['201'][2].init(219, 19, 'attName === \'style\''); -function visit838_201_2(result) { +function visit849_201_2(result) { _$jscoverage['/editor/styles.js'].branchData['201'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['201'][1].init(219, 219, 'attName === \'style\' ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : attribs[attName] === elementAttr'); -function visit837_201_1(result) { +function visit848_201_1(result) { _$jscoverage['/editor/styles.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['200'][1].init(162, 27, 'element.attr(attName) || \'\''); -function visit836_200_1(result) { +function visit847_200_1(result) { _$jscoverage['/editor/styles.js'].branchData['200'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['196'][1].init(30, 21, 'attName === \'_length\''); -function visit835_196_1(result) { +function visit846_196_1(result) { _$jscoverage['/editor/styles.js'].branchData['196'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['193'][1].init(262, 15, 'attribs._length'); -function visit834_193_1(result) { +function visit845_193_1(result) { _$jscoverage['/editor/styles.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['187'][1].init(85, 41, '!fullMatch && !element._4eHasAttributes()'); -function visit833_187_1(result) { +function visit844_187_1(result) { _$jscoverage['/editor/styles.js'].branchData['187'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['185'][1].init(255, 35, 'element.nodeName() === this.element'); -function visit832_185_1(result) { +function visit843_185_1(result) { _$jscoverage['/editor/styles.js'].branchData['185'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['177'][1].init(17, 8, '!element'); -function visit831_177_1(result) { +function visit842_177_1(result) { _$jscoverage['/editor/styles.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['169'][1].init(38, 31, 'self.type === KEST.STYLE_INLINE'); -function visit830_169_1(result) { +function visit841_169_1(result) { _$jscoverage['/editor/styles.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['159'][1].init(90, 31, 'self.type === KEST.STYLE_OBJECT'); -function visit829_159_1(result) { +function visit840_159_1(result) { _$jscoverage['/editor/styles.js'].branchData['159'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['157'][1].init(92, 30, 'self.type === KEST.STYLE_BLOCK'); -function visit828_157_1(result) { +function visit839_157_1(result) { _$jscoverage['/editor/styles.js'].branchData['157'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['155'][1].init(35, 31, 'this.type === KEST.STYLE_INLINE'); -function visit827_155_1(result) { +function visit838_155_1(result) { _$jscoverage['/editor/styles.js'].branchData['155'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['134'][1].init(447, 17, 'i < ranges.length'); -function visit826_134_1(result) { +function visit837_134_1(result) { _$jscoverage['/editor/styles.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['113'][2].init(300, 19, 'element === \'#text\''); -function visit825_113_2(result) { +function visit836_113_2(result) { _$jscoverage['/editor/styles.js'].branchData['113'][2].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['113'][1].init(300, 47, 'element === \'#text\' || blockElements[element]'); -function visit824_113_1(result) { +function visit835_113_1(result) { _$jscoverage['/editor/styles.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['111'][1].init(217, 30, 'styleDefinition.element || \'*\''); -function visit823_111_1(result) { +function visit834_111_1(result) { _$jscoverage['/editor/styles.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['106'][1].init(13, 15, 'variablesValues'); -function visit822_106_1(result) { +function visit833_106_1(result) { _$jscoverage['/editor/styles.js'].branchData['106'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].branchData['88'][1].init(17, 34, 'typeof (list[item]) === \'string\''); -function visit821_88_1(result) { +function visit832_88_1(result) { _$jscoverage['/editor/styles.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/editor/styles.js'].lineData[10]++; @@ -2159,7 +2159,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[87]++; for (var item in list) { _$jscoverage['/editor/styles.js'].lineData[88]++; - if (visit821_88_1(typeof (list[item]) === 'string')) { + if (visit832_88_1(typeof (list[item]) === 'string')) { _$jscoverage['/editor/styles.js'].lineData[90]++; list[item] = list[item].replace(varRegex, function(match, varName) { _$jscoverage['/editor/styles.js'].functionData[3]++; @@ -2176,16 +2176,16 @@ KISSY.add(function(S, require) { function KEStyle(styleDefinition, variablesValues) { _$jscoverage['/editor/styles.js'].functionData[4]++; _$jscoverage['/editor/styles.js'].lineData[106]++; - if (visit822_106_1(variablesValues)) { + if (visit833_106_1(variablesValues)) { _$jscoverage['/editor/styles.js'].lineData[107]++; styleDefinition = S.clone(styleDefinition); _$jscoverage['/editor/styles.js'].lineData[108]++; replaceVariables(styleDefinition, variablesValues); } _$jscoverage['/editor/styles.js'].lineData[111]++; - var element = this.element = this.element = (visit823_111_1(styleDefinition.element || '*')).toLowerCase(); + var element = this.element = this.element = (visit834_111_1(styleDefinition.element || '*')).toLowerCase(); _$jscoverage['/editor/styles.js'].lineData[113]++; - this.type = this.type = (visit824_113_1(visit825_113_2(element === '#text') || blockElements[element])) ? KEST.STYLE_BLOCK : objectElements[element] ? KEST.STYLE_OBJECT : KEST.STYLE_INLINE; + this.type = this.type = (visit835_113_1(visit836_113_2(element === '#text') || blockElements[element])) ? KEST.STYLE_BLOCK : objectElements[element] ? KEST.STYLE_OBJECT : KEST.STYLE_INLINE; _$jscoverage['/editor/styles.js'].lineData[118]++; this._ = { 'definition': styleDefinition}; @@ -2202,7 +2202,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[133]++; var ranges = selection.getRanges(); _$jscoverage['/editor/styles.js'].lineData[134]++; - for (var i = 0; visit826_134_1(i < ranges.length); i++) { + for (var i = 0; visit837_134_1(i < ranges.length); i++) { _$jscoverage['/editor/styles.js'].lineData[136]++; func.call(self, ranges[i]); } @@ -2227,19 +2227,19 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[153]++; var self = this; _$jscoverage['/editor/styles.js'].lineData[154]++; - return (self.applyToRange = visit827_155_1(this.type === KEST.STYLE_INLINE) ? applyInlineStyle : visit828_157_1(self.type === KEST.STYLE_BLOCK) ? applyBlockStyle : visit829_159_1(self.type === KEST.STYLE_OBJECT) ? NULL : NULL).call(self, range); + return (self.applyToRange = visit838_155_1(this.type === KEST.STYLE_INLINE) ? applyInlineStyle : visit839_157_1(self.type === KEST.STYLE_BLOCK) ? applyBlockStyle : visit840_159_1(self.type === KEST.STYLE_OBJECT) ? NULL : NULL).call(self, range); }, removeFromRange: function(range) { _$jscoverage['/editor/styles.js'].functionData[9]++; _$jscoverage['/editor/styles.js'].lineData[167]++; var self = this; _$jscoverage['/editor/styles.js'].lineData[168]++; - return (self.removeFromRange = visit830_169_1(self.type === KEST.STYLE_INLINE) ? removeInlineStyle : NULL).call(self, range); + return (self.removeFromRange = visit841_169_1(self.type === KEST.STYLE_INLINE) ? removeInlineStyle : NULL).call(self, range); }, checkElementRemovable: function(element, fullMatch) { _$jscoverage['/editor/styles.js'].functionData[10]++; _$jscoverage['/editor/styles.js'].lineData[177]++; - if (visit831_177_1(!element)) { + if (visit842_177_1(!element)) { _$jscoverage['/editor/styles.js'].lineData[178]++; return FALSE; } @@ -2248,42 +2248,42 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[181]++; var def = this._.definition, attribs, styles; _$jscoverage['/editor/styles.js'].lineData[185]++; - if (visit832_185_1(element.nodeName() === this.element)) { + if (visit843_185_1(element.nodeName() === this.element)) { _$jscoverage['/editor/styles.js'].lineData[187]++; - if (visit833_187_1(!fullMatch && !element._4eHasAttributes())) { + if (visit844_187_1(!fullMatch && !element._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[188]++; return TRUE; } _$jscoverage['/editor/styles.js'].lineData[191]++; attribs = getAttributesForComparison(def); _$jscoverage['/editor/styles.js'].lineData[193]++; - if (visit834_193_1(attribs._length)) { + if (visit845_193_1(attribs._length)) { _$jscoverage['/editor/styles.js'].lineData[194]++; for (attName in attribs) { _$jscoverage['/editor/styles.js'].lineData[196]++; - if (visit835_196_1(attName === '_length')) { + if (visit846_196_1(attName === '_length')) { _$jscoverage['/editor/styles.js'].lineData[197]++; continue; } _$jscoverage['/editor/styles.js'].lineData[200]++; - var elementAttr = visit836_200_1(element.attr(attName) || ''); + var elementAttr = visit847_200_1(element.attr(attName) || ''); _$jscoverage['/editor/styles.js'].lineData[201]++; - if (visit837_201_1(visit838_201_2(attName === 'style') ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : visit839_204_1(attribs[attName] === elementAttr))) { + if (visit848_201_1(visit849_201_2(attName === 'style') ? compareCssText(attribs[attName], normalizeCssText(elementAttr, FALSE)) : visit850_204_1(attribs[attName] === elementAttr))) { _$jscoverage['/editor/styles.js'].lineData[205]++; - if (visit840_205_1(!fullMatch)) { + if (visit851_205_1(!fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[206]++; return TRUE; } } else { _$jscoverage['/editor/styles.js'].lineData[209]++; - if (visit841_209_1(fullMatch)) { + if (visit852_209_1(fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[210]++; return FALSE; } } } _$jscoverage['/editor/styles.js'].lineData[214]++; - if (visit842_214_1(fullMatch)) { + if (visit853_214_1(fullMatch)) { _$jscoverage['/editor/styles.js'].lineData[215]++; return TRUE; } @@ -2293,28 +2293,28 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[224]++; - var overrides = getOverrides(this), i, override = visit843_226_1(overrides[element.nodeName()] || overrides['*']); + var overrides = getOverrides(this), i, override = visit854_226_1(overrides[element.nodeName()] || overrides['*']); _$jscoverage['/editor/styles.js'].lineData[228]++; - if (visit844_228_1(override)) { + if (visit855_228_1(override)) { _$jscoverage['/editor/styles.js'].lineData[230]++; - if (visit845_230_1(!(attribs = override.attributes) && !(styles = override.styles))) { + if (visit856_230_1(!(attribs = override.attributes) && !(styles = override.styles))) { _$jscoverage['/editor/styles.js'].lineData[231]++; return TRUE; } _$jscoverage['/editor/styles.js'].lineData[233]++; - if (visit846_233_1(attribs)) { + if (visit857_233_1(attribs)) { _$jscoverage['/editor/styles.js'].lineData[234]++; - for (i = 0; visit847_234_1(i < attribs.length); i++) { + for (i = 0; visit858_234_1(i < attribs.length); i++) { _$jscoverage['/editor/styles.js'].lineData[235]++; attName = attribs[i][0]; _$jscoverage['/editor/styles.js'].lineData[236]++; var actualAttrValue = element.attr(attName); _$jscoverage['/editor/styles.js'].lineData[237]++; - if (visit848_237_1(actualAttrValue)) { + if (visit859_237_1(actualAttrValue)) { _$jscoverage['/editor/styles.js'].lineData[238]++; var attValue = attribs[i][1]; _$jscoverage['/editor/styles.js'].lineData[245]++; - if (visit849_245_1(visit850_245_2(attValue === NULL) || visit851_246_1((visit852_246_2(visit853_246_3(typeof attValue === 'string') && visit854_246_4(actualAttrValue === attValue))) || visit855_247_1(attValue.test && attValue.test(actualAttrValue))))) { + if (visit860_245_1(visit861_245_2(attValue === NULL) || visit862_246_1((visit863_246_2(visit864_246_3(typeof attValue === 'string') && visit865_246_4(actualAttrValue === attValue))) || visit866_247_1(attValue.test && attValue.test(actualAttrValue))))) { _$jscoverage['/editor/styles.js'].lineData[248]++; return TRUE; } @@ -2322,19 +2322,19 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[253]++; - if (visit856_253_1(styles)) { + if (visit867_253_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[254]++; - for (i = 0; visit857_254_1(i < styles.length); i++) { + for (i = 0; visit868_254_1(i < styles.length); i++) { _$jscoverage['/editor/styles.js'].lineData[255]++; var styleName = styles[i][0]; _$jscoverage['/editor/styles.js'].lineData[256]++; var actualStyleValue = element.css(styleName); _$jscoverage['/editor/styles.js'].lineData[257]++; - if (visit858_257_1(actualStyleValue)) { + if (visit869_257_1(actualStyleValue)) { _$jscoverage['/editor/styles.js'].lineData[258]++; var styleValue = styles[i][1]; _$jscoverage['/editor/styles.js'].lineData[259]++; - if (visit859_259_1(visit860_259_2(styleValue === NULL) || visit861_259_3((visit862_259_4(visit863_259_5(typeof styleValue === 'string') && visit864_259_6(actualStyleValue === styleValue))) || visit865_260_1(styleValue.test && styleValue.test(actualStyleValue))))) { + if (visit870_259_1(visit871_259_2(styleValue === NULL) || visit872_259_3((visit873_259_4(visit874_259_5(typeof styleValue === 'string') && visit875_259_6(actualStyleValue === styleValue))) || visit876_260_1(styleValue.test && styleValue.test(actualStyleValue))))) { _$jscoverage['/editor/styles.js'].lineData[261]++; return TRUE; } @@ -2351,27 +2351,27 @@ KISSY.add(function(S, require) { switch (this.type) { case KEST.STYLE_BLOCK: _$jscoverage['/editor/styles.js'].lineData[277]++; - return this.checkElementRemovable(visit866_277_1(elementPath.block || elementPath.blockLimit), TRUE); + return this.checkElementRemovable(visit877_277_1(elementPath.block || elementPath.blockLimit), TRUE); case KEST.STYLE_OBJECT: case KEST.STYLE_INLINE: _$jscoverage['/editor/styles.js'].lineData[282]++; var elements = elementPath.elements; _$jscoverage['/editor/styles.js'].lineData[284]++; - for (var i = 0, element; visit867_284_1(i < elements.length); i++) { + for (var i = 0, element; visit878_284_1(i < elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[285]++; element = elements[i]; _$jscoverage['/editor/styles.js'].lineData[287]++; - if (visit868_287_1(visit869_287_2(this.type === KEST.STYLE_INLINE) && (visit870_287_3(Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))))) { + if (visit879_287_1(visit880_287_2(this.type === KEST.STYLE_INLINE) && (visit881_287_3(Dom.equals(element, elementPath.block) || Dom.equals(element, elementPath.blockLimit))))) { _$jscoverage['/editor/styles.js'].lineData[289]++; continue; } _$jscoverage['/editor/styles.js'].lineData[292]++; - if (visit871_292_1(visit872_292_2(this.type === KEST.STYLE_OBJECT) && !(element.nodeName() in objectElements))) { + if (visit882_292_1(visit883_292_2(this.type === KEST.STYLE_OBJECT) && !(element.nodeName() in objectElements))) { _$jscoverage['/editor/styles.js'].lineData[293]++; continue; } _$jscoverage['/editor/styles.js'].lineData[296]++; - if (visit873_296_1(this.checkElementRemovable(element, TRUE))) { + if (visit884_296_1(this.checkElementRemovable(element, TRUE))) { _$jscoverage['/editor/styles.js'].lineData[297]++; return TRUE; } @@ -2386,16 +2386,16 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[308]++; var stylesDef = styleDefinition._ST; _$jscoverage['/editor/styles.js'].lineData[309]++; - if (visit874_309_1(stylesDef)) { + if (visit885_309_1(stylesDef)) { _$jscoverage['/editor/styles.js'].lineData[310]++; return stylesDef; } _$jscoverage['/editor/styles.js'].lineData[313]++; stylesDef = styleDefinition.styles; _$jscoverage['/editor/styles.js'].lineData[316]++; - var stylesText = visit875_316_1((visit876_316_2(styleDefinition.attributes && styleDefinition.attributes.style)) || ''), specialStylesText = ''; + var stylesText = visit886_316_1((visit887_316_2(styleDefinition.attributes && styleDefinition.attributes.style)) || ''), specialStylesText = ''; _$jscoverage['/editor/styles.js'].lineData[319]++; - if (visit877_319_1(stylesText.length)) { + if (visit888_319_1(stylesText.length)) { _$jscoverage['/editor/styles.js'].lineData[320]++; stylesText = stylesText.replace(semicolonFixRegex, ';'); } @@ -2404,7 +2404,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[325]++; var styleVal = stylesDef[style], text = (style + ':' + styleVal).replace(semicolonFixRegex, ';'); _$jscoverage['/editor/styles.js'].lineData[329]++; - if (visit878_329_1(styleVal === 'inherit')) { + if (visit889_329_1(styleVal === 'inherit')) { _$jscoverage['/editor/styles.js'].lineData[330]++; specialStylesText += text; } else { @@ -2413,7 +2413,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[340]++; - if (visit879_340_1(stylesText.length)) { + if (visit890_340_1(stylesText.length)) { _$jscoverage['/editor/styles.js'].lineData[341]++; stylesText = normalizeCssText(stylesText); } @@ -2430,14 +2430,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[352]++; var el, elementName = style.element; _$jscoverage['/editor/styles.js'].lineData[357]++; - if (visit880_357_1(elementName === '*')) { + if (visit891_357_1(elementName === '*')) { _$jscoverage['/editor/styles.js'].lineData[358]++; elementName = 'span'; } _$jscoverage['/editor/styles.js'].lineData[362]++; el = new Node(targetDocument.createElement(elementName)); _$jscoverage['/editor/styles.js'].lineData[365]++; - if (visit881_365_1(element)) { + if (visit892_365_1(element)) { _$jscoverage['/editor/styles.js'].lineData[366]++; element._4eCopyAttributes(el); } @@ -2450,7 +2450,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[373]++; var def = style._.definition, attributes = def.attributes, styles = KEStyle.getStyleText(def); _$jscoverage['/editor/styles.js'].lineData[378]++; - if (visit882_378_1(attributes)) { + if (visit893_378_1(attributes)) { _$jscoverage['/editor/styles.js'].lineData[379]++; for (var att in attributes) { _$jscoverage['/editor/styles.js'].lineData[380]++; @@ -2458,7 +2458,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[386]++; - if (visit883_386_1(styles)) { + if (visit894_386_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[387]++; el[0].style.cssText = styles; } @@ -2495,12 +2495,12 @@ KISSY.add(function(S, require) { str = str.replace(/(^]+_ke_bookmark.*?\/span>)|(]+_ke_bookmark.*?\/span>$)/gi, function(str, m1, m2) { _$jscoverage['/editor/styles.js'].functionData[17]++; _$jscoverage['/editor/styles.js'].lineData[420]++; - if (visit884_420_1(m1)) { + if (visit895_420_1(m1)) { _$jscoverage['/editor/styles.js'].lineData[421]++; headBookmark = m1; } _$jscoverage['/editor/styles.js'].lineData[423]++; - if (visit885_423_1(m2)) { + if (visit896_423_1(m2)) { _$jscoverage['/editor/styles.js'].lineData[424]++; tailBookmark = m2; } @@ -2524,7 +2524,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[449]++; preHTML = preHTML.replace(/]*>/gi, '\n'); _$jscoverage['/editor/styles.js'].lineData[452]++; - if (visit886_452_1(UA.ie)) { + if (visit897_452_1(UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[453]++; var temp = block[0].ownerDocument.createElement('div'); _$jscoverage['/editor/styles.js'].lineData[454]++; @@ -2566,14 +2566,14 @@ KISSY.add(function(S, require) { function replaceBlock(block, newBlock) { _$jscoverage['/editor/styles.js'].functionData[22]++; _$jscoverage['/editor/styles.js'].lineData[491]++; - var newBlockIsPre = visit887_491_1(newBlock.nodeName === ('pre')), blockIsPre = visit888_492_1(block.nodeName === ('pre')), isToPre = visit889_493_1(newBlockIsPre && !blockIsPre), isFromPre = visit890_494_1(!newBlockIsPre && blockIsPre); + var newBlockIsPre = visit898_491_1(newBlock.nodeName === ('pre')), blockIsPre = visit899_492_1(block.nodeName === ('pre')), isToPre = visit900_493_1(newBlockIsPre && !blockIsPre), isFromPre = visit901_494_1(!newBlockIsPre && blockIsPre); _$jscoverage['/editor/styles.js'].lineData[496]++; - if (visit891_496_1(isToPre)) { + if (visit902_496_1(isToPre)) { _$jscoverage['/editor/styles.js'].lineData[497]++; newBlock = toPre(block, newBlock); } else { _$jscoverage['/editor/styles.js'].lineData[499]++; - if (visit892_499_1(isFromPre)) { + if (visit903_499_1(isFromPre)) { _$jscoverage['/editor/styles.js'].lineData[501]++; newBlock = fromPres(splitIntoPres(block), newBlock); } else { @@ -2584,7 +2584,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[507]++; block[0].parentNode.replaceChild(newBlock[0], block[0]); _$jscoverage['/editor/styles.js'].lineData[508]++; - if (visit893_508_1(newBlockIsPre)) { + if (visit904_508_1(newBlockIsPre)) { _$jscoverage['/editor/styles.js'].lineData[510]++; mergePre(newBlock); } @@ -2595,14 +2595,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[516]++; var previousBlock; _$jscoverage['/editor/styles.js'].lineData[517]++; - if (visit894_517_1(!(visit895_517_2((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && visit896_518_1(previousBlock.nodeName() === 'pre'))))) { + if (visit905_517_1(!(visit906_517_2((previousBlock = preBlock._4ePreviousSourceNode(TRUE, Dom.NodeType.ELEMENT_NODE)) && visit907_518_1(previousBlock.nodeName() === 'pre'))))) { _$jscoverage['/editor/styles.js'].lineData[519]++; return; } _$jscoverage['/editor/styles.js'].lineData[529]++; var mergedHTML = replace(previousBlock.html(), /\n$/, '') + '\n\n' + replace(preBlock.html(), /^\n/, ''); _$jscoverage['/editor/styles.js'].lineData[533]++; - if (visit897_533_1(UA.ie)) { + if (visit908_533_1(UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[534]++; preBlock.outerHtml('
' + mergedHTML + '
'); } else { @@ -2618,7 +2618,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[546]++; var docFrag = newBlock[0].ownerDocument.createDocumentFragment(); _$jscoverage['/editor/styles.js'].lineData[547]++; - for (var i = 0; visit898_547_1(i < preHTMLs.length); i++) { + for (var i = 0; visit909_547_1(i < preHTMLs.length); i++) { _$jscoverage['/editor/styles.js'].lineData[548]++; var blockHTML = preHTMLs[i]; _$jscoverage['/editor/styles.js'].lineData[552]++; @@ -2631,12 +2631,12 @@ KISSY.add(function(S, require) { blockHTML = replace(blockHTML, /^[ \t]+|[ \t]+$/g, function(match, offset) { _$jscoverage['/editor/styles.js'].functionData[25]++; _$jscoverage['/editor/styles.js'].lineData[558]++; - if (visit899_558_1(match.length === 1)) { + if (visit910_558_1(match.length === 1)) { _$jscoverage['/editor/styles.js'].lineData[559]++; return ' '; } else { _$jscoverage['/editor/styles.js'].lineData[561]++; - if (visit900_561_1(!offset)) { + if (visit911_561_1(!offset)) { _$jscoverage['/editor/styles.js'].lineData[562]++; return new Array(match.length).join(' ') + ' '; } else { @@ -2669,7 +2669,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[585]++; var self = this, document = range.document; _$jscoverage['/editor/styles.js'].lineData[588]++; - if (visit901_588_1(range.collapsed)) { + if (visit912_588_1(range.collapsed)) { _$jscoverage['/editor/styles.js'].lineData[590]++; var collapsedElement = getElement(this, document, undefined); _$jscoverage['/editor/styles.js'].lineData[592]++; @@ -2682,7 +2682,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[597]++; var elementName = this.element, def = this._.definition, isUnknownElement, dtd = DTD[elementName]; _$jscoverage['/editor/styles.js'].lineData[602]++; - if (visit902_602_1(!dtd)) { + if (visit913_602_1(!dtd)) { _$jscoverage['/editor/styles.js'].lineData[603]++; isUnknownElement = TRUE; _$jscoverage['/editor/styles.js'].lineData[604]++; @@ -2697,31 +2697,31 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[616]++; var boundaryNodes = range.createBookmark(), firstNode = boundaryNodes.startNode, lastNode = boundaryNodes.endNode, currentNode = firstNode, styleRange; _$jscoverage['/editor/styles.js'].lineData[622]++; - while (visit903_622_1(currentNode && currentNode[0])) { + while (visit914_622_1(currentNode && currentNode[0])) { _$jscoverage['/editor/styles.js'].lineData[623]++; var applyStyle = FALSE; _$jscoverage['/editor/styles.js'].lineData[625]++; - if (visit904_625_1(Dom.equals(currentNode, lastNode))) { + if (visit915_625_1(Dom.equals(currentNode, lastNode))) { _$jscoverage['/editor/styles.js'].lineData[626]++; currentNode = NULL; _$jscoverage['/editor/styles.js'].lineData[627]++; applyStyle = TRUE; } else { _$jscoverage['/editor/styles.js'].lineData[630]++; - var nodeType = currentNode[0].nodeType, nodeName = visit905_631_1(nodeType === Dom.NodeType.ELEMENT_NODE) ? currentNode.nodeName() : NULL; + var nodeType = currentNode[0].nodeType, nodeName = visit916_631_1(nodeType === Dom.NodeType.ELEMENT_NODE) ? currentNode.nodeName() : NULL; _$jscoverage['/editor/styles.js'].lineData[634]++; - if (visit906_634_1(nodeName && currentNode.attr('_ke_bookmark'))) { + if (visit917_634_1(nodeName && currentNode.attr('_ke_bookmark'))) { _$jscoverage['/editor/styles.js'].lineData[635]++; currentNode = currentNode._4eNextSourceNode(TRUE); _$jscoverage['/editor/styles.js'].lineData[636]++; continue; } _$jscoverage['/editor/styles.js'].lineData[640]++; - if (visit907_640_1(!nodeName || (visit908_641_1(dtd[nodeName] && visit909_642_1(visit910_642_2((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit911_648_1(!def.childRule || def.childRule(currentNode)))))))) { + if (visit918_640_1(!nodeName || (visit919_641_1(dtd[nodeName] && visit920_642_1(visit921_642_2((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit922_648_1(!def.childRule || def.childRule(currentNode)))))))) { _$jscoverage['/editor/styles.js'].lineData[650]++; var currentParent = currentNode.parent(); _$jscoverage['/editor/styles.js'].lineData[661]++; - if (visit912_661_1(currentParent && visit913_662_1(visit914_662_2(elementName === 'a') && visit915_663_1(currentParent.nodeName() === elementName)))) { + if (visit923_661_1(currentParent && visit924_662_1(visit925_662_2(elementName === 'a') && visit926_663_1(currentParent.nodeName() === elementName)))) { _$jscoverage['/editor/styles.js'].lineData[664]++; var tmpANode = getElement(self, document, undefined); _$jscoverage['/editor/styles.js'].lineData[665]++; @@ -2732,20 +2732,20 @@ KISSY.add(function(S, require) { tmpANode._4eMergeSiblings(); } else { _$jscoverage['/editor/styles.js'].lineData[672]++; - if (visit916_672_1(currentParent && visit917_672_2(currentParent[0] && visit918_672_3((visit919_673_1((visit920_672_4(DTD[currentParent.nodeName()] || DTD.span))[elementName] || isUnknownElement)) && (visit921_674_1(!def.parentRule || def.parentRule(currentParent))))))) { + if (visit927_672_1(currentParent && visit928_672_2(currentParent[0] && visit929_672_3((visit930_673_1((visit931_672_4(DTD[currentParent.nodeName()] || DTD.span))[elementName] || isUnknownElement)) && (visit932_674_1(!def.parentRule || def.parentRule(currentParent))))))) { _$jscoverage['/editor/styles.js'].lineData[679]++; - if (visit922_679_1(!styleRange && (visit923_680_1(!nodeName || visit924_680_2(!DTD.$removeEmpty[nodeName] || visit925_680_3((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))))))) { + if (visit933_679_1(!styleRange && (visit934_680_1(!nodeName || visit935_680_2(!DTD.$removeEmpty[nodeName] || visit936_680_3((currentNode._4ePosition(lastNode) | (KEP.POSITION_PRECEDING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED)) === (KEP.POSITION_PRECEDING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED))))))) { _$jscoverage['/editor/styles.js'].lineData[688]++; styleRange = new KERange(document); _$jscoverage['/editor/styles.js'].lineData[689]++; styleRange.setStartBefore(currentNode); } _$jscoverage['/editor/styles.js'].lineData[694]++; - if (visit926_694_1(visit927_694_2(nodeType === Dom.NodeType.TEXT_NODE) || (visit928_695_1(visit929_695_2(nodeType === Dom.NodeType.ELEMENT_NODE) && !currentNode[0].childNodes.length)))) { + if (visit937_694_1(visit938_694_2(nodeType === Dom.NodeType.TEXT_NODE) || (visit939_695_1(visit940_695_2(nodeType === Dom.NodeType.ELEMENT_NODE) && !currentNode[0].childNodes.length)))) { _$jscoverage['/editor/styles.js'].lineData[696]++; var includedNode = currentNode, parentNode = null; _$jscoverage['/editor/styles.js'].lineData[709]++; - while (visit930_710_1((applyStyle = !includedNode.next(notBookmark, 1)) && visit931_711_1((visit932_711_2((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()])) && visit933_713_1(visit934_713_2((parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit935_718_1(!def.childRule || def.childRule(parentNode))))))) { + while (visit941_710_1((applyStyle = !includedNode.next(notBookmark, 1)) && visit942_711_1((visit943_711_2((parentNode = includedNode.parent()) && dtd[parentNode.nodeName()])) && visit944_713_1(visit945_713_2((parentNode._4ePosition(firstNode) | KEP.POSITION_FOLLOWING | KEP.POSITION_IDENTICAL | KEP.POSITION_IS_CONTAINED) === (KEP.POSITION_FOLLOWING + KEP.POSITION_IDENTICAL + KEP.POSITION_IS_CONTAINED)) && (visit946_718_1(!def.childRule || def.childRule(parentNode))))))) { _$jscoverage['/editor/styles.js'].lineData[719]++; includedNode = parentNode; } @@ -2765,7 +2765,7 @@ KISSY.add(function(S, require) { currentNode = currentNode._4eNextSourceNode(); } _$jscoverage['/editor/styles.js'].lineData[739]++; - if (visit936_739_1(applyStyle && visit937_739_2(styleRange && !styleRange.collapsed))) { + if (visit947_739_1(applyStyle && visit948_739_2(styleRange && !styleRange.collapsed))) { _$jscoverage['/editor/styles.js'].lineData[741]++; var styleNode = getElement(self, document, undefined), parent = styleRange.getCommonAncestor(); _$jscoverage['/editor/styles.js'].lineData[747]++; @@ -2777,18 +2777,18 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[756]++; var attName, styleName = null, value; _$jscoverage['/editor/styles.js'].lineData[760]++; - while (visit938_760_1(styleNode && visit939_760_2(parent && visit940_760_3(styleNode[0] && parent[0])))) { + while (visit949_760_1(styleNode && visit950_760_2(parent && visit951_760_3(styleNode[0] && parent[0])))) { _$jscoverage['/editor/styles.js'].lineData[761]++; - if (visit941_761_1(parent.nodeName() === elementName)) { + if (visit952_761_1(parent.nodeName() === elementName)) { _$jscoverage['/editor/styles.js'].lineData[762]++; for (attName in def.attributes) { _$jscoverage['/editor/styles.js'].lineData[764]++; - if (visit942_764_1(removeList.blockedAttrs[attName] || !(value = parent.attr(styleName)))) { + if (visit953_764_1(removeList.blockedAttrs[attName] || !(value = parent.attr(styleName)))) { _$jscoverage['/editor/styles.js'].lineData[765]++; continue; } _$jscoverage['/editor/styles.js'].lineData[768]++; - if (visit943_768_1(styleNode.attr(attName) === value)) { + if (visit954_768_1(styleNode.attr(attName) === value)) { _$jscoverage['/editor/styles.js'].lineData[770]++; styleNode.removeAttr(attName); } else { @@ -2799,12 +2799,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[780]++; for (styleName in def.styles) { _$jscoverage['/editor/styles.js'].lineData[782]++; - if (visit944_782_1(removeList.blockedStyles[styleName] || !(value = parent.style(styleName)))) { + if (visit955_782_1(removeList.blockedStyles[styleName] || !(value = parent.style(styleName)))) { _$jscoverage['/editor/styles.js'].lineData[783]++; continue; } _$jscoverage['/editor/styles.js'].lineData[786]++; - if (visit945_786_1(styleNode.style(styleName) === value)) { + if (visit956_786_1(styleNode.style(styleName) === value)) { _$jscoverage['/editor/styles.js'].lineData[788]++; styleNode.style(styleName, ''); } else { @@ -2813,7 +2813,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[795]++; - if (visit946_795_1(!styleNode._4eHasAttributes())) { + if (visit957_795_1(!styleNode._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[796]++; styleNode = NULL; _$jscoverage['/editor/styles.js'].lineData[797]++; @@ -2824,7 +2824,7 @@ KISSY.add(function(S, require) { parent = parent.parent(); } _$jscoverage['/editor/styles.js'].lineData[804]++; - if (visit947_804_1(styleNode)) { + if (visit958_804_1(styleNode)) { _$jscoverage['/editor/styles.js'].lineData[806]++; styleNode[0].appendChild(styleRange.extractContents()); _$jscoverage['/editor/styles.js'].lineData[810]++; @@ -2834,7 +2834,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[817]++; styleNode._4eMergeSiblings(); _$jscoverage['/editor/styles.js'].lineData[825]++; - if (visit948_825_1(!UA.ie)) { + if (visit959_825_1(!UA.ie)) { _$jscoverage['/editor/styles.js'].lineData[826]++; styleNode[0].normalize(); } @@ -2871,22 +2871,22 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[868]++; var bookmark = range.createBookmark(), startNode = bookmark.startNode; _$jscoverage['/editor/styles.js'].lineData[871]++; - if (visit949_871_1(range.collapsed)) { + if (visit960_871_1(range.collapsed)) { _$jscoverage['/editor/styles.js'].lineData[873]++; var startPath = new ElementPath(startNode.parent()), boundaryElement; _$jscoverage['/editor/styles.js'].lineData[878]++; - for (var i = 0, element; visit950_878_1(visit951_878_2(i < startPath.elements.length) && (element = startPath.elements[i])); i++) { + for (var i = 0, element; visit961_878_1(visit962_878_2(i < startPath.elements.length) && (element = startPath.elements[i])); i++) { _$jscoverage['/editor/styles.js'].lineData[886]++; - if (visit952_886_1(visit953_886_2(element === startPath.block) || visit954_886_3(element === startPath.blockLimit))) { + if (visit963_886_1(visit964_886_2(element === startPath.block) || visit965_886_3(element === startPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[887]++; break; } _$jscoverage['/editor/styles.js'].lineData[889]++; - if (visit955_889_1(this.checkElementRemovable(element))) { + if (visit966_889_1(this.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[890]++; - var endOfElement = range.checkBoundaryOfElement(element, KER.END), startOfElement = visit956_891_1(!endOfElement && range.checkBoundaryOfElement(element, KER.START)); + var endOfElement = range.checkBoundaryOfElement(element, KER.END), startOfElement = visit967_891_1(!endOfElement && range.checkBoundaryOfElement(element, KER.START)); _$jscoverage['/editor/styles.js'].lineData[893]++; - if (visit957_893_1(startOfElement || endOfElement)) { + if (visit968_893_1(startOfElement || endOfElement)) { _$jscoverage['/editor/styles.js'].lineData[894]++; boundaryElement = element; _$jscoverage['/editor/styles.js'].lineData[895]++; @@ -2895,11 +2895,11 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[903]++; element._4eMergeSiblings(); _$jscoverage['/editor/styles.js'].lineData[907]++; - if (visit958_907_1(element.nodeName() !== this.element)) { + if (visit969_907_1(element.nodeName() !== this.element)) { _$jscoverage['/editor/styles.js'].lineData[908]++; var _overrides = getOverrides(this); _$jscoverage['/editor/styles.js'].lineData[909]++; - removeOverrides(element, visit959_910_1(_overrides[element.nodeName()] || _overrides['*'])); + removeOverrides(element, visit970_910_1(_overrides[element.nodeName()] || _overrides['*'])); } else { _$jscoverage['/editor/styles.js'].lineData[912]++; removeFromElement(this, element); @@ -2908,7 +2908,7 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[922]++; - if (visit960_922_1(boundaryElement)) { + if (visit971_922_1(boundaryElement)) { _$jscoverage['/editor/styles.js'].lineData[923]++; var clonedElement = startNode; _$jscoverage['/editor/styles.js'].lineData[924]++; @@ -2916,12 +2916,12 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[925]++; var newElement = startPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[926]++; - if (visit961_926_1(newElement.equals(boundaryElement))) { + if (visit972_926_1(newElement.equals(boundaryElement))) { _$jscoverage['/editor/styles.js'].lineData[927]++; break; } else { _$jscoverage['/editor/styles.js'].lineData[930]++; - if (visit962_930_1(newElement.match)) { + if (visit973_930_1(newElement.match)) { _$jscoverage['/editor/styles.js'].lineData[931]++; continue; } else { @@ -2935,16 +2935,16 @@ KISSY.add(function(S, require) { clonedElement = newElement; } _$jscoverage['/editor/styles.js'].lineData[943]++; - clonedElement[visit963_942_1(boundaryElement.match === 'start') ? 'insertBefore' : 'insertAfter'](boundaryElement); + clonedElement[visit974_942_1(boundaryElement.match === 'start') ? 'insertBefore' : 'insertAfter'](boundaryElement); _$jscoverage['/editor/styles.js'].lineData[946]++; var tmp = boundaryElement.html(); _$jscoverage['/editor/styles.js'].lineData[947]++; - if (visit964_947_1(!tmp || visit965_949_1(tmp === '\u200b'))) { + if (visit975_947_1(!tmp || visit976_949_1(tmp === '\u200b'))) { _$jscoverage['/editor/styles.js'].lineData[950]++; boundaryElement.remove(); } else { _$jscoverage['/editor/styles.js'].lineData[953]++; - if (visit966_953_1(UA.webkit)) { + if (visit977_953_1(UA.webkit)) { _$jscoverage['/editor/styles.js'].lineData[954]++; $(range.document.createTextNode('\u200b')).insertBefore(clonedElement); } @@ -2959,42 +2959,42 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[970]++; var startPath = new ElementPath(startNode.parent()), endPath = new ElementPath(endNode.parent()), breakStart = NULL, element, breakEnd = NULL; _$jscoverage['/editor/styles.js'].lineData[975]++; - for (var i = 0; visit967_975_1(i < startPath.elements.length); i++) { + for (var i = 0; visit978_975_1(i < startPath.elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[976]++; element = startPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[978]++; - if (visit968_978_1(visit969_978_2(element === startPath.block) || visit970_979_1(element === startPath.blockLimit))) { + if (visit979_978_1(visit980_978_2(element === startPath.block) || visit981_979_1(element === startPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[980]++; break; } _$jscoverage['/editor/styles.js'].lineData[983]++; - if (visit971_983_1(me.checkElementRemovable(element))) { + if (visit982_983_1(me.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[984]++; breakStart = element; } } _$jscoverage['/editor/styles.js'].lineData[987]++; - for (i = 0; visit972_987_1(i < endPath.elements.length); i++) { + for (i = 0; visit983_987_1(i < endPath.elements.length); i++) { _$jscoverage['/editor/styles.js'].lineData[988]++; element = endPath.elements[i]; _$jscoverage['/editor/styles.js'].lineData[990]++; - if (visit973_990_1(visit974_990_2(element === endPath.block) || visit975_991_1(element === endPath.blockLimit))) { + if (visit984_990_1(visit985_990_2(element === endPath.block) || visit986_991_1(element === endPath.blockLimit))) { _$jscoverage['/editor/styles.js'].lineData[992]++; break; } _$jscoverage['/editor/styles.js'].lineData[995]++; - if (visit976_995_1(me.checkElementRemovable(element))) { + if (visit987_995_1(me.checkElementRemovable(element))) { _$jscoverage['/editor/styles.js'].lineData[996]++; breakEnd = element; } } _$jscoverage['/editor/styles.js'].lineData[1000]++; - if (visit977_1000_1(breakEnd)) { + if (visit988_1000_1(breakEnd)) { _$jscoverage['/editor/styles.js'].lineData[1001]++; endNode._4eBreakParent(breakEnd); } _$jscoverage['/editor/styles.js'].lineData[1003]++; - if (visit978_1003_1(breakStart)) { + if (visit989_1003_1(breakStart)) { _$jscoverage['/editor/styles.js'].lineData[1004]++; startNode._4eBreakParent(breakStart); } @@ -3004,23 +3004,23 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1011]++; var currentNode = new Node(startNode[0].nextSibling); _$jscoverage['/editor/styles.js'].lineData[1012]++; - while (visit979_1012_1(currentNode[0] !== endNode[0])) { + while (visit990_1012_1(currentNode[0] !== endNode[0])) { _$jscoverage['/editor/styles.js'].lineData[1017]++; var nextNode = currentNode._4eNextSourceNode(); _$jscoverage['/editor/styles.js'].lineData[1018]++; - if (visit980_1018_1(currentNode[0] && visit981_1019_1(visit982_1019_2(currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && this.checkElementRemovable(currentNode)))) { + if (visit991_1018_1(currentNode[0] && visit992_1019_1(visit993_1019_2(currentNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && this.checkElementRemovable(currentNode)))) { _$jscoverage['/editor/styles.js'].lineData[1022]++; - if (visit983_1022_1(currentNode.nodeName() === this.element)) { + if (visit994_1022_1(currentNode.nodeName() === this.element)) { _$jscoverage['/editor/styles.js'].lineData[1023]++; removeFromElement(this, currentNode); } else { _$jscoverage['/editor/styles.js'].lineData[1026]++; var overrides = getOverrides(this); _$jscoverage['/editor/styles.js'].lineData[1027]++; - removeOverrides(currentNode, visit984_1028_1(overrides[currentNode.nodeName()] || overrides['*'])); + removeOverrides(currentNode, visit995_1028_1(overrides[currentNode.nodeName()] || overrides['*'])); } _$jscoverage['/editor/styles.js'].lineData[1038]++; - if (visit985_1038_1(visit986_1038_2(nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && nextNode.contains(startNode))) { + if (visit996_1038_1(visit997_1038_2(nextNode[0].nodeType === Dom.NodeType.ELEMENT_NODE) && nextNode.contains(startNode))) { _$jscoverage['/editor/styles.js'].lineData[1040]++; breakNodes(); _$jscoverage['/editor/styles.js'].lineData[1041]++; @@ -3054,19 +3054,19 @@ KISSY.add(function(S, require) { function compareCssText(source, target) { _$jscoverage['/editor/styles.js'].functionData[32]++; _$jscoverage['/editor/styles.js'].lineData[1063]++; - if (visit987_1063_1(typeof source === 'string')) { + if (visit998_1063_1(typeof source === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1064]++; source = parseStyleText(source); } _$jscoverage['/editor/styles.js'].lineData[1066]++; - if (visit988_1066_1(target === 'string')) { + if (visit999_1066_1(typeof target === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1067]++; target = parseStyleText(target); } _$jscoverage['/editor/styles.js'].lineData[1069]++; for (var name in source) { _$jscoverage['/editor/styles.js'].lineData[1073]++; - if (visit989_1073_1(!(visit990_1073_2(name in target && (visit991_1074_1(visit992_1074_2(target[name] === source[name]) || visit993_1075_1(visit994_1075_2(source[name] === 'inherit') || visit995_1075_3(target[name] === 'inherit')))))))) { + if (visit1000_1073_1(!(visit1001_1073_2(name in target && (visit1002_1074_1(visit1003_1074_2(target[name] === source[name]) || visit1004_1075_1(visit1005_1075_2(source[name] === 'inherit') || visit1006_1075_3(target[name] === 'inherit')))))))) { _$jscoverage['/editor/styles.js'].lineData[1076]++; return FALSE; } @@ -3080,13 +3080,13 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1084]++; var styleText = ''; _$jscoverage['/editor/styles.js'].lineData[1085]++; - if (visit996_1085_1(nativeNormalize !== FALSE)) { + if (visit1007_1085_1(nativeNormalize !== FALSE)) { _$jscoverage['/editor/styles.js'].lineData[1088]++; var temp = document.createElement('span'); _$jscoverage['/editor/styles.js'].lineData[1089]++; temp.style.cssText = unParsedCssText; _$jscoverage['/editor/styles.js'].lineData[1091]++; - styleText = visit997_1091_1(temp.style.cssText || ''); + styleText = visit1008_1091_1(temp.style.cssText || ''); } else { _$jscoverage['/editor/styles.js'].lineData[1094]++; styleText = unParsedCssText; @@ -3100,7 +3100,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1111]++; var attribs = styleDefinition._AC; _$jscoverage['/editor/styles.js'].lineData[1112]++; - if (visit998_1112_1(attribs)) { + if (visit1009_1112_1(attribs)) { _$jscoverage['/editor/styles.js'].lineData[1113]++; return attribs; } @@ -3109,7 +3109,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1117]++; var length = 0, styleAttribs = styleDefinition.attributes; _$jscoverage['/editor/styles.js'].lineData[1121]++; - if (visit999_1121_1(styleAttribs)) { + if (visit1010_1121_1(styleAttribs)) { _$jscoverage['/editor/styles.js'].lineData[1122]++; for (var styleAtt in styleAttribs) { _$jscoverage['/editor/styles.js'].lineData[1124]++; @@ -3121,9 +3121,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1131]++; var styleText = KEStyle.getStyleText(styleDefinition); _$jscoverage['/editor/styles.js'].lineData[1132]++; - if (visit1000_1132_1(styleText)) { + if (visit1011_1132_1(styleText)) { _$jscoverage['/editor/styles.js'].lineData[1133]++; - if (visit1001_1133_1(!attribs.style)) { + if (visit1012_1133_1(!attribs.style)) { _$jscoverage['/editor/styles.js'].lineData[1134]++; length++; } @@ -3141,21 +3141,21 @@ KISSY.add(function(S, require) { function getOverrides(style) { _$jscoverage['/editor/styles.js'].functionData[35]++; _$jscoverage['/editor/styles.js'].lineData[1155]++; - if (visit1002_1155_1(style._.overrides)) { + if (visit1013_1155_1(style._.overrides)) { _$jscoverage['/editor/styles.js'].lineData[1156]++; return style._.overrides; } _$jscoverage['/editor/styles.js'].lineData[1159]++; var overrides = (style._.overrides = {}), definition = style._.definition.overrides; _$jscoverage['/editor/styles.js'].lineData[1162]++; - if (visit1003_1162_1(definition)) { + if (visit1014_1162_1(definition)) { _$jscoverage['/editor/styles.js'].lineData[1165]++; - if (visit1004_1165_1(!S.isArray(definition))) { + if (visit1015_1165_1(!S.isArray(definition))) { _$jscoverage['/editor/styles.js'].lineData[1166]++; definition = [definition]; } _$jscoverage['/editor/styles.js'].lineData[1170]++; - for (var i = 0; visit1005_1170_1(i < definition.length); i++) { + for (var i = 0; visit1016_1170_1(i < definition.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1171]++; var override = definition[i]; _$jscoverage['/editor/styles.js'].lineData[1172]++; @@ -3165,7 +3165,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1174]++; var attrs, styles; _$jscoverage['/editor/styles.js'].lineData[1177]++; - if (visit1006_1177_1(typeof override === 'string')) { + if (visit1017_1177_1(typeof override === 'string')) { _$jscoverage['/editor/styles.js'].lineData[1178]++; elementName = override.toLowerCase(); } else { @@ -3177,11 +3177,11 @@ KISSY.add(function(S, require) { styles = override.styles; } _$jscoverage['/editor/styles.js'].lineData[1192]++; - overrideEl = visit1007_1192_1(overrides[elementName] || (overrides[elementName] = {})); + overrideEl = visit1018_1192_1(overrides[elementName] || (overrides[elementName] = {})); _$jscoverage['/editor/styles.js'].lineData[1195]++; - if (visit1008_1195_1(attrs)) { + if (visit1019_1195_1(attrs)) { _$jscoverage['/editor/styles.js'].lineData[1199]++; - var overrideAttrs = (overrideEl.attributes = visit1009_1200_1(overrideEl.attributes || [])); + var overrideAttrs = (overrideEl.attributes = visit1020_1200_1(overrideEl.attributes || [])); _$jscoverage['/editor/styles.js'].lineData[1201]++; for (var attName in attrs) { _$jscoverage['/editor/styles.js'].lineData[1205]++; @@ -3189,9 +3189,9 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[1210]++; - if (visit1010_1210_1(styles)) { + if (visit1021_1210_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[1214]++; - var overrideStyles = (overrideEl.styles = visit1011_1215_1(overrideEl.styles || [])); + var overrideStyles = (overrideEl.styles = visit1022_1215_1(overrideEl.styles || [])); _$jscoverage['/editor/styles.js'].lineData[1216]++; for (var styleName in styles) { _$jscoverage['/editor/styles.js'].lineData[1220]++; @@ -3207,28 +3207,28 @@ KISSY.add(function(S, require) { function removeFromElement(style, element) { _$jscoverage['/editor/styles.js'].functionData[36]++; _$jscoverage['/editor/styles.js'].lineData[1231]++; - var def = style._.definition, overrides = getOverrides(style), attributes = S.merge(def.attributes, (visit1012_1234_1(overrides[element.nodeName()] || visit1013_1234_2(overrides['*'] || {}))).attributes), styles = S.merge(def.styles, (visit1014_1236_1(overrides[element.nodeName()] || visit1015_1236_2(overrides['*'] || {}))).styles), removeEmpty = visit1016_1238_1(S.isEmptyObject(attributes) && S.isEmptyObject(styles)); + var def = style._.definition, overrides = getOverrides(style), attributes = S.merge(def.attributes, (visit1023_1234_1(overrides[element.nodeName()] || visit1024_1234_2(overrides['*'] || {}))).attributes), styles = S.merge(def.styles, (visit1025_1236_1(overrides[element.nodeName()] || visit1026_1236_2(overrides['*'] || {}))).styles), removeEmpty = visit1027_1238_1(S.isEmptyObject(attributes) && S.isEmptyObject(styles)); _$jscoverage['/editor/styles.js'].lineData[1242]++; for (var attName in attributes) { _$jscoverage['/editor/styles.js'].lineData[1245]++; - if (visit1017_1245_1((visit1018_1245_2(visit1019_1245_3(attName === 'class') || style._.definition.fullMatch)) && visit1020_1245_4(element.attr(attName) !== normalizeProperty(attName, attributes[attName])))) { + if (visit1028_1245_1((visit1029_1245_2(visit1030_1245_3(attName === 'class') || style._.definition.fullMatch)) && visit1031_1245_4(element.attr(attName) !== normalizeProperty(attName, attributes[attName])))) { _$jscoverage['/editor/styles.js'].lineData[1247]++; continue; } _$jscoverage['/editor/styles.js'].lineData[1249]++; - removeEmpty = visit1021_1249_1(removeEmpty || !!element.hasAttr(attName)); + removeEmpty = visit1032_1249_1(removeEmpty || !!element.hasAttr(attName)); _$jscoverage['/editor/styles.js'].lineData[1250]++; element.removeAttr(attName); } _$jscoverage['/editor/styles.js'].lineData[1254]++; for (var styleName in styles) { _$jscoverage['/editor/styles.js'].lineData[1257]++; - if (visit1022_1257_1(style._.definition.fullMatch && visit1023_1258_1(element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)))) { + if (visit1033_1257_1(style._.definition.fullMatch && visit1034_1258_1(element.style(styleName) !== normalizeProperty(styleName, styles[styleName], TRUE)))) { _$jscoverage['/editor/styles.js'].lineData[1259]++; continue; } _$jscoverage['/editor/styles.js'].lineData[1262]++; - removeEmpty = visit1024_1262_1(removeEmpty || !!element.style(styleName)); + removeEmpty = visit1035_1262_1(removeEmpty || !!element.style(styleName)); _$jscoverage['/editor/styles.js'].lineData[1264]++; element.style(styleName, ''); } @@ -3251,18 +3251,18 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1281]++; var overrides = getOverrides(style), innerElements = element.all(style.element); _$jscoverage['/editor/styles.js'].lineData[1287]++; - for (var i = innerElements.length; visit1025_1287_1(--i >= 0); ) { + for (var i = innerElements.length; visit1036_1287_1(--i >= 0); ) { _$jscoverage['/editor/styles.js'].lineData[1288]++; removeFromElement(style, new Node(innerElements[i])); } _$jscoverage['/editor/styles.js'].lineData[1293]++; for (var overrideElement in overrides) { _$jscoverage['/editor/styles.js'].lineData[1295]++; - if (visit1026_1295_1(overrideElement !== style.element)) { + if (visit1037_1295_1(overrideElement !== style.element)) { _$jscoverage['/editor/styles.js'].lineData[1296]++; innerElements = element.all(overrideElement); _$jscoverage['/editor/styles.js'].lineData[1297]++; - for (i = innerElements.length - 1; visit1027_1297_1(i >= 0); i--) { + for (i = innerElements.length - 1; visit1038_1297_1(i >= 0); i--) { _$jscoverage['/editor/styles.js'].lineData[1298]++; var innerElement = new Node(innerElements[i]); _$jscoverage['/editor/styles.js'].lineData[1299]++; @@ -3275,11 +3275,11 @@ KISSY.add(function(S, require) { function removeOverrides(element, overrides) { _$jscoverage['/editor/styles.js'].functionData[39]++; _$jscoverage['/editor/styles.js'].lineData[1313]++; - var i, actualAttrValue, attributes = visit1028_1314_1(overrides && overrides.attributes); + var i, actualAttrValue, attributes = visit1039_1314_1(overrides && overrides.attributes); _$jscoverage['/editor/styles.js'].lineData[1316]++; - if (visit1029_1316_1(attributes)) { + if (visit1040_1316_1(attributes)) { _$jscoverage['/editor/styles.js'].lineData[1317]++; - for (i = 0; visit1030_1317_1(i < attributes.length); i++) { + for (i = 0; visit1041_1317_1(i < attributes.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1318]++; var attName = attributes[i][0]; _$jscoverage['/editor/styles.js'].lineData[1320]++; @@ -3287,7 +3287,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1321]++; var attValue = attributes[i][1]; _$jscoverage['/editor/styles.js'].lineData[1329]++; - if (visit1031_1329_1(visit1032_1329_2(attValue === NULL) || visit1033_1330_1((visit1034_1330_2(attValue.test && attValue.test(actualAttrValue))) || (visit1035_1331_1(visit1036_1331_2(typeof attValue === 'string') && visit1037_1331_3(actualAttrValue === attValue)))))) { + if (visit1042_1329_1(visit1043_1329_2(attValue === NULL) || visit1044_1330_1((visit1045_1330_2(attValue.test && attValue.test(actualAttrValue))) || (visit1046_1331_1(visit1047_1331_2(typeof attValue === 'string') && visit1048_1331_3(actualAttrValue === attValue)))))) { _$jscoverage['/editor/styles.js'].lineData[1332]++; element[0].removeAttribute(attName); } @@ -3295,11 +3295,11 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/styles.js'].lineData[1338]++; - var styles = visit1038_1338_1(overrides && overrides.styles); + var styles = visit1049_1338_1(overrides && overrides.styles); _$jscoverage['/editor/styles.js'].lineData[1340]++; - if (visit1039_1340_1(styles)) { + if (visit1050_1340_1(styles)) { _$jscoverage['/editor/styles.js'].lineData[1341]++; - for (i = 0; visit1040_1341_1(i < styles.length); i++) { + for (i = 0; visit1051_1341_1(i < styles.length); i++) { _$jscoverage['/editor/styles.js'].lineData[1342]++; var styleName = styles[i][0], actualStyleValue; _$jscoverage['/editor/styles.js'].lineData[1344]++; @@ -3307,7 +3307,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/styles.js'].lineData[1345]++; var styleValue = styles[i][1]; _$jscoverage['/editor/styles.js'].lineData[1346]++; - if (visit1041_1346_1(visit1042_1346_2(styleValue === NULL) || visit1043_1348_1((visit1044_1348_2(styleValue.test && styleValue.test(actualAttrValue))) || (visit1045_1349_1(visit1046_1349_2(typeof styleValue === 'string') && visit1047_1349_3(actualStyleValue === styleValue)))))) { + if (visit1052_1346_1(visit1053_1346_2(styleValue === NULL) || visit1054_1348_1((visit1055_1348_2(styleValue.test && styleValue.test(actualAttrValue))) || (visit1056_1349_1(visit1057_1349_2(typeof styleValue === 'string') && visit1058_1349_3(actualStyleValue === styleValue)))))) { _$jscoverage['/editor/styles.js'].lineData[1350]++; element.css(styleName, ''); } @@ -3321,20 +3321,20 @@ KISSY.add(function(S, require) { function removeNoAttribsElement(element) { _$jscoverage['/editor/styles.js'].functionData[40]++; _$jscoverage['/editor/styles.js'].lineData[1363]++; - if (visit1048_1363_1(!element._4eHasAttributes())) { + if (visit1059_1363_1(!element._4eHasAttributes())) { _$jscoverage['/editor/styles.js'].lineData[1366]++; var firstChild = element[0].firstChild, lastChild = element[0].lastChild; _$jscoverage['/editor/styles.js'].lineData[1369]++; element._4eRemove(TRUE); _$jscoverage['/editor/styles.js'].lineData[1371]++; - if (visit1049_1371_1(firstChild)) { + if (visit1060_1371_1(firstChild)) { _$jscoverage['/editor/styles.js'].lineData[1373]++; - if (visit1050_1373_1(firstChild.nodeType === Dom.NodeType.ELEMENT_NODE)) { + if (visit1061_1373_1(firstChild.nodeType === Dom.NodeType.ELEMENT_NODE)) { _$jscoverage['/editor/styles.js'].lineData[1374]++; Dom._4eMergeSiblings(firstChild); } _$jscoverage['/editor/styles.js'].lineData[1377]++; - if (visit1051_1377_1(lastChild && visit1052_1377_2(visit1053_1377_3(firstChild !== lastChild) && visit1054_1377_4(lastChild.nodeType === Dom.NodeType.ELEMENT_NODE)))) { + if (visit1062_1377_1(lastChild && visit1063_1377_2(visit1064_1377_3(firstChild !== lastChild) && visit1065_1377_4(lastChild.nodeType === Dom.NodeType.ELEMENT_NODE)))) { _$jscoverage['/editor/styles.js'].lineData[1378]++; Dom._4eMergeSiblings(lastChild); } diff --git a/src/editor/coverage/src/editor/utils.js b/src/editor/coverage/src/editor/utils.js index c84f425ad2..f7e5cbfb38 100644 --- a/src/editor/coverage/src/editor/utils.js +++ b/src/editor/coverage/src/editor/utils.js @@ -421,107 +421,107 @@ if (! _$jscoverage['/editor/utils.js'].branchData) { _$jscoverage['/editor/utils.js'].branchData['228'][1] = new BranchData(); } _$jscoverage['/editor/utils.js'].branchData['228'][1].init(143, 8, 'r.remove'); -function visit1080_228_1(result) { +function visit1091_228_1(result) { _$jscoverage['/editor/utils.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['225'][1].init(29, 9, 'r.destroy'); -function visit1079_225_1(result) { +function visit1090_225_1(result) { _$jscoverage['/editor/utils.js'].branchData['225'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['222'][1].init(61, 23, 'typeof r === \'function\''); -function visit1078_222_1(result) { +function visit1089_222_1(result) { _$jscoverage['/editor/utils.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['220'][1].init(77, 14, 'i < res.length'); -function visit1077_220_1(result) { +function visit1088_220_1(result) { _$jscoverage['/editor/utils.js'].branchData['220'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['219'][1].init(27, 16, 'this.__res || []'); -function visit1076_219_1(result) { +function visit1087_219_1(result) { _$jscoverage['/editor/utils.js'].branchData['219'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['213'][1].init(30, 16, 'this.__res || []'); -function visit1075_213_1(result) { +function visit1086_213_1(result) { _$jscoverage['/editor/utils.js'].branchData['213'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['201'][2].init(63, 25, 'ret[0] && ret[0].nodeType'); -function visit1074_201_2(result) { +function visit1085_201_2(result) { _$jscoverage['/editor/utils.js'].branchData['201'][2].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['201'][1].init(41, 48, 'ret.__IS_NODELIST || (ret[0] && ret[0].nodeType)'); -function visit1073_201_1(result) { +function visit1084_201_1(result) { _$jscoverage['/editor/utils.js'].branchData['201'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['200'][1].init(37, 14, 'S.isArray(ret)'); -function visit1072_200_1(result) { +function visit1083_200_1(result) { _$jscoverage['/editor/utils.js'].branchData['200'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['197'][2].init(231, 31, 'ret.nodeType || S.isWindow(ret)'); -function visit1071_197_2(result) { +function visit1082_197_2(result) { _$jscoverage['/editor/utils.js'].branchData['197'][2].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['197'][1].init(223, 40, 'ret && (ret.nodeType || S.isWindow(ret))'); -function visit1070_197_1(result) { +function visit1081_197_1(result) { _$jscoverage['/editor/utils.js'].branchData['197'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['180'][1].init(21, 5, 'UA.ie'); -function visit1069_180_1(result) { +function visit1080_180_1(result) { _$jscoverage['/editor/utils.js'].branchData['180'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['167'][1].init(65, 23, 'typeof v === \'function\''); -function visit1068_167_1(result) { +function visit1079_167_1(result) { _$jscoverage['/editor/utils.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['151'][1].init(85, 25, 'S.trim(inp.val()) === tip'); -function visit1067_151_1(result) { +function visit1078_151_1(result) { _$jscoverage['/editor/utils.js'].branchData['151'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['144'][1].init(25, 18, '!S.trim(inp.val())'); -function visit1066_144_1(result) { +function visit1077_144_1(result) { _$jscoverage['/editor/utils.js'].branchData['144'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['140'][1].init(67, 6, '!UA.ie'); -function visit1065_140_1(result) { +function visit1076_140_1(result) { _$jscoverage['/editor/utils.js'].branchData['140'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['126'][1].init(25, 35, 'inp.hasClass(\'ks-editor-input-tip\')'); -function visit1064_126_1(result) { +function visit1075_126_1(result) { _$jscoverage['/editor/utils.js'].branchData['126'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['125'][1].init(21, 17, 'val === undefined'); -function visit1063_125_1(result) { +function visit1074_125_1(result) { _$jscoverage['/editor/utils.js'].branchData['125'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['119'][1].init(231, 6, '!UA.ie'); -function visit1062_119_1(result) { +function visit1073_119_1(result) { _$jscoverage['/editor/utils.js'].branchData['119'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['116'][1].init(80, 20, 'placeholder && UA.ie'); -function visit1061_116_1(result) { +function visit1072_116_1(result) { _$jscoverage['/editor/utils.js'].branchData['116'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['100'][1].init(259, 37, 'verify && !new RegExp(verify).test(v)'); -function visit1060_100_1(result) { +function visit1071_100_1(result) { _$jscoverage['/editor/utils.js'].branchData['100'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['95'][1].init(33, 17, 'i < inputs.length'); -function visit1059_95_1(result) { +function visit1070_95_1(result) { _$jscoverage['/editor/utils.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['64'][1].init(93, 10, 'i < length'); -function visit1058_64_1(result) { +function visit1069_64_1(result) { _$jscoverage['/editor/utils.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['27'][1].init(25, 23, 'url.indexOf(\'?\') !== -1'); -function visit1057_27_1(result) { +function visit1068_27_1(result) { _$jscoverage['/editor/utils.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['26'][1].init(180, 24, 'url.indexOf(\'?t\') === -1'); -function visit1056_26_1(result) { +function visit1067_26_1(result) { _$jscoverage['/editor/utils.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].branchData['23'][1].init(60, 13, '!Config.debug'); -function visit1055_23_1(result) { +function visit1066_23_1(result) { _$jscoverage['/editor/utils.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/editor/utils.js'].lineData[6]++; @@ -538,14 +538,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[22]++; var Config = S.Config; _$jscoverage['/editor/utils.js'].lineData[23]++; - if (visit1055_23_1(!Config.debug)) { + if (visit1066_23_1(!Config.debug)) { _$jscoverage['/editor/utils.js'].lineData[24]++; url = url.replace(/\.(js|css)/i, '-min.$1'); } _$jscoverage['/editor/utils.js'].lineData[26]++; - if (visit1056_26_1(url.indexOf('?t') === -1)) { + if (visit1067_26_1(url.indexOf('?t') === -1)) { _$jscoverage['/editor/utils.js'].lineData[27]++; - if (visit1057_27_1(url.indexOf('?') !== -1)) { + if (visit1068_27_1(url.indexOf('?') !== -1)) { _$jscoverage['/editor/utils.js'].lineData[28]++; url += '&'; } else { @@ -597,7 +597,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[63]++; var returnValue; _$jscoverage['/editor/utils.js'].lineData[64]++; - for (var i = 0, length = arguments.length; visit1058_64_1(i < length); i++) { + for (var i = 0, length = arguments.length; visit1069_64_1(i < length); i++) { _$jscoverage['/editor/utils.js'].lineData[65]++; var lambda = arguments[i]; _$jscoverage['/editor/utils.js'].lineData[66]++; @@ -638,11 +638,11 @@ KISSY.add(function(S, require) { verifyInputs: function(inputs) { _$jscoverage['/editor/utils.js'].functionData[10]++; _$jscoverage['/editor/utils.js'].lineData[95]++; - for (var i = 0; visit1059_95_1(i < inputs.length); i++) { + for (var i = 0; visit1070_95_1(i < inputs.length); i++) { _$jscoverage['/editor/utils.js'].lineData[96]++; var input = new Node(inputs[i]), v = S.trim(Utils.valInput(input)), verify = input.attr('data-verify'), warning = input.attr('data-warning'); _$jscoverage['/editor/utils.js'].lineData[100]++; - if (visit1060_100_1(verify && !new RegExp(verify).test(v))) { + if (visit1071_100_1(verify && !new RegExp(verify).test(v))) { _$jscoverage['/editor/utils.js'].lineData[102]++; alert(warning); _$jscoverage['/editor/utils.js'].lineData[103]++; @@ -664,14 +664,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[115]++; var placeholder = inp.attr('placeholder'); _$jscoverage['/editor/utils.js'].lineData[116]++; - if (visit1061_116_1(placeholder && UA.ie)) { + if (visit1072_116_1(placeholder && UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[117]++; inp.addClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[118]++; inp.val(placeholder); } else { _$jscoverage['/editor/utils.js'].lineData[119]++; - if (visit1062_119_1(!UA.ie)) { + if (visit1073_119_1(!UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[120]++; inp.val(''); } @@ -680,9 +680,9 @@ KISSY.add(function(S, require) { valInput: function(inp, val) { _$jscoverage['/editor/utils.js'].functionData[13]++; _$jscoverage['/editor/utils.js'].lineData[125]++; - if (visit1063_125_1(val === undefined)) { + if (visit1074_125_1(val === undefined)) { _$jscoverage['/editor/utils.js'].lineData[126]++; - if (visit1064_126_1(inp.hasClass('ks-editor-input-tip'))) { + if (visit1075_126_1(inp.hasClass('ks-editor-input-tip'))) { _$jscoverage['/editor/utils.js'].lineData[127]++; return ''; } else { @@ -703,7 +703,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[139]++; inp.attr('placeholder', tip); _$jscoverage['/editor/utils.js'].lineData[140]++; - if (visit1065_140_1(!UA.ie)) { + if (visit1076_140_1(!UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[141]++; return; } @@ -711,7 +711,7 @@ KISSY.add(function(S, require) { inp.on('blur', function() { _$jscoverage['/editor/utils.js'].functionData[15]++; _$jscoverage['/editor/utils.js'].lineData[144]++; - if (visit1066_144_1(!S.trim(inp.val()))) { + if (visit1077_144_1(!S.trim(inp.val()))) { _$jscoverage['/editor/utils.js'].lineData[145]++; inp.addClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[146]++; @@ -724,7 +724,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[150]++; inp.removeClass('ks-editor-input-tip'); _$jscoverage['/editor/utils.js'].lineData[151]++; - if (visit1067_151_1(S.trim(inp.val()) === tip)) { + if (visit1078_151_1(S.trim(inp.val()) === tip)) { _$jscoverage['/editor/utils.js'].lineData[152]++; inp.val(''); } @@ -739,7 +739,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[166]++; var v = params[p]; _$jscoverage['/editor/utils.js'].lineData[167]++; - if (visit1068_167_1(typeof v === 'function')) { + if (visit1079_167_1(typeof v === 'function')) { _$jscoverage['/editor/utils.js'].lineData[168]++; params[p] = v(); } @@ -750,7 +750,7 @@ KISSY.add(function(S, require) { preventFocus: function(el) { _$jscoverage['/editor/utils.js'].functionData[18]++; _$jscoverage['/editor/utils.js'].lineData[180]++; - if (visit1069_180_1(UA.ie)) { + if (visit1080_180_1(UA.ie)) { _$jscoverage['/editor/utils.js'].lineData[182]++; el.unselectable(); } else { @@ -777,14 +777,14 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/utils.js'].lineData[196]++; var ret = editorDom[dm].apply(NULL, args); _$jscoverage['/editor/utils.js'].lineData[197]++; - if (visit1070_197_1(ret && (visit1071_197_2(ret.nodeType || S.isWindow(ret))))) { + if (visit1081_197_1(ret && (visit1082_197_2(ret.nodeType || S.isWindow(ret))))) { _$jscoverage['/editor/utils.js'].lineData[198]++; return new Node(ret); } else { _$jscoverage['/editor/utils.js'].lineData[200]++; - if (visit1072_200_1(S.isArray(ret))) { + if (visit1083_200_1(S.isArray(ret))) { _$jscoverage['/editor/utils.js'].lineData[201]++; - if (visit1073_201_1(ret.__IS_NODELIST || (visit1074_201_2(ret[0] && ret[0].nodeType)))) { + if (visit1084_201_1(ret.__IS_NODELIST || (visit1085_201_2(ret[0] && ret[0].nodeType)))) { _$jscoverage['/editor/utils.js'].lineData[202]++; return new Node(ret); } @@ -799,7 +799,7 @@ KISSY.add(function(S, require) { addRes: function() { _$jscoverage['/editor/utils.js'].functionData[22]++; _$jscoverage['/editor/utils.js'].lineData[213]++; - this.__res = visit1075_213_1(this.__res || []); + this.__res = visit1086_213_1(this.__res || []); _$jscoverage['/editor/utils.js'].lineData[214]++; var res = this.__res; _$jscoverage['/editor/utils.js'].lineData[215]++; @@ -808,23 +808,23 @@ KISSY.add(function(S, require) { destroyRes: function() { _$jscoverage['/editor/utils.js'].functionData[23]++; _$jscoverage['/editor/utils.js'].lineData[219]++; - var res = visit1076_219_1(this.__res || []); + var res = visit1087_219_1(this.__res || []); _$jscoverage['/editor/utils.js'].lineData[220]++; - for (var i = 0; visit1077_220_1(i < res.length); i++) { + for (var i = 0; visit1088_220_1(i < res.length); i++) { _$jscoverage['/editor/utils.js'].lineData[221]++; var r = res[i]; _$jscoverage['/editor/utils.js'].lineData[222]++; - if (visit1078_222_1(typeof r === 'function')) { + if (visit1089_222_1(typeof r === 'function')) { _$jscoverage['/editor/utils.js'].lineData[223]++; r(); } else { _$jscoverage['/editor/utils.js'].lineData[225]++; - if (visit1079_225_1(r.destroy)) { + if (visit1090_225_1(r.destroy)) { _$jscoverage['/editor/utils.js'].lineData[226]++; r.destroy(); } else { _$jscoverage['/editor/utils.js'].lineData[228]++; - if (visit1080_228_1(r.remove)) { + if (visit1091_228_1(r.remove)) { _$jscoverage['/editor/utils.js'].lineData[229]++; r.remove(); } diff --git a/src/editor/coverage/src/editor/walker.js b/src/editor/coverage/src/editor/walker.js index 6c8ea00701..4ff78d0f9c 100644 --- a/src/editor/coverage/src/editor/walker.js +++ b/src/editor/coverage/src/editor/walker.js @@ -471,235 +471,235 @@ if (! _$jscoverage['/editor/walker.js'].branchData) { _$jscoverage['/editor/walker.js'].branchData['364'][4] = new BranchData(); } _$jscoverage['/editor/walker.js'].branchData['364'][4].init(239, 22, 'tail[0].nodeType === 3'); -function visit1138_364_4(result) { +function visit1149_364_4(result) { _$jscoverage['/editor/walker.js'].branchData['364'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][3].init(239, 57, 'tail[0].nodeType === 3 && tailNbspRegex.test(tail.text())'); -function visit1137_364_3(result) { +function visit1148_364_3(result) { _$jscoverage['/editor/walker.js'].branchData['364'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][2].init(212, 24, 'tail.nodeName() === \'br\''); -function visit1136_364_2(result) { +function visit1147_364_2(result) { _$jscoverage['/editor/walker.js'].branchData['364'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['364'][1].init(193, 105, 'tail && (!UA.ie ? tail.nodeName() === \'br\' : tail[0].nodeType === 3 && tailNbspRegex.test(tail.text()))'); -function visit1135_364_1(result) { +function visit1146_364_1(result) { _$jscoverage['/editor/walker.js'].branchData['364'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['362'][1].init(70, 23, 'tail && toSkip(tail[0])'); -function visit1134_362_1(result) { +function visit1145_362_1(result) { _$jscoverage['/editor/walker.js'].branchData['362'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['354'][1].init(42, 46, 'name in dtd.$inline && !(name in dtd.$empty)'); -function visit1133_354_1(result) { +function visit1144_354_1(result) { _$jscoverage['/editor/walker.js'].branchData['354'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['353'][2].init(141, 19, 'node.nodeType === 1'); -function visit1132_353_2(result) { +function visit1143_353_2(result) { _$jscoverage['/editor/walker.js'].branchData['353'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['353'][1].init(38, 89, 'node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1131_353_1(result) { +function visit1142_353_1(result) { _$jscoverage['/editor/walker.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['352'][1].init(35, 128, 'isWhitespaces(node) || node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1130_352_1(result) { +function visit1141_352_1(result) { _$jscoverage['/editor/walker.js'].branchData['352'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['351'][1].init(63, 164, 'isBookmark(node) || isWhitespaces(node) || node.nodeType === 1 && name in dtd.$inline && !(name in dtd.$empty)'); -function visit1129_351_1(result) { +function visit1140_351_1(result) { _$jscoverage['/editor/walker.js'].branchData['351'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['340'][2].init(59, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1128_340_2(result) { +function visit1139_340_2(result) { _$jscoverage['/editor/walker.js'].branchData['340'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['340'][1].init(39, 65, 'node.nodeType === Dom.NodeType.ELEMENT_NODE && !node.offsetHeight'); -function visit1127_340_1(result) { +function visit1138_340_1(result) { _$jscoverage['/editor/walker.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['339'][1].init(373, 105, 'whitespace(node) || node.nodeType === Dom.NodeType.ELEMENT_NODE && !node.offsetHeight'); -function visit1126_339_1(result) { +function visit1137_339_1(result) { _$jscoverage['/editor/walker.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['323'][2].init(36, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit1125_323_2(result) { +function visit1136_323_2(result) { _$jscoverage['/editor/walker.js'].branchData['323'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['323'][1].init(36, 67, 'node.nodeType === Dom.NodeType.TEXT_NODE && !S.trim(node.nodeValue)'); -function visit1124_323_1(result) { +function visit1135_323_1(result) { _$jscoverage['/editor/walker.js'].branchData['323'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['310'][1].init(355, 34, 'isBookmark || isBookmarkNode(node)'); -function visit1123_310_1(result) { +function visit1134_310_1(result) { _$jscoverage['/editor/walker.js'].branchData['310'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['307'][1].init(65, 72, '(parent = node.parentNode) && isBookmarkNode(parent)'); -function visit1122_307_1(result) { +function visit1133_307_1(result) { _$jscoverage['/editor/walker.js'].branchData['307'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['306'][2].init(120, 40, 'node.nodeType === Dom.NodeType.TEXT_NODE'); -function visit1121_306_2(result) { +function visit1132_306_2(result) { _$jscoverage['/editor/walker.js'].branchData['306'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['306'][1].init(120, 138, 'node.nodeType === Dom.NodeType.TEXT_NODE && (parent = node.parentNode) && isBookmarkNode(parent)'); -function visit1120_306_1(result) { +function visit1131_306_1(result) { _$jscoverage['/editor/walker.js'].branchData['306'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['299'][2].init(25, 29, 'Dom.nodeName(node) === \'span\''); -function visit1119_299_2(result) { +function visit1130_299_2(result) { _$jscoverage['/editor/walker.js'].branchData['299'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['299'][1].init(25, 83, 'Dom.nodeName(node) === \'span\' && Dom.attr(node, \'_ke_bookmark\')'); -function visit1118_299_1(result) { +function visit1129_299_1(result) { _$jscoverage['/editor/walker.js'].branchData['299'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['283'][2].init(26, 43, 'node.nodeType === Dom.NodeType.ELEMENT_NODE'); -function visit1117_283_2(result) { +function visit1128_283_2(result) { _$jscoverage['/editor/walker.js'].branchData['283'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['283'][1].init(26, 112, 'node.nodeType === Dom.NodeType.ELEMENT_NODE && Dom._4eIsBlockBoundary(node, customNodeNames)'); -function visit1116_283_1(result) { +function visit1127_283_1(result) { _$jscoverage['/editor/walker.js'].branchData['283'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['241'][1].init(76, 40, 'iterate.call(this, TRUE, TRUE) !== FALSE'); -function visit1115_241_1(result) { +function visit1126_241_1(result) { _$jscoverage['/editor/walker.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['230'][1].init(20, 41, 'iterate.call(this, FALSE, TRUE) !== FALSE'); -function visit1114_230_1(result) { +function visit1125_230_1(result) { _$jscoverage['/editor/walker.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['142'][1].init(226, 38, 'breakOnFalseRetFalse && self.evaluator'); -function visit1113_142_1(result) { +function visit1124_142_1(result) { _$jscoverage['/editor/walker.js'].branchData['142'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['139'][1].init(21, 21, '!breakOnFalseRetFalse'); -function visit1112_139_1(result) { +function visit1123_139_1(result) { _$jscoverage['/editor/walker.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['138'][2].init(69, 33, 'self.evaluator(node[0]) !== FALSE'); -function visit1111_138_2(result) { +function visit1122_138_2(result) { _$jscoverage['/editor/walker.js'].branchData['138'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['138'][1].init(50, 52, '!self.evaluator || self.evaluator(node[0]) !== FALSE'); -function visit1110_138_1(result) { +function visit1121_138_1(result) { _$jscoverage['/editor/walker.js'].branchData['138'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['136'][1].init(4054, 19, 'node && !self._.end'); -function visit1109_136_1(result) { +function visit1120_136_1(result) { _$jscoverage['/editor/walker.js'].branchData['136'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['130'][1].init(30, 43, 'guard(range.startContainer, TRUE) === FALSE'); -function visit1108_130_1(result) { +function visit1119_130_1(result) { _$jscoverage['/editor/walker.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['126'][1].init(25, 24, 'guard(node[0]) === FALSE'); -function visit1107_126_1(result) { +function visit1118_126_1(result) { _$jscoverage['/editor/walker.js'].branchData['126'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['125'][1].init(139, 11, 'node.length'); -function visit1106_125_1(result) { +function visit1117_125_1(result) { _$jscoverage['/editor/walker.js'].branchData['125'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['117'][1].init(30, 27, 'guard(node, TRUE) === FALSE'); -function visit1105_117_1(result) { +function visit1116_117_1(result) { _$jscoverage['/editor/walker.js'].branchData['117'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['113'][1].init(103, 24, 'guard(node[0]) === FALSE'); -function visit1104_113_1(result) { +function visit1115_113_1(result) { _$jscoverage['/editor/walker.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['111'][1].init(64, 19, 'range.endOffset > 0'); -function visit1103_111_1(result) { +function visit1114_111_1(result) { _$jscoverage['/editor/walker.js'].branchData['111'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['109'][1].init(68, 3, 'rtl'); -function visit1102_109_1(result) { +function visit1113_109_1(result) { _$jscoverage['/editor/walker.js'].branchData['109'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['104'][1].init(2849, 12, 'self.current'); -function visit1101_104_1(result) { +function visit1112_104_1(result) { _$jscoverage['/editor/walker.js'].branchData['104'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['94'][1].init(21, 36, 'stopGuard(node, movingOut) === FALSE'); -function visit1100_94_1(result) { +function visit1111_94_1(result) { _$jscoverage['/editor/walker.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['92'][1].init(2530, 9, 'userGuard'); -function visit1099_92_1(result) { +function visit1110_92_1(result) { _$jscoverage['/editor/walker.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['83'][1].init(288, 19, 'node !== blockerRTL'); -function visit1098_83_1(result) { +function visit1109_83_1(result) { _$jscoverage['/editor/walker.js'].branchData['83'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][4].init(102, 29, 'Dom.nodeName(node) === \'body\''); -function visit1097_78_4(result) { +function visit1108_78_4(result) { _$jscoverage['/editor/walker.js'].branchData['78'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][3].init(81, 17, 'limitRTL === node'); -function visit1096_78_3(result) { +function visit1107_78_3(result) { _$jscoverage['/editor/walker.js'].branchData['78'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][2].init(81, 50, 'limitRTL === node || Dom.nodeName(node) === \'body\''); -function visit1095_78_2(result) { +function visit1106_78_2(result) { _$jscoverage['/editor/walker.js'].branchData['78'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['78'][1].init(67, 65, 'movingOut && (limitRTL === node || Dom.nodeName(node) === \'body\')'); -function visit1094_78_1(result) { +function visit1105_78_1(result) { _$jscoverage['/editor/walker.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][3].init(70, 21, 'range.startOffset > 0'); -function visit1093_73_3(result) { +function visit1104_73_3(result) { _$jscoverage['/editor/walker.js'].branchData['73'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][2].init(70, 89, '(range.startOffset > 0) && limitRTL.childNodes[range.startOffset - 1]'); -function visit1092_73_2(result) { +function visit1103_73_2(result) { _$jscoverage['/editor/walker.js'].branchData['73'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['73'][1].init(70, 97, '(range.startOffset > 0) && limitRTL.childNodes[range.startOffset - 1] || null'); -function visit1091_73_1(result) { +function visit1102_73_1(result) { _$jscoverage['/editor/walker.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['70'][1].init(1607, 23, 'rtl && !self._.guardRTL'); -function visit1090_70_1(result) { +function visit1101_70_1(result) { _$jscoverage['/editor/walker.js'].branchData['70'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['64'][1].init(288, 19, 'node !== blockerLTR'); -function visit1089_64_1(result) { +function visit1100_64_1(result) { _$jscoverage['/editor/walker.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][4].init(102, 29, 'Dom.nodeName(node) === \'body\''); -function visit1088_59_4(result) { +function visit1099_59_4(result) { _$jscoverage['/editor/walker.js'].branchData['59'][4].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][3].init(81, 17, 'limitLTR === node'); -function visit1087_59_3(result) { +function visit1098_59_3(result) { _$jscoverage['/editor/walker.js'].branchData['59'][3].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][2].init(81, 50, 'limitLTR === node || Dom.nodeName(node) === \'body\''); -function visit1086_59_2(result) { +function visit1097_59_2(result) { _$jscoverage['/editor/walker.js'].branchData['59'][2].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['59'][1].init(67, 65, 'movingOut && (limitLTR === node || Dom.nodeName(node) === \'body\')'); -function visit1085_59_1(result) { +function visit1096_59_1(result) { _$jscoverage['/editor/walker.js'].branchData['59'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['52'][1].init(883, 24, '!rtl && !self._.guardLTR'); -function visit1084_52_1(result) { +function visit1095_52_1(result) { _$jscoverage['/editor/walker.js'].branchData['52'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['45'][1].init(259, 15, 'range.collapsed'); -function visit1083_45_1(result) { +function visit1094_45_1(result) { _$jscoverage['/editor/walker.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['37'][1].init(439, 13, '!self._.start'); -function visit1082_37_1(result) { +function visit1093_37_1(result) { _$jscoverage['/editor/walker.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].branchData['25'][1].init(89, 10, 'self._.end'); -function visit1081_25_1(result) { +function visit1092_25_1(result) { _$jscoverage['/editor/walker.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/editor/walker.js'].lineData[11]++; @@ -715,20 +715,20 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[23]++; var self = this; _$jscoverage['/editor/walker.js'].lineData[25]++; - if (visit1081_25_1(self._.end)) { + if (visit1092_25_1(self._.end)) { _$jscoverage['/editor/walker.js'].lineData[26]++; return NULL; } _$jscoverage['/editor/walker.js'].lineData[28]++; var node, range = self.range, guard, userGuard = self.guard, type = self.type, getSourceNodeFn = (rtl ? '_4ePreviousSourceNode' : '_4eNextSourceNode'); _$jscoverage['/editor/walker.js'].lineData[37]++; - if (visit1082_37_1(!self._.start)) { + if (visit1093_37_1(!self._.start)) { _$jscoverage['/editor/walker.js'].lineData[38]++; self._.start = 1; _$jscoverage['/editor/walker.js'].lineData[42]++; range.trim(); _$jscoverage['/editor/walker.js'].lineData[45]++; - if (visit1083_45_1(range.collapsed)) { + if (visit1094_45_1(range.collapsed)) { _$jscoverage['/editor/walker.js'].lineData[46]++; self.end(); _$jscoverage['/editor/walker.js'].lineData[47]++; @@ -736,46 +736,46 @@ KISSY.add(function(S, require) { } } _$jscoverage['/editor/walker.js'].lineData[52]++; - if (visit1084_52_1(!rtl && !self._.guardLTR)) { + if (visit1095_52_1(!rtl && !self._.guardLTR)) { _$jscoverage['/editor/walker.js'].lineData[54]++; var limitLTR = range.endContainer[0], blockerLTR = limitLTR.childNodes[range.endOffset]; _$jscoverage['/editor/walker.js'].lineData[57]++; this._.guardLTR = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[2]++; _$jscoverage['/editor/walker.js'].lineData[59]++; - if (visit1085_59_1(movingOut && (visit1086_59_2(visit1087_59_3(limitLTR === node) || visit1088_59_4(Dom.nodeName(node) === 'body'))))) { + if (visit1096_59_1(movingOut && (visit1097_59_2(visit1098_59_3(limitLTR === node) || visit1099_59_4(Dom.nodeName(node) === 'body'))))) { _$jscoverage['/editor/walker.js'].lineData[60]++; return false; } _$jscoverage['/editor/walker.js'].lineData[64]++; - return visit1089_64_1(node !== blockerLTR); + return visit1100_64_1(node !== blockerLTR); }; } _$jscoverage['/editor/walker.js'].lineData[70]++; - if (visit1090_70_1(rtl && !self._.guardRTL)) { + if (visit1101_70_1(rtl && !self._.guardRTL)) { _$jscoverage['/editor/walker.js'].lineData[72]++; - var limitRTL = range.startContainer[0], blockerRTL = visit1091_73_1(visit1092_73_2((visit1093_73_3(range.startOffset > 0)) && limitRTL.childNodes[range.startOffset - 1]) || null); + var limitRTL = range.startContainer[0], blockerRTL = visit1102_73_1(visit1103_73_2((visit1104_73_3(range.startOffset > 0)) && limitRTL.childNodes[range.startOffset - 1]) || null); _$jscoverage['/editor/walker.js'].lineData[76]++; self._.guardRTL = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[3]++; _$jscoverage['/editor/walker.js'].lineData[78]++; - if (visit1094_78_1(movingOut && (visit1095_78_2(visit1096_78_3(limitRTL === node) || visit1097_78_4(Dom.nodeName(node) === 'body'))))) { + if (visit1105_78_1(movingOut && (visit1106_78_2(visit1107_78_3(limitRTL === node) || visit1108_78_4(Dom.nodeName(node) === 'body'))))) { _$jscoverage['/editor/walker.js'].lineData[79]++; return false; } _$jscoverage['/editor/walker.js'].lineData[83]++; - return visit1098_83_1(node !== blockerRTL); + return visit1109_83_1(node !== blockerRTL); }; } _$jscoverage['/editor/walker.js'].lineData[88]++; var stopGuard = rtl ? self._.guardRTL : self._.guardLTR; _$jscoverage['/editor/walker.js'].lineData[92]++; - if (visit1099_92_1(userGuard)) { + if (visit1110_92_1(userGuard)) { _$jscoverage['/editor/walker.js'].lineData[93]++; guard = function(node, movingOut) { _$jscoverage['/editor/walker.js'].functionData[4]++; _$jscoverage['/editor/walker.js'].lineData[94]++; - if (visit1100_94_1(stopGuard(node, movingOut) === FALSE)) { + if (visit1111_94_1(stopGuard(node, movingOut) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[95]++; return FALSE; } @@ -787,26 +787,26 @@ KISSY.add(function(S, require) { guard = stopGuard; } _$jscoverage['/editor/walker.js'].lineData[104]++; - if (visit1101_104_1(self.current)) { + if (visit1112_104_1(self.current)) { _$jscoverage['/editor/walker.js'].lineData[105]++; node = this.current[getSourceNodeFn](FALSE, type, guard); } else { _$jscoverage['/editor/walker.js'].lineData[109]++; - if (visit1102_109_1(rtl)) { + if (visit1113_109_1(rtl)) { _$jscoverage['/editor/walker.js'].lineData[110]++; node = range.endContainer; _$jscoverage['/editor/walker.js'].lineData[111]++; - if (visit1103_111_1(range.endOffset > 0)) { + if (visit1114_111_1(range.endOffset > 0)) { _$jscoverage['/editor/walker.js'].lineData[112]++; node = new Node(node[0].childNodes[range.endOffset - 1]); _$jscoverage['/editor/walker.js'].lineData[113]++; - if (visit1104_113_1(guard(node[0]) === FALSE)) { + if (visit1115_113_1(guard(node[0]) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[114]++; node = NULL; } } else { _$jscoverage['/editor/walker.js'].lineData[117]++; - node = (visit1105_117_1(guard(node, TRUE) === FALSE)) ? NULL : node._4ePreviousSourceNode(TRUE, type, guard, undefined); + node = (visit1116_117_1(guard(node, TRUE) === FALSE)) ? NULL : node._4ePreviousSourceNode(TRUE, type, guard, undefined); } } else { _$jscoverage['/editor/walker.js'].lineData[122]++; @@ -814,32 +814,32 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[123]++; node = new Node(node[0].childNodes[range.startOffset]); _$jscoverage['/editor/walker.js'].lineData[125]++; - if (visit1106_125_1(node.length)) { + if (visit1117_125_1(node.length)) { _$jscoverage['/editor/walker.js'].lineData[126]++; - if (visit1107_126_1(guard(node[0]) === FALSE)) { + if (visit1118_126_1(guard(node[0]) === FALSE)) { _$jscoverage['/editor/walker.js'].lineData[127]++; node = NULL; } } else { _$jscoverage['/editor/walker.js'].lineData[130]++; - node = (visit1108_130_1(guard(range.startContainer, TRUE) === FALSE)) ? NULL : range.startContainer._4eNextSourceNode(TRUE, type, guard, undefined); + node = (visit1119_130_1(guard(range.startContainer, TRUE) === FALSE)) ? NULL : range.startContainer._4eNextSourceNode(TRUE, type, guard, undefined); } } } _$jscoverage['/editor/walker.js'].lineData[136]++; - while (visit1109_136_1(node && !self._.end)) { + while (visit1120_136_1(node && !self._.end)) { _$jscoverage['/editor/walker.js'].lineData[137]++; self.current = node; _$jscoverage['/editor/walker.js'].lineData[138]++; - if (visit1110_138_1(!self.evaluator || visit1111_138_2(self.evaluator(node[0]) !== FALSE))) { + if (visit1121_138_1(!self.evaluator || visit1122_138_2(self.evaluator(node[0]) !== FALSE))) { _$jscoverage['/editor/walker.js'].lineData[139]++; - if (visit1112_139_1(!breakOnFalseRetFalse)) { + if (visit1123_139_1(!breakOnFalseRetFalse)) { _$jscoverage['/editor/walker.js'].lineData[140]++; return node; } } else { _$jscoverage['/editor/walker.js'].lineData[142]++; - if (visit1113_142_1(breakOnFalseRetFalse && self.evaluator)) { + if (visit1124_142_1(breakOnFalseRetFalse && self.evaluator)) { _$jscoverage['/editor/walker.js'].lineData[143]++; return FALSE; } @@ -899,12 +899,12 @@ KISSY.add(function(S, require) { checkForward: function() { _$jscoverage['/editor/walker.js'].functionData[10]++; _$jscoverage['/editor/walker.js'].lineData[230]++; - return visit1114_230_1(iterate.call(this, FALSE, TRUE) !== FALSE); + return visit1125_230_1(iterate.call(this, FALSE, TRUE) !== FALSE); }, checkBackward: function() { _$jscoverage['/editor/walker.js'].functionData[11]++; _$jscoverage['/editor/walker.js'].lineData[241]++; - return visit1115_241_1(iterate.call(this, TRUE, TRUE) !== FALSE); + return visit1126_241_1(iterate.call(this, TRUE, TRUE) !== FALSE); }, lastForward: function() { _$jscoverage['/editor/walker.js'].functionData[12]++; @@ -932,7 +932,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[16]++; _$jscoverage['/editor/walker.js'].lineData[283]++; - return !(visit1116_283_1(visit1117_283_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && Dom._4eIsBlockBoundary(node, customNodeNames))); + return !(visit1127_283_1(visit1128_283_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && Dom._4eIsBlockBoundary(node, customNodeNames))); }; }, bookmark: function(contentOnly, isReject) { @@ -941,7 +941,7 @@ KISSY.add(function(S, require) { function isBookmarkNode(node) { _$jscoverage['/editor/walker.js'].functionData[18]++; _$jscoverage['/editor/walker.js'].lineData[299]++; - return visit1118_299_1(visit1119_299_2(Dom.nodeName(node) === 'span') && Dom.attr(node, '_ke_bookmark')); + return visit1129_299_1(visit1130_299_2(Dom.nodeName(node) === 'span') && Dom.attr(node, '_ke_bookmark')); } _$jscoverage['/editor/walker.js'].lineData[303]++; return function(node) { @@ -949,9 +949,9 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[304]++; var isBookmark, parent; _$jscoverage['/editor/walker.js'].lineData[306]++; - isBookmark = (visit1120_306_1(visit1121_306_2(node.nodeType === Dom.NodeType.TEXT_NODE) && visit1122_307_1((parent = node.parentNode) && isBookmarkNode(parent)))); + isBookmark = (visit1131_306_1(visit1132_306_2(node.nodeType === Dom.NodeType.TEXT_NODE) && visit1133_307_1((parent = node.parentNode) && isBookmarkNode(parent)))); _$jscoverage['/editor/walker.js'].lineData[310]++; - isBookmark = contentOnly ? isBookmark : visit1123_310_1(isBookmark || isBookmarkNode(node)); + isBookmark = contentOnly ? isBookmark : visit1134_310_1(isBookmark || isBookmarkNode(node)); _$jscoverage['/editor/walker.js'].lineData[313]++; return !!(isReject ^ isBookmark); }; @@ -962,7 +962,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[21]++; _$jscoverage['/editor/walker.js'].lineData[323]++; - var isWhitespace = visit1124_323_1(visit1125_323_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)); + var isWhitespace = visit1135_323_1(visit1136_323_2(node.nodeType === Dom.NodeType.TEXT_NODE) && !S.trim(node.nodeValue)); _$jscoverage['/editor/walker.js'].lineData[324]++; return !!(isReject ^ isWhitespace); }; @@ -975,7 +975,7 @@ KISSY.add(function(S, require) { return function(node) { _$jscoverage['/editor/walker.js'].functionData[23]++; _$jscoverage['/editor/walker.js'].lineData[339]++; - var isInvisible = visit1126_339_1(whitespace(node) || visit1127_340_1(visit1128_340_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && !node.offsetHeight)); + var isInvisible = visit1137_339_1(whitespace(node) || visit1138_340_1(visit1139_340_2(node.nodeType === Dom.NodeType.ELEMENT_NODE) && !node.offsetHeight)); _$jscoverage['/editor/walker.js'].lineData[341]++; return !!(isReject ^ isInvisible); }; @@ -986,7 +986,7 @@ KISSY.add(function(S, require) { _$jscoverage['/editor/walker.js'].lineData[350]++; var name = Dom.nodeName(node); _$jscoverage['/editor/walker.js'].lineData[351]++; - return visit1129_351_1(isBookmark(node) || visit1130_352_1(isWhitespaces(node) || visit1131_353_1(visit1132_353_2(node.nodeType === 1) && visit1133_354_1(name in dtd.$inline && !(name in dtd.$empty))))); + return visit1140_351_1(isBookmark(node) || visit1141_352_1(isWhitespaces(node) || visit1142_353_1(visit1143_353_2(node.nodeType === 1) && visit1144_354_1(name in dtd.$inline && !(name in dtd.$empty))))); }; _$jscoverage['/editor/walker.js'].lineData[358]++; function getBogus(tail) { @@ -995,9 +995,9 @@ KISSY.add(function(S, require) { do { _$jscoverage['/editor/walker.js'].lineData[361]++; tail = tail._4ePreviousSourceNode(); - } while (visit1134_362_1(tail && toSkip(tail[0]))); + } while (visit1145_362_1(tail && toSkip(tail[0]))); _$jscoverage['/editor/walker.js'].lineData[364]++; - if (visit1135_364_1(tail && (!UA.ie ? visit1136_364_2(tail.nodeName() === 'br') : visit1137_364_3(visit1138_364_4(tail[0].nodeType === 3) && tailNbspRegex.test(tail.text()))))) { + if (visit1146_364_1(tail && (!UA.ie ? visit1147_364_2(tail.nodeName() === 'br') : visit1148_364_3(visit1149_364_4(tail[0].nodeType === 3) && tailNbspRegex.test(tail.text()))))) { _$jscoverage['/editor/walker.js'].lineData[365]++; return tail[0]; } diff --git a/src/editor/coverage/src/editor/z-index-manager.js b/src/editor/coverage/src/editor/z-index-manager.js index c3100070db..adddf6dfa1 100644 --- a/src/editor/coverage/src/editor/z-index-manager.js +++ b/src/editor/coverage/src/editor/z-index-manager.js @@ -247,7 +247,7 @@ if (! _$jscoverage['/editor/z-index-manager.js'].branchData) { _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1] = new BranchData(); } _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1].init(17, 33, 'Editor.Config.baseZIndex || 10000'); -function visit1139_48_1(result) { +function visit1150_48_1(result) { _$jscoverage['/editor/z-index-manager.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/editor/z-index-manager.js'].lineData[6]++; @@ -269,7 +269,7 @@ KISSY.add(function(S, require) { Editor.baseZIndex = function(z) { _$jscoverage['/editor/z-index-manager.js'].functionData[1]++; _$jscoverage['/editor/z-index-manager.js'].lineData[48]++; - return (visit1139_48_1(Editor.Config.baseZIndex || 10000)) + z; + return (visit1150_48_1(Editor.Config.baseZIndex || 10000)) + z; }; _$jscoverage['/editor/z-index-manager.js'].lineData[51]++; return ZIndexManager; diff --git a/src/editor/meta/deps.js b/src/editor/meta/deps.js index f4eb053932..21f9ebf188 100644 --- a/src/editor/meta/deps.js +++ b/src/editor/meta/deps.js @@ -1,4 +1,4 @@ /*Generated By KISSY Module Compiler*/ config({ -'editor': {requires: ['node','html-parser','component/control']} +'editor': {requires: ['node','html-parser','component/control','ua']} }); diff --git a/src/editor/src/editor/enterKey.js b/src/editor/src/editor/enterKey.js index 915744fd8a..80d6a2be91 100644 --- a/src/editor/src/editor/enterKey.js +++ b/src/editor/src/editor/enterKey.js @@ -8,12 +8,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license */ KISSY.add(function (S, require) { + var util = S; var Node = require('node'); + var $ = Node.all; + var UA = require('ua'); var Walker = require('./walker'); var Editor = require('./base'); var ElementPath = require('./elementPath'); - var OLD_IE = S.UA.ieMode < 11; - var headerTagRegex = /^h[1-6]$/, + var OLD_IE = UA.ieMode < 11; + var headerPreTagRegex = /^(?:h[1-6])|(?:pre)$/i, dtd = Editor.XHTML_DTD; function getRange(editor) { @@ -31,15 +34,14 @@ KISSY.add(function (S, require) { // Get the range for the current selection. var range = getRange(editor); var doc = range.document; + var path = new ElementPath(range.startContainer), + isStartOfBlock = range.checkStartOfBlock(), + isEndOfBlock = range.checkEndOfBlock(), + block = path.block; // Exit the list when we're inside an empty list item block. (#5376) - if (range.checkStartOfBlock() && range.checkEndOfBlock()) { - var path = new ElementPath(range.startContainer), - block = path.block; - //只有两层? - if (block && - ( block.nodeName() === 'li' || block.parent().nodeName() === 'li' ) - - ) { + if (isStartOfBlock && isEndOfBlock) { + // 只有两层? + if (block && (block.nodeName() === 'li' || block.parent().nodeName() === 'li')) { if (editor.hasCommand('outdent')) { editor.execCommand('save'); editor.execCommand('outdent'); @@ -49,6 +51,26 @@ KISSY.add(function (S, require) { return false; } } + } else if (block && block.nodeName() === 'pre') { + // Don't split
 if we're in the middle of it, add \r or br
+            if (!isEndOfBlock) {
+                // insert '\r'
+                var lineBreak = UA.ieMode < 9 ? $(doc.createTextNode('\r')) : $(doc.createElement('br'));
+                range.insertNode(lineBreak);
+                if (UA.ieMode < 9) {
+                    // empty character to force wrap line in ie<9
+                    lineBreak = $(doc.createTextNode('\ufeff')).insertAfter(lineBreak);
+                    range.setStartAt(lineBreak, Editor.RangeType.POSITION_AFTER_START);
+                } else {
+                    range.setStartAfter(lineBreak);
+                }
+                range.collapse(true);
+                range.select();
+                if (UA.ieMode < 9) {
+                    lineBreak[0].nodeValue = '';
+                }
+                return;
+            }
         }
 
         // Determine the block element to be used.
@@ -57,7 +79,7 @@ KISSY.add(function (S, require) {
         // Split the range.
         var splitInfo = range.splitBlock(blockTag);
 
-        if (!splitInfo){
+        if (!splitInfo) {
             return true;
         }
 
@@ -65,8 +87,8 @@ KISSY.add(function (S, require) {
         var previousBlock = splitInfo.previousBlock,
             nextBlock = splitInfo.nextBlock;
 
-        var isStartOfBlock = splitInfo.wasStartOfBlock,
-            isEndOfBlock = splitInfo.wasEndOfBlock;
+        isStartOfBlock = splitInfo.wasStartOfBlock;
+        isEndOfBlock = splitInfo.wasEndOfBlock;
 
         var node;
 
@@ -77,13 +99,12 @@ KISSY.add(function (S, require) {
                 nextBlock._4eBreakParent(node);
                 nextBlock._4eMove(nextBlock.next(), true);
             }
-        }
-        else if (previousBlock && ( node = previousBlock.parent() ) && node.nodeName() === 'li') {
+        } else if (previousBlock && (node = previousBlock.parent()) && node.nodeName() === 'li') {
             previousBlock._4eBreakParent(node);
             range.moveToElementEditablePosition(previousBlock.next());
             previousBlock._4eMove(previousBlock.prev());
         }
-        
+
         var newBlock;
 
         // If we have both the previous and next blocks, it means that the
@@ -94,34 +115,31 @@ KISSY.add(function (S, require) {
             // child, we'll need to append a filler (
/NBSP) or the list item // wouldn't be editable. (#1420) if (nextBlock.nodeName() === 'li' && - ( node = nextBlock.first(Walker.invisible(true)) ) && - S.inArray(node.nodeName(), ['ul', 'ol'])){ + (node = nextBlock.first(Walker.invisible(true))) && + util.inArray(node.nodeName(), ['ul', 'ol'])) { (OLD_IE ? new Node(doc.createTextNode('\xa0')) : new Node(doc.createElement('br'))).insertBefore(node); } // Move the selection to the end block. - if (nextBlock){ + if (nextBlock) { range.moveToElementEditablePosition(nextBlock); } - } - else { - - + } else { if (previousBlock) { // Do not enter this block if it's a header tag, or we are in // a Shift+Enter (#77). Create a new block element instead // (later in the code). - if (previousBlock.nodeName() === 'li' || !headerTagRegex.test(previousBlock.nodeName())) { + // end of pre, start p + if (previousBlock.nodeName() === 'li' || !(headerPreTagRegex.test(previousBlock.nodeName()))) { // Otherwise, duplicate the previous block. newBlock = previousBlock.clone(); } - } - else if (nextBlock){ + } else if (nextBlock) { newBlock = nextBlock.clone(); } - if (!newBlock){ + if (!newBlock) { newBlock = new Node('<' + blockTag + '>', null, doc); } @@ -134,7 +152,7 @@ KISSY.add(function (S, require) { var element = elementPath.elements[ i ]; if (element.equals(elementPath.block) || - element.equals(elementPath.blockLimit)){ + element.equals(elementPath.blockLimit)) { break; } //
  • ^
  • @@ -146,7 +164,7 @@ KISSY.add(function (S, require) { } } - if (!OLD_IE){ + if (!OLD_IE) { newBlock._4eAppendBogus(); } @@ -157,7 +175,7 @@ KISSY.add(function (S, require) { // The previousBlock check has been included because it may be // empty if we have fixed a block-less space (like ENTER into an // empty table cell). - if (OLD_IE && isStartOfBlock && ( !isEndOfBlock || !previousBlock[0].childNodes.length )) { + if (OLD_IE && isStartOfBlock && (!isEndOfBlock || !previousBlock[0].childNodes.length)) { // Move the selection to the new block. range.moveToElementEditablePosition(isEndOfBlock ? previousBlock : newBlock); range.select(); @@ -183,8 +201,7 @@ KISSY.add(function (S, require) { onlyScrollIfNeeded: true }); range.deleteContents(); - } - else { + } else { // We may use the above scroll logic for the new block case // too, but it gives some weird result with Opera. newBlock.scrollIntoView(undefined, { @@ -225,4 +242,4 @@ KISSY.add(function (S, require) { }); } }; -}); +}); \ No newline at end of file diff --git a/src/editor/src/editor/htmlDataProcessor.js b/src/editor/src/editor/htmlDataProcessor.js index 1f7896e1fa..ebcdf4f8bd 100644 --- a/src/editor/src/editor/htmlDataProcessor.js +++ b/src/editor/src/editor/htmlDataProcessor.js @@ -8,44 +8,54 @@ For licensing, see LICENSE.html or http://ckeditor.com/license */ KISSY.add(function (S, require) { - var Editor = require('./base'); var HtmlParser = require('html-parser'); - var OLD_IE = S.UA.ieMode < 11; + var UA = require('ua'); + var OLD_IE = UA.ieMode < 11; + var Node = require('node'); + var dtd = HtmlParser.DTD; + var NodeType = Node.NodeType; + var util = S; + + // + function isEmptyElement(el) { + if (!dtd.$removeEmpty[el.nodeName]) { + return false; + } + var childNodes = el.childNodes, + i, child, + l = childNodes.length; + if (l) { + for (i = 0; i < l; i++) { + child = childNodes[i]; + var nodeType = child.nodeType; + if (!(nodeType === NodeType.TEXT_NODE && !child.nodeValue)) { + return false; + } + if (!isEmptyElement(child)) { + return false; + } + } + return true; + } else { + return true; + } + } + return { init: function (editor) { - var Node = S.Node, - UA = S.UA, - htmlFilter = new HtmlParser.Filter(), + var htmlFilter = new HtmlParser.Filter(), dataFilter = new HtmlParser.Filter(); // remove empty inline element function filterInline(element) { - var childNodes = element.childNodes, - i, - child, - allEmpty, - l = childNodes.length; - if (l) { - allEmpty = 1; - for (i = 0; i < l; i++) { - child = childNodes[i]; - if (!(child.nodeType === S.DOM.NodeType.TEXT_NODE && !child.nodeValue)) { - allEmpty = 0; - break; - } - } - return allEmpty ? false : undefined; - } else { - return false; - } + return !isEmptyElement(element); } (function () { - function wrapAsComment(element) { var html = HtmlParser.serialize(element); return new HtmlParser.Comment(protectedSourceMarker + - encodeURIComponent(html).replace(/--/g,'%2D%2D')); + encodeURIComponent(html).replace(/--/g, '%2D%2D')); } // 过滤外边来的 html @@ -71,9 +81,9 @@ KISSY.add(function (S, require) { var defaultHTMLFilterRules = { tagNames: [ // Remove the "ke:" namespace prefix. - [ ( /^ke:/ ), '' ], + [(/^ke:/), ''], // Ignore tags. - [ ( /^\?xml:namespace$/ ), '' ] + [(/^\?xml:namespace$/), ''] ], tags: { $: function (element) { @@ -82,10 +92,10 @@ KISSY.add(function (S, require) { if (attributes.length) { // 先把真正属性去掉,后面会把 _ke_saved 后缀去掉的! // Remove duplicated attributes - #3789. - var attributeNames = [ 'name', 'href', 'src' ], + var attributeNames = ['name', 'href', 'src'], savedAttributeName; for (var i = 0; i < attributeNames.length; i++) { - savedAttributeName = '_keSaved_' + attributeNames[ i ]; + savedAttributeName = '_keSaved_' + attributeNames[i]; if (element.getAttribute(savedAttributeName)) { element.removeAttribute(attributeNames[i]); } @@ -126,7 +136,7 @@ KISSY.add(function (S, require) { attributes: { // 清除空style style: function (v) { - if (!S.trim(v)) { + if (!util.trim(v)) { return false; } return undefined; @@ -136,17 +146,17 @@ KISSY.add(function (S, require) { // 把保存的作为真正的属性,替换掉原来的 // replace(/^_keSaved_/,"") // _keSavedHref -> href - [ ( /^_keSaved_/ ), '' ], - [ ( /^ke_on/ ), 'on' ], - [ ( /^_ke.*/ ), '' ], - [ ( /^ke:.*$/ ), '' ], + [(/^_keSaved_/), ''], + [(/^ke_on/), 'on'], + [(/^_ke.*/), ''], + [(/^ke:.*$/), ''], // kissy 相关 - [ ( /^_ks.*/ ), '' ] + [(/^_ks.*/), ''] ], comment: function (contents) { // If this is a comment for protected source. if (contents.substr(0, protectedSourceMarker.length) === protectedSourceMarker) { - contents = S.trim(S.urlDecode(contents.substr(protectedSourceMarker.length))); + contents = util.trim(util.urlDecode(contents.substr(protectedSourceMarker.length))); return HtmlParser.parse(contents).childNodes[0]; } return undefined; @@ -157,8 +167,7 @@ KISSY.add(function (S, require) { // them back to lower case. // bug: style='background:url(www.G.cn)' => style='background:url(www.g.cn)' // 只对 propertyName 小写 - defaultHTMLFilterRules.attributes.style = function (value // , element - ) { + defaultHTMLFilterRules.attributes.style = function (value) { return value.replace(/(^|;)([^:]+)/g, function (match) { return match.toLowerCase(); }); @@ -185,9 +194,11 @@ KISSY.add(function (S, require) { function lastNoneSpaceChild(block) { var childNodes = block.childNodes, lastIndex = childNodes.length, - last = childNodes[ lastIndex - 1 ]; - while (last && last.nodeType === 3 && !S.trim(last.nodeValue)) { - last = childNodes[ --lastIndex ]; + last = childNodes[lastIndex - 1]; + while (last && + (last.nodeType === 3 && !util.trim(last.nodeValue) || + last.nodeType === 1 && isEmptyElement(last))) { + last = childNodes[--lastIndex]; } return last; } @@ -197,8 +208,7 @@ KISSY.add(function (S, require) { if (lastChild) { if (lastChild.nodeType === 1 && lastChild.nodeName === 'br') { block.removeChild(lastChild); - } - else if (lastChild.nodeType === 3 && tailNbspRegex.test(lastChild.nodeValue)) { + } else if (lastChild.nodeType === 3 && tailNbspRegex.test(lastChild.nodeValue)) { block.removeChild(lastChild); } } @@ -237,13 +247,12 @@ KISSY.add(function (S, require) { } // Find out the list of block-like tags that can contain
    . - var dtd = Editor.XHTML_DTD; - var blockLikeTags = S.merge( + var blockLikeTags = util.merge( dtd.$block, dtd.$listItem, dtd.$tableContent), i; for (i in blockLikeTags) { - if (!( 'br' in dtd[i] )) { + if (!('br' in dtd[i])) { delete blockLikeTags[i]; } } @@ -251,19 +260,18 @@ KISSY.add(function (S, require) { // We just avoid filler in
     right now.
                     // TODO: Support filler for 
    , line break is also occupy line height.
                     delete blockLikeTags.pre;
    -                var defaultDataBlockFilterRules = { tags: {} };
    -                var defaultHTMLBlockFilterRules = { tags: {} };
    +                var defaultDataBlockFilterRules = {tags: {}};
    +                var defaultHTMLBlockFilterRules = {tags: {}};
     
                     for (i in blockLikeTags) {
    -                    defaultDataBlockFilterRules.tags[ i ] = extendBlockForDisplay;
    -                    defaultHTMLBlockFilterRules.tags[ i ] = extendBlockForOutput;
    +                    defaultDataBlockFilterRules.tags[i] = extendBlockForDisplay;
    +                    defaultHTMLBlockFilterRules.tags[i] = extendBlockForOutput;
                     }
     
                     dataFilter.addRules(defaultDataBlockFilterRules);
                     htmlFilter.addRules(defaultHTMLBlockFilterRules);
                 })();
     
    -
                 // html-parser fragment 中的 entities 处理
                 // el.innerHTML=" "
                 // http://yiminghe.javaeye.com/blog/788929
    @@ -275,7 +283,6 @@ KISSY.add(function (S, require) {
                     }
                 });
     
    -
                 var protectElementRegex = /<(a|area|img|input)\b([^>]*)>/gi,
                     protectAttributeRegex = /\b(href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi;
                 // ie 6-7 会将 关于 url 的 content value 替换为 dom value
    @@ -316,7 +323,7 @@ KISSY.add(function (S, require) {
     
                 function unprotectElements(html) {
                     return html.replace(encodedElementsRegex, function (match, encoded) {
    -                    return S.urlDecode(encoded);
    +                    return util.urlDecode(encoded);
                     });
                 }
     
    diff --git a/src/editor/src/editor/styles.js b/src/editor/src/editor/styles.js
    index 0d64a94d17..863abf0415 100644
    --- a/src/editor/src/editor/styles.js
    +++ b/src/editor/src/editor/styles.js
    @@ -1063,7 +1063,7 @@ KISSY.add(function (S, require) {
             if (typeof source === 'string') {
                 source = parseStyleText(source);
             }
    -        if (target === 'string') {
    +        if (typeof target === 'string') {
                 target = parseStyleText(target);
             }
             for (var name in source) {
    diff --git a/src/html-parser/coverage/src/html-parser/writer/basic.js b/src/html-parser/coverage/src/html-parser/writer/basic.js
    index 96d8a44711..c4f238273e 100644
    --- a/src/html-parser/coverage/src/html-parser/writer/basic.js
    +++ b/src/html-parser/coverage/src/html-parser/writer/basic.js
    @@ -325,7 +325,7 @@ KISSY.add(function(S, require) {
       function escapeAttrValue(str) {
         _$jscoverage['/html-parser/writer/basic.js'].functionData[1]++;
         _$jscoverage['/html-parser/writer/basic.js'].lineData[12]++;
    -    return String(str).replace(/'/g, '"e;');
    +    return String(str).replace(/'/g, '"');
       }
       _$jscoverage['/html-parser/writer/basic.js'].lineData[19]++;
       function BasicWriter() {
    diff --git a/src/html-parser/coverage/src/html-parser/writer/minify.js b/src/html-parser/coverage/src/html-parser/writer/minify.js
    index 6f22469409..a1a0f71d73 100644
    --- a/src/html-parser/coverage/src/html-parser/writer/minify.js
    +++ b/src/html-parser/coverage/src/html-parser/writer/minify.js
    @@ -1048,7 +1048,7 @@ KISSY.add(function(S, require) {
       function escapeAttrValue(str) {
         _$jscoverage['/html-parser/writer/minify.js'].functionData[1]++;
         _$jscoverage['/html-parser/writer/minify.js'].lineData[19]++;
    -    return String(str).replace(/"/g, '"e;');
    +    return String(str).replace(/"/g, '"');
       }
       _$jscoverage['/html-parser/writer/minify.js'].lineData[22]++;
       function canDeleteEmptyAttribute(tag, attr) {
    diff --git a/src/html-parser/src/html-parser/writer/basic.js b/src/html-parser/src/html-parser/writer/basic.js
    index 027b61d9f3..0b2f160d5c 100644
    --- a/src/html-parser/src/html-parser/writer/basic.js
    +++ b/src/html-parser/src/html-parser/writer/basic.js
    @@ -9,7 +9,7 @@ KISSY.add(function (S, require) {
         var isBooleanAttribute = Utils.isBooleanAttribute;
     
         function escapeAttrValue(str) {
    -        return String(str).replace(/'/g, '"e;');
    +        return String(str).replace(/'/g, '"');
         }
     
         /**
    diff --git a/src/html-parser/src/html-parser/writer/minify.js b/src/html-parser/src/html-parser/writer/minify.js
    index ddddb56dd1..322cbbe955 100644
    --- a/src/html-parser/src/html-parser/writer/minify.js
    +++ b/src/html-parser/src/html-parser/writer/minify.js
    @@ -16,7 +16,7 @@ KISSY.add(function (S, require) {
                     '?:down|up|over|move|out)|key(?:press|down|up)))$');
     
         function escapeAttrValue(str) {
    -        return String(str).replace(/"/g, '"e;');
    +        return String(str).replace(/"/g, '"');
         }
     
         function canDeleteEmptyAttribute(tag, attr) {
    diff --git a/src/node/coverage/src/node/override.js b/src/node/coverage/src/node/override.js
    index e9c4aa764d..26792b9b64 100644
    --- a/src/node/coverage/src/node/override.js
    +++ b/src/node/coverage/src/node/override.js
    @@ -271,11 +271,11 @@ _$jscoverage['/node/override.js'].branchData['51'][1].init(46, 26, 'typeof other
     function visit39_51_1(result) {
       _$jscoverage['/node/override.js'].branchData['51'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/node/override.js'].branchData['40'][1].init(192, 7, 'newNode');
    +}_$jscoverage['/node/override.js'].branchData['40'][1].init(197, 7, 'newNode');
     function visit38_40_1(result) {
       _$jscoverage['/node/override.js'].branchData['40'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/node/override.js'].branchData['37'][1].init(84, 27, 'typeof newNode === \'string\'');
    +}_$jscoverage['/node/override.js'].branchData['37'][1].init(84, 27, 'typeof newNode !== \'object\'');
     function visit37_37_1(result) {
       _$jscoverage['/node/override.js'].branchData['37'][1].ranCondition(result);
       return result;
    @@ -299,9 +299,9 @@ KISSY.add(function(S, require) {
       _$jscoverage['/node/override.js'].lineData[35]++;
       var newNode = html, self = this;
       _$jscoverage['/node/override.js'].lineData[37]++;
    -  if (visit37_37_1(typeof newNode === 'string')) {
    +  if (visit37_37_1(typeof newNode !== 'object')) {
         _$jscoverage['/node/override.js'].lineData[38]++;
    -    newNode = Dom.create(newNode);
    +    newNode = Dom.create(newNode + '');
       }
       _$jscoverage['/node/override.js'].lineData[40]++;
       if (visit38_40_1(newNode)) {
    diff --git a/src/node/src/node/override.js b/src/node/src/node/override.js
    index 40ffceb1b6..e410c97e3f 100644
    --- a/src/node/src/node/override.js
    +++ b/src/node/src/node/override.js
    @@ -34,8 +34,8 @@ KISSY.add(function (S, require) {
             NLP[insertType] = function (html) {
                 var newNode = html, self = this;
                 // create
    -            if (typeof newNode === 'string') {
    -                newNode = Dom.create(newNode);
    +            if (typeof newNode !== 'object') {
    +                newNode = Dom.create(newNode + '');
                 }
                 if (newNode) {
                     Dom[insertType](newNode, self);
    diff --git a/src/overlay/coverage/src/overlay/extension/overlay-effect.js b/src/overlay/coverage/src/overlay/extension/overlay-effect.js
    index ef46d99650..5e857bcfa6 100644
    --- a/src/overlay/coverage/src/overlay/extension/overlay-effect.js
    +++ b/src/overlay/coverage/src/overlay/extension/overlay-effect.js
    @@ -239,46 +239,53 @@ if (! _$jscoverage['/overlay/extension/overlay-effect.js']) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[22] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[23] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[26] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[43] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[45] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[46] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[47] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[48] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[49] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[50] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[51] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[53] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[54] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[55] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[56] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[58] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[62] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[63] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[64] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[60] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[61] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[65] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[66] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[67] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[68] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[69] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[70] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[71] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[75] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[76] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[77] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[79] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[80] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[81] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[82] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[83] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[87] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[88] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[89] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[91] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[92] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[93] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[95] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[96] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[97] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[103] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[111] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[100] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[101] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[107] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[108] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[109] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[115] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[145] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[146] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[147] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[154] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[156] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[123] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[127] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[157] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[158] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[159] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[166] = 0;
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[168] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[169] = 0;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[174] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[178] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[180] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[181] = 0;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[186] = 0;
     }
     if (! _$jscoverage['/overlay/extension/overlay-effect.js'].functionData) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData = [];
    @@ -298,46 +305,46 @@ if (! _$jscoverage['/overlay/extension/overlay-effect.js'].branchData) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].branchData = {};
       _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['22'] = [];
       _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['22'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['45'] = [];
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['45'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['73'] = [];
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['73'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'] = [];
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][2] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['79'] = [];
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['79'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'] = [];
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][1] = new BranchData();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][2] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['47'] = [];
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['47'][1] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['85'] = [];
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['85'][1] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'] = [];
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][1] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][2] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['91'] = [];
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['91'][1] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'] = [];
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][1] = new BranchData();
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][2] = new BranchData();
     }
    -_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][2].init(60, 26, 'typeof effect === \'string\'');
    -function visit36_146_2(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][2].ranCondition(result);
    +_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][2].init(60, 26, 'typeof effect === \'string\'');
    +function visit36_158_2(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][2].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][1].init(60, 46, 'typeof effect === \'string\' && !effects[effect]');
    -function visit35_146_1(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['146'][1].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][1].init(60, 46, 'typeof effect === \'string\' && !effects[effect]');
    +function visit35_158_1(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['158'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['79'][1].init(270, 6, 'target');
    -function visit34_79_1(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['79'][1].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['91'][1].init(270, 6, 'target');
    +function visit34_91_1(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['91'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][2].init(172, 17, 'effect === \'none\'');
    -function visit33_75_2(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][2].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][2].init(172, 17, 'effect === \'none\'');
    +function visit33_87_2(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][2].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][1].init(172, 28, 'effect === \'none\' && !target');
    -function visit32_75_1(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['75'][1].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][1].init(172, 28, 'effect === \'none\' && !target');
    +function visit32_87_1(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['87'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['73'][1].init(83, 26, 'effectCfg.effect || \'none\'');
    -function visit31_73_1(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['73'][1].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['85'][1].init(83, 26, 'effectCfg.effect || \'none\'');
    +function visit31_85_1(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['85'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['45'][1].init(682, 4, 'show');
    -function visit30_45_1(result) {
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['45'][1].ranCondition(result);
    +}_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['47'][1].init(740, 4, 'show');
    +function visit30_47_1(result) {
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].branchData['47'][1].ranCondition(result);
       return result;
     }_$jscoverage['/overlay/extension/overlay-effect.js'].branchData['22'][1].init(13, 18, 'self.__effectGhost');
     function visit29_22_1(result) {
    @@ -363,7 +370,7 @@ KISSY.add(function(S) {
         return self.__afterCreateEffectGhost(ghost);
       }
       _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[21]++;
    -  function processTarget(self, show, callback) {
    +  function processTarget(self, show) {
         _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[2]++;
         _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[22]++;
         if (visit29_22_1(self.__effectGhost)) {
    @@ -371,92 +378,109 @@ KISSY.add(function(S) {
           self.__effectGhost.stop(1, 1);
         }
         _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[26]++;
    -    var el = self.$el, $ = S.all, effectCfg = self.get('effect'), target = $(effectCfg.target), duration = effectCfg.duration, targetBox = S.mix(target.offset(), {
    +    var el = self.$el, $ = S.all, effectCfg = self.get('effect'), target = $(effectCfg.target), duration = effectCfg.duration, targetBox = {
       width: target.width(), 
    -  height: target.height()}), elBox = S.mix(el.offset(), {
    +  height: target.height()}, targetOffset = target.offset(), elBox = {
       width: el.width(), 
    -  height: el.height()}), from, to, ghost = getGhost(self), easing = effectCfg.easing;
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[43]++;
    -    ghost.insertAfter(el);
    +  height: el.height()}, elOffset = el.offset(), from, to, fromOffset, toOffset, ghost = getGhost(self), easing = effectCfg.easing;
         _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[45]++;
    -    if (visit30_45_1(show)) {
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[46]++;
    +    ghost.insertAfter(el);
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[47]++;
    +    if (visit30_47_1(show)) {
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[48]++;
           from = targetBox;
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[47]++;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[49]++;
    +      fromOffset = targetOffset;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[50]++;
           to = elBox;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[51]++;
    +      toOffset = elOffset;
         } else {
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[49]++;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[53]++;
           from = elBox;
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[50]++;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[54]++;
    +      fromOffset = elOffset;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[55]++;
           to = targetBox;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[56]++;
    +      toOffset = targetOffset;
         }
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[53]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[60]++;
    +    ghost.offset(toOffset);
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[61]++;
    +    S.mix(to, {
    +  left: ghost.css('left'), 
    +  top: ghost.css('top')});
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[65]++;
         el.css('visibility', 'hidden');
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[54]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[66]++;
         ghost.css(from);
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[56]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[67]++;
    +    ghost.offset(fromOffset);
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[68]++;
         self.__effectGhost = ghost;
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[58]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[69]++;
    +    ghost.css('visibility', 'visible');
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[70]++;
         ghost.animate(to, {
    +  Anim: effectCfg.Anim, 
       duration: duration, 
       easing: easing, 
       complete: function() {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[3]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[62]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[75]++;
       self.__effectGhost = null;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[63]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[76]++;
       ghost.remove();
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[64]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[77]++;
       el.css('visibility', '');
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[65]++;
    -  callback();
     }});
       }
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[70]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[82]++;
       function processEffect(self, show, callback) {
         _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[4]++;
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[71]++;
    -    var el = self.$el, effectCfg = self.get('effect'), effect = visit31_73_1(effectCfg.effect || 'none'), target = effectCfg.target;
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[75]++;
    -    if (visit32_75_1(visit33_75_2(effect === 'none') && !target)) {
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[76]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[83]++;
    +    var el = self.$el, effectCfg = self.get('effect'), effect = visit31_85_1(effectCfg.effect || 'none'), target = effectCfg.target;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[87]++;
    +    if (visit32_87_1(visit33_87_2(effect === 'none') && !target)) {
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[88]++;
           callback();
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[77]++;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[89]++;
           return;
         }
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[79]++;
    -    if (visit34_79_1(target)) {
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[80]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[91]++;
    +    if (visit34_91_1(target)) {
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[92]++;
           processTarget(self, show, callback);
    -      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[81]++;
    +      _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[93]++;
           return;
         }
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[83]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[95]++;
         var duration = effectCfg.duration, easing = effectCfg.easing, index = show ? 1 : 0;
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[88]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[100]++;
         el.stop(1, 1);
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[89]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[101]++;
         el.css({
       'visibility': 'visible', 
       'display': show ? 'none' : 'block'});
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[95]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[107]++;
         var m = effect + effects[effect][index];
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[96]++;
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[108]++;
         el[m](duration, function() {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[5]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[97]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[109]++;
       el.css({
       'display': 'block', 
       'visibility': ''});
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[103]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[115]++;
       callback();
     }, easing);
       }
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[111]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[123]++;
       function OverlayEffect() {
         _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[6]++;
       }
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[115]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[127]++;
       OverlayEffect.ATTRS = {
       effect: {
       value: {
    @@ -466,32 +490,32 @@ KISSY.add(function(S) {
       easing: 'easeOut'}, 
       setter: function(v) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[7]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[145]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[157]++;
       var effect = v.effect;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[146]++;
    -  if (visit35_146_1(visit36_146_2(typeof effect === 'string') && !effects[effect])) {
    -    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[147]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[158]++;
    +  if (visit35_158_1(visit36_158_2(typeof effect === 'string') && !effects[effect])) {
    +    _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[159]++;
         v.effect = '';
       }
     }}};
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[154]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[166]++;
       OverlayEffect.prototype = {
       __afterCreateEffectGhost: function(ghost) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[8]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[156]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[168]++;
       return ghost;
     }, 
       _onSetVisible: function(v) {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[9]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[166]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[178]++;
       var self = this;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[168]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[180]++;
       processEffect(self, v, function() {
       _$jscoverage['/overlay/extension/overlay-effect.js'].functionData[10]++;
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[169]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[181]++;
       self.fire(v ? 'show' : 'hide');
     });
     }};
    -  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[174]++;
    +  _$jscoverage['/overlay/extension/overlay-effect.js'].lineData[186]++;
       return OverlayEffect;
     });
    diff --git a/src/overlay/src/overlay/extension/overlay-effect.js b/src/overlay/src/overlay/extension/overlay-effect.js
    index 521f37c938..6d3ed48793 100644
    --- a/src/overlay/src/overlay/extension/overlay-effect.js
    +++ b/src/overlay/src/overlay/extension/overlay-effect.js
    @@ -18,7 +18,7 @@ KISSY.add(function (S) {
             return self.__afterCreateEffectGhost(ghost);
         }
     
    -    function processTarget(self, show, callback) {
    +    function processTarget(self, show) {
             if (self.__effectGhost) {
                 self.__effectGhost.stop(1, 1);
             }
    @@ -28,15 +28,17 @@ KISSY.add(function (S) {
                 effectCfg = self.get('effect'),
                 target = $(effectCfg.target),
                 duration = effectCfg.duration,
    -            targetBox = S.mix(target.offset(), {
    +            targetBox = {
                     width: target.width(),
                     height: target.height()
    -            }),
    -            elBox = S.mix(el.offset(), {
    +            },
    +            targetOffset = target.offset(),
    +            elBox = {
                     width: el.width(),
                     height: el.height()
    -            }),
    -            from, to,
    +            },
    +            elOffset = el.offset(),
    +            from, to, fromOffset, toOffset,
                 ghost = getGhost(self),
                 easing = effectCfg.easing;
     
    @@ -44,25 +46,35 @@ KISSY.add(function (S) {
     
             if (show) {
                 from = targetBox;
    +            fromOffset = targetOffset;
                 to = elBox;
    +            toOffset = elOffset;
             } else {
                 from = elBox;
    +            fromOffset = elOffset;
                 to = targetBox;
    +            toOffset = targetOffset;
             }
    -
    +        // get css left top value
    +        // in case overlay is inside a relative container
    +        ghost.offset(toOffset);
    +        S.mix(to, {
    +            left: ghost.css('left'),
    +            top: ghost.css('top')
    +        });
             el.css('visibility', 'hidden');
             ghost.css(from);
    -
    +        ghost.offset(fromOffset);
             self.__effectGhost = ghost;
    -
    +        ghost.css('visibility', 'visible');
             ghost.animate(to, {
    +            Anim: effectCfg.Anim,
                 duration: duration,
                 easing: easing,
                 complete: function () {
                     self.__effectGhost = null;
                     ghost.remove();
                     el.css('visibility', '');
    -                callback();
                 }
             });
         }
    diff --git a/src/swf/coverage/src/swf.js b/src/swf/coverage/src/swf.js
    index b57ee5ff76..aa5c9e5ab4 100644
    --- a/src/swf/coverage/src/swf.js
    +++ b/src/swf/coverage/src/swf.js
    @@ -503,187 +503,187 @@ if (! _$jscoverage['/swf.js'].branchData) {
       _$jscoverage['/swf.js'].branchData['551'][1] = new BranchData();
     }
     _$jscoverage['/swf.js'].branchData['551'][1].init(120, 4, 'data');
    -function visit57_551_1(result) {
    +function visit56_551_1(result) {
       _$jscoverage['/swf.js'].branchData['551'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['548'][1].init(17, 24, 'typeof data !== \'string\'');
    -function visit56_548_1(result) {
    +function visit55_548_1(result) {
       _$jscoverage['/swf.js'].branchData['548'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['526'][1].init(42, 6, 'OLD_IE');
    -function visit55_526_1(result) {
    +function visit54_526_1(result) {
       _$jscoverage['/swf.js'].branchData['526'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['506'][1].init(189, 2, 'ie');
    -function visit54_506_1(result) {
    +function visit53_506_1(result) {
       _$jscoverage['/swf.js'].branchData['506'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['485'][1].init(163, 15, 'k === FLASHVARS');
    -function visit53_485_1(result) {
    +function visit52_485_1(result) {
       _$jscoverage['/swf.js'].branchData['485'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['481'][1].init(50, 11, 'k in PARAMS');
    -function visit52_481_1(result) {
    +function visit51_481_1(result) {
       _$jscoverage['/swf.js'].branchData['481'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['470'][1].init(873, 20, 'nodeName === \'embed\'');
    -function visit51_470_1(result) {
    +function visit50_470_1(result) {
       _$jscoverage['/swf.js'].branchData['470'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['465'][1].init(277, 36, 'Dom.nodeName(params[i]) === \'object\'');
    -function visit50_465_1(result) {
    +function visit49_465_1(result) {
       _$jscoverage['/swf.js'].branchData['465'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['463'][1].init(164, 31, 'Dom.nodeName(param) === \'embed\'');
    -function visit49_463_1(result) {
    +function visit48_463_1(result) {
       _$jscoverage['/swf.js'].branchData['463'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['461'][2].init(26, 29, 'Dom.attr(param, \'name\') || \'\'');
    -function visit48_461_2(result) {
    +function visit47_461_2(result) {
       _$jscoverage['/swf.js'].branchData['461'][2].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['461'][1].init(26, 56, '(Dom.attr(param, \'name\') || \'\').toLowerCase() === \'movie\'');
    -function visit47_461_1(result) {
    +function visit46_461_1(result) {
       _$jscoverage['/swf.js'].branchData['461'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['460'][1].init(56, 20, 'param.nodeType === 1');
    -function visit46_460_1(result) {
    +function visit45_460_1(result) {
       _$jscoverage['/swf.js'].branchData['460'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['458'][1].init(176, 17, 'i < params.length');
    -function visit45_458_1(result) {
    +function visit44_458_1(result) {
       _$jscoverage['/swf.js'].branchData['458'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['454'][1].init(58, 3, 'url');
    -function visit44_454_1(result) {
    +function visit43_454_1(result) {
       _$jscoverage['/swf.js'].branchData['454'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['452'][1].init(134, 21, 'nodeName === \'object\'');
    -function visit43_452_1(result) {
    +function visit42_452_1(result) {
       _$jscoverage['/swf.js'].branchData['452'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['440'][1].init(17, 28, 'typeof obj[i] === \'function\'');
    -function visit42_440_1(result) {
    +function visit41_440_1(result) {
       _$jscoverage['/swf.js'].branchData['440'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['391'][1].init(371, 20, 'nodeName === \'param\'');
    -function visit41_391_1(result) {
    +function visit40_391_1(result) {
       _$jscoverage['/swf.js'].branchData['391'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['389'][1].init(269, 21, 'nodeName === \'object\'');
    -function visit40_389_1(result) {
    +function visit39_389_1(result) {
       _$jscoverage['/swf.js'].branchData['389'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['387'][1].init(169, 20, 'nodeName === \'embed\'');
    -function visit39_387_1(result) {
    +function visit38_387_1(result) {
       _$jscoverage['/swf.js'].branchData['387'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['386'][1].init(67, 38, 'srcElement && Dom.nodeName(srcElement)');
    -function visit38_386_1(result) {
    +function visit37_386_1(result) {
       _$jscoverage['/swf.js'].branchData['386'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['301'][1].init(25, 21, 'typeof v === \'string\'');
    -function visit37_301_1(result) {
    +function visit36_301_1(result) {
       _$jscoverage['/swf.js'].branchData['301'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['283'][1].init(25, 21, 'typeof v === \'string\'');
    -function visit36_283_1(result) {
    +function visit35_283_1(result) {
       _$jscoverage['/swf.js'].branchData['283'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['202'][1].init(25, 26, 'swfObject.readyState === 4');
    -function visit35_202_1(result) {
    +function visit34_202_1(result) {
       _$jscoverage['/swf.js'].branchData['202'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['198'][1].init(246, 6, 'OLD_IE');
    -function visit34_198_1(result) {
    +function visit33_198_1(result) {
       _$jscoverage['/swf.js'].branchData['198'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['180'][1].init(154, 17, 'args.length !== 0');
    -function visit33_180_1(result) {
    +function visit32_180_1(result) {
       _$jscoverage['/swf.js'].branchData['180'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['174'][1].init(21, 9, 'swf[func]');
    -function visit32_174_1(result) {
    +function visit31_174_1(result) {
       _$jscoverage['/swf.js'].branchData['174'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['172'][1].init(103, 10, 'args || []');
    -function visit31_172_1(result) {
    +function visit30_172_1(result) {
       _$jscoverage['/swf.js'].branchData['172'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['159'][1].init(3528, 19, '!self.get(\'status\')');
    -function visit30_159_1(result) {
    +function visit29_159_1(result) {
       _$jscoverage['/swf.js'].branchData['159'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['151'][1].init(3308, 7, 'hasNoId');
    -function visit29_151_1(result) {
    +function visit28_151_1(result) {
       _$jscoverage['/swf.js'].branchData['151'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['142'][1].init(21, 6, 'OLD_IE');
    -function visit28_142_1(result) {
    +function visit27_142_1(result) {
       _$jscoverage['/swf.js'].branchData['142'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['141'][1].init(3009, 19, 'htmlMode === \'full\'');
    -function visit27_141_1(result) {
    +function visit26_141_1(result) {
       _$jscoverage['/swf.js'].branchData['141'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['133'][1].init(2754, 26, '\'outerHTML\' in placeHolder');
    -function visit26_133_1(result) {
    +function visit25_133_1(result) {
       _$jscoverage['/swf.js'].branchData['133'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['127'][1].init(2572, 8, 'elBefore');
    -function visit25_127_1(result) {
    +function visit24_127_1(result) {
       _$jscoverage['/swf.js'].branchData['127'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['118'][1].init(2229, 19, 'htmlMode === \'full\'');
    -function visit24_118_1(result) {
    +function visit23_118_1(result) {
       _$jscoverage['/swf.js'].branchData['118'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['108'][1].init(552, 22, 'params.flashVars || {}');
    -function visit23_108_1(result) {
    +function visit22_108_1(result) {
       _$jscoverage['/swf.js'].branchData['108'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['104'][2].init(76, 32, 'parseInt(attrs.height, 10) < 137');
    -function visit22_104_2(result) {
    +function visit21_104_2(result) {
       _$jscoverage['/swf.js'].branchData['104'][2].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['104'][1].init(48, 60, '!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137');
    -function visit21_104_1(result) {
    +function visit20_104_1(result) {
       _$jscoverage['/swf.js'].branchData['104'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['103'][1].init(318, 110, '!(\'height\' in attrs) || (!/%$/.test(attrs.height) && parseInt(attrs.height, 10) < 137)');
    -function visit20_103_1(result) {
    +function visit19_103_1(result) {
       _$jscoverage['/swf.js'].branchData['103'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['99'][2].init(74, 31, 'parseInt(attrs.width, 10) < 310');
    -function visit19_99_2(result) {
    +function visit18_99_2(result) {
       _$jscoverage['/swf.js'].branchData['99'][2].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['99'][1].init(47, 58, '!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310');
    -function visit18_99_1(result) {
    +function visit17_99_1(result) {
       _$jscoverage['/swf.js'].branchData['99'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['98'][1].init(115, 107, '!(\'width\' in attrs) || (!/%$/.test(attrs.width) && parseInt(attrs.width, 10) < 310)');
    -function visit17_98_1(result) {
    +function visit16_98_1(result) {
       _$jscoverage['/swf.js'].branchData['98'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['94'][1].init(130, 14, 'expressInstall');
    -function visit16_94_1(result) {
    +function visit15_94_1(result) {
       _$jscoverage['/swf.js'].branchData['94'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['90'][1].init(1096, 27, 'version && !fpvGTE(version)');
    -function visit15_90_1(result) {
    +function visit14_90_1(result) {
       _$jscoverage['/swf.js'].branchData['90'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['84'][1].init(931, 6, '!fpv()');
    -function visit14_84_1(result) {
    +function visit13_84_1(result) {
       _$jscoverage['/swf.js'].branchData['84'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['79'][1].init(757, 7, 'hasNoId');
    -function visit13_79_1(result) {
    +function visit12_79_1(result) {
       _$jscoverage['/swf.js'].branchData['79'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].branchData['77'][1].init(709, 29, 'attrs.id || S.guid(\'ks-swf-\')');
    -function visit12_77_1(result) {
    +function visit11_77_1(result) {
       _$jscoverage['/swf.js'].branchData['77'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf.js'].lineData[6]++;
    @@ -728,39 +728,39 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[61]++;
       var expressInstall = self.get('expressInstall'), swf, html, id, htmlMode = self.get('htmlMode'), flashVars, params = self.get('params'), attrs = self.get('attrs'), doc = self.get('document'), placeHolder = Dom.create('', undefined, doc), elBefore = self.get('elBefore'), installedSrc = self.get('src'), hasNoId = !('id' in attrs), idRegExp, version = self.get('version');
       _$jscoverage['/swf.js'].lineData[77]++;
    -  id = attrs.id = visit12_77_1(attrs.id || S.guid('ks-swf-'));
    +  id = attrs.id = visit11_77_1(attrs.id || S.guid('ks-swf-'));
       _$jscoverage['/swf.js'].lineData[79]++;
    -  if (visit13_79_1(hasNoId)) {
    +  if (visit12_79_1(hasNoId)) {
         _$jscoverage['/swf.js'].lineData[80]++;
         idRegExp = new RegExp('\\s+id\\s*=\\s*[\'"]?' + S.escapeRegExp(id) + '[\'"]?', 'i');
       }
       _$jscoverage['/swf.js'].lineData[84]++;
    -  if (visit14_84_1(!fpv())) {
    +  if (visit13_84_1(!fpv())) {
         _$jscoverage['/swf.js'].lineData[85]++;
         self.set('status', SWF.Status.NOT_INSTALLED);
         _$jscoverage['/swf.js'].lineData[86]++;
         return;
       }
       _$jscoverage['/swf.js'].lineData[90]++;
    -  if (visit15_90_1(version && !fpvGTE(version))) {
    +  if (visit14_90_1(version && !fpvGTE(version))) {
         _$jscoverage['/swf.js'].lineData[91]++;
         self.set('status', SWF.Status.TOO_LOW);
         _$jscoverage['/swf.js'].lineData[94]++;
    -    if (visit16_94_1(expressInstall)) {
    +    if (visit15_94_1(expressInstall)) {
           _$jscoverage['/swf.js'].lineData[95]++;
           installedSrc = expressInstall;
           _$jscoverage['/swf.js'].lineData[98]++;
    -      if (visit17_98_1(!('width' in attrs) || (visit18_99_1(!/%$/.test(attrs.width) && visit19_99_2(parseInt(attrs.width, 10) < 310))))) {
    +      if (visit16_98_1(!('width' in attrs) || (visit17_99_1(!/%$/.test(attrs.width) && visit18_99_2(parseInt(attrs.width, 10) < 310))))) {
             _$jscoverage['/swf.js'].lineData[100]++;
             attrs.width = '310';
           }
           _$jscoverage['/swf.js'].lineData[103]++;
    -      if (visit20_103_1(!('height' in attrs) || (visit21_104_1(!/%$/.test(attrs.height) && visit22_104_2(parseInt(attrs.height, 10) < 137))))) {
    +      if (visit19_103_1(!('height' in attrs) || (visit20_104_1(!/%$/.test(attrs.height) && visit21_104_2(parseInt(attrs.height, 10) < 137))))) {
             _$jscoverage['/swf.js'].lineData[105]++;
             attrs.height = '137';
           }
           _$jscoverage['/swf.js'].lineData[108]++;
    -      flashVars = params.flashVars = visit23_108_1(params.flashVars || {});
    +      flashVars = params.flashVars = visit22_108_1(params.flashVars || {});
           _$jscoverage['/swf.js'].lineData[110]++;
           S.mix(flashVars, {
       MMredirectURL: location.href, 
    @@ -769,7 +769,7 @@ KISSY.add(function(S, require) {
         }
       }
       _$jscoverage['/swf.js'].lineData[118]++;
    -  if (visit24_118_1(htmlMode === 'full')) {
    +  if (visit23_118_1(htmlMode === 'full')) {
         _$jscoverage['/swf.js'].lineData[119]++;
         html = _stringSWFFull(installedSrc, attrs, params);
       } else {
    @@ -779,7 +779,7 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[125]++;
       self.set('html', idRegExp ? html.replace(idRegExp, '') : html);
       _$jscoverage['/swf.js'].lineData[127]++;
    -  if (visit25_127_1(elBefore)) {
    +  if (visit24_127_1(elBefore)) {
         _$jscoverage['/swf.js'].lineData[128]++;
         Dom.insertBefore(placeHolder, elBefore);
       } else {
    @@ -787,7 +787,7 @@ KISSY.add(function(S, require) {
         Dom.append(placeHolder, self.get('render'));
       }
       _$jscoverage['/swf.js'].lineData[133]++;
    -  if (visit26_133_1('outerHTML' in placeHolder)) {
    +  if (visit25_133_1('outerHTML' in placeHolder)) {
         _$jscoverage['/swf.js'].lineData[134]++;
         placeHolder.outerHTML = html;
       } else {
    @@ -797,9 +797,9 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[139]++;
       swf = Dom.get('#' + id, doc);
       _$jscoverage['/swf.js'].lineData[141]++;
    -  if (visit27_141_1(htmlMode === 'full')) {
    +  if (visit26_141_1(htmlMode === 'full')) {
         _$jscoverage['/swf.js'].lineData[142]++;
    -    if (visit28_142_1(OLD_IE)) {
    +    if (visit27_142_1(OLD_IE)) {
           _$jscoverage['/swf.js'].lineData[143]++;
           self.set('swfObject', swf);
         } else {
    @@ -811,14 +811,14 @@ KISSY.add(function(S, require) {
         self.set('swfObject', swf);
       }
       _$jscoverage['/swf.js'].lineData[151]++;
    -  if (visit29_151_1(hasNoId)) {
    +  if (visit28_151_1(hasNoId)) {
         _$jscoverage['/swf.js'].lineData[152]++;
         Dom.removeAttr(swf, 'id');
       }
       _$jscoverage['/swf.js'].lineData[157]++;
       self.set('el', swf);
       _$jscoverage['/swf.js'].lineData[159]++;
    -  if (visit30_159_1(!self.get('status'))) {
    +  if (visit29_159_1(!self.get('status'))) {
         _$jscoverage['/swf.js'].lineData[160]++;
         self.set('status', SWF.Status.SUCCESS);
       }
    @@ -828,11 +828,11 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[169]++;
       var swf = this.get('el'), ret, params;
       _$jscoverage['/swf.js'].lineData[172]++;
    -  args = visit31_172_1(args || []);
    +  args = visit30_172_1(args || []);
       _$jscoverage['/swf.js'].lineData[173]++;
       try {
         _$jscoverage['/swf.js'].lineData[174]++;
    -    if (visit32_174_1(swf[func])) {
    +    if (visit31_174_1(swf[func])) {
           _$jscoverage['/swf.js'].lineData[175]++;
           ret = swf[func].apply(swf, args);
         }
    @@ -840,7 +840,7 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[179]++;
       params = '';
       _$jscoverage['/swf.js'].lineData[180]++;
    -  if (visit33_180_1(args.length !== 0)) {
    +  if (visit32_180_1(args.length !== 0)) {
         _$jscoverage['/swf.js'].lineData[181]++;
         params = '"' + args.join('", "') + '"';
       }
    @@ -857,14 +857,14 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[194]++;
       var swfObject = self.get('swfObject');
       _$jscoverage['/swf.js'].lineData[198]++;
    -  if (visit34_198_1(OLD_IE)) {
    +  if (visit33_198_1(OLD_IE)) {
         _$jscoverage['/swf.js'].lineData[199]++;
         swfObject.style.display = 'none';
         _$jscoverage['/swf.js'].lineData[201]++;
         (function remove() {
       _$jscoverage['/swf.js'].functionData[4]++;
       _$jscoverage['/swf.js'].lineData[202]++;
    -  if (visit35_202_1(swfObject.readyState === 4)) {
    +  if (visit34_202_1(swfObject.readyState === 4)) {
         _$jscoverage['/swf.js'].lineData[203]++;
         removeObjectInIE(swfObject);
       } else {
    @@ -891,7 +891,7 @@ KISSY.add(function(S, require) {
       setter: function(v) {
       _$jscoverage['/swf.js'].functionData[5]++;
       _$jscoverage['/swf.js'].lineData[283]++;
    -  if (visit36_283_1(typeof v === 'string')) {
    +  if (visit35_283_1(typeof v === 'string')) {
         _$jscoverage['/swf.js'].lineData[284]++;
         v = Dom.get(v, this.get('document'));
       }
    @@ -907,7 +907,7 @@ KISSY.add(function(S, require) {
       setter: function(v) {
       _$jscoverage['/swf.js'].functionData[7]++;
       _$jscoverage['/swf.js'].lineData[301]++;
    -  if (visit37_301_1(typeof v === 'string')) {
    +  if (visit36_301_1(typeof v === 'string')) {
         _$jscoverage['/swf.js'].lineData[302]++;
         v = Dom.get(v, this.get('document'));
       }
    @@ -927,19 +927,19 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[384]++;
       swf = Dom.get(swf);
       _$jscoverage['/swf.js'].lineData[385]++;
    -  var srcElement = getSrcElements(swf)[0], nodeName = visit38_386_1(srcElement && Dom.nodeName(srcElement));
    +  var srcElement = getSrcElements(swf)[0], nodeName = visit37_386_1(srcElement && Dom.nodeName(srcElement));
       _$jscoverage['/swf.js'].lineData[387]++;
    -  if (visit39_387_1(nodeName === 'embed')) {
    +  if (visit38_387_1(nodeName === 'embed')) {
         _$jscoverage['/swf.js'].lineData[388]++;
         return Dom.attr(srcElement, 'src');
       } else {
         _$jscoverage['/swf.js'].lineData[389]++;
    -    if (visit40_389_1(nodeName === 'object')) {
    +    if (visit39_389_1(nodeName === 'object')) {
           _$jscoverage['/swf.js'].lineData[390]++;
           return Dom.attr(srcElement, 'data');
         } else {
           _$jscoverage['/swf.js'].lineData[391]++;
    -      if (visit41_391_1(nodeName === 'param')) {
    +      if (visit40_391_1(nodeName === 'param')) {
             _$jscoverage['/swf.js'].lineData[392]++;
             return Dom.attr(srcElement, 'value');
           }
    @@ -964,7 +964,7 @@ KISSY.add(function(S, require) {
         _$jscoverage['/swf.js'].lineData[439]++;
         for (var i in obj) {
           _$jscoverage['/swf.js'].lineData[440]++;
    -      if (visit42_440_1(typeof obj[i] === 'function')) {
    +      if (visit41_440_1(typeof obj[i] === 'function')) {
             _$jscoverage['/swf.js'].lineData[441]++;
             obj[i] = null;
           }
    @@ -978,34 +978,34 @@ KISSY.add(function(S, require) {
         _$jscoverage['/swf.js'].lineData[448]++;
         var url = '', params, i, param, elements = [], nodeName = Dom.nodeName(swf);
         _$jscoverage['/swf.js'].lineData[452]++;
    -    if (visit43_452_1(nodeName === 'object')) {
    +    if (visit42_452_1(nodeName === 'object')) {
           _$jscoverage['/swf.js'].lineData[453]++;
           url = Dom.attr(swf, 'data');
           _$jscoverage['/swf.js'].lineData[454]++;
    -      if (visit44_454_1(url)) {
    +      if (visit43_454_1(url)) {
             _$jscoverage['/swf.js'].lineData[455]++;
             elements.push(swf);
           }
           _$jscoverage['/swf.js'].lineData[457]++;
           params = swf.childNodes;
           _$jscoverage['/swf.js'].lineData[458]++;
    -      for (i = 0; visit45_458_1(i < params.length); i++) {
    +      for (i = 0; visit44_458_1(i < params.length); i++) {
             _$jscoverage['/swf.js'].lineData[459]++;
             param = params[i];
             _$jscoverage['/swf.js'].lineData[460]++;
    -        if (visit46_460_1(param.nodeType === 1)) {
    +        if (visit45_460_1(param.nodeType === 1)) {
               _$jscoverage['/swf.js'].lineData[461]++;
    -          if (visit47_461_1((visit48_461_2(Dom.attr(param, 'name') || '')).toLowerCase() === 'movie')) {
    +          if (visit46_461_1((visit47_461_2(Dom.attr(param, 'name') || '')).toLowerCase() === 'movie')) {
                 _$jscoverage['/swf.js'].lineData[462]++;
                 elements.push(param);
               } else {
                 _$jscoverage['/swf.js'].lineData[463]++;
    -            if (visit49_463_1(Dom.nodeName(param) === 'embed')) {
    +            if (visit48_463_1(Dom.nodeName(param) === 'embed')) {
                   _$jscoverage['/swf.js'].lineData[464]++;
                   elements.push(param);
                 } else {
                   _$jscoverage['/swf.js'].lineData[465]++;
    -              if (visit50_465_1(Dom.nodeName(params[i]) === 'object')) {
    +              if (visit49_465_1(Dom.nodeName(params[i]) === 'object')) {
                     _$jscoverage['/swf.js'].lineData[466]++;
                     elements.push(param);
                   }
    @@ -1015,7 +1015,7 @@ KISSY.add(function(S, require) {
           }
         } else {
           _$jscoverage['/swf.js'].lineData[470]++;
    -      if (visit51_470_1(nodeName === 'embed')) {
    +      if (visit50_470_1(nodeName === 'embed')) {
             _$jscoverage['/swf.js'].lineData[471]++;
             elements.push(swf);
           }
    @@ -1034,12 +1034,12 @@ KISSY.add(function(S, require) {
       _$jscoverage['/swf.js'].lineData[480]++;
       k = k.toLowerCase();
       _$jscoverage['/swf.js'].lineData[481]++;
    -  if (visit52_481_1(k in PARAMS)) {
    +  if (visit51_481_1(k in PARAMS)) {
         _$jscoverage['/swf.js'].lineData[482]++;
         par += stringParam(k, v);
       } else {
         _$jscoverage['/swf.js'].lineData[485]++;
    -    if (visit53_485_1(k === FLASHVARS)) {
    +    if (visit52_485_1(k === FLASHVARS)) {
           _$jscoverage['/swf.js'].lineData[486]++;
           par += stringParam(k, toFlashVars(v));
         }
    @@ -1066,7 +1066,7 @@ KISSY.add(function(S, require) {
       attr += stringAttr(k, v);
     });
         _$jscoverage['/swf.js'].lineData[506]++;
    -    if (visit54_506_1(ie)) {
    +    if (visit53_506_1(ie)) {
           _$jscoverage['/swf.js'].lineData[507]++;
           attr += stringAttr('classid', CID);
           _$jscoverage['/swf.js'].lineData[508]++;
    @@ -1090,7 +1090,7 @@ KISSY.add(function(S, require) {
         _$jscoverage['/swf.js'].lineData[525]++;
         var outside, inside;
         _$jscoverage['/swf.js'].lineData[526]++;
    -    if (visit55_526_1(OLD_IE)) {
    +    if (visit54_526_1(OLD_IE)) {
           _$jscoverage['/swf.js'].lineData[527]++;
           outside = _stringSWF(src, attrs, params, 1);
           _$jscoverage['/swf.js'].lineData[528]++;
    @@ -1121,12 +1121,12 @@ KISSY.add(function(S, require) {
         S.each(obj, function(data, prop) {
       _$jscoverage['/swf.js'].functionData[18]++;
       _$jscoverage['/swf.js'].lineData[548]++;
    -  if (visit56_548_1(typeof data !== 'string')) {
    +  if (visit55_548_1(typeof data !== 'string')) {
         _$jscoverage['/swf.js'].lineData[549]++;
         data = Json.stringify(data);
       }
       _$jscoverage['/swf.js'].lineData[551]++;
    -  if (visit57_551_1(data)) {
    +  if (visit56_551_1(data)) {
         _$jscoverage['/swf.js'].lineData[552]++;
         arr.push(prop + '=' + encode(data));
       }
    diff --git a/src/swf/coverage/src/swf/ua.js b/src/swf/coverage/src/swf/ua.js
    index 03b9aef18f..05a5dd13a6 100644
    --- a/src/swf/coverage/src/swf/ua.js
    +++ b/src/swf/coverage/src/swf/ua.js
    @@ -235,7 +235,6 @@ if (! _$jscoverage['/swf/ua.js']) {
       _$jscoverage['/swf/ua.js'].lineData[16] = 0;
       _$jscoverage['/swf/ua.js'].lineData[20] = 0;
       _$jscoverage['/swf/ua.js'].lineData[21] = 0;
    -  _$jscoverage['/swf/ua.js'].lineData[24] = 0;
       _$jscoverage['/swf/ua.js'].lineData[25] = 0;
       _$jscoverage['/swf/ua.js'].lineData[26] = 0;
       _$jscoverage['/swf/ua.js'].lineData[34] = 0;
    @@ -278,8 +277,6 @@ if (! _$jscoverage['/swf/ua.js'].branchData) {
       _$jscoverage['/swf/ua.js'].branchData['20'][1] = new BranchData();
       _$jscoverage['/swf/ua.js'].branchData['21'] = [];
       _$jscoverage['/swf/ua.js'].branchData['21'][1] = new BranchData();
    -  _$jscoverage['/swf/ua.js'].branchData['24'] = [];
    -  _$jscoverage['/swf/ua.js'].branchData['24'][1] = new BranchData();
       _$jscoverage['/swf/ua.js'].branchData['34'] = [];
       _$jscoverage['/swf/ua.js'].branchData['34'][1] = new BranchData();
       _$jscoverage['/swf/ua.js'].branchData['57'] = [];
    @@ -298,41 +295,37 @@ if (! _$jscoverage['/swf/ua.js'].branchData) {
       _$jscoverage['/swf/ua.js'].branchData['102'][1] = new BranchData();
     }
     _$jscoverage['/swf/ua.js'].branchData['102'][1].init(16, 53, 'getNumberVersion(fpv(force)) >= getNumberVersion(ver)');
    -function visit11_102_1(result) {
    +function visit10_102_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['102'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['86'][1].init(71, 17, 'force || firstRun');
    -function visit10_86_1(result) {
    +function visit9_86_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['86'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['74'][1].init(111, 11, 'padding > 0');
    -function visit9_74_1(result) {
    +function visit8_74_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['74'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['71'][1].init(15, 8, 'num || 0');
    -function visit8_71_1(result) {
    +function visit7_71_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['71'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['64'][1].init(261, 8, 'ret || 0');
    -function visit7_64_1(result) {
    +function visit6_64_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['64'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['61'][1].init(140, 14, 'S.isArray(arr)');
    -function visit6_61_1(result) {
    +function visit5_61_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['61'][1].ranCondition(result);
       return result;
     }_$jscoverage['/swf/ua.js'].branchData['57'][1].init(19, 23, 'typeof ver === \'string\'');
    -function visit5_57_1(result) {
    +function visit4_57_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['57'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/swf/ua.js'].branchData['34'][1].init(696, 4, '!ver');
    -function visit4_34_1(result) {
    +}_$jscoverage['/swf/ua.js'].branchData['34'][1].init(673, 4, '!ver');
    +function visit3_34_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['34'][1].ranCondition(result);
       return result;
    -}_$jscoverage['/swf/ua.js'].branchData['24'][1].init(346, 17, 'win.ActiveXObject');
    -function visit3_24_1(result) {
    -  _$jscoverage['/swf/ua.js'].branchData['24'][1].ranCondition(result);
    -  return result;
     }_$jscoverage['/swf/ua.js'].branchData['21'][1].init(20, 41, 'navigator.plugins[\'Shockwave Flash\'] || 0');
     function visit2_21_1(result) {
       _$jscoverage['/swf/ua.js'].branchData['21'][1].ranCondition(result);
    @@ -356,18 +349,15 @@ KISSY.add(function(S) {
           _$jscoverage['/swf/ua.js'].lineData[21]++;
           ver = (visit2_21_1(navigator.plugins['Shockwave Flash'] || 0)).description;
         } else {
    -      _$jscoverage['/swf/ua.js'].lineData[24]++;
    -      if (visit3_24_1(win.ActiveXObject)) {
    -        _$jscoverage['/swf/ua.js'].lineData[25]++;
    -        try {
    -          _$jscoverage['/swf/ua.js'].lineData[26]++;
    -          ver = new win.ActiveXObject(SF + '.' + SF).GetVariable('$version');
    -        }        catch (ex) {
    +      _$jscoverage['/swf/ua.js'].lineData[25]++;
    +      try {
    +        _$jscoverage['/swf/ua.js'].lineData[26]++;
    +        ver = new win.ActiveXObject(SF + '.' + SF).GetVariable('$version');
    +      }      catch (ex) {
     }
    -      }
         }
         _$jscoverage['/swf/ua.js'].lineData[34]++;
    -    if (visit4_34_1(!ver)) {
    +    if (visit3_34_1(!ver)) {
           _$jscoverage['/swf/ua.js'].lineData[35]++;
           return undefined;
         }
    @@ -384,32 +374,32 @@ KISSY.add(function(S) {
       function getNumberVersion(ver) {
         _$jscoverage['/swf/ua.js'].functionData[3]++;
         _$jscoverage['/swf/ua.js'].lineData[57]++;
    -    var arr = visit5_57_1(typeof ver === 'string') ? getArrayVersion(ver) : ver, ret = ver;
    +    var arr = visit4_57_1(typeof ver === 'string') ? getArrayVersion(ver) : ver, ret = ver;
         _$jscoverage['/swf/ua.js'].lineData[61]++;
    -    if (visit6_61_1(S.isArray(arr))) {
    +    if (visit5_61_1(S.isArray(arr))) {
           _$jscoverage['/swf/ua.js'].lineData[62]++;
           ret = parseFloat(arr[0] + '.' + pad(arr[1], 3) + pad(arr[2], 5));
         }
         _$jscoverage['/swf/ua.js'].lineData[64]++;
    -    return visit7_64_1(ret || 0);
    +    return visit6_64_1(ret || 0);
       }
       _$jscoverage['/swf/ua.js'].lineData[70]++;
       function pad(num, n) {
         _$jscoverage['/swf/ua.js'].functionData[4]++;
         _$jscoverage['/swf/ua.js'].lineData[71]++;
    -    num = visit8_71_1(num || 0);
    +    num = visit7_71_1(num || 0);
         _$jscoverage['/swf/ua.js'].lineData[72]++;
         num += '';
         _$jscoverage['/swf/ua.js'].lineData[73]++;
         var padding = n + 1 - num.length;
         _$jscoverage['/swf/ua.js'].lineData[74]++;
    -    return new Array(visit9_74_1(padding > 0) ? padding : 0).join('0') + num;
    +    return new Array(visit8_74_1(padding > 0) ? padding : 0).join('0') + num;
       }
       _$jscoverage['/swf/ua.js'].lineData[84]++;
       function fpv(force) {
         _$jscoverage['/swf/ua.js'].functionData[5]++;
         _$jscoverage['/swf/ua.js'].lineData[86]++;
    -    if (visit10_86_1(force || firstRun)) {
    +    if (visit9_86_1(force || firstRun)) {
           _$jscoverage['/swf/ua.js'].lineData[87]++;
           firstRun = false;
           _$jscoverage['/swf/ua.js'].lineData[88]++;
    @@ -422,7 +412,7 @@ KISSY.add(function(S) {
       function fpvGTE(ver, force) {
         _$jscoverage['/swf/ua.js'].functionData[6]++;
         _$jscoverage['/swf/ua.js'].lineData[102]++;
    -    return visit11_102_1(getNumberVersion(fpv(force)) >= getNumberVersion(ver));
    +    return visit10_102_1(getNumberVersion(fpv(force)) >= getNumberVersion(ver));
       }
       _$jscoverage['/swf/ua.js'].lineData[105]++;
       return {
    diff --git a/src/swf/src/swf/ua.js b/src/swf/src/swf/ua.js
    index 9b72c8bda1..f56d30a1e4 100644
    --- a/src/swf/src/swf/ua.js
    +++ b/src/swf/src/swf/ua.js
    @@ -21,7 +21,7 @@ KISSY.add(function (S) {
                 ver = (navigator.plugins['Shockwave Flash'] || 0).description;
             }
             // for ActiveX see:	http://en.wikipedia.org/wiki/ActiveX
    -        else if (win.ActiveXObject) {
    +        else {
                 try {
                     ver = new win.ActiveXObject(SF + '.' + SF).GetVariable('$version');
                 } catch (ex) {
    
    From 9caf8d37fd86881b5f24cbc684c08740cc681bd5 Mon Sep 17 00:00:00 2001
    From: yiminghe 
    Date: Wed, 14 May 2014 12:02:06 +0800
    Subject: [PATCH 48/80] 1.4.3
    
    ---
     build/anim-min.js                             |   2 +-
     build/anim.js                                 |   2 +-
     build/anim/base-min.js                        |   2 +-
     build/anim/base.js                            |   2 +-
     build/anim/timer-min.js                       |   2 +-
     build/anim/timer.js                           |   2 +-
     build/anim/transition-min.js                  |   2 +-
     build/anim/transition.js                      |   2 +-
     build/attribute-min.js                        |   2 +-
     build/attribute.js                            |   2 +-
     build/base-min.js                             |   2 +-
     build/base.js                                 |   2 +-
     build/button-min.js                           |   2 +-
     build/button.js                               |   2 +-
     build/button/assets/dpl-min.css               |   2 +-
     build/button/assets/dpl.css                   |   2 +-
     build/color-min.js                            |   2 +-
     build/color.js                                |   2 +-
     build/combobox-min.js                         |   2 +-
     build/combobox.js                             |   2 +-
     build/combobox/assets/dpl-min.css             |   2 +-
     build/combobox/assets/dpl.css                 |   2 +-
     build/component/container-min.js              |   2 +-
     build/component/container.js                  |   2 +-
     build/component/control-min.js                |   2 +-
     build/component/control.js                    |   2 +-
     build/component/extension/align-min.js        |   2 +-
     build/component/extension/align.js            |   2 +-
     .../component/extension/content-render-min.js |   2 +-
     build/component/extension/content-render.js   |   2 +-
     build/component/extension/content-xtpl-min.js |   2 +-
     build/component/extension/content-xtpl.js     |   2 +-
     .../extension/delegate-children-min.js        |   2 +-
     .../component/extension/delegate-children.js  |   2 +-
     build/component/extension/shim-min.js         |   2 +-
     build/component/extension/shim.js             |   2 +-
     build/component/manager-min.js                |   2 +-
     build/component/manager.js                    |   2 +-
     build/component/plugin/drag-min.js            |   2 +-
     build/component/plugin/drag.js                |   2 +-
     build/component/plugin/resize-min.js          |   2 +-
     build/component/plugin/resize.js              |   2 +-
     build/cookie-min.js                           |   2 +-
     build/cookie.js                               |   2 +-
     build/css/dpl/badges-min.css                  |   2 +-
     build/css/dpl/badges.css                      |   2 +-
     build/css/dpl/base-min.css                    |   2 +-
     build/css/dpl/base.css                        |   2 +-
     build/css/dpl/forms-min.css                   |   2 +-
     build/css/dpl/forms.css                       |   2 +-
     build/css/dpl/icons-min.css                   |   2 +-
     build/css/dpl/icons.css                       |   2 +-
     build/css/dpl/labels-min.css                  |   2 +-
     build/css/dpl/labels.css                      |   2 +-
     build/css/dpl/reset-context-min.css           |   2 +-
     build/css/dpl/reset-context.css               |   2 +-
     build/css/dpl/reset-min.css                   |   2 +-
     build/css/dpl/reset.css                       |   2 +-
     build/css/dpl/tables-min.css                  |   2 +-
     build/css/dpl/tables.css                      |   2 +-
     build/date/format-min.js                      |   2 +-
     build/date/format.js                          |   2 +-
     build/date/gregorian-min.js                   |   2 +-
     build/date/gregorian.js                       |   2 +-
     build/date/i18n/en-us-min.js                  |   2 +-
     build/date/i18n/en-us.js                      |   2 +-
     build/date/i18n/zh-cn-min.js                  |   2 +-
     build/date/i18n/zh-cn.js                      |   2 +-
     build/date/picker-min.js                      |   2 +-
     build/date/picker-xtpl-min.js                 |   2 +-
     build/date/picker-xtpl.js                     |   2 +-
     build/date/picker.js                          |   2 +-
     build/date/picker/assets/dpl-min.css          |   2 +-
     build/date/picker/assets/dpl.css              |   2 +-
     build/date/picker/i18n/en-us-min.js           |   2 +-
     build/date/picker/i18n/en-us.js               |   2 +-
     build/date/picker/i18n/zh-cn-min.js           |   2 +-
     build/date/picker/i18n/zh-cn.js               |   2 +-
     build/date/popup-picker-min.js                |   2 +-
     build/date/popup-picker.js                    |   2 +-
     build/dd-min.js                               |   2 +-
     build/dd.js                                   |   2 +-
     build/dd/plugin/constrain-min.js              |   2 +-
     build/dd/plugin/constrain.js                  |   2 +-
     build/dd/plugin/proxy-min.js                  |   2 +-
     build/dd/plugin/proxy.js                      |   2 +-
     build/dd/plugin/scroll-min.js                 |   2 +-
     build/dd/plugin/scroll.js                     |   2 +-
     build/dom/base-min.js                         |   2 +-
     build/dom/base.js                             |   2 +-
     build/dom/class-list-min.js                   |   2 +-
     build/dom/class-list.js                       |   2 +-
     build/dom/ie-min.js                           |   2 +-
     build/dom/ie.js                               |   2 +-
     build/dom/selector-min.js                     |   2 +-
     build/dom/selector.js                         |   2 +-
     build/editor-min.js                           |   2 +-
     build/editor.js                               |   2 +-
     build/editor/plugin/back-color-min.js         |   2 +-
     build/editor/plugin/back-color.js             |   2 +-
     build/editor/plugin/back-color/cmd-min.js     |   2 +-
     build/editor/plugin/back-color/cmd.js         |   2 +-
     build/editor/plugin/bold-min.js               |   2 +-
     build/editor/plugin/bold.js                   |   2 +-
     build/editor/plugin/bold/cmd-min.js           |   2 +-
     build/editor/plugin/bold/cmd.js               |   2 +-
     build/editor/plugin/bubble-min.js             |   2 +-
     build/editor/plugin/bubble.js                 |   2 +-
     build/editor/plugin/button-min.js             |   2 +-
     build/editor/plugin/button.js                 |   2 +-
     .../editor/plugin/checkbox-source-area-min.js |   2 +-
     build/editor/plugin/checkbox-source-area.js   |   2 +-
     build/editor/plugin/code-min.js               |   2 +-
     build/editor/plugin/code.js                   |   2 +-
     build/editor/plugin/code/dialog-min.js        |   2 +-
     build/editor/plugin/code/dialog.js            |   2 +-
     build/editor/plugin/color/btn-min.js          |   2 +-
     build/editor/plugin/color/btn.js              |   2 +-
     build/editor/plugin/color/cmd-min.js          |   2 +-
     build/editor/plugin/color/cmd.js              |   2 +-
     build/editor/plugin/color/dialog-min.js       |   2 +-
     build/editor/plugin/color/dialog.js           |   2 +-
     build/editor/plugin/contextmenu-min.js        |   2 +-
     build/editor/plugin/contextmenu.js            |   2 +-
     build/editor/plugin/dent-cmd-min.js           |   2 +-
     build/editor/plugin/dent-cmd.js               |   2 +-
     build/editor/plugin/dialog-loader-min.js      |   2 +-
     build/editor/plugin/dialog-loader.js          |   2 +-
     build/editor/plugin/dialog-min.js             |   2 +-
     build/editor/plugin/dialog.js                 |   2 +-
     build/editor/plugin/draft-min.js              |   2 +-
     build/editor/plugin/draft.js                  |   2 +-
     build/editor/plugin/drag-upload-min.js        |   2 +-
     build/editor/plugin/drag-upload.js            |   2 +-
     build/editor/plugin/element-path-min.js       |   2 +-
     build/editor/plugin/element-path.js           |   2 +-
     build/editor/plugin/fake-objects-min.js       |   2 +-
     build/editor/plugin/fake-objects.js           |   2 +-
     build/editor/plugin/flash-bridge-min.js       |   2 +-
     build/editor/plugin/flash-bridge.js           |   2 +-
     .../plugin/flash-common/base-class-min.js     |   2 +-
     .../editor/plugin/flash-common/base-class.js  |   2 +-
     build/editor/plugin/flash-common/utils-min.js |   2 +-
     build/editor/plugin/flash-common/utils.js     |   2 +-
     build/editor/plugin/flash-min.js              |   2 +-
     build/editor/plugin/flash.js                  |   2 +-
     build/editor/plugin/flash/dialog-min.js       |   2 +-
     build/editor/plugin/flash/dialog.js           |   2 +-
     build/editor/plugin/focus-fix-min.js          |   2 +-
     build/editor/plugin/focus-fix.js              |   2 +-
     build/editor/plugin/font-family-min.js        |   2 +-
     build/editor/plugin/font-family.js            |   2 +-
     build/editor/plugin/font-family/cmd-min.js    |   2 +-
     build/editor/plugin/font-family/cmd.js        |   2 +-
     build/editor/plugin/font-size-min.js          |   2 +-
     build/editor/plugin/font-size.js              |   2 +-
     build/editor/plugin/font-size/cmd-min.js      |   2 +-
     build/editor/plugin/font-size/cmd.js          |   2 +-
     build/editor/plugin/font/cmd-min.js           |   2 +-
     build/editor/plugin/font/cmd.js               |   2 +-
     build/editor/plugin/font/ui-min.js            |   2 +-
     build/editor/plugin/font/ui.js                |   2 +-
     build/editor/plugin/fore-color-min.js         |   2 +-
     build/editor/plugin/fore-color.js             |   2 +-
     build/editor/plugin/fore-color/cmd-min.js     |   2 +-
     build/editor/plugin/fore-color/cmd.js         |   2 +-
     build/editor/plugin/heading-min.js            |   2 +-
     build/editor/plugin/heading.js                |   2 +-
     build/editor/plugin/heading/cmd-min.js        |   2 +-
     build/editor/plugin/heading/cmd.js            |   2 +-
     build/editor/plugin/image-min.js              |   2 +-
     build/editor/plugin/image.js                  |   2 +-
     build/editor/plugin/image/dialog-min.js       |   2 +-
     build/editor/plugin/image/dialog.js           |   2 +-
     build/editor/plugin/indent-min.js             |   2 +-
     build/editor/plugin/indent.js                 |   2 +-
     build/editor/plugin/indent/cmd-min.js         |   2 +-
     build/editor/plugin/indent/cmd.js             |   2 +-
     build/editor/plugin/italic-min.js             |   2 +-
     build/editor/plugin/italic.js                 |   2 +-
     build/editor/plugin/italic/cmd-min.js         |   2 +-
     build/editor/plugin/italic/cmd.js             |   2 +-
     build/editor/plugin/justify-center-min.js     |   2 +-
     build/editor/plugin/justify-center.js         |   2 +-
     build/editor/plugin/justify-center/cmd-min.js |   2 +-
     build/editor/plugin/justify-center/cmd.js     |   2 +-
     build/editor/plugin/justify-cmd-min.js        |   2 +-
     build/editor/plugin/justify-cmd.js            |   2 +-
     build/editor/plugin/justify-left-min.js       |   2 +-
     build/editor/plugin/justify-left.js           |   2 +-
     build/editor/plugin/justify-left/cmd-min.js   |   2 +-
     build/editor/plugin/justify-left/cmd.js       |   2 +-
     build/editor/plugin/justify-right-min.js      |   2 +-
     build/editor/plugin/justify-right.js          |   2 +-
     build/editor/plugin/justify-right/cmd-min.js  |   2 +-
     build/editor/plugin/justify-right/cmd.js      |   2 +-
     build/editor/plugin/link-min.js               |   2 +-
     build/editor/plugin/link.js                   |   2 +-
     build/editor/plugin/link/dialog-min.js        |   2 +-
     build/editor/plugin/link/dialog.js            |   2 +-
     build/editor/plugin/link/utils-min.js         |   2 +-
     build/editor/plugin/link/utils.js             |   2 +-
     build/editor/plugin/list-utils-min.js         |   2 +-
     build/editor/plugin/list-utils.js             |   2 +-
     build/editor/plugin/list-utils/btn-min.js     |   2 +-
     build/editor/plugin/list-utils/btn.js         |   2 +-
     build/editor/plugin/list-utils/cmd-min.js     |   2 +-
     build/editor/plugin/list-utils/cmd.js         |   2 +-
     build/editor/plugin/local-storage-min.js      |   2 +-
     build/editor/plugin/local-storage.js          |   2 +-
     build/editor/plugin/maximize-min.js           |   2 +-
     build/editor/plugin/maximize.js               |   2 +-
     build/editor/plugin/maximize/cmd-min.js       |   2 +-
     build/editor/plugin/maximize/cmd.js           |   2 +-
     build/editor/plugin/menubutton-min.js         |   2 +-
     build/editor/plugin/menubutton.js             |   2 +-
     build/editor/plugin/ordered-list-min.js       |   2 +-
     build/editor/plugin/ordered-list.js           |   2 +-
     build/editor/plugin/ordered-list/cmd-min.js   |   2 +-
     build/editor/plugin/ordered-list/cmd.js       |   2 +-
     build/editor/plugin/outdent-min.js            |   2 +-
     build/editor/plugin/outdent.js                |   2 +-
     build/editor/plugin/outdent/cmd-min.js        |   2 +-
     build/editor/plugin/outdent/cmd.js            |   2 +-
     build/editor/plugin/overlay-min.js            |   2 +-
     build/editor/plugin/overlay.js                |   2 +-
     build/editor/plugin/page-break-min.js         |   2 +-
     build/editor/plugin/page-break.js             |   2 +-
     build/editor/plugin/preview-min.js            |   2 +-
     build/editor/plugin/preview.js                |   2 +-
     build/editor/plugin/progressbar-min.js        |   2 +-
     build/editor/plugin/progressbar.js            |   2 +-
     build/editor/plugin/remove-format-min.js      |   2 +-
     build/editor/plugin/remove-format.js          |   2 +-
     build/editor/plugin/remove-format/cmd-min.js  |   2 +-
     build/editor/plugin/remove-format/cmd.js      |   2 +-
     build/editor/plugin/resize-min.js             |   2 +-
     build/editor/plugin/resize.js                 |   2 +-
     build/editor/plugin/separator-min.js          |   2 +-
     build/editor/plugin/separator.js              |   2 +-
     build/editor/plugin/smiley-min.js             |   2 +-
     build/editor/plugin/smiley.js                 |   2 +-
     build/editor/plugin/source-area-min.js        |   2 +-
     build/editor/plugin/source-area.js            |   2 +-
     build/editor/plugin/strike-through-min.js     |   2 +-
     build/editor/plugin/strike-through.js         |   2 +-
     build/editor/plugin/strike-through/cmd-min.js |   2 +-
     build/editor/plugin/strike-through/cmd.js     |   2 +-
     build/editor/plugin/table-min.js              |   2 +-
     build/editor/plugin/table.js                  |   2 +-
     build/editor/plugin/table/dialog-min.js       |   2 +-
     build/editor/plugin/table/dialog.js           |   2 +-
     build/editor/plugin/underline-min.js          |   2 +-
     build/editor/plugin/underline.js              |   2 +-
     build/editor/plugin/underline/cmd-min.js      |   2 +-
     build/editor/plugin/underline/cmd.js          |   2 +-
     build/editor/plugin/undo-min.js               |   2 +-
     build/editor/plugin/undo.js                   |   2 +-
     build/editor/plugin/undo/btn-min.js           |   2 +-
     build/editor/plugin/undo/btn.js               |   2 +-
     build/editor/plugin/undo/cmd-min.js           |   2 +-
     build/editor/plugin/undo/cmd.js               |   2 +-
     build/editor/plugin/unordered-list-min.js     |   2 +-
     build/editor/plugin/unordered-list.js         |   2 +-
     build/editor/plugin/unordered-list/cmd-min.js |   2 +-
     build/editor/plugin/unordered-list/cmd.js     |   2 +-
     build/editor/plugin/video-min.js              |   2 +-
     build/editor/plugin/video.js                  |   2 +-
     build/editor/plugin/video/dialog-min.js       |   2 +-
     build/editor/plugin/video/dialog.js           |   2 +-
     build/editor/plugin/word-filter-min.js        |   2 +-
     build/editor/plugin/word-filter.js            |   2 +-
     build/editor/plugin/xiami-music-min.js        |   2 +-
     build/editor/plugin/xiami-music.js            |   2 +-
     build/editor/plugin/xiami-music/dialog-min.js |   2 +-
     build/editor/plugin/xiami-music/dialog.js     |   2 +-
     build/editor/theme/cool/editor-min.css        |   6 +-
     .../theme/cool/editor-pkg-sprite-min.css      |   4 +-
     build/editor/theme/cool/editor-pkg-sprite.css |   4 +-
     build/editor/theme/cool/editor.css            | 164 +++++++++---------
     build/editor/theme/editor-common-min.css      |   4 +-
     build/editor/theme/editor-common.css          |   4 +-
     build/editor/theme/editor-iframe-min.css      |   4 +-
     build/editor/theme/editor-iframe.css          |   4 +-
     build/event-min.js                            |   2 +-
     build/event.js                                |   2 +-
     build/event/base-min.js                       |   2 +-
     build/event/base.js                           |   2 +-
     build/event/custom-min.js                     |   2 +-
     build/event/custom.js                         |   2 +-
     build/event/dom/base-min.js                   |   2 +-
     build/event/dom/base.js                       |   2 +-
     build/event/dom/focusin-min.js                |   2 +-
     build/event/dom/focusin.js                    |   2 +-
     build/event/dom/hashchange-min.js             |   2 +-
     build/event/dom/hashchange.js                 |   2 +-
     build/event/dom/ie-min.js                     |   2 +-
     build/event/dom/ie.js                         |   2 +-
     build/event/dom/shake-min.js                  |   2 +-
     build/event/dom/shake.js                      |   2 +-
     build/event/dom/touch-min.js                  |   2 +-
     build/event/dom/touch.js                      |   2 +-
     build/filter-menu-min.js                      |   2 +-
     build/filter-menu.js                          |   2 +-
     build/html-parser-min.js                      |   2 +-
     build/html-parser.js                          |   2 +-
     build/import-style-min.js                     |   2 +-
     build/import-style.js                         |   2 +-
     build/io-min.js                               |   2 +-
     build/io.js                                   |   2 +-
     build/json-min.js                             |   2 +-
     build/json.js                                 |   2 +-
     build/kison-min.js                            |   2 +-
     build/kison.js                                |   2 +-
     build/kissy-nodejs-min.js                     |   4 +-
     build/kissy-nodejs.js                         |   4 +-
     build/menu-min.js                             |   2 +-
     build/menu.js                                 |   2 +-
     build/menu/assets/dpl-min.css                 |   2 +-
     build/menu/assets/dpl.css                     |   2 +-
     build/menubutton-min.js                       |   2 +-
     build/menubutton.js                           |   2 +-
     build/menubutton/assets/dpl-min.css           |   2 +-
     build/menubutton/assets/dpl.css               |   2 +-
     build/mvc-min.js                              |   2 +-
     build/mvc.js                                  |   2 +-
     build/node-min.js                             |   2 +-
     build/node.js                                 |   2 +-
     build/overlay-min.js                          |   2 +-
     build/overlay.js                              |   2 +-
     build/overlay/assets/dpl-min.css              |   2 +-
     build/overlay/assets/dpl.css                  |   2 +-
     build/promise-min.js                          |   2 +-
     build/promise.js                              |   2 +-
     build/resizable-min.js                        |   2 +-
     build/resizable.js                            |   2 +-
     build/resizable/plugin/proxy-min.js           |   2 +-
     build/resizable/plugin/proxy.js               |   2 +-
     build/scroll-view/assets/dpl-min.css          |   2 +-
     build/scroll-view/assets/dpl.css              |   2 +-
     build/scroll-view/assets/nice-min.css         |   2 +-
     build/scroll-view/assets/nice.css             |   2 +-
     build/scroll-view/base-min.js                 |   2 +-
     build/scroll-view/base.js                     |   2 +-
     build/scroll-view/drag-min.js                 |   2 +-
     build/scroll-view/drag.js                     |   2 +-
     .../scroll-view/plugin/pull-to-refresh-min.js |   2 +-
     build/scroll-view/plugin/pull-to-refresh.js   |   2 +-
     build/scroll-view/plugin/scrollbar-min.js     |   2 +-
     build/scroll-view/plugin/scrollbar.js         |   2 +-
     build/seed-min.js                             |   4 +-
     build/seed.js                                 |   4 +-
     build/separator-min.js                        |   2 +-
     build/separator.js                            |   2 +-
     build/split-button-min.js                     |   2 +-
     build/split-button.js                         |   2 +-
     build/split-button/assets/dpl-min.css         |   2 +-
     build/split-button/assets/dpl.css             |   2 +-
     build/stylesheet-min.js                       |   2 +-
     build/stylesheet.js                           |   2 +-
     build/swf-min.js                              |   2 +-
     build/swf.js                                  |   2 +-
     build/tabs-min.js                             |   2 +-
     build/tabs.js                                 |   2 +-
     build/tabs/assets/dpl-min.css                 |   2 +-
     build/tabs/assets/dpl.css                     |   2 +-
     build/toolbar-min.js                          |   2 +-
     build/toolbar.js                              |   2 +-
     build/toolbar/assets/dpl-min.css              |   2 +-
     build/toolbar/assets/dpl.css                  |   2 +-
     build/tree-min.js                             |   2 +-
     build/tree.js                                 |   2 +-
     build/tree/assets/dpl-min.css                 |   2 +-
     build/tree/assets/dpl.css                     |   2 +-
     build/xtemplate-min.js                        |   2 +-
     build/xtemplate.js                            |   2 +-
     build/xtemplate/compiler-min.js               |   2 +-
     build/xtemplate/compiler.js                   |   2 +-
     build/xtemplate/nodejs-min.js                 |   2 +-
     build/xtemplate/nodejs.js                     |   2 +-
     build/xtemplate/runtime-min.js                |   2 +-
     build/xtemplate/runtime.js                    |   2 +-
     src/config.xml                                |   4 +-
     src/editor/sub-modules/theme/build.xml        |   4 +-
     384 files changed, 479 insertions(+), 479 deletions(-)
    
    diff --git a/build/anim-min.js b/build/anim-min.js
    index f67b2b600a..db6570da79 100644
    --- a/build/anim-min.js
    +++ b/build/anim-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/anim.js b/build/anim.js
    index 63c6490100..af9cd1c7df 100644
    --- a/build/anim.js
    +++ b/build/anim.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/anim/base-min.js b/build/anim/base-min.js
    index e36b430123..53c568c259 100644
    --- a/build/anim/base-min.js
    +++ b/build/anim/base-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 23 18:52
     */
    diff --git a/build/anim/base.js b/build/anim/base.js
    index 5554ade2b0..de4bce9825 100644
    --- a/build/anim/base.js
    +++ b/build/anim/base.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 23 18:52
     */
    diff --git a/build/anim/timer-min.js b/build/anim/timer-min.js
    index 99f8cdfe74..2505ac5b6a 100644
    --- a/build/anim/timer-min.js
    +++ b/build/anim/timer-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/anim/timer.js b/build/anim/timer.js
    index e8f52210fe..ed2196ca89 100644
    --- a/build/anim/timer.js
    +++ b/build/anim/timer.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js
    index 95e7a06690..49825f8fb2 100644
    --- a/build/anim/transition-min.js
    +++ b/build/anim/transition-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 25 18:29
     */
    diff --git a/build/anim/transition.js b/build/anim/transition.js
    index a091492854..90402d0010 100644
    --- a/build/anim/transition.js
    +++ b/build/anim/transition.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 25 18:29
     */
    diff --git a/build/attribute-min.js b/build/attribute-min.js
    index 99459aaa59..1affddeb02 100644
    --- a/build/attribute-min.js
    +++ b/build/attribute-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/attribute.js b/build/attribute.js
    index de214e976e..fa9af94ce0 100644
    --- a/build/attribute.js
    +++ b/build/attribute.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/base-min.js b/build/base-min.js
    index fbdbc8d54f..86474b8521 100644
    --- a/build/base-min.js
    +++ b/build/base-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 6 15:30
     */
    diff --git a/build/base.js b/build/base.js
    index 0e6e03dcd7..2a90297375 100644
    --- a/build/base.js
    +++ b/build/base.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 6 15:30
     */
    diff --git a/build/button-min.js b/build/button-min.js
    index 5c6ec723b3..deb9c38117 100644
    --- a/build/button-min.js
    +++ b/build/button-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/button.js b/build/button.js
    index e18c7a9ab1..6b4afac14c 100644
    --- a/build/button.js
    +++ b/build/button.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/button/assets/dpl-min.css b/build/button/assets/dpl-min.css
    index 0a4a08e2e4..99d2d15d8d 100644
    --- a/build/button/assets/dpl-min.css
    +++ b/build/button/assets/dpl-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/button/assets/dpl.css b/build/button/assets/dpl.css
    index 4241f4881a..9be95cfddc 100644
    --- a/build/button/assets/dpl.css
    +++ b/build/button/assets/dpl.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/color-min.js b/build/color-min.js
    index 9dde74c148..86c6c625cf 100644
    --- a/build/color-min.js
    +++ b/build/color-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/color.js b/build/color.js
    index 3acbc89e7a..f1f760d7a5 100644
    --- a/build/color.js
    +++ b/build/color.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/combobox-min.js b/build/combobox-min.js
    index 910f0cf686..581d9a8f3c 100644
    --- a/build/combobox-min.js
    +++ b/build/combobox-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:53
     */
    diff --git a/build/combobox.js b/build/combobox.js
    index 83dc20f99c..e86053defd 100644
    --- a/build/combobox.js
    +++ b/build/combobox.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:53
     */
    diff --git a/build/combobox/assets/dpl-min.css b/build/combobox/assets/dpl-min.css
    index d3efb7a988..3aa1ff89f8 100644
    --- a/build/combobox/assets/dpl-min.css
    +++ b/build/combobox/assets/dpl-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:53
     */
    diff --git a/build/combobox/assets/dpl.css b/build/combobox/assets/dpl.css
    index 8e110441cf..cfd2705a0d 100644
    --- a/build/combobox/assets/dpl.css
    +++ b/build/combobox/assets/dpl.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:53
     */
    diff --git a/build/component/container-min.js b/build/component/container-min.js
    index e1ec3188ec..468e8b1cf5 100644
    --- a/build/component/container-min.js
    +++ b/build/component/container-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/component/container.js b/build/component/container.js
    index acfc844f07..c421c2b037 100644
    --- a/build/component/container.js
    +++ b/build/component/container.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:04
     */
    diff --git a/build/component/control-min.js b/build/component/control-min.js
    index 477e315c94..bb631563e1 100644
    --- a/build/component/control-min.js
    +++ b/build/component/control-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 6 13:34
     */
    diff --git a/build/component/control.js b/build/component/control.js
    index eed8e65689..2d253a71ea 100644
    --- a/build/component/control.js
    +++ b/build/component/control.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 6 13:34
     */
    diff --git a/build/component/extension/align-min.js b/build/component/extension/align-min.js
    index 324adf79b5..2b74823160 100644
    --- a/build/component/extension/align-min.js
    +++ b/build/component/extension/align-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 10 01:46
     */
    diff --git a/build/component/extension/align.js b/build/component/extension/align.js
    index 246d60bd75..3048dea0d3 100644
    --- a/build/component/extension/align.js
    +++ b/build/component/extension/align.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 10 01:46
     */
    diff --git a/build/component/extension/content-render-min.js b/build/component/extension/content-render-min.js
    index faac4484c8..9d7d429627 100644
    --- a/build/component/extension/content-render-min.js
    +++ b/build/component/extension/content-render-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/extension/content-render.js b/build/component/extension/content-render.js
    index 0a8551aa95..02cbb0a430 100644
    --- a/build/component/extension/content-render.js
    +++ b/build/component/extension/content-render.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/extension/content-xtpl-min.js b/build/component/extension/content-xtpl-min.js
    index 7c632b2356..6869d50c07 100644
    --- a/build/component/extension/content-xtpl-min.js
    +++ b/build/component/extension/content-xtpl-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/extension/content-xtpl.js b/build/component/extension/content-xtpl.js
    index 446d86e4af..da6cf54b27 100644
    --- a/build/component/extension/content-xtpl.js
    +++ b/build/component/extension/content-xtpl.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js
    index a357b8bbb5..354c1d60ac 100644
    --- a/build/component/extension/delegate-children-min.js
    +++ b/build/component/extension/delegate-children-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 25 15:53
     */
    diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js
    index a50e79249e..c1e7b7d74b 100644
    --- a/build/component/extension/delegate-children.js
    +++ b/build/component/extension/delegate-children.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 25 15:53
     */
    diff --git a/build/component/extension/shim-min.js b/build/component/extension/shim-min.js
    index b6159cd241..345c492869 100644
    --- a/build/component/extension/shim-min.js
    +++ b/build/component/extension/shim-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/extension/shim.js b/build/component/extension/shim.js
    index b1721bb6a0..8ef24f991b 100644
    --- a/build/component/extension/shim.js
    +++ b/build/component/extension/shim.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/manager-min.js b/build/component/manager-min.js
    index 8f6b36fc98..609ceed4df 100644
    --- a/build/component/manager-min.js
    +++ b/build/component/manager-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/manager.js b/build/component/manager.js
    index 4324e22685..3682bbc1c9 100644
    --- a/build/component/manager.js
    +++ b/build/component/manager.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/plugin/drag-min.js b/build/component/plugin/drag-min.js
    index 067dfc54ce..8664d50ecc 100644
    --- a/build/component/plugin/drag-min.js
    +++ b/build/component/plugin/drag-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/plugin/drag.js b/build/component/plugin/drag.js
    index c6ca2fac64..f6715cbb4f 100644
    --- a/build/component/plugin/drag.js
    +++ b/build/component/plugin/drag.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/plugin/resize-min.js b/build/component/plugin/resize-min.js
    index 1687a79e44..e1dcb97b6d 100644
    --- a/build/component/plugin/resize-min.js
    +++ b/build/component/plugin/resize-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/component/plugin/resize.js b/build/component/plugin/resize.js
    index 0572e45f51..495f3846cc 100644
    --- a/build/component/plugin/resize.js
    +++ b/build/component/plugin/resize.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/cookie-min.js b/build/cookie-min.js
    index 2281bf5ace..69cd7c4175 100644
    --- a/build/cookie-min.js
    +++ b/build/cookie-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/cookie.js b/build/cookie.js
    index c53278aa50..89106fde9e 100644
    --- a/build/cookie.js
    +++ b/build/cookie.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/badges-min.css b/build/css/dpl/badges-min.css
    index 812e887b1b..93ae980c9e 100644
    --- a/build/css/dpl/badges-min.css
    +++ b/build/css/dpl/badges-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/badges.css b/build/css/dpl/badges.css
    index 1e9ce4b272..2113eda1fe 100644
    --- a/build/css/dpl/badges.css
    +++ b/build/css/dpl/badges.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/base-min.css b/build/css/dpl/base-min.css
    index 7a3c37cf62..ed3b34cced 100644
    --- a/build/css/dpl/base-min.css
    +++ b/build/css/dpl/base-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/base.css b/build/css/dpl/base.css
    index a7502ad894..def716aef4 100644
    --- a/build/css/dpl/base.css
    +++ b/build/css/dpl/base.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/forms-min.css b/build/css/dpl/forms-min.css
    index 4e402c46d1..8effb11812 100644
    --- a/build/css/dpl/forms-min.css
    +++ b/build/css/dpl/forms-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/forms.css b/build/css/dpl/forms.css
    index 58d80627db..6830d4d7ef 100644
    --- a/build/css/dpl/forms.css
    +++ b/build/css/dpl/forms.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/icons-min.css b/build/css/dpl/icons-min.css
    index 4277e02fde..362e6094b9 100644
    --- a/build/css/dpl/icons-min.css
    +++ b/build/css/dpl/icons-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/icons.css b/build/css/dpl/icons.css
    index 237f5fc4dc..b091bcb9cf 100644
    --- a/build/css/dpl/icons.css
    +++ b/build/css/dpl/icons.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/labels-min.css b/build/css/dpl/labels-min.css
    index 576840ab23..e175a7792f 100644
    --- a/build/css/dpl/labels-min.css
    +++ b/build/css/dpl/labels-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/labels.css b/build/css/dpl/labels.css
    index c6c8ed1b66..b8be8ec748 100644
    --- a/build/css/dpl/labels.css
    +++ b/build/css/dpl/labels.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/reset-context-min.css b/build/css/dpl/reset-context-min.css
    index 8622d3e4e0..d9bfaced70 100644
    --- a/build/css/dpl/reset-context-min.css
    +++ b/build/css/dpl/reset-context-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/reset-context.css b/build/css/dpl/reset-context.css
    index 7e9f23c402..5f04f3c9d3 100644
    --- a/build/css/dpl/reset-context.css
    +++ b/build/css/dpl/reset-context.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/reset-min.css b/build/css/dpl/reset-min.css
    index 6505bcb67a..340d7f6439 100644
    --- a/build/css/dpl/reset-min.css
    +++ b/build/css/dpl/reset-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/reset.css b/build/css/dpl/reset.css
    index cfce6ac167..337a7580b2 100644
    --- a/build/css/dpl/reset.css
    +++ b/build/css/dpl/reset.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/tables-min.css b/build/css/dpl/tables-min.css
    index fcc2764ddb..cec993583d 100644
    --- a/build/css/dpl/tables-min.css
    +++ b/build/css/dpl/tables-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/css/dpl/tables.css b/build/css/dpl/tables.css
    index 929afbabee..5f4c19974f 100644
    --- a/build/css/dpl/tables.css
    +++ b/build/css/dpl/tables.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:05
     */
    diff --git a/build/date/format-min.js b/build/date/format-min.js
    index 4cbd203460..aaa250dd36 100644
    --- a/build/date/format-min.js
    +++ b/build/date/format-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/format.js b/build/date/format.js
    index 0a8d57ad14..18c3f89ff0 100644
    --- a/build/date/format.js
    +++ b/build/date/format.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/gregorian-min.js b/build/date/gregorian-min.js
    index fe85a413b3..0936a290d3 100644
    --- a/build/date/gregorian-min.js
    +++ b/build/date/gregorian-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/gregorian.js b/build/date/gregorian.js
    index 557fc6cb3e..a35720ccce 100644
    --- a/build/date/gregorian.js
    +++ b/build/date/gregorian.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/i18n/en-us-min.js b/build/date/i18n/en-us-min.js
    index 34b248055b..ae84be64a6 100644
    --- a/build/date/i18n/en-us-min.js
    +++ b/build/date/i18n/en-us-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/i18n/en-us.js b/build/date/i18n/en-us.js
    index c015be7407..3d6def918e 100644
    --- a/build/date/i18n/en-us.js
    +++ b/build/date/i18n/en-us.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/i18n/zh-cn-min.js b/build/date/i18n/zh-cn-min.js
    index 5f25dc7a76..860a764560 100644
    --- a/build/date/i18n/zh-cn-min.js
    +++ b/build/date/i18n/zh-cn-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/i18n/zh-cn.js b/build/date/i18n/zh-cn.js
    index d674621d75..1835a62478 100644
    --- a/build/date/i18n/zh-cn.js
    +++ b/build/date/i18n/zh-cn.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/picker-min.js b/build/date/picker-min.js
    index 869222cacc..6298cf3682 100644
    --- a/build/date/picker-min.js
    +++ b/build/date/picker-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 3 14:54
     */
    diff --git a/build/date/picker-xtpl-min.js b/build/date/picker-xtpl-min.js
    index 1f5e0b871b..e75acf4636 100644
    --- a/build/date/picker-xtpl-min.js
    +++ b/build/date/picker-xtpl-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:35
     */
    diff --git a/build/date/picker-xtpl.js b/build/date/picker-xtpl.js
    index d5fbe7663a..5bac0b4da0 100644
    --- a/build/date/picker-xtpl.js
    +++ b/build/date/picker-xtpl.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:35
     */
    diff --git a/build/date/picker.js b/build/date/picker.js
    index ba7e6727a2..174b80620a 100644
    --- a/build/date/picker.js
    +++ b/build/date/picker.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 3 14:54
     */
    diff --git a/build/date/picker/assets/dpl-min.css b/build/date/picker/assets/dpl-min.css
    index 4bc12cc2cc..e7ce5cf4de 100644
    --- a/build/date/picker/assets/dpl-min.css
    +++ b/build/date/picker/assets/dpl-min.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 3 14:54
     */
    diff --git a/build/date/picker/assets/dpl.css b/build/date/picker/assets/dpl.css
    index 0d5fdc801b..3a6241f50a 100644
    --- a/build/date/picker/assets/dpl.css
    +++ b/build/date/picker/assets/dpl.css
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Mar 3 14:54
     */
    diff --git a/build/date/picker/i18n/en-us-min.js b/build/date/picker/i18n/en-us-min.js
    index 9d194078d4..9283e425be 100644
    --- a/build/date/picker/i18n/en-us-min.js
    +++ b/build/date/picker/i18n/en-us-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/picker/i18n/en-us.js b/build/date/picker/i18n/en-us.js
    index 0b65aa9b3c..218e49016c 100644
    --- a/build/date/picker/i18n/en-us.js
    +++ b/build/date/picker/i18n/en-us.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/picker/i18n/zh-cn-min.js b/build/date/picker/i18n/zh-cn-min.js
    index 74d6ecfed9..96e033077f 100644
    --- a/build/date/picker/i18n/zh-cn-min.js
    +++ b/build/date/picker/i18n/zh-cn-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/picker/i18n/zh-cn.js b/build/date/picker/i18n/zh-cn.js
    index 719bf58ea6..9656b0241c 100644
    --- a/build/date/picker/i18n/zh-cn.js
    +++ b/build/date/picker/i18n/zh-cn.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/date/popup-picker-min.js b/build/date/popup-picker-min.js
    index 71f0ec2b1a..098c32cd03 100644
    --- a/build/date/popup-picker-min.js
    +++ b/build/date/popup-picker-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:35
     */
    diff --git a/build/date/popup-picker.js b/build/date/popup-picker.js
    index a778ec6245..4e3fbef065 100644
    --- a/build/date/popup-picker.js
    +++ b/build/date/popup-picker.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:35
     */
    diff --git a/build/dd-min.js b/build/dd-min.js
    index facb36b050..3ebc280ed9 100644
    --- a/build/dd-min.js
    +++ b/build/dd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd.js b/build/dd.js
    index 2fb54dd179..0b4886f2ce 100644
    --- a/build/dd.js
    +++ b/build/dd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/constrain-min.js b/build/dd/plugin/constrain-min.js
    index 6240d82668..aefccf7873 100644
    --- a/build/dd/plugin/constrain-min.js
    +++ b/build/dd/plugin/constrain-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/constrain.js b/build/dd/plugin/constrain.js
    index 49895d639d..025ec907c7 100644
    --- a/build/dd/plugin/constrain.js
    +++ b/build/dd/plugin/constrain.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/proxy-min.js b/build/dd/plugin/proxy-min.js
    index 2ed1de43d5..54c79aef49 100644
    --- a/build/dd/plugin/proxy-min.js
    +++ b/build/dd/plugin/proxy-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/proxy.js b/build/dd/plugin/proxy.js
    index 26c69abe1f..9726764f3c 100644
    --- a/build/dd/plugin/proxy.js
    +++ b/build/dd/plugin/proxy.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/scroll-min.js b/build/dd/plugin/scroll-min.js
    index 4952d4f68e..fea12be3f1 100644
    --- a/build/dd/plugin/scroll-min.js
    +++ b/build/dd/plugin/scroll-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dd/plugin/scroll.js b/build/dd/plugin/scroll.js
    index cf42a4e723..a5aecb6e93 100644
    --- a/build/dd/plugin/scroll.js
    +++ b/build/dd/plugin/scroll.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:06
     */
    diff --git a/build/dom/base-min.js b/build/dom/base-min.js
    index 42abe2e7ad..b7e05e7d21 100644
    --- a/build/dom/base-min.js
    +++ b/build/dom/base-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:54
     */
    diff --git a/build/dom/base.js b/build/dom/base.js
    index dc4867353f..f0e571c633 100644
    --- a/build/dom/base.js
    +++ b/build/dom/base.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:54
     */
    diff --git a/build/dom/class-list-min.js b/build/dom/class-list-min.js
    index 4c40717f03..953103166d 100644
    --- a/build/dom/class-list-min.js
    +++ b/build/dom/class-list-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/dom/class-list.js b/build/dom/class-list.js
    index 4b1a99e7b6..fb150ca8a6 100644
    --- a/build/dom/class-list.js
    +++ b/build/dom/class-list.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/dom/ie-min.js b/build/dom/ie-min.js
    index eafc33c792..c79aad411d 100644
    --- a/build/dom/ie-min.js
    +++ b/build/dom/ie-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/dom/ie.js b/build/dom/ie.js
    index 26b2dc4595..b65bd6ce45 100644
    --- a/build/dom/ie.js
    +++ b/build/dom/ie.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js
    index 1232e1572b..e9bfb618f9 100644
    --- a/build/dom/selector-min.js
    +++ b/build/dom/selector-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/dom/selector.js b/build/dom/selector.js
    index 15ba725878..6c5cadad69 100644
    --- a/build/dom/selector.js
    +++ b/build/dom/selector.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:39
     */
    diff --git a/build/editor-min.js b/build/editor-min.js
    index 84f5dbe7b9..2d946744f2 100644
    --- a/build/editor-min.js
    +++ b/build/editor-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:54
     */
    diff --git a/build/editor.js b/build/editor.js
    index 277759315f..3218963572 100644
    --- a/build/editor.js
    +++ b/build/editor.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:54
     */
    diff --git a/build/editor/plugin/back-color-min.js b/build/editor/plugin/back-color-min.js
    index 1753b043be..fbf68461f1 100644
    --- a/build/editor/plugin/back-color-min.js
    +++ b/build/editor/plugin/back-color-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/back-color.js b/build/editor/plugin/back-color.js
    index 6763552d90..d7c76db3a1 100644
    --- a/build/editor/plugin/back-color.js
    +++ b/build/editor/plugin/back-color.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/back-color/cmd-min.js b/build/editor/plugin/back-color/cmd-min.js
    index 5e65c9b370..9d0c73b77a 100644
    --- a/build/editor/plugin/back-color/cmd-min.js
    +++ b/build/editor/plugin/back-color/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/back-color/cmd.js b/build/editor/plugin/back-color/cmd.js
    index 8f266c979c..990ce15258 100644
    --- a/build/editor/plugin/back-color/cmd.js
    +++ b/build/editor/plugin/back-color/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/bold-min.js b/build/editor/plugin/bold-min.js
    index e158393c82..4ee1a4c950 100644
    --- a/build/editor/plugin/bold-min.js
    +++ b/build/editor/plugin/bold-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/bold.js b/build/editor/plugin/bold.js
    index 145e5ff7a2..ab817bd872 100644
    --- a/build/editor/plugin/bold.js
    +++ b/build/editor/plugin/bold.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/bold/cmd-min.js b/build/editor/plugin/bold/cmd-min.js
    index e7eaea7670..e856920fc6 100644
    --- a/build/editor/plugin/bold/cmd-min.js
    +++ b/build/editor/plugin/bold/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/bold/cmd.js b/build/editor/plugin/bold/cmd.js
    index 80cdd1ad4f..c2b8b79960 100644
    --- a/build/editor/plugin/bold/cmd.js
    +++ b/build/editor/plugin/bold/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:44
     */
    diff --git a/build/editor/plugin/bubble-min.js b/build/editor/plugin/bubble-min.js
    index 51799aac8a..95781497ab 100644
    --- a/build/editor/plugin/bubble-min.js
    +++ b/build/editor/plugin/bubble-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/bubble.js b/build/editor/plugin/bubble.js
    index 9d53defbf1..f41fe429fa 100644
    --- a/build/editor/plugin/bubble.js
    +++ b/build/editor/plugin/bubble.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/button-min.js b/build/editor/plugin/button-min.js
    index 0403d21ded..de97a9c311 100644
    --- a/build/editor/plugin/button-min.js
    +++ b/build/editor/plugin/button-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/button.js b/build/editor/plugin/button.js
    index 17ac0da8eb..0dd208045b 100644
    --- a/build/editor/plugin/button.js
    +++ b/build/editor/plugin/button.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/checkbox-source-area-min.js b/build/editor/plugin/checkbox-source-area-min.js
    index 71da1553f6..db0a95fb0a 100644
    --- a/build/editor/plugin/checkbox-source-area-min.js
    +++ b/build/editor/plugin/checkbox-source-area-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/checkbox-source-area.js b/build/editor/plugin/checkbox-source-area.js
    index 297d980097..893b4454aa 100644
    --- a/build/editor/plugin/checkbox-source-area.js
    +++ b/build/editor/plugin/checkbox-source-area.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/code-min.js b/build/editor/plugin/code-min.js
    index fad1cfb100..0f7f5b769c 100644
    --- a/build/editor/plugin/code-min.js
    +++ b/build/editor/plugin/code-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/code.js b/build/editor/plugin/code.js
    index e88ca46bc7..befa7e0695 100644
    --- a/build/editor/plugin/code.js
    +++ b/build/editor/plugin/code.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/code/dialog-min.js b/build/editor/plugin/code/dialog-min.js
    index ffc131f3db..75c9922268 100644
    --- a/build/editor/plugin/code/dialog-min.js
    +++ b/build/editor/plugin/code/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/code/dialog.js b/build/editor/plugin/code/dialog.js
    index ccdc61da07..8cdfa83e35 100644
    --- a/build/editor/plugin/code/dialog.js
    +++ b/build/editor/plugin/code/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/btn-min.js b/build/editor/plugin/color/btn-min.js
    index 4e70e82520..a03a12d63c 100644
    --- a/build/editor/plugin/color/btn-min.js
    +++ b/build/editor/plugin/color/btn-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/btn.js b/build/editor/plugin/color/btn.js
    index 2594e58440..5e5e4bbbae 100644
    --- a/build/editor/plugin/color/btn.js
    +++ b/build/editor/plugin/color/btn.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/cmd-min.js b/build/editor/plugin/color/cmd-min.js
    index 3143c2ffb8..99f107d515 100644
    --- a/build/editor/plugin/color/cmd-min.js
    +++ b/build/editor/plugin/color/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/cmd.js b/build/editor/plugin/color/cmd.js
    index c00239112c..b6a80a7454 100644
    --- a/build/editor/plugin/color/cmd.js
    +++ b/build/editor/plugin/color/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/dialog-min.js b/build/editor/plugin/color/dialog-min.js
    index 148f2ab458..9f3d6d16ed 100644
    --- a/build/editor/plugin/color/dialog-min.js
    +++ b/build/editor/plugin/color/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/color/dialog.js b/build/editor/plugin/color/dialog.js
    index c625e2e8d2..643c4dcaf6 100644
    --- a/build/editor/plugin/color/dialog.js
    +++ b/build/editor/plugin/color/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/contextmenu-min.js b/build/editor/plugin/contextmenu-min.js
    index fb3403e2bc..79c643f868 100644
    --- a/build/editor/plugin/contextmenu-min.js
    +++ b/build/editor/plugin/contextmenu-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/contextmenu.js b/build/editor/plugin/contextmenu.js
    index 6bb5f76403..ece286903e 100644
    --- a/build/editor/plugin/contextmenu.js
    +++ b/build/editor/plugin/contextmenu.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/dent-cmd-min.js b/build/editor/plugin/dent-cmd-min.js
    index 15eba46ce1..c653bb306d 100644
    --- a/build/editor/plugin/dent-cmd-min.js
    +++ b/build/editor/plugin/dent-cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/dent-cmd.js b/build/editor/plugin/dent-cmd.js
    index 37df717099..2e81e500a4 100644
    --- a/build/editor/plugin/dent-cmd.js
    +++ b/build/editor/plugin/dent-cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/dialog-loader-min.js b/build/editor/plugin/dialog-loader-min.js
    index 2387231331..b76e9c482d 100644
    --- a/build/editor/plugin/dialog-loader-min.js
    +++ b/build/editor/plugin/dialog-loader-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/dialog-loader.js b/build/editor/plugin/dialog-loader.js
    index 18cf0b0a31..0d472ff324 100644
    --- a/build/editor/plugin/dialog-loader.js
    +++ b/build/editor/plugin/dialog-loader.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:45
     */
    diff --git a/build/editor/plugin/dialog-min.js b/build/editor/plugin/dialog-min.js
    index aa0160edf9..e963deae50 100644
    --- a/build/editor/plugin/dialog-min.js
    +++ b/build/editor/plugin/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/dialog.js b/build/editor/plugin/dialog.js
    index dcd4f611fe..4a3ec46233 100644
    --- a/build/editor/plugin/dialog.js
    +++ b/build/editor/plugin/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/draft-min.js b/build/editor/plugin/draft-min.js
    index 11062b6c33..338915f528 100644
    --- a/build/editor/plugin/draft-min.js
    +++ b/build/editor/plugin/draft-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/draft.js b/build/editor/plugin/draft.js
    index 24d08bad15..490acf74d2 100644
    --- a/build/editor/plugin/draft.js
    +++ b/build/editor/plugin/draft.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/drag-upload-min.js b/build/editor/plugin/drag-upload-min.js
    index 86341e9037..aed9500c74 100644
    --- a/build/editor/plugin/drag-upload-min.js
    +++ b/build/editor/plugin/drag-upload-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/drag-upload.js b/build/editor/plugin/drag-upload.js
    index 90f8c910a9..744573f529 100644
    --- a/build/editor/plugin/drag-upload.js
    +++ b/build/editor/plugin/drag-upload.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/element-path-min.js b/build/editor/plugin/element-path-min.js
    index c1f8cb809f..4196c6f81a 100644
    --- a/build/editor/plugin/element-path-min.js
    +++ b/build/editor/plugin/element-path-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/element-path.js b/build/editor/plugin/element-path.js
    index e602b1e246..e7d1cda371 100644
    --- a/build/editor/plugin/element-path.js
    +++ b/build/editor/plugin/element-path.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/fake-objects-min.js b/build/editor/plugin/fake-objects-min.js
    index 5da70b2211..9c370c81dc 100644
    --- a/build/editor/plugin/fake-objects-min.js
    +++ b/build/editor/plugin/fake-objects-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 13:38
     */
    diff --git a/build/editor/plugin/fake-objects.js b/build/editor/plugin/fake-objects.js
    index 42021d26ba..744f42b172 100644
    --- a/build/editor/plugin/fake-objects.js
    +++ b/build/editor/plugin/fake-objects.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 13:38
     */
    diff --git a/build/editor/plugin/flash-bridge-min.js b/build/editor/plugin/flash-bridge-min.js
    index 039bc61374..4a4020b7a8 100644
    --- a/build/editor/plugin/flash-bridge-min.js
    +++ b/build/editor/plugin/flash-bridge-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash-bridge.js b/build/editor/plugin/flash-bridge.js
    index da199106c7..06a976fd8c 100644
    --- a/build/editor/plugin/flash-bridge.js
    +++ b/build/editor/plugin/flash-bridge.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js
    index 4f0c6872fc..1dc15cc700 100644
    --- a/build/editor/plugin/flash-common/base-class-min.js
    +++ b/build/editor/plugin/flash-common/base-class-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 13 14:56
     */
    diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js
    index 812f1f423a..3e656c5aa1 100644
    --- a/build/editor/plugin/flash-common/base-class.js
    +++ b/build/editor/plugin/flash-common/base-class.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 13 14:56
     */
    diff --git a/build/editor/plugin/flash-common/utils-min.js b/build/editor/plugin/flash-common/utils-min.js
    index d71295c307..b65b9fac06 100644
    --- a/build/editor/plugin/flash-common/utils-min.js
    +++ b/build/editor/plugin/flash-common/utils-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash-common/utils.js b/build/editor/plugin/flash-common/utils.js
    index 9002ff418d..8df93bbc2f 100644
    --- a/build/editor/plugin/flash-common/utils.js
    +++ b/build/editor/plugin/flash-common/utils.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash-min.js b/build/editor/plugin/flash-min.js
    index af25c9b44c..f8a9fb6b6b 100644
    --- a/build/editor/plugin/flash-min.js
    +++ b/build/editor/plugin/flash-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash.js b/build/editor/plugin/flash.js
    index f81ae98fd7..db039ad357 100644
    --- a/build/editor/plugin/flash.js
    +++ b/build/editor/plugin/flash.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash/dialog-min.js b/build/editor/plugin/flash/dialog-min.js
    index fdd3718570..a49abc1e10 100644
    --- a/build/editor/plugin/flash/dialog-min.js
    +++ b/build/editor/plugin/flash/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/flash/dialog.js b/build/editor/plugin/flash/dialog.js
    index c5bfe05dd5..730a08280a 100644
    --- a/build/editor/plugin/flash/dialog.js
    +++ b/build/editor/plugin/flash/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/focus-fix-min.js b/build/editor/plugin/focus-fix-min.js
    index 9b7dc45617..797fe62552 100644
    --- a/build/editor/plugin/focus-fix-min.js
    +++ b/build/editor/plugin/focus-fix-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/focus-fix.js b/build/editor/plugin/focus-fix.js
    index 1543c4d8d1..bc3f158773 100644
    --- a/build/editor/plugin/focus-fix.js
    +++ b/build/editor/plugin/focus-fix.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:46
     */
    diff --git a/build/editor/plugin/font-family-min.js b/build/editor/plugin/font-family-min.js
    index caae5baebd..2742c5a1bc 100644
    --- a/build/editor/plugin/font-family-min.js
    +++ b/build/editor/plugin/font-family-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-family.js b/build/editor/plugin/font-family.js
    index 48b86b7e7b..0e058fe5d4 100644
    --- a/build/editor/plugin/font-family.js
    +++ b/build/editor/plugin/font-family.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-family/cmd-min.js b/build/editor/plugin/font-family/cmd-min.js
    index d839ab9771..c9d3ef4997 100644
    --- a/build/editor/plugin/font-family/cmd-min.js
    +++ b/build/editor/plugin/font-family/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-family/cmd.js b/build/editor/plugin/font-family/cmd.js
    index 5e1304e0cb..063bf22e80 100644
    --- a/build/editor/plugin/font-family/cmd.js
    +++ b/build/editor/plugin/font-family/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-size-min.js b/build/editor/plugin/font-size-min.js
    index 4bd9ec3918..d2f451cbf0 100644
    --- a/build/editor/plugin/font-size-min.js
    +++ b/build/editor/plugin/font-size-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-size.js b/build/editor/plugin/font-size.js
    index 7ed34e86b2..8f8bf70f8e 100644
    --- a/build/editor/plugin/font-size.js
    +++ b/build/editor/plugin/font-size.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-size/cmd-min.js b/build/editor/plugin/font-size/cmd-min.js
    index 6e2a4e7f6e..09d16875b8 100644
    --- a/build/editor/plugin/font-size/cmd-min.js
    +++ b/build/editor/plugin/font-size/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font-size/cmd.js b/build/editor/plugin/font-size/cmd.js
    index f6cfba1c3e..0b60eb23f4 100644
    --- a/build/editor/plugin/font-size/cmd.js
    +++ b/build/editor/plugin/font-size/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font/cmd-min.js b/build/editor/plugin/font/cmd-min.js
    index 44515dc0fd..eaf6290db0 100644
    --- a/build/editor/plugin/font/cmd-min.js
    +++ b/build/editor/plugin/font/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font/cmd.js b/build/editor/plugin/font/cmd.js
    index 4dc73baec8..edd6b769ff 100644
    --- a/build/editor/plugin/font/cmd.js
    +++ b/build/editor/plugin/font/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font/ui-min.js b/build/editor/plugin/font/ui-min.js
    index 17cc54793a..9d22a987b1 100644
    --- a/build/editor/plugin/font/ui-min.js
    +++ b/build/editor/plugin/font/ui-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/font/ui.js b/build/editor/plugin/font/ui.js
    index cf885f1e62..6e62408440 100644
    --- a/build/editor/plugin/font/ui.js
    +++ b/build/editor/plugin/font/ui.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/fore-color-min.js b/build/editor/plugin/fore-color-min.js
    index a5772eca1d..2234ced865 100644
    --- a/build/editor/plugin/fore-color-min.js
    +++ b/build/editor/plugin/fore-color-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/fore-color.js b/build/editor/plugin/fore-color.js
    index 0b649b3a33..c20b7a5a43 100644
    --- a/build/editor/plugin/fore-color.js
    +++ b/build/editor/plugin/fore-color.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/fore-color/cmd-min.js b/build/editor/plugin/fore-color/cmd-min.js
    index bb87120d03..1f8c88a7a8 100644
    --- a/build/editor/plugin/fore-color/cmd-min.js
    +++ b/build/editor/plugin/fore-color/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/fore-color/cmd.js b/build/editor/plugin/fore-color/cmd.js
    index f2d2dfa1dc..b4271dead8 100644
    --- a/build/editor/plugin/fore-color/cmd.js
    +++ b/build/editor/plugin/fore-color/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/heading-min.js b/build/editor/plugin/heading-min.js
    index 9129924499..945ac1f698 100644
    --- a/build/editor/plugin/heading-min.js
    +++ b/build/editor/plugin/heading-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/heading.js b/build/editor/plugin/heading.js
    index a136bb150b..b1d1caa8e4 100644
    --- a/build/editor/plugin/heading.js
    +++ b/build/editor/plugin/heading.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/heading/cmd-min.js b/build/editor/plugin/heading/cmd-min.js
    index 525bfb3958..7b671275af 100644
    --- a/build/editor/plugin/heading/cmd-min.js
    +++ b/build/editor/plugin/heading/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/heading/cmd.js b/build/editor/plugin/heading/cmd.js
    index 79b8c6cdaf..56bfb576e7 100644
    --- a/build/editor/plugin/heading/cmd.js
    +++ b/build/editor/plugin/heading/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js
    index 38a58e1708..0dce68811f 100644
    --- a/build/editor/plugin/image-min.js
    +++ b/build/editor/plugin/image-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 13 14:56
     */
    diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js
    index 3999ac2091..15502a8aaa 100644
    --- a/build/editor/plugin/image.js
    +++ b/build/editor/plugin/image.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 13 14:56
     */
    diff --git a/build/editor/plugin/image/dialog-min.js b/build/editor/plugin/image/dialog-min.js
    index 9c150dd126..478a775b37 100644
    --- a/build/editor/plugin/image/dialog-min.js
    +++ b/build/editor/plugin/image/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/image/dialog.js b/build/editor/plugin/image/dialog.js
    index 540636c077..2b5defed34 100644
    --- a/build/editor/plugin/image/dialog.js
    +++ b/build/editor/plugin/image/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:47
     */
    diff --git a/build/editor/plugin/indent-min.js b/build/editor/plugin/indent-min.js
    index f7f1ca13e9..b194ae9555 100644
    --- a/build/editor/plugin/indent-min.js
    +++ b/build/editor/plugin/indent-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/indent.js b/build/editor/plugin/indent.js
    index 0a13d66aff..0436a19df7 100644
    --- a/build/editor/plugin/indent.js
    +++ b/build/editor/plugin/indent.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/indent/cmd-min.js b/build/editor/plugin/indent/cmd-min.js
    index 01eaa893cf..ac07ddf5ac 100644
    --- a/build/editor/plugin/indent/cmd-min.js
    +++ b/build/editor/plugin/indent/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/indent/cmd.js b/build/editor/plugin/indent/cmd.js
    index 4ed2f5d20d..6da28042a4 100644
    --- a/build/editor/plugin/indent/cmd.js
    +++ b/build/editor/plugin/indent/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/italic-min.js b/build/editor/plugin/italic-min.js
    index beb2ad7cd3..76c44b3457 100644
    --- a/build/editor/plugin/italic-min.js
    +++ b/build/editor/plugin/italic-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/italic.js b/build/editor/plugin/italic.js
    index 2759a945da..c69ac42041 100644
    --- a/build/editor/plugin/italic.js
    +++ b/build/editor/plugin/italic.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/italic/cmd-min.js b/build/editor/plugin/italic/cmd-min.js
    index 721bd7e77e..3d3ec17ae2 100644
    --- a/build/editor/plugin/italic/cmd-min.js
    +++ b/build/editor/plugin/italic/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/italic/cmd.js b/build/editor/plugin/italic/cmd.js
    index 7bcd80c89e..3cfc625b20 100644
    --- a/build/editor/plugin/italic/cmd.js
    +++ b/build/editor/plugin/italic/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-center-min.js b/build/editor/plugin/justify-center-min.js
    index 54031ef5f8..a1a2250496 100644
    --- a/build/editor/plugin/justify-center-min.js
    +++ b/build/editor/plugin/justify-center-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-center.js b/build/editor/plugin/justify-center.js
    index d89117f1f1..fae6295d88 100644
    --- a/build/editor/plugin/justify-center.js
    +++ b/build/editor/plugin/justify-center.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-center/cmd-min.js b/build/editor/plugin/justify-center/cmd-min.js
    index d2fe2b14a6..e399b0adda 100644
    --- a/build/editor/plugin/justify-center/cmd-min.js
    +++ b/build/editor/plugin/justify-center/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-center/cmd.js b/build/editor/plugin/justify-center/cmd.js
    index 2e4c0e379e..5c59fd5a23 100644
    --- a/build/editor/plugin/justify-center/cmd.js
    +++ b/build/editor/plugin/justify-center/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-cmd-min.js b/build/editor/plugin/justify-cmd-min.js
    index 5071e7e295..d4f062e95a 100644
    --- a/build/editor/plugin/justify-cmd-min.js
    +++ b/build/editor/plugin/justify-cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-cmd.js b/build/editor/plugin/justify-cmd.js
    index 04ba2cc58c..26d865fa1b 100644
    --- a/build/editor/plugin/justify-cmd.js
    +++ b/build/editor/plugin/justify-cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-left-min.js b/build/editor/plugin/justify-left-min.js
    index c3704c5c65..269d2b1aca 100644
    --- a/build/editor/plugin/justify-left-min.js
    +++ b/build/editor/plugin/justify-left-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-left.js b/build/editor/plugin/justify-left.js
    index b4acee2dfc..336378ec71 100644
    --- a/build/editor/plugin/justify-left.js
    +++ b/build/editor/plugin/justify-left.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-left/cmd-min.js b/build/editor/plugin/justify-left/cmd-min.js
    index c3acb56b90..0825a22615 100644
    --- a/build/editor/plugin/justify-left/cmd-min.js
    +++ b/build/editor/plugin/justify-left/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-left/cmd.js b/build/editor/plugin/justify-left/cmd.js
    index 47cc5cfd8c..c338ae83aa 100644
    --- a/build/editor/plugin/justify-left/cmd.js
    +++ b/build/editor/plugin/justify-left/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-right-min.js b/build/editor/plugin/justify-right-min.js
    index 252859bfb4..52abaf2b2c 100644
    --- a/build/editor/plugin/justify-right-min.js
    +++ b/build/editor/plugin/justify-right-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-right.js b/build/editor/plugin/justify-right.js
    index 00bd97588f..fcaecdbf62 100644
    --- a/build/editor/plugin/justify-right.js
    +++ b/build/editor/plugin/justify-right.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-right/cmd-min.js b/build/editor/plugin/justify-right/cmd-min.js
    index 7b62d0c261..18e3f87e2d 100644
    --- a/build/editor/plugin/justify-right/cmd-min.js
    +++ b/build/editor/plugin/justify-right/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/justify-right/cmd.js b/build/editor/plugin/justify-right/cmd.js
    index 7df777e92b..d9464502d2 100644
    --- a/build/editor/plugin/justify-right/cmd.js
    +++ b/build/editor/plugin/justify-right/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/link-min.js b/build/editor/plugin/link-min.js
    index 0d737f360b..14023e4ebf 100644
    --- a/build/editor/plugin/link-min.js
    +++ b/build/editor/plugin/link-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/link.js b/build/editor/plugin/link.js
    index 9ddd6caeb1..c674e60ed4 100644
    --- a/build/editor/plugin/link.js
    +++ b/build/editor/plugin/link.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:48
     */
    diff --git a/build/editor/plugin/link/dialog-min.js b/build/editor/plugin/link/dialog-min.js
    index 1cc6ad6d33..523d4a9139 100644
    --- a/build/editor/plugin/link/dialog-min.js
    +++ b/build/editor/plugin/link/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/link/dialog.js b/build/editor/plugin/link/dialog.js
    index b7dc758cc6..7b0c7e126e 100644
    --- a/build/editor/plugin/link/dialog.js
    +++ b/build/editor/plugin/link/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/link/utils-min.js b/build/editor/plugin/link/utils-min.js
    index 031c68a4e6..78cebd3eb9 100644
    --- a/build/editor/plugin/link/utils-min.js
    +++ b/build/editor/plugin/link/utils-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/link/utils.js b/build/editor/plugin/link/utils.js
    index 231be2551e..ad86d477d0 100644
    --- a/build/editor/plugin/link/utils.js
    +++ b/build/editor/plugin/link/utils.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils-min.js b/build/editor/plugin/list-utils-min.js
    index 19ace28982..8d4a169be5 100644
    --- a/build/editor/plugin/list-utils-min.js
    +++ b/build/editor/plugin/list-utils-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils.js b/build/editor/plugin/list-utils.js
    index 404ede430c..f64b36e277 100644
    --- a/build/editor/plugin/list-utils.js
    +++ b/build/editor/plugin/list-utils.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils/btn-min.js b/build/editor/plugin/list-utils/btn-min.js
    index 7eea32a86f..3dfd20e849 100644
    --- a/build/editor/plugin/list-utils/btn-min.js
    +++ b/build/editor/plugin/list-utils/btn-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils/btn.js b/build/editor/plugin/list-utils/btn.js
    index 39ffa3c29d..47051c2818 100644
    --- a/build/editor/plugin/list-utils/btn.js
    +++ b/build/editor/plugin/list-utils/btn.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils/cmd-min.js b/build/editor/plugin/list-utils/cmd-min.js
    index 93b389f863..8f0a557668 100644
    --- a/build/editor/plugin/list-utils/cmd-min.js
    +++ b/build/editor/plugin/list-utils/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/list-utils/cmd.js b/build/editor/plugin/list-utils/cmd.js
    index 6f9438a161..41caccd603 100644
    --- a/build/editor/plugin/list-utils/cmd.js
    +++ b/build/editor/plugin/list-utils/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/local-storage-min.js b/build/editor/plugin/local-storage-min.js
    index 000642f8f4..a61f62457b 100644
    --- a/build/editor/plugin/local-storage-min.js
    +++ b/build/editor/plugin/local-storage-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/local-storage.js b/build/editor/plugin/local-storage.js
    index 8245d5410e..986c47c4b9 100644
    --- a/build/editor/plugin/local-storage.js
    +++ b/build/editor/plugin/local-storage.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/maximize-min.js b/build/editor/plugin/maximize-min.js
    index c98a8de256..bcdd607155 100644
    --- a/build/editor/plugin/maximize-min.js
    +++ b/build/editor/plugin/maximize-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/maximize.js b/build/editor/plugin/maximize.js
    index d9443c648c..e2e7b526f0 100644
    --- a/build/editor/plugin/maximize.js
    +++ b/build/editor/plugin/maximize.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/maximize/cmd-min.js b/build/editor/plugin/maximize/cmd-min.js
    index 5de7305214..e4b2750c65 100644
    --- a/build/editor/plugin/maximize/cmd-min.js
    +++ b/build/editor/plugin/maximize/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/maximize/cmd.js b/build/editor/plugin/maximize/cmd.js
    index e0b84e2889..190e96f290 100644
    --- a/build/editor/plugin/maximize/cmd.js
    +++ b/build/editor/plugin/maximize/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/menubutton-min.js b/build/editor/plugin/menubutton-min.js
    index 1ab5d13053..9cb0dc276d 100644
    --- a/build/editor/plugin/menubutton-min.js
    +++ b/build/editor/plugin/menubutton-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/menubutton.js b/build/editor/plugin/menubutton.js
    index 10abbffaa8..10d71c9e80 100644
    --- a/build/editor/plugin/menubutton.js
    +++ b/build/editor/plugin/menubutton.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/ordered-list-min.js b/build/editor/plugin/ordered-list-min.js
    index 95dad64a4f..d94615459b 100644
    --- a/build/editor/plugin/ordered-list-min.js
    +++ b/build/editor/plugin/ordered-list-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/ordered-list.js b/build/editor/plugin/ordered-list.js
    index f0576a8d9d..f42fca0e4a 100644
    --- a/build/editor/plugin/ordered-list.js
    +++ b/build/editor/plugin/ordered-list.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/ordered-list/cmd-min.js b/build/editor/plugin/ordered-list/cmd-min.js
    index c10af773df..df98eadc76 100644
    --- a/build/editor/plugin/ordered-list/cmd-min.js
    +++ b/build/editor/plugin/ordered-list/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/ordered-list/cmd.js b/build/editor/plugin/ordered-list/cmd.js
    index 281c688482..c775ac058b 100644
    --- a/build/editor/plugin/ordered-list/cmd.js
    +++ b/build/editor/plugin/ordered-list/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:49
     */
    diff --git a/build/editor/plugin/outdent-min.js b/build/editor/plugin/outdent-min.js
    index 70358019f2..7cbcdd62b2 100644
    --- a/build/editor/plugin/outdent-min.js
    +++ b/build/editor/plugin/outdent-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/outdent.js b/build/editor/plugin/outdent.js
    index ba2f46ce31..4db082f17b 100644
    --- a/build/editor/plugin/outdent.js
    +++ b/build/editor/plugin/outdent.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/outdent/cmd-min.js b/build/editor/plugin/outdent/cmd-min.js
    index 0e7dc28e33..b3a35869cd 100644
    --- a/build/editor/plugin/outdent/cmd-min.js
    +++ b/build/editor/plugin/outdent/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/outdent/cmd.js b/build/editor/plugin/outdent/cmd.js
    index 4565b90932..412a3a92f0 100644
    --- a/build/editor/plugin/outdent/cmd.js
    +++ b/build/editor/plugin/outdent/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/overlay-min.js b/build/editor/plugin/overlay-min.js
    index 609b32cefa..b22b6d21bf 100644
    --- a/build/editor/plugin/overlay-min.js
    +++ b/build/editor/plugin/overlay-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/overlay.js b/build/editor/plugin/overlay.js
    index edf44179c9..39d6ebce54 100644
    --- a/build/editor/plugin/overlay.js
    +++ b/build/editor/plugin/overlay.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/page-break-min.js b/build/editor/plugin/page-break-min.js
    index 58b42f72ee..f1c96d5422 100644
    --- a/build/editor/plugin/page-break-min.js
    +++ b/build/editor/plugin/page-break-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/page-break.js b/build/editor/plugin/page-break.js
    index e3168bd301..a59269dda4 100644
    --- a/build/editor/plugin/page-break.js
    +++ b/build/editor/plugin/page-break.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/preview-min.js b/build/editor/plugin/preview-min.js
    index d4c765ab80..8c3e7d5b76 100644
    --- a/build/editor/plugin/preview-min.js
    +++ b/build/editor/plugin/preview-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/preview.js b/build/editor/plugin/preview.js
    index 14c889de2c..33e0954e9a 100644
    --- a/build/editor/plugin/preview.js
    +++ b/build/editor/plugin/preview.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/progressbar-min.js b/build/editor/plugin/progressbar-min.js
    index 6f178ec808..13c09d767e 100644
    --- a/build/editor/plugin/progressbar-min.js
    +++ b/build/editor/plugin/progressbar-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/progressbar.js b/build/editor/plugin/progressbar.js
    index 9a7490e8ca..6c4335a17e 100644
    --- a/build/editor/plugin/progressbar.js
    +++ b/build/editor/plugin/progressbar.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/remove-format-min.js b/build/editor/plugin/remove-format-min.js
    index e21fbda9e0..e89f7d6ac9 100644
    --- a/build/editor/plugin/remove-format-min.js
    +++ b/build/editor/plugin/remove-format-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/remove-format.js b/build/editor/plugin/remove-format.js
    index aa3e0cb7e9..14ca745521 100644
    --- a/build/editor/plugin/remove-format.js
    +++ b/build/editor/plugin/remove-format.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/remove-format/cmd-min.js b/build/editor/plugin/remove-format/cmd-min.js
    index a9b4a0cc68..4bfb9afbd2 100644
    --- a/build/editor/plugin/remove-format/cmd-min.js
    +++ b/build/editor/plugin/remove-format/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/remove-format/cmd.js b/build/editor/plugin/remove-format/cmd.js
    index f5d461b5f7..407d80d9c3 100644
    --- a/build/editor/plugin/remove-format/cmd.js
    +++ b/build/editor/plugin/remove-format/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/resize-min.js b/build/editor/plugin/resize-min.js
    index 4fb17540a9..b23f060f1a 100644
    --- a/build/editor/plugin/resize-min.js
    +++ b/build/editor/plugin/resize-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/resize.js b/build/editor/plugin/resize.js
    index 8486478bb4..1080975979 100644
    --- a/build/editor/plugin/resize.js
    +++ b/build/editor/plugin/resize.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/separator-min.js b/build/editor/plugin/separator-min.js
    index 3eeebb4e6b..abfa016cb8 100644
    --- a/build/editor/plugin/separator-min.js
    +++ b/build/editor/plugin/separator-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/separator.js b/build/editor/plugin/separator.js
    index b3a2f586d9..fee3993e50 100644
    --- a/build/editor/plugin/separator.js
    +++ b/build/editor/plugin/separator.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/smiley-min.js b/build/editor/plugin/smiley-min.js
    index 298b0f3c10..f459bf0f9a 100644
    --- a/build/editor/plugin/smiley-min.js
    +++ b/build/editor/plugin/smiley-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/smiley.js b/build/editor/plugin/smiley.js
    index 1b602d2016..f2634ce15b 100644
    --- a/build/editor/plugin/smiley.js
    +++ b/build/editor/plugin/smiley.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/source-area-min.js b/build/editor/plugin/source-area-min.js
    index 505a6a589c..566fafcf6f 100644
    --- a/build/editor/plugin/source-area-min.js
    +++ b/build/editor/plugin/source-area-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/source-area.js b/build/editor/plugin/source-area.js
    index e902d8c7d8..57d476db7f 100644
    --- a/build/editor/plugin/source-area.js
    +++ b/build/editor/plugin/source-area.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:50
     */
    diff --git a/build/editor/plugin/strike-through-min.js b/build/editor/plugin/strike-through-min.js
    index 69371c2c4a..31b2db60c6 100644
    --- a/build/editor/plugin/strike-through-min.js
    +++ b/build/editor/plugin/strike-through-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/strike-through.js b/build/editor/plugin/strike-through.js
    index de3a010346..6d0a139530 100644
    --- a/build/editor/plugin/strike-through.js
    +++ b/build/editor/plugin/strike-through.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/strike-through/cmd-min.js b/build/editor/plugin/strike-through/cmd-min.js
    index 2d9149924c..d3bdb9c514 100644
    --- a/build/editor/plugin/strike-through/cmd-min.js
    +++ b/build/editor/plugin/strike-through/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/strike-through/cmd.js b/build/editor/plugin/strike-through/cmd.js
    index 4c0f34c291..7af54a633f 100644
    --- a/build/editor/plugin/strike-through/cmd.js
    +++ b/build/editor/plugin/strike-through/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/table-min.js b/build/editor/plugin/table-min.js
    index 7bd46b140a..0cfd6178ab 100644
    --- a/build/editor/plugin/table-min.js
    +++ b/build/editor/plugin/table-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/table.js b/build/editor/plugin/table.js
    index 64a22f6de0..de1e6d0317 100644
    --- a/build/editor/plugin/table.js
    +++ b/build/editor/plugin/table.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/table/dialog-min.js b/build/editor/plugin/table/dialog-min.js
    index 055b9afe04..6a420529e7 100644
    --- a/build/editor/plugin/table/dialog-min.js
    +++ b/build/editor/plugin/table/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/table/dialog.js b/build/editor/plugin/table/dialog.js
    index 8d2e91460c..e9a3c32617 100644
    --- a/build/editor/plugin/table/dialog.js
    +++ b/build/editor/plugin/table/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/underline-min.js b/build/editor/plugin/underline-min.js
    index 54a0030f17..a3b491bec6 100644
    --- a/build/editor/plugin/underline-min.js
    +++ b/build/editor/plugin/underline-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/underline.js b/build/editor/plugin/underline.js
    index 8742df6444..79eb276b1f 100644
    --- a/build/editor/plugin/underline.js
    +++ b/build/editor/plugin/underline.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/underline/cmd-min.js b/build/editor/plugin/underline/cmd-min.js
    index f416dc619c..34a7191811 100644
    --- a/build/editor/plugin/underline/cmd-min.js
    +++ b/build/editor/plugin/underline/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/underline/cmd.js b/build/editor/plugin/underline/cmd.js
    index debd7b98a5..e47cfac99a 100644
    --- a/build/editor/plugin/underline/cmd.js
    +++ b/build/editor/plugin/underline/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo-min.js b/build/editor/plugin/undo-min.js
    index bd2e85090a..e556027275 100644
    --- a/build/editor/plugin/undo-min.js
    +++ b/build/editor/plugin/undo-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo.js b/build/editor/plugin/undo.js
    index 2ddb67638d..597dbc9996 100644
    --- a/build/editor/plugin/undo.js
    +++ b/build/editor/plugin/undo.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo/btn-min.js b/build/editor/plugin/undo/btn-min.js
    index 1718e17330..96a1a98cbd 100644
    --- a/build/editor/plugin/undo/btn-min.js
    +++ b/build/editor/plugin/undo/btn-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo/btn.js b/build/editor/plugin/undo/btn.js
    index 13e265fea1..07f77cda0f 100644
    --- a/build/editor/plugin/undo/btn.js
    +++ b/build/editor/plugin/undo/btn.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo/cmd-min.js b/build/editor/plugin/undo/cmd-min.js
    index 09823a9feb..9f6c173ac8 100644
    --- a/build/editor/plugin/undo/cmd-min.js
    +++ b/build/editor/plugin/undo/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/undo/cmd.js b/build/editor/plugin/undo/cmd.js
    index af158340d2..e4c3d0f737 100644
    --- a/build/editor/plugin/undo/cmd.js
    +++ b/build/editor/plugin/undo/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/unordered-list-min.js b/build/editor/plugin/unordered-list-min.js
    index 392f3d8310..3533602da6 100644
    --- a/build/editor/plugin/unordered-list-min.js
    +++ b/build/editor/plugin/unordered-list-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/unordered-list.js b/build/editor/plugin/unordered-list.js
    index c76f6744d3..6bf66d83f0 100644
    --- a/build/editor/plugin/unordered-list.js
    +++ b/build/editor/plugin/unordered-list.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/unordered-list/cmd-min.js b/build/editor/plugin/unordered-list/cmd-min.js
    index 2bf449b3f8..aac1b0a373 100644
    --- a/build/editor/plugin/unordered-list/cmd-min.js
    +++ b/build/editor/plugin/unordered-list/cmd-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/unordered-list/cmd.js b/build/editor/plugin/unordered-list/cmd.js
    index 3f70e12401..39bce6463c 100644
    --- a/build/editor/plugin/unordered-list/cmd.js
    +++ b/build/editor/plugin/unordered-list/cmd.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/video-min.js b/build/editor/plugin/video-min.js
    index 2aaef52bd7..ad76545333 100644
    --- a/build/editor/plugin/video-min.js
    +++ b/build/editor/plugin/video-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/video.js b/build/editor/plugin/video.js
    index 669f00bec1..d5c7201ba9 100644
    --- a/build/editor/plugin/video.js
    +++ b/build/editor/plugin/video.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:51
     */
    diff --git a/build/editor/plugin/video/dialog-min.js b/build/editor/plugin/video/dialog-min.js
    index 9f439d51de..9239d0ca4d 100644
    --- a/build/editor/plugin/video/dialog-min.js
    +++ b/build/editor/plugin/video/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/plugin/video/dialog.js b/build/editor/plugin/video/dialog.js
    index a11761c01e..ba1c13478d 100644
    --- a/build/editor/plugin/video/dialog.js
    +++ b/build/editor/plugin/video/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/plugin/word-filter-min.js b/build/editor/plugin/word-filter-min.js
    index 99b507ae17..df29df3ace 100644
    --- a/build/editor/plugin/word-filter-min.js
    +++ b/build/editor/plugin/word-filter-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 27 14:55
     */
    diff --git a/build/editor/plugin/word-filter.js b/build/editor/plugin/word-filter.js
    index b7fcc9a300..4ad661c68e 100644
    --- a/build/editor/plugin/word-filter.js
    +++ b/build/editor/plugin/word-filter.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 27 14:55
     */
    diff --git a/build/editor/plugin/xiami-music-min.js b/build/editor/plugin/xiami-music-min.js
    index c00893a7dc..8ac0002432 100644
    --- a/build/editor/plugin/xiami-music-min.js
    +++ b/build/editor/plugin/xiami-music-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/plugin/xiami-music.js b/build/editor/plugin/xiami-music.js
    index 1e91da726f..9175e157e5 100644
    --- a/build/editor/plugin/xiami-music.js
    +++ b/build/editor/plugin/xiami-music.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/plugin/xiami-music/dialog-min.js b/build/editor/plugin/xiami-music/dialog-min.js
    index 191e93cf72..7a7063b66d 100644
    --- a/build/editor/plugin/xiami-music/dialog-min.js
    +++ b/build/editor/plugin/xiami-music/dialog-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/plugin/xiami-music/dialog.js b/build/editor/plugin/xiami-music/dialog.js
    index 167b2b553c..d9b8682ba8 100644
    --- a/build/editor/plugin/xiami-music/dialog.js
    +++ b/build/editor/plugin/xiami-music/dialog.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Jan 6 12:52
     */
    diff --git a/build/editor/theme/cool/editor-min.css b/build/editor/theme/cool/editor-min.css
    index 1cdeedc1a7..ee08581b5c 100644
    --- a/build/editor/theme/cool/editor-min.css
    +++ b/build/editor/theme/cool/editor-min.css
    @@ -1,6 +1,6 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
    -.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');-background-image:url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px}
    +.ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');-background-image:url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px}
    diff --git a/build/editor/theme/cool/editor-pkg-sprite-min.css b/build/editor/theme/cool/editor-pkg-sprite-min.css
    index c19ae2ab40..acf39f9934 100644
    --- a/build/editor/theme/cool/editor-pkg-sprite-min.css
    +++ b/build/editor/theme/cool/editor-pkg-sprite-min.css
    @@ -1,6 +1,6 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     .ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}.ks-editor-bubble{box-shadow:0 1px 3px rgba(0,0,0,.2);border-radius:2px;position:absolute;border:1px solid;background-color:white;color:#666;padding:12px 20px;z-index:550;cursor:default;font-size:13px;border-color:#BBB #BBB #a8a8a8}.ks-editor-bubble-link,.ks-editor-bubble-url{cursor:pointer;text-decoration:none;color:#15C}.ks-editor-bubble-link:hover,.ks-editor-bubble-url:hover{color:#15C;text-decoration:underline}.ks-editor-button{display:inline-block;margin:2px;border-radius:2px;padding:3px 18px;border:1px solid #c1c8d1;color:black;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 1px #e4e4e4;background:#e8ebee repeat-x left top;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -0px}.ks-ie6 .ks-editor-button,.ks-ie7 .ks-editor-button{display:inline;zoom:1;padding-bottom:2px}.ks-editor-tools .ks-editor-button{padding:0;box-shadow:none;background:0}.ks-editor-toolbar-button{border:1px solid transparent}.ks-ie6 .ks-editor-toolbar-button{border-color:tomato;filter:chroma(color=tomato)}.ks-editor-tools .ks-editor-button-checked{border-color:#729bd1;background-color:#dde1eb!important}.ks-editor-button-hover,.ks-editor-button:hover{cursor:pointer;text-decoration:none;border-color:#e8cca0;background:#f5e7ce repeat-x left top;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -26px}.ks-editor-tools .ks-editor-button-hover,.ks-editor-tools .ks-editor-button:hover{background:0;border-color:#ced5e0}.ks-editor-button-disabled{opacity:.3}.ks-ie7 .ks-editor-button-disabled,.ks-ie8 .ks-editor-button-disabled{filter:alpha(opacity=30)}.ks-ie6 .ks-editor-button-disabled{filter:chroma(color=tomato) alpha(opacity=30)}.ks-editor-tools .ks-editor-button-hover.ks-editor-button-checked{border-color:#a1badf}.ks-editor-tools .ks-editor-button-active,.ks-editor-button:active{border-color:#a1badf!important;background-color:#dde1eb!important}.ks-editor-code-wrap{padding:20px;padding-bottom:10px;position:relative;overflow:hidden}.ks-editor-code-table{border-collapse:collapse;width:100%}.ks-editor-code-table td{padding:2px}.ks-editor-code-table-action{padding:20px;padding-top:5px}.ks-editor-code-insert{margin-right:20px}.ks-editor-code-table .ks-editor-code-textarea{width:367px;height:270px}.ks-editor-color-panel a{display:block;color:black;text-decoration:none}.ks-editor-color-panel a:hover{color:black;text-decoration:none}.ks-editor-color-panel a:active{color:black}.ks-editor-color-palette{margin:5px 8px 8px}.ks-editor-color-palette table{border:1px solid #666;border-collapse:collapse}.ks-editor-color-palette td{border-right:1px solid #666;height:18px;width:18px;padding:0}a.ks-editor-color-a{height:18px;width:18px}a.ks-editor-color-a:hover{border:1px solid #fff;height:16px;width:16px}a.ks-editor-color-remove{padding:3px 8px;margin:2px 0 3px 0}a.ks-editor-color-remove:hover{background-color:#d6e9f8}.ks-editor-color-advanced-picker-left{float:left;display:inline;margin-left:10px}.ks-editor-color-advanced-picker-right{float:right;width:50px;display:inline;margin:13px 10px 0 0;cursor:crosshair}.ks-editor-color-advanced-picker-right a{height:2px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left ul{float:left;margin:0;padding:0}.ks-editor-color-advanced-picker-left li,.ks-editor-color-advanced-picker-left a{overflow:hidden;width:15px;height:16px;line-height:0;font-size:0;display:block}.ks-editor-color-advanced-picker-left a:hover{width:13px;height:13px;border:1px solid white}.ks-editor-color-advanced-indicator{margin-left:10px;*zoom:1;display:inline-block;*display:inline;width:68px;height:24px;vertical-align:middle;line-height:0;overflow:hidden}.ks-editor-draft{position:absolute;right:15px;height:22px;bottom:4px;width:650px;_bottom:0;text-align:right}.ks-editor-draft .ks-editor-menu-button{background:0;background-color:#fff;text-align:left;padding:0;margin-right:2px}.ks-editor-draft .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-draft-save-btn span{vertical-align:middle}.ks-editor-draft-save{background:no-repeat scroll 0 1px transparent;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -52px;width:18px;height:15px;display:inline-block;zoom:1;*display:inline;margin:1px 0 2px 0}.ks-editor-draft-title,.ks-editor-draft-time{vertical-align:middle}.ks-editor-draft-time{margin:0 10px}.ks-editor-draft-help{background:no-repeat;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -69px;width:14px;overflow:hidden;height:14px;text-indent:9999px;outline:0;display:inline-block;zoom:1;*display:inline;vertical-align:middle;cursor:pointer}.ks-editor{background:white;border:1px solid #ced5e0;font-size:13px;line-height:1.2;_font-size:12px}.ks-editor-textarea-wrap{overflow:hidden;-ms-user-select:text;user-select:text}.ks-editor-textarea{border-width:0;margin:0;padding:0;width:100%}.ks-editor-iframe{width:100%;height:100%;border:0}.ks-editor-tools{background-color:#f5f7fa;background:-webkit-gradient(linear,left top,left bottom,from(#f8fafd),to(#f2f5f8));background:-moz-linear-gradient(center top,#f8fafd,#f2f5f8) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f8fafd',endColorstr = '#f2f5f8');border-bottom:1px solid #ced5e0;zoom:1}.ks-editor-status{background-color:#ebeef2;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(center top,#e7e9ed,#f1f4f7) repeat scroll 0 0 transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e7e9ed',endColorstr = '#f1f4f7');border-top:1px solid #ced5e0;height:22px;padding:2px 0;position:relative}ks-editor-toolbar-padding{padding:5px}.ks-editor-toolbar-item{background:no-repeat scroll left top transparent;display:block;height:16px;overflow:hidden;text-indent:-999999px;vertical-align:middle;width:16px;margin:2px 4px}.ks-editor-toolbar-separator{display:inline-block;zoom:1;*display:inline;border-left:1px solid #d7d7d7;border-right:1px solid #fff;font-size:120%;margin:0 2px;overflow:hidden;padding:0;vertical-align:middle;width:0}.ks-editor-toolbar-sourceArea{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -81px}.ks-editor-toolbar-preview{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -97px}.ks-editor-toolbar-bold{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -113px}.ks-editor-toolbar-italic{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -129px}.ks-editor-toolbar-underline{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -145px;height:11px;margin-top:5px;margin-bottom:4px;width:10px;margin-left:7px;margin-right:7px}.ks-editor-toolbar-strikeThrough{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -156px;height:11px;margin-top:4px;margin-bottom:5px}.ks-editor-toolbar-orderedList{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -167px;margin-right:0}.ks-editor-toolbar-unorderedList{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -183px;margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn{border-color:transparent;_border-color:tomato;_filter:chroma(color = tomato)}.ks-editor-tools .ks-editor-toolbar-unorderedListBtn,.ks-editor-tools .ks-editor-toolbar-orderedListBtn{margin-right:0}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-content,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-content{margin:0;padding:0;width:0;height:0;font-size:0;overflow:hidden}.ks-editor-tools .ks-editor-toolbar-unorderedListArrowBtn .ks-editor-menu-button-dropdown,.ks-editor-tools .ks-editor-toolbar-orderedListArrowBtn .ks-editor-menu-button-dropdown{position:static;width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px;background:0}.ks-editor-toolbar-outdent{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -199px}.ks-editor-toolbar-indent{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -215px}.ks-editor-toolbar-justifyLeft{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -231px}.ks-editor-toolbar-justifyCenter{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -247px}.ks-editor-toolbar-justifyRight{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -263px}.ks-editor-toolbar-image{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -279px}.ks-editor-toolbar-backColorBtn,.ks-editor-toolbar-foreColorBtn{margin-right:0}.ks-editor-toolbar-backColor,.ks-editor-toolbar-foreColor{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -295px;width:18px;height:15px;margin-top:2px;margin-right:0;margin-left:4px;margin-bottom:1px}.ks-editor-toolbar-backColor{margin-left:3px}.ks-editor-toolbar-foreColor{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -310px}.ks-editor-toolbar-color-indicator{height:4px;margin-left:2px;margin-bottom:2px;width:20px;font-size:0;overflow:hidden}.ks-editor-toolbar-backColorArrowBtn,.ks-editor-toolbar-foreColorArrowBtn{margin-left:0}.ks-editor-toolbar-backColorArrow,.ks-editor-toolbar-foreColorArrow{width:0;height:0;border:3px solid transparent;_border-color:tomato;_filter:chroma(color = tomato);border-top-color:#000;margin:8px 2px}.ks-editor-toolbar-undo{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -324px}.ks-editor-toolbar-redo{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -339px;height:15px;margin:3px 4px}.ks-editor-toolbar-table{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -354px}.ks-editor-toolbar-template{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -370px}.ks-editor-toolbar-maximize{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -386px}.ks-editor-toolbar-flash{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -402px}.ks-editor-toolbar-link{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -418px}.ks-editor-toolbar-music{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-xiamiMusic{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -434px}.ks-editor-toolbar-video{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -450px}.ks-editor-toolbar-smiley{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -466px}.ks-editor-toolbar-removeFormat{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -482px}.ks-editor-toolbar-pageBreak{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -498px;height:12px;margin-top:4px;margin-bottom:4px}.ks-editor-toolbar-code{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -509px}.ks-editor-toolbar-restore{background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -525px}.ks-editor-input{border-radius:2px;background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png");border:1px solid #b5b8c8;height:24px;line-height:22px}.ks-editor-input-tip{color:#969696}.ks-editor-element-path{padding:0 5px;text-decoration:none}.ks-editor-element-path:hover{background:#cff;text-decoration:none}.ks-editor-popupmenu{background:none repeat scroll 0 0 #fcfcfc;border-color:#ced5e0;border-style:solid;border-width:1px;cursor:default;font:13px Arial,sans-serif;margin:0;outline:medium none;position:absolute;overflow:auto;overflow-x:hidden;left:-9999px;top:-9999px;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4;box-shadow:0 1px 1px #e4e4e4}.ks-editor-popupmenu-hidden{visibility:hidden}.ks-editor-menuitem{margin:0;border-width:0;padding:4px 10px 4px 20px;white-space:nowrap;position:relative;zoom:1}.ks-editor-menuitem-hover,.ks-editor-option-selected{background:#d6e9f8;text-decoration:none;color:black}.ks-editor-menuitem-disabled{opacity:.3;-moz-opacity:.3;filter:alpha(opacity = 30)}.ks-editor-dialog,.ks-editor-overlay{position:absolute;left:-9999px;top:-9999px;outline:0;overflow:hidden}.ks-editor-overlay-hidden{visibility:hidden;left:-9999px!important;top:-9999px!important}.ks-editor-overlay-mask-hidden{visibility:hidden}.ks-editor-dialog label,.ks-editor-dialog input{vertical-align:middle}.ks-editor-dialog,.ks-editor-popup{background-color:#fbfbfb;border:1px solid #acb4be}.ks-editor-dialog-header{background:repeat-x scroll 0 0 #d6dbe2;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -541px;border-bottom:1px solid #acb4be;font-size:14px;font-weight:bold;height:30px;line-height:30px;padding:0 0 0 18px}.ks-editor-dialog-close{height:18px;width:18px;border:1px solid transparent;right:6px;top:6px;vertical-align:middle;position:absolute;text-decoration:none;outline:0;_border-color:tomato;_filter:chroma(color=tomato);overflow:hidden;cursor:pointer}.ks-editor-dialog-close-x{display:block;background:no-repeat;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -571px;height:13px;text-indent:-9999px;width:13px;margin:2.5px}.ks-editor-dialog-close:hover{border:1px solid #ced5e0;background:white}.ks-editor-overlay-mask{background-color:#000;opacity:.3;filter:alpha(opacity=15)}.ks-editor-overlay-loading{opacity:.6;filter:alpha(opacity=60);background:#eee center center no-repeat scroll;background-image:url("../tao-loading.gif")}.ks-editor-global-loading .ks-editor-overlay-loading{background-attachment:fixed}.ks-editor-progressbar{border:1px solid #d6dee6;position:relative;margin-left:auto;margin-right:auto;background-color:#eaeff4;background:-webkit-gradient(linear,left top,left bottom,from(#eaeff4),to(#ebf0f3));background:-moz-linear-gradient(top,#eaeff4,#ebf0f3);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#EAEFF4',endColorstr = '#EBF0F3')}.ks-editor-progressbar-inner{border:1px solid #3571b4;background-color:#6fa5db;padding:1px}.ks-editor-progressbar-inner-bg{height:100%;background-color:#73b1e9;background:-webkit-gradient(linear,left top,left bottom,from(#73b1e9),to(#3f81c8));background:-moz-linear-gradient(top,#73b1e9,#3f81c8);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#73B1E9',endColorstr = '#3F81C8')}.ks-editor-progressbar-title{width:30px;top:0;left:40%;line-height:1.2;position:absolute}.ks-editor-resizer{background:no-repeat right bottom;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -584px;height:10px;width:10px;font-size:0;position:absolute;bottom:0;right:0;cursor:auto}.ks-editor-menu-button,.ks-editor-big-select{display:inline-block;*display:inline;*zoom:1;border:1px solid #c1c8d1;height:20px;margin:2px 0;color:#000;border-radius:2px;border-radius:2px;text-decoration:none;white-space:nowrap;overflow:hidden;position:relative;vertical-align:middle}.ks-editor-tools .ks-editor-menu-button{margin:0 2px}.ks-editor-tools .ks-editor-menu-button-hover{color:black;text-decoration:none;border-color:#729bd1}.ks-editor-tools .ks-editor-menu-button-active{color:#000;background-color:#fff}.ks-editor-menu-button-dropdown,.ks-editor-big-menu-button-dropdown,.ks-editor-big-menu-button-dropdown-inner{background:no-repeat scroll center center transparent;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -594px;width:7px;height:3px;vertical-align:middle;font-size:0;position:absolute;right:0;top:0;margin-top:10px;margin-right:5px}.ks-editor-big-menu-button-dropdown{margin-top:0;margin-right:0}.ks-editor-menu-button-disabled,.ks-editor-menu-button-disabled .ks-editor-menu-button-hover,.ks-editor-menu-button-disabled .ks-editor-menu-button{cursor:default;color:gray;border-color:#c1c8d1}.ks-ie9 .ks-editor-menu-button-disabled .ks-editor-menu-button{filter:none}.ks-editor-tools .ks-editor-menu-button-content{padding-left:4px;height:20px;line-height:20px;position:relative}.ks-editor-big-select{height:24px}.ks-editor-big-menu-button-dropdown{padding-left:6px;padding-right:6px;background:#e8ebee repeat-x left top;background-image:url('./cool.png');-background-image:url('./cool-ie6.png');background-position:left -0px;-background-image:none;height:24px;width:14px;padding-top:1px;border-left:1px solid #c1c8d1}.ks-editor-big-select{background:#fff repeat-x scroll 0 0;background-image:url("text-bg.png")}.ks-editor-big-menu-button-content{padding-left:5px}.ks-editor-smiley-sprite{background:url("http://a.tbcdn.cn/sys/wangwang/smiley/sprite.png") no-repeat scroll -1px 0 transparent;height:235px;width:288px;margin:5px;zoom:1;overflow:hidden}.ks-editor-smiley-sprite a{width:24px;height:24px;border:1px solid white;float:left}.ks-editor-smiley-sprite a:hover{border:1px solid #808080}.ks-editor-img-tabs-bar{padding-left:10px;margin:0;margin-top:10px;border-bottom:1px solid #ced5e0;list-style:none;outline:0}.ks-editor-img-tabs-tab{background-color:#f2f2f2;border-color:#ced5e0;border-style:solid solid none;border-width:1px 1px medium;cursor:pointer;float:left;height:24px;line-height:24px;margin-left:10px;margin-right:10px;position:relative;text-align:center;width:120px;outline:0}.ks-editor-img-tabs-bar .ks-editor-img-tabs-tab-selected{background-color:#fcfcfc;border-color:#ced5e0 #ced5e0 #fcfcfc;cursor:default;margin-bottom:-1px;padding-bottom:1px}.ks-editor-img-tabs-body{padding:12px 0 5px 20px}.ks-editor-img-tabs-panel{display:none;position:relative}.ks-editor-img-tabs-panel-selected{display:block}.ks-editor-table-config td{padding:2px}.ks-editor-upload-btn-wrap{position:relative;padding:15px 20px 15px 10px;zoom:1}.ks-editor-upload-list{width:100%}.ks-editor-upload-list th{border-top:1px solid #c1c8d1;background-color:#e7e9ed;background:-webkit-gradient(linear,left top,left bottom,from(#e7e9ed),to(#f1f4f7));background:-moz-linear-gradient(top,#e7e9ed,#f1f4f7)}.ks-editor-upload-list td,.ks-editor-upload-list th{padding:0;height:26px;line-height:26px;text-align:center;border-bottom:1px solid #c1c8d1}.ks-editor-upload-complete .ks-editor-upload-filename{text-decoration:underline;cursor:pointer}.ks-editor-img-setting{position:relative}.ks-editor-xiami-list{margin:10px 0 10px 0;padding:10px 20px 0 20px;border-top:1px solid #ced5e0;display:none;list-style-type:none}.ks-editor-xiami-list ul{margin:0;padding:0}.ks-editor-xiami-list li{border:1px solid #ced5e0;border-width:0 0 1px 0;overflow:hidden;zoom:1;color:#646464;height:24px;line-height:24px;padding:0 20px 0 10px;list-style-type:none}.ks-editor-xiami-list .ks-editor-xiami-add{float:right}.ks-editor-xiami-list .ks-editor-xiami-song{float:left;width:300px;white-space:nowrap;overflow:hidden}.ks-editor-xiami-paging a{display:inline-block;zoom:1;*display:inline;padding:1px 7px;margin:0 3px}.ks-editor-xiami-paging a:hover,.ks-editor-xiami-paging a.ks-editor-xiami-curpage{color:red;text-decoration:none}.ks-editor-xiami-paging{text-align:center;margin:20px -10px 0 -10px}.ks-editor-xiami-page-more{padding:0 10px}
    diff --git a/build/editor/theme/cool/editor-pkg-sprite.css b/build/editor/theme/cool/editor-pkg-sprite.css
    index a625489924..45134c1e31 100644
    --- a/build/editor/theme/cool/editor-pkg-sprite.css
    +++ b/build/editor/theme/cool/editor-pkg-sprite.css
    @@ -1,7 +1,7 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     /**
     ks-editor-post ,编辑器内容外部包装容器
    diff --git a/build/editor/theme/cool/editor.css b/build/editor/theme/cool/editor.css
    index d1227c1e76..372d043708 100644
    --- a/build/editor/theme/cool/editor.css
    +++ b/build/editor/theme/cool/editor.css
    @@ -1,7 +1,7 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     /**
     ks-editor-post ,编辑器内容外部包装容器
    @@ -321,8 +321,8 @@ LoVe F HAte
         white-space: nowrap;
         box-shadow: 0 1px 1px #E4E4E4;
         background: #e8ebee repeat-x left top;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -0px;
     }
     
    @@ -360,8 +360,8 @@ LoVe F HAte
         text-decoration: none;
         border-color: rgb(232, 204, 160);
         background: #f5e7ce repeat-x left top;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -26px;
     }
     
    @@ -563,8 +563,8 @@ a.ks-editor-color-remove:hover {
     
     .ks-editor-draft-save {
         background: no-repeat scroll 0 1px transparent;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -52px;
         width: 18px;
         height: 15px;
    @@ -585,8 +585,8 @@ a.ks-editor-color-remove:hover {
     .ks-editor-draft-help {
         /*不能使用 center center ,ie 对于容器理解有误,text-indent会增加容器*/
         background: no-repeat;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -69px;
         width: 14px;
         overflow: hidden;
    @@ -698,32 +698,32 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-sourceArea {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -81px;
     }
     
     .ks-editor-toolbar-preview {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -97px;
     }
     
     .ks-editor-toolbar-bold {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -113px;
     }
     
     .ks-editor-toolbar-italic {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -129px;
     }
     
     .ks-editor-toolbar-underline {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -145px;
         height: 11px;
         margin-top: 5px;
    @@ -734,8 +734,8 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-strikeThrough {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -156px;
         height: 11px;
         margin-top: 4px;
    @@ -743,15 +743,15 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-orderedList {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -167px;
         margin-right: 0;
     }
     
     .ks-editor-toolbar-unorderedList {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -183px;
         margin-right: 0;
     }
    @@ -792,38 +792,38 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-outdent {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -199px;
     }
     
     .ks-editor-toolbar-indent {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -215px;
     }
     
     .ks-editor-toolbar-justifyLeft {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -231px;
     }
     
     .ks-editor-toolbar-justifyCenter {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -247px;
     }
     
     .ks-editor-toolbar-justifyRight {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -263px;
     }
     
     .ks-editor-toolbar-image {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -279px;
     }
     
    @@ -834,8 +834,8 @@ ks-editor-toolbar-padding {
     
     .ks-editor-toolbar-backColor,
     .ks-editor-toolbar-foreColor {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -295px;
         width: 18px;
         height: 15px;
    @@ -850,8 +850,8 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-foreColor {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -310px;
     }
     
    @@ -887,82 +887,82 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-undo {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -324px;
     }
     
     .ks-editor-toolbar-redo {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -339px;
         height: 15px;
         margin: 3px 4px;
     }
     
     .ks-editor-toolbar-table {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -354px;
     }
     
     .ks-editor-toolbar-template {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -370px;
     }
     
     .ks-editor-toolbar-maximize {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -386px;
     }
     
     .ks-editor-toolbar-flash {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -402px;
     }
     
     .ks-editor-toolbar-link {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -418px;
     }
     
     .ks-editor-toolbar-music {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -434px;
     }
     
     .ks-editor-toolbar-xiamiMusic {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -434px;
     }
     
     .ks-editor-toolbar-video {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -450px;
     }
     
     .ks-editor-toolbar-smiley {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -466px;
     }
     
     .ks-editor-toolbar-removeFormat {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -482px;
     }
     
     .ks-editor-toolbar-pageBreak {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -498px;
         height: 12px;
         margin-top: 4px;
    @@ -970,14 +970,14 @@ ks-editor-toolbar-padding {
     }
     
     .ks-editor-toolbar-code {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -509px;
     }
     
     .ks-editor-toolbar-restore {
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -525px;
     }
     
    @@ -1089,8 +1089,8 @@ menu style for kissy editor ,include contextmenu and select menu
     
     .ks-editor-dialog-header {
         background: repeat-x scroll 0 0 #D6DBE2;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -541px;
         border-bottom: 1px solid #ACB4BE;
         font-size: 14px;
    @@ -1119,8 +1119,8 @@ menu style for kissy editor ,include contextmenu and select menu
     .ks-editor-dialog-close-x {
         display: block;
         background: no-repeat;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -571px;
         height: 13px;
         text-indent: -9999px;
    @@ -1185,8 +1185,8 @@ menu style for kissy editor ,include contextmenu and select menu
     **/
     .ks-editor-resizer {
         background: no-repeat right bottom;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -584px;
         height: 10px;
         width: 10px;
    @@ -1238,8 +1238,8 @@ select style for kissy editor
     .ks-editor-big-menu-button-dropdown,
     .ks-editor-big-menu-button-dropdown-inner {
         background: no-repeat scroll center center transparent;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -594px;
         width: 7px;
         height: 3px;
    @@ -1284,8 +1284,8 @@ select style for kissy editor
         padding-left: 6px;
         padding-right: 6px;
         background: #e8ebee repeat-x left top;
    -  background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool.png');
    -  -background-image: url('http://g.tbcdn.cn/kissy/k/1.4.2/editor/theme/cool/cool-ie6.png');
    +  background-image: url('http://gtms02.alicdn.com/tps/i2/T1whP8FGhXXXbFdFYq-24-597.png');
    +  -background-image: url('http://gtms01.alicdn.com/tps/i1/T1AV66FFNaXXbFdFYq-24-597.png');
       background-position: left -0px;
         -background-image: none;
         height: 24px;
    diff --git a/build/editor/theme/editor-common-min.css b/build/editor/theme/editor-common-min.css
    index 865920c96d..50f83dc8e0 100644
    --- a/build/editor/theme/editor-common-min.css
    +++ b/build/editor/theme/editor-common-min.css
    @@ -1,6 +1,6 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     .ks-editor-hidden{position:absolute;left:-9999px;top:-9999px}.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post hr,.ks-editor-post p,.ks-editor-post blockquote,.ks-editor-post dl,.ks-editor-post dt,.ks-editor-post dd,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post li,.ks-editor-post pre,.ks-editor-post form,.ks-editor-post fieldset,.ks-editor-post legend,.ks-editor-post button,.ks-editor-post input,.ks-editor-post textarea,.ks-editor-post th,.ks-editor-post td{margin:0;padding:0}.ks-editor-post address,.ks-editor-post caption,.ks-editor-post cite,.ks-editor-post code,.ks-editor-post dfn,.ks-editor-post em,.ks-editor-post strong,.ks-editor-post h1,.ks-editor-post h2,.ks-editor-post h3,.ks-editor-post h4,.ks-editor-post h5,.ks-editor-post h6,.ks-editor-post th,.ks-editor-post var{font-style:inherit;font-weight:inherit}.ks-editor-post,.ks-editor-post button,.ks-editor-post input,.ks-editor-post select,.ks-editor-post textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}.ks-editor-post h1{font-size:2em;font-weight:bold;margin:.67em 0}.ks-editor-post h2{font-size:1.5em;font-weight:bold;margin:.83em 0}.ks-editor-post h3{font-size:1.17em;font-weight:bold;margin:1em 0}.ks-editor-post h4{font-weight:bold;margin:1.33em 0}.ks-editor-post h5{font-size:.83em;font-weight:bold;margin:1.67em 0}.ks-editor-post h6{font-size:.67em;font-weight:bold;margin:2.33em 0}.ks-editor-post blockquote{display:block;margin:1em 40px}.ks-editor-post address{display:block;font-style:italic}.ks-editor-post i,.ks-editor-post cite,.ks-editor-post em,.ks-editor-post var,.ks-editor-post dfn{font-style:italic;font-weight:inherit;*font-weight:expression(function(el){el.runtimeStyle.fontWeight = el.parentNode.currentStyle.fontWeight}(this))}.ks-editor-post strong{font-style:inherit;*font-style:expression(function(el){el.runtimeStyle.fontStyle = el.parentNode.currentStyle.fontStyle}(this));font-weight:bold}.ks-editor-post u,.ks-editor-post ins{text-decoration:underline}.ks-editor-post s,.ks-editor-post strike,.ks-editor-post del{text-decoration:line-through}.ks-editor-post hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}.ks-editor-post code,.ks-editor-post kbd,.ks-editor-post pre,.ks-editor-post samp{font-family:courier new,courier,monospace}.ks-editor-post small{font-size:12px}.ks-editor-post sup{vertical-align:text-top}.ks-editor-post sub{vertical-align:text-bottom}.ks-editor-post legend{color:#000}.ks-editor-post fieldset,.ks-editor-post img{border:0}.ks-editor-post table.k-e-collapse-table{display:table;border-collapse:collapse;border-color:black}.ks-editor-post table{border-collapse:separate;border-spacing:2px}.ks-editor-post blockquote,.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin:1em}.ks-editor-post ul,.ks-editor-post ol,.ks-editor-post dl{margin-left:2em}.ks-editor-post ol li{list-style:decimal outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li{list-style:disc outside}.ks-editor-post ul li ul li{list-style:circle}.ks-editor-post ul li ul li ul li{list-style:square}.ks-editor-post dl dd{margin-left:1em}.ks-editor-post table.k-e-collapse-table>tbody>tr>th,.ks-editor-post table.k-e-collapse-table>tbody>tr>td{border-color:black}.ks-editor-post th{font-weight:bold;text-align:center}.ks-editor-post caption{margin-bottom:.5em;white-space:nowrap}.ks-editor-post ul,.ks-editor-post ol{margin-left:0;padding-left:40px}.ks-editor-post img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}
    diff --git a/build/editor/theme/editor-common.css b/build/editor/theme/editor-common.css
    index 94a075de37..b7b220d119 100644
    --- a/build/editor/theme/editor-common.css
    +++ b/build/editor/theme/editor-common.css
    @@ -1,7 +1,7 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     /**
     ks-editor-post ,编辑器内容外部包装容器
    diff --git a/build/editor/theme/editor-iframe-min.css b/build/editor/theme/editor-iframe-min.css
    index 497fae38cc..efad927261 100644
    --- a/build/editor/theme/editor-iframe-min.css
    +++ b/build/editor/theme/editor-iframe-min.css
    @@ -1,6 +1,6 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     html{_overflow-y:scroll}body{color:#222;background-color:#fff}h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}body,button,input,select,textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif}h1{font-size:2em;font-weight:bold;margin:.67em 0}h2{font-size:1.5em;font-weight:bold;margin:.83em 0}h3{font-size:1.17em;font-weight:bold;margin:1em 0}h4{font-weight:bold;margin:1.33em 0}h5{font-size:.83em;font-weight:bold;margin:1.67em 0}h6{font-size:.67em;font-weight:bold;margin:2.33em 0}blockquote{display:block;margin:1em 40px}address{display:block;font-style:italic}i,cite,em,var,dfn{font-style:italic}u,ins{text-decoration:underline}s,strike,del{text-decoration:line-through}hr{display:block;height:2px;border:1px inset;margin:.5em auto .5em auto;color:gray}code,kbd,pre,samp{font-family:courier new,courier,monospace}small{font-size:12px}sup{vertical-align:text-top}sub{vertical-align:text-bottom}legend{color:#000}fieldset,img{border:0}table.k-e-collapse-table{display:table;border-color:black;border-collapse:collapse}table{border-collapse:separate}blockquote,ul,ol,dl{margin:1em}ul,ol,dl{margin-left:2em}dl dd{margin-left:1em}table.k-e-collapse-table>tbody>tr>th,table.k-e-collapse-table>tbody>tr>td{border-color:black}th{font-weight:bold}caption{margin-bottom:.5em;white-space:nowrap}ul,ol{margin-left:0;padding-left:40px}img.ke_flash,img.ke_video,img.ke_music,img.ke_xiami{background:url("placeholder_flash.png") center center no-repeat;border:1px solid #a9a9a9;height:80px;width:80px}img.ke_video{background-image:url("placeholder_video.png")}img.ke_xiami{background-image:url("placeholder_xiami.png")}img:-moz-broken{-moz-force-broken-image-icon:1;height:24px;width:24px}img.ke_pagebreak{background:url("pagebreak.gif") center center no-repeat;border-bottom:1px dotted #999;border-top:1px dotted #999;clear:both;display:block;float:none;height:5px!important;page-break-after:always;width:100%!important}pre.ks-editor-code{display:block;margin-right:2em;border-left:3px solid #CCC;padding:0 1em}
    diff --git a/build/editor/theme/editor-iframe.css b/build/editor/theme/editor-iframe.css
    index 6f21c7311e..d94a35f614 100644
    --- a/build/editor/theme/editor-iframe.css
    +++ b/build/editor/theme/editor-iframe.css
    @@ -1,7 +1,7 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: Jan 6 12:52
    +build time: May 14 12:01
     */
     /**
     for kissy editor iframe
    diff --git a/build/event-min.js b/build/event-min.js
    index c14202de83..6f47828527 100644
    --- a/build/event-min.js
    +++ b/build/event-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/event.js b/build/event.js
    index 4bad8f74f9..c0cc0b7644 100644
    --- a/build/event.js
    +++ b/build/event.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/event/base-min.js b/build/event/base-min.js
    index 7d288aa5c3..69d2414fff 100644
    --- a/build/event/base-min.js
    +++ b/build/event/base-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/base.js b/build/event/base.js
    index f7094dd30d..adc3a1dd08 100644
    --- a/build/event/base.js
    +++ b/build/event/base.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/custom-min.js b/build/event/custom-min.js
    index 7cdbe0a3cb..6c51c93413 100644
    --- a/build/event/custom-min.js
    +++ b/build/event/custom-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/custom.js b/build/event/custom.js
    index ed036b335c..e0eec5a08d 100644
    --- a/build/event/custom.js
    +++ b/build/event/custom.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/base-min.js b/build/event/dom/base-min.js
    index 71a449e156..0e958c7a73 100644
    --- a/build/event/dom/base-min.js
    +++ b/build/event/dom/base-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/base.js b/build/event/dom/base.js
    index dbc389f4be..d77bb1f0f6 100644
    --- a/build/event/dom/base.js
    +++ b/build/event/dom/base.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/focusin-min.js b/build/event/dom/focusin-min.js
    index 66ec3042dd..322545b542 100644
    --- a/build/event/dom/focusin-min.js
    +++ b/build/event/dom/focusin-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/focusin.js b/build/event/dom/focusin.js
    index f65c676349..d1ade4f95a 100644
    --- a/build/event/dom/focusin.js
    +++ b/build/event/dom/focusin.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/hashchange-min.js b/build/event/dom/hashchange-min.js
    index 6454aa3f61..15a4283cf8 100644
    --- a/build/event/dom/hashchange-min.js
    +++ b/build/event/dom/hashchange-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/hashchange.js b/build/event/dom/hashchange.js
    index c20634b0a6..58600c6ae2 100644
    --- a/build/event/dom/hashchange.js
    +++ b/build/event/dom/hashchange.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/ie-min.js b/build/event/dom/ie-min.js
    index db06a10a53..177cb817b0 100644
    --- a/build/event/dom/ie-min.js
    +++ b/build/event/dom/ie-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/ie.js b/build/event/dom/ie.js
    index ef5fd88c9e..fe42a5144d 100644
    --- a/build/event/dom/ie.js
    +++ b/build/event/dom/ie.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:15
     */
    diff --git a/build/event/dom/shake-min.js b/build/event/dom/shake-min.js
    index 87c0dc52e3..97dfee57be 100644
    --- a/build/event/dom/shake-min.js
    +++ b/build/event/dom/shake-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/event/dom/shake.js b/build/event/dom/shake.js
    index 94a2a63add..fcf7617049 100644
    --- a/build/event/dom/shake.js
    +++ b/build/event/dom/shake.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js
    index 8b63004a41..c5bba56140 100644
    --- a/build/event/dom/touch-min.js
    +++ b/build/event/dom/touch-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 26 12:37
     */
    diff --git a/build/event/dom/touch.js b/build/event/dom/touch.js
    index 7943d6446a..e212030aec 100644
    --- a/build/event/dom/touch.js
    +++ b/build/event/dom/touch.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 26 12:37
     */
    diff --git a/build/filter-menu-min.js b/build/filter-menu-min.js
    index 9b9f923934..97cb46fc71 100644
    --- a/build/filter-menu-min.js
    +++ b/build/filter-menu-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/filter-menu.js b/build/filter-menu.js
    index e105f2787b..5c27626543 100644
    --- a/build/filter-menu.js
    +++ b/build/filter-menu.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/html-parser-min.js b/build/html-parser-min.js
    index 9b2a0084bf..c004ab166d 100644
    --- a/build/html-parser-min.js
    +++ b/build/html-parser-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:55
     */
    diff --git a/build/html-parser.js b/build/html-parser.js
    index dfd87a7724..e4d2241211 100644
    --- a/build/html-parser.js
    +++ b/build/html-parser.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: May 14 11:55
     */
    diff --git a/build/import-style-min.js b/build/import-style-min.js
    index 215798b1be..256593aa86 100644
    --- a/build/import-style-min.js
    +++ b/build/import-style-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 19 17:22
     */
    diff --git a/build/import-style.js b/build/import-style.js
    index c43620564f..d8329c78ad 100644
    --- a/build/import-style.js
    +++ b/build/import-style.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 19 17:22
     */
    diff --git a/build/io-min.js b/build/io-min.js
    index 8926577497..c776de458a 100644
    --- a/build/io-min.js
    +++ b/build/io-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:41
     */
    diff --git a/build/io.js b/build/io.js
    index 317562a1be..a2ee751f2c 100644
    --- a/build/io.js
    +++ b/build/io.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 9 22:41
     */
    diff --git a/build/json-min.js b/build/json-min.js
    index eb2c703704..f0b42a236e 100644
    --- a/build/json-min.js
    +++ b/build/json-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/json.js b/build/json.js
    index 5a994beac2..a9f616ffd0 100644
    --- a/build/json.js
    +++ b/build/json.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/kison-min.js b/build/kison-min.js
    index 9c36a78e78..cc01ce9304 100644
    --- a/build/kison-min.js
    +++ b/build/kison-min.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/kison.js b/build/kison.js
    index f6a6ba25cc..4cd64daff3 100644
    --- a/build/kison.js
    +++ b/build/kison.js
    @@ -1,5 +1,5 @@
     /*
    -Copyright 2013, KISSY v1.42
    +Copyright 2013, KISSY v1.43
     MIT Licensed
     build time: Dec 4 22:16
     */
    diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js
    index e561ef1e83..30b7dc2e10 100644
    --- a/build/kissy-nodejs-min.js
    +++ b/build/kissy-nodejs-min.js
    @@ -1,9 +1,9 @@
     /*
    -Copyright 2014, KISSY v1.42
    +Copyright 2014, KISSY v1.43
     MIT Licensed
     build time: Feb 25 16:01
     */
    -var KISSY=function(a){function f(a){var e={},f;for(f in i)(function(b,d){b[d]=function(b){return h.log(b,d,a)}})(e,f);return e}var h,j=0,i={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140225160104",Env:{host:this},Config:{debug:"",fns:{}},version:'1.42',config:function(c,e){var f,b,d=this,k,g=h.Config,u=g.fns;h.isObject(c)?h.each(c,function(a,b){(k=u[b])?k.call(d,a):g[b]=a}):(f=u[c],e===a?b=f?f.call(d):g[c]:f?b=f.call(d,e):g[c]=e);return b},log:function(){return a},getLogger:function(a){return f(a)},
    +var KISSY=function(a){function f(a){var e={},f;for(f in i)(function(b,d){b[d]=function(b){return h.log(b,d,a)}})(e,f);return e}var h,j=0,i={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140225160104",Env:{host:this},Config:{debug:"",fns:{}},version:'1.43',config:function(c,e){var f,b,d=this,k,g=h.Config,u=g.fns;h.isObject(c)?h.each(c,function(a,b){(k=u[b])?k.call(d,a):g[b]=a}):(f=u[c],e===a?b=f?f.call(d):g[c]:f?b=f.call(d,e):g[c]=e);return b},log:function(){return a},getLogger:function(a){return f(a)},
     error:function(){},guid:function(a){return(a||"")+j++},Logger:{}};h.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return h}();
     (function(a,f){function h(){}function j(d,l,b,g,k,e){if(!l||!d)return d;var i,r,p,n;l[c]=d;e.push(l);p=a.keys(l);n=p.length;for(i=0;i
         
     
    -    
    -    
    +    
    +    
         
         
         
    diff --git a/src/editor/sub-modules/theme/build.xml b/src/editor/sub-modules/theme/build.xml
    index 8ec219ed96..800065c44a 100644
    --- a/src/editor/sub-modules/theme/build.xml
    +++ b/src/editor/sub-modules/theme/build.xml
    @@ -36,12 +36,12 @@
     
             
     
             
     
             
    Date: Wed, 14 May 2014 12:24:23 +0800
    Subject: [PATCH 49/80] 1.4.3
    
    ---
     build/dom/base-min.js                         |   30 +-
     build/dom/base.js                             |    7 +-
     .../base/coverage/src/base/style.js           | 2229 +++++++++--------
     src/dom/sub-modules/base/src/base/style.js    |    7 +-
     4 files changed, 1144 insertions(+), 1129 deletions(-)
    
    diff --git a/build/dom/base-min.js b/build/dom/base-min.js
    index b7e05e7d21..9ac80f3073 100644
    --- a/build/dom/base-min.js
    +++ b/build/dom/base-min.js
    @@ -1,7 +1,7 @@
     /*
     Copyright 2014, KISSY v1.43
     MIT Licensed
    -build time: May 14 11:54
    +build time: May 14 12:24
     */
     KISSY.add("dom/base/api",[],function(i){var n=i.Env.host||{},m=n.document,q=i.UA,d={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},f={isCustomDomain:function(d){var d=d||n,d=f.get(d),g=d.document.domain,d=d.location.hostname;return g!==d&&g!=="["+d+"]"},getEmptyIframeSrc:function(d){d=d||n;d=f.get(d);return q.ie&&f.isCustomDomain(d)?
     "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+d.document.domain+'";document.close();')+"}())":""},NodeType:d,getWindow:function(j){if(!j)return n;j=f.get(j);if(i.isWindow(j))return j;var g=j;g.nodeType!==d.DOCUMENT_NODE&&(g=j.ownerDocument);return g.defaultView||g.parentWindow},getDocument:function(j){if(!j)return m;j=f.get(j);return i.isWindow(j)?j.document:j.nodeType===d.DOCUMENT_NODE?j:j.ownerDocument},isDomNodeList:function(d){return d&&!d.nodeType&&d.item&&
    @@ -19,7 +19,7 @@ KISSY.add("dom/base/class",["./api"],function(i,n){function m(d){for(var d=i.tri
     e=/[\.\s]\s*\.?/;i.mix(f,{_hasClass:function(d,e){var c,b,a,f=d.classList;if(f.length){c=0;for(b=e.length;c"+a+"
    ";return c.lastChild}function d(a,b){if(b)if(o&&b.canHaveChildren&&"removeNode"in a){if(a.firstChild)a:{try{a.innerHTML="";break a}catch(c){}for(var e;e=a.lastChild;)d(e,a)}a.removeNode(!1)}else b.removeChild(a)}function f(a,b,c){var d=b.nodeType;if(d===l.DOCUMENT_FRAGMENT_NODE){b=b.childNodes;c=c.childNodes;for(d= -0;b[d];)c[d]&&f(a,b[d],c[d]),d++}else if(d===l.ELEMENT_NODE){b=b.getElementsByTagName("*");c=c.getElementsByTagName("*");for(d=0;b[d];)c[d]&&a(b[d],c[d]),d++}}function j(a,b){var d=i.require("event/dom"),c,h;if(b.nodeType!==l.ELEMENT_NODE||e.hasData(a)){c=e.data(a);for(h in c)e.data(b,h,c[h]);d&&d.clone(a,b)}}function g(a){var b=null,d,c;if(a&&(a.push||a.item)&&a[0]){b=a[0].ownerDocument;b=b.createDocumentFragment();a=i.makeArray(a);d=0;for(c=a.length;d]*)\/>/ig,t=/<([\w:]+)/,h=/^\s+/,p=/\s+$/,o=!!(c&&9>c),u=o,y=/<|&#?\w+;/,z=k&&"outerHTML"in k.documentElement,G=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;i.mix(e,{create:function(a,d,c,f){var o=null;if(!a)return o;if(a.nodeType)return e.clone(a);if("string"!==typeof a)return o;void 0===f&&(f=!0);f&&(a=i.trim(a));var f=e._creators, j,m,c=c||k,z,n=b;if(y.test(a))if(z=G.exec(a))o=c.createElement(z[1]);else{a=a.replace(s,"<$1>");if((z=t.exec(a))&&(j=z[1]))n=j.toLowerCase();j=(f[n]||q)(a,c);u&&(m=a.match(h))&&j.insertBefore(c.createTextNode(m[0]),j.firstChild);u&&/\S/.test(a)&&(m=a.match(p))&&j.appendChild(c.createTextNode(m[0]));m=j.childNodes;1===m.length?o=m[0].parentNode.removeChild(m[0]):m.length?o=g(m):a+" : create node error"}else o=c.createTextNode(a);a=o;i.isPlainObject(d)&&(a.nodeType===l.ELEMENT_NODE?e.attr(a,d, !0):a.nodeType===l.DOCUMENT_FRAGMENT_NODE&&e.attr(a.childNodes,d,!0));return a},_fixCloneAttributes:function(a,b){"textarea"===e.nodeName(a)&&(b.defaultValue=a.defaultValue,b.value=a.value)},_creators:{div:q},_defaultCreator:q,html:function(a,b,c){var a=e.query(a),d=a[0],f=!1,g,p;if(!d)return null;if(void 0===b)return d.nodeType===l.ELEMENT_NODE?d.innerHTML:d.nodeType===l.DOCUMENT_FRAGMENT_NODE?(c=m(d.ownerDocument),c.appendChild(d),c.innerHTML):null;b+="";if(!b.match(/<(?:script|style|link)/i)&& @@ -44,20 +44,20 @@ v.left+j):0>m?d.scrollLeft(f,v.left+m):d.scrollLeft(f,v.left+j)}else void 0===g| "Top"===a?i:d.scrollTop(n),n.scrollTo(j,m)):(k=n["page"+(b?"Y":"X")+"Offset"],"number"!==typeof k&&(j=n.document,k=j.documentElement[c],"number"!==typeof k&&(k=j.body[c]))));return k}});i.each(["Width","Height"],function(a){d["doc"+a]=function(b){b=d.get(b);b=d.getDocument(b);return c(b.documentElement["scroll"+a],b.body["scroll"+a],d["viewport"+a](b))};d["viewport"+a]=function(b){var b=d.get(b),c=l(b),b=c["inner"+a];if(j.mobile&&b)return b;var b="client"+a,c=c.document,e=c.body,f=c.documentElement[b]; return"CSS1Compat"===c.compatMode&&f||e&&e[b]||f}});return d}); KISSY.add("dom/base/style",["./api","ua"],function(i,n){function m(a,b){return b.toUpperCase()}function q(a){-1!==a.indexOf("-")&&(a=a.replace(c,m));if(a in t)return t[a];if(!u||a in u)t[a]={propertyName:a,propertyNamePrefix:""};else{for(var b=a.charAt(0).toUpperCase()+a.slice(1),d,e=0;e=h){h=void 0;j=a._getComputedStyle(c,d,i);if(null==j||0>Number(j))j=c.style[d]||0;j=parseFloat(j)||0}void 0===f&&(f=r?D:z);d=void 0!==h||r;h=h||j;return f===z?d?h-e(c,["border","padding"],g,i):j:d?h+(f===D?0:f===G?-e(c,["border"],g,i):e(c,["margin"],g,i)):j+e(c,y.slice(f),g,i)}var c=/-([a-z])/ig,b=i,a=n("./api"),s=i.Env.host,t={},h=["Webkit", -"Moz","O","ms"],p=h.length,o=s.document||{},u=(o&&o.documentElement).style;n("ua");var y=["margin","border","padding"],z=-1,G=2,D=1,H=a.nodeName,C=/^margin/,w="width",r="display"+b.now(),v={fillOpacity:1,fontWeight:1,lineHeight:1,opacity:1,orphans:1,widows:1,zIndex:1,zoom:1},I="",L="px",M=/\d(?!px)[a-z%]+$/i,J={},K={},x={},B=q("userSelect"),F=B&&B.propertyName,A=b.camelCase;K["float"]="cssFloat";b.mix(a,{_cssHooks:J,_cssProps:K,_getComputedStyle:function(b,c,e){var f="",g,h;g=b.ownerDocument;c=d(c); -if(e=e||g.defaultView.getComputedStyle(b,null))f=e.getPropertyValue(c)||e[c];""===f&&!a.contains(g,b)&&(f=b.style[c]);a._RE_NUM_NO_PX.test(f)&&C.test(c)&&(h=b.style,b=h.width,c=h.minWidth,g=h.maxWidth,h.minWidth=h.maxWidth=h.width=f,f=e.width,h.width=b,h.minWidth=c,h.maxWidth=g);return f},style:function(c,d,e){var c=a.query(c),f,g=c[0];if(b.isPlainObject(d))for(f in d)for(g=c.length-1;0<=g;g--)j(c[g],f,d[f]);else{if(void 0===e)return f="",g&&(f=j(g,d,e)),f;for(g=c.length-1;0<=g;g--)j(c[g],d,e)}}, -css:function(c,d,f){var c=a.query(c),e=c[0],g;if(b.isPlainObject(d))for(g in d)for(e=c.length-1;0<=e;e--)j(c[e],g,d[g]);else{d=A(d);g=J[d];if(void 0===f){f="";if(e&&(!g||!("get"in g&&void 0!==(f=g.get(e,!0)))))f=a._getComputedStyle(e,d);return"undefined"===typeof f?"":f}for(e=c.length-1;0<=e;e--)j(c[e],d,f)}},show:function(b){var b=a.query(b),c,d,e;for(e=b.length-1;0<=e;e--)if(d=b[e],d.style.display=a.data(d,r)||I,"none"===a.css(d,"display")){c=d.tagName.toLowerCase();var f=void 0,g=x[c],h=void 0; -x[c]||(f=o.body||o.documentElement,h=o.createElement(c),a.prepend(h,f),g=a.css(h,"display"),f.removeChild(h),x[c]=g);c=g;a.data(d,r,c);d.style.display=c}},hide:function(b){var b=a.query(b),c,d;for(d=b.length-1;0<=d;d--){c=b[d];var e=c.style,f=e.display;"none"!==f&&(f&&a.data(c,r,f),e.display="none")}},toggle:function(b){var b=a.query(b),c,d;for(d=b.length-1;0<=d;d--)c=b[d],"none"===a.css(c,"display")?a.show(c):a.hide(c)},addStyleSheet:function(b,c,d){"string"===typeof b&&(d=c,c=b,b=s);var b=a.getDocument(b), -e;if(d&&(d=d.replace("#",I)))e=a.get("#"+d,b);e||(e=a.create("",data:e||"",script:b?' + + + + +
    + + + + \ No newline at end of file diff --git a/src/seed/coverage/src/meta/base.js b/src/seed/coverage/src/meta/base.js index 43ef49916a..ccddd8b9c2 100644 --- a/src/seed/coverage/src/meta/base.js +++ b/src/seed/coverage/src/meta/base.js @@ -272,6 +272,8 @@ function visit523_21_1(result) { packages: { gallery: { base: prefix}, + kg: { + base: '//g.alicdn.com/'}, mobile: { base: prefix}}}); } diff --git a/src/seed/src/meta/base.js b/src/seed/src/meta/base.js index e2c29ed453..1cf944577c 100644 --- a/src/seed/src/meta/base.js +++ b/src/seed/src/meta/base.js @@ -26,6 +26,9 @@ gallery: { base: prefix }, + kg: { + base: '//g.alicdn.com/' + }, mobile: { base: prefix } From 7a6dc3e9fd1c212b516ab2663d4ea68baf2a1452 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 18 Aug 2014 12:31:22 +0800 Subject: [PATCH 64/80] update 1.4.6 --- build/anim-min.js | 2 +- build/anim.js | 2 +- build/anim/base-min.js | 2 +- build/anim/base.js | 2 +- build/anim/timer-min.js | 2 +- build/anim/timer.js | 2 +- build/anim/transition-min.js | 2 +- build/anim/transition.js | 2 +- build/attribute-min.js | 2 +- build/attribute.js | 2 +- build/base-min.js | 2 +- build/base.js | 2 +- build/button-min.js | 2 +- build/button.js | 2 +- build/button/assets/dpl-min.css | 2 +- build/button/assets/dpl.css | 2 +- build/color-min.js | 2 +- build/color.js | 2 +- build/combobox-min.js | 2 +- build/combobox.js | 2 +- build/combobox/assets/dpl-min.css | 2 +- build/combobox/assets/dpl.css | 2 +- build/component/container-min.js | 2 +- build/component/container.js | 2 +- build/component/control-min.js | 2 +- build/component/control.js | 2 +- build/component/extension/align-min.js | 2 +- build/component/extension/align.js | 2 +- build/component/extension/content-render-min.js | 2 +- build/component/extension/content-render.js | 2 +- build/component/extension/content-xtpl-min.js | 2 +- build/component/extension/content-xtpl.js | 2 +- build/component/extension/delegate-children-min.js | 2 +- build/component/extension/delegate-children.js | 2 +- build/component/extension/shim-min.js | 2 +- build/component/extension/shim.js | 2 +- build/component/manager-min.js | 2 +- build/component/manager.js | 2 +- build/component/plugin/drag-min.js | 2 +- build/component/plugin/drag.js | 2 +- build/component/plugin/resize-min.js | 2 +- build/component/plugin/resize.js | 2 +- build/cookie-min.js | 2 +- build/cookie.js | 2 +- build/css/dpl/badges-min.css | 2 +- build/css/dpl/badges.css | 2 +- build/css/dpl/base-min.css | 2 +- build/css/dpl/base.css | 2 +- build/css/dpl/forms-min.css | 2 +- build/css/dpl/forms.css | 2 +- build/css/dpl/icons-min.css | 2 +- build/css/dpl/icons.css | 2 +- build/css/dpl/labels-min.css | 2 +- build/css/dpl/labels.css | 2 +- build/css/dpl/reset-context-min.css | 2 +- build/css/dpl/reset-context.css | 2 +- build/css/dpl/reset-min.css | 2 +- build/css/dpl/reset.css | 2 +- build/css/dpl/tables-min.css | 2 +- build/css/dpl/tables.css | 2 +- build/date/format-min.js | 2 +- build/date/format.js | 2 +- build/date/gregorian-min.js | 2 +- build/date/gregorian.js | 2 +- build/date/i18n/en-us-min.js | 2 +- build/date/i18n/en-us.js | 2 +- build/date/i18n/zh-cn-min.js | 2 +- build/date/i18n/zh-cn.js | 2 +- build/date/picker-min.js | 2 +- build/date/picker-xtpl-min.js | 2 +- build/date/picker-xtpl.js | 2 +- build/date/picker.js | 2 +- build/date/picker/assets/dpl-min.css | 2 +- build/date/picker/assets/dpl.css | 2 +- build/date/picker/i18n/en-us-min.js | 2 +- build/date/picker/i18n/en-us.js | 2 +- build/date/picker/i18n/zh-cn-min.js | 2 +- build/date/picker/i18n/zh-cn.js | 2 +- build/date/popup-picker-min.js | 2 +- build/date/popup-picker.js | 2 +- build/dd-min.js | 2 +- build/dd.js | 2 +- build/dd/plugin/constrain-min.js | 2 +- build/dd/plugin/constrain.js | 2 +- build/dd/plugin/proxy-min.js | 2 +- build/dd/plugin/proxy.js | 2 +- build/dd/plugin/scroll-min.js | 2 +- build/dd/plugin/scroll.js | 2 +- build/dom/base-min.js | 2 +- build/dom/base.js | 2 +- build/dom/class-list-min.js | 2 +- build/dom/class-list.js | 2 +- build/dom/ie-min.js | 2 +- build/dom/ie.js | 2 +- build/dom/selector-min.js | 2 +- build/dom/selector.js | 2 +- build/editor-min.js | 2 +- build/editor.js | 2 +- build/editor/plugin/back-color-min.js | 2 +- build/editor/plugin/back-color.js | 2 +- build/editor/plugin/back-color/cmd-min.js | 2 +- build/editor/plugin/back-color/cmd.js | 2 +- build/editor/plugin/bold-min.js | 2 +- build/editor/plugin/bold.js | 2 +- build/editor/plugin/bold/cmd-min.js | 2 +- build/editor/plugin/bold/cmd.js | 2 +- build/editor/plugin/bubble-min.js | 2 +- build/editor/plugin/bubble.js | 2 +- build/editor/plugin/button-min.js | 2 +- build/editor/plugin/button.js | 2 +- build/editor/plugin/checkbox-source-area-min.js | 2 +- build/editor/plugin/checkbox-source-area.js | 2 +- build/editor/plugin/code-min.js | 2 +- build/editor/plugin/code.js | 2 +- build/editor/plugin/code/dialog-min.js | 2 +- build/editor/plugin/code/dialog.js | 2 +- build/editor/plugin/color/btn-min.js | 2 +- build/editor/plugin/color/btn.js | 2 +- build/editor/plugin/color/cmd-min.js | 2 +- build/editor/plugin/color/cmd.js | 2 +- build/editor/plugin/color/dialog-min.js | 2 +- build/editor/plugin/color/dialog.js | 2 +- build/editor/plugin/contextmenu-min.js | 2 +- build/editor/plugin/contextmenu.js | 2 +- build/editor/plugin/dent-cmd-min.js | 2 +- build/editor/plugin/dent-cmd.js | 2 +- build/editor/plugin/dialog-loader-min.js | 2 +- build/editor/plugin/dialog-loader.js | 2 +- build/editor/plugin/dialog-min.js | 2 +- build/editor/plugin/dialog.js | 2 +- build/editor/plugin/draft-min.js | 2 +- build/editor/plugin/draft.js | 2 +- build/editor/plugin/drag-upload-min.js | 2 +- build/editor/plugin/drag-upload.js | 2 +- build/editor/plugin/element-path-min.js | 2 +- build/editor/plugin/element-path.js | 2 +- build/editor/plugin/fake-objects-min.js | 2 +- build/editor/plugin/fake-objects.js | 2 +- build/editor/plugin/flash-bridge-min.js | 2 +- build/editor/plugin/flash-bridge.js | 2 +- build/editor/plugin/flash-common/base-class-min.js | 2 +- build/editor/plugin/flash-common/base-class.js | 2 +- build/editor/plugin/flash-common/utils-min.js | 2 +- build/editor/plugin/flash-common/utils.js | 2 +- build/editor/plugin/flash-min.js | 2 +- build/editor/plugin/flash.js | 2 +- build/editor/plugin/flash/dialog-min.js | 2 +- build/editor/plugin/flash/dialog.js | 2 +- build/editor/plugin/focus-fix-min.js | 2 +- build/editor/plugin/focus-fix.js | 2 +- build/editor/plugin/font-family-min.js | 2 +- build/editor/plugin/font-family.js | 2 +- build/editor/plugin/font-family/cmd-min.js | 2 +- build/editor/plugin/font-family/cmd.js | 2 +- build/editor/plugin/font-size-min.js | 2 +- build/editor/plugin/font-size.js | 2 +- build/editor/plugin/font-size/cmd-min.js | 2 +- build/editor/plugin/font-size/cmd.js | 2 +- build/editor/plugin/font/cmd-min.js | 2 +- build/editor/plugin/font/cmd.js | 2 +- build/editor/plugin/font/ui-min.js | 2 +- build/editor/plugin/font/ui.js | 2 +- build/editor/plugin/fore-color-min.js | 2 +- build/editor/plugin/fore-color.js | 2 +- build/editor/plugin/fore-color/cmd-min.js | 2 +- build/editor/plugin/fore-color/cmd.js | 2 +- build/editor/plugin/heading-min.js | 2 +- build/editor/plugin/heading.js | 2 +- build/editor/plugin/heading/cmd-min.js | 2 +- build/editor/plugin/heading/cmd.js | 2 +- build/editor/plugin/image-min.js | 2 +- build/editor/plugin/image.js | 2 +- build/editor/plugin/image/dialog-min.js | 2 +- build/editor/plugin/image/dialog.js | 2 +- build/editor/plugin/indent-min.js | 2 +- build/editor/plugin/indent.js | 2 +- build/editor/plugin/indent/cmd-min.js | 2 +- build/editor/plugin/indent/cmd.js | 2 +- build/editor/plugin/italic-min.js | 2 +- build/editor/plugin/italic.js | 2 +- build/editor/plugin/italic/cmd-min.js | 2 +- build/editor/plugin/italic/cmd.js | 2 +- build/editor/plugin/justify-center-min.js | 2 +- build/editor/plugin/justify-center.js | 2 +- build/editor/plugin/justify-center/cmd-min.js | 2 +- build/editor/plugin/justify-center/cmd.js | 2 +- build/editor/plugin/justify-cmd-min.js | 2 +- build/editor/plugin/justify-cmd.js | 2 +- build/editor/plugin/justify-left-min.js | 2 +- build/editor/plugin/justify-left.js | 2 +- build/editor/plugin/justify-left/cmd-min.js | 2 +- build/editor/plugin/justify-left/cmd.js | 2 +- build/editor/plugin/justify-right-min.js | 2 +- build/editor/plugin/justify-right.js | 2 +- build/editor/plugin/justify-right/cmd-min.js | 2 +- build/editor/plugin/justify-right/cmd.js | 2 +- build/editor/plugin/link-min.js | 2 +- build/editor/plugin/link.js | 2 +- build/editor/plugin/link/dialog-min.js | 2 +- build/editor/plugin/link/dialog.js | 2 +- build/editor/plugin/link/utils-min.js | 2 +- build/editor/plugin/link/utils.js | 2 +- build/editor/plugin/list-utils-min.js | 2 +- build/editor/plugin/list-utils.js | 2 +- build/editor/plugin/list-utils/btn-min.js | 2 +- build/editor/plugin/list-utils/btn.js | 2 +- build/editor/plugin/list-utils/cmd-min.js | 2 +- build/editor/plugin/list-utils/cmd.js | 2 +- build/editor/plugin/local-storage-min.js | 2 +- build/editor/plugin/local-storage.js | 2 +- build/editor/plugin/maximize-min.js | 2 +- build/editor/plugin/maximize.js | 2 +- build/editor/plugin/maximize/cmd-min.js | 2 +- build/editor/plugin/maximize/cmd.js | 2 +- build/editor/plugin/menubutton-min.js | 2 +- build/editor/plugin/menubutton.js | 2 +- build/editor/plugin/ordered-list-min.js | 2 +- build/editor/plugin/ordered-list.js | 2 +- build/editor/plugin/ordered-list/cmd-min.js | 2 +- build/editor/plugin/ordered-list/cmd.js | 2 +- build/editor/plugin/outdent-min.js | 2 +- build/editor/plugin/outdent.js | 2 +- build/editor/plugin/outdent/cmd-min.js | 2 +- build/editor/plugin/outdent/cmd.js | 2 +- build/editor/plugin/overlay-min.js | 2 +- build/editor/plugin/overlay.js | 2 +- build/editor/plugin/page-break-min.js | 2 +- build/editor/plugin/page-break.js | 2 +- build/editor/plugin/preview-min.js | 2 +- build/editor/plugin/preview.js | 2 +- build/editor/plugin/progressbar-min.js | 2 +- build/editor/plugin/progressbar.js | 2 +- build/editor/plugin/remove-format-min.js | 2 +- build/editor/plugin/remove-format.js | 2 +- build/editor/plugin/remove-format/cmd-min.js | 2 +- build/editor/plugin/remove-format/cmd.js | 2 +- build/editor/plugin/resize-min.js | 2 +- build/editor/plugin/resize.js | 2 +- build/editor/plugin/separator-min.js | 2 +- build/editor/plugin/separator.js | 2 +- build/editor/plugin/smiley-min.js | 2 +- build/editor/plugin/smiley.js | 2 +- build/editor/plugin/source-area-min.js | 2 +- build/editor/plugin/source-area.js | 2 +- build/editor/plugin/strike-through-min.js | 2 +- build/editor/plugin/strike-through.js | 2 +- build/editor/plugin/strike-through/cmd-min.js | 2 +- build/editor/plugin/strike-through/cmd.js | 2 +- build/editor/plugin/table-min.js | 2 +- build/editor/plugin/table.js | 2 +- build/editor/plugin/table/dialog-min.js | 2 +- build/editor/plugin/table/dialog.js | 2 +- build/editor/plugin/underline-min.js | 2 +- build/editor/plugin/underline.js | 2 +- build/editor/plugin/underline/cmd-min.js | 2 +- build/editor/plugin/underline/cmd.js | 2 +- build/editor/plugin/undo-min.js | 2 +- build/editor/plugin/undo.js | 2 +- build/editor/plugin/undo/btn-min.js | 2 +- build/editor/plugin/undo/btn.js | 2 +- build/editor/plugin/undo/cmd-min.js | 2 +- build/editor/plugin/undo/cmd.js | 2 +- build/editor/plugin/unordered-list-min.js | 2 +- build/editor/plugin/unordered-list.js | 2 +- build/editor/plugin/unordered-list/cmd-min.js | 2 +- build/editor/plugin/unordered-list/cmd.js | 2 +- build/editor/plugin/video-min.js | 2 +- build/editor/plugin/video.js | 2 +- build/editor/plugin/video/dialog-min.js | 2 +- build/editor/plugin/video/dialog.js | 2 +- build/editor/plugin/word-filter-min.js | 2 +- build/editor/plugin/word-filter.js | 2 +- build/editor/plugin/xiami-music-min.js | 2 +- build/editor/plugin/xiami-music.js | 2 +- build/editor/plugin/xiami-music/dialog-min.js | 2 +- build/editor/plugin/xiami-music/dialog.js | 2 +- build/editor/theme/cool/editor-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite.css | 2 +- build/editor/theme/cool/editor.css | 2 +- build/editor/theme/editor-common-min.css | 2 +- build/editor/theme/editor-common.css | 2 +- build/editor/theme/editor-iframe-min.css | 2 +- build/editor/theme/editor-iframe.css | 2 +- build/event-min.js | 2 +- build/event.js | 2 +- build/event/base-min.js | 2 +- build/event/base.js | 2 +- build/event/custom-min.js | 2 +- build/event/custom.js | 2 +- build/event/dom/base-min.js | 2 +- build/event/dom/base.js | 2 +- build/event/dom/focusin-min.js | 2 +- build/event/dom/focusin.js | 2 +- build/event/dom/hashchange-min.js | 2 +- build/event/dom/hashchange.js | 2 +- build/event/dom/ie-min.js | 2 +- build/event/dom/ie.js | 2 +- build/event/dom/shake-min.js | 2 +- build/event/dom/shake.js | 2 +- build/event/dom/touch-min.js | 2 +- build/event/dom/touch.js | 2 +- build/filter-menu-min.js | 2 +- build/filter-menu.js | 2 +- build/html-parser-min.js | 2 +- build/html-parser.js | 2 +- build/import-style-min.js | 2 +- build/import-style.js | 2 +- build/io-min.js | 2 +- build/io.js | 2 +- build/json-min.js | 2 +- build/json.js | 2 +- build/kison-min.js | 2 +- build/kison.js | 2 +- build/kissy-nodejs-min.js | 4 ++-- build/kissy-nodejs.js | 4 ++-- build/menu-min.js | 2 +- build/menu.js | 2 +- build/menu/assets/dpl-min.css | 2 +- build/menu/assets/dpl.css | 2 +- build/menubutton-min.js | 2 +- build/menubutton.js | 2 +- build/menubutton/assets/dpl-min.css | 2 +- build/menubutton/assets/dpl.css | 2 +- build/mvc-min.js | 2 +- build/mvc.js | 2 +- build/node-min.js | 2 +- build/node.js | 2 +- build/overlay-min.js | 2 +- build/overlay.js | 2 +- build/overlay/assets/dpl-min.css | 2 +- build/overlay/assets/dpl.css | 2 +- build/promise-min.js | 2 +- build/promise.js | 2 +- build/resizable-min.js | 2 +- build/resizable.js | 2 +- build/resizable/plugin/proxy-min.js | 2 +- build/resizable/plugin/proxy.js | 2 +- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 2 +- build/scroll-view/base.js | 2 +- build/scroll-view/drag-min.js | 2 +- build/scroll-view/drag.js | 2 +- build/scroll-view/plugin/pull-to-refresh-min.js | 2 +- build/scroll-view/plugin/pull-to-refresh.js | 2 +- build/scroll-view/plugin/scrollbar-min.js | 2 +- build/scroll-view/plugin/scrollbar.js | 2 +- build/seed-min.js | 4 ++-- build/seed.js | 4 ++-- build/separator-min.js | 2 +- build/separator.js | 2 +- build/split-button-min.js | 2 +- build/split-button.js | 2 +- build/split-button/assets/dpl-min.css | 2 +- build/split-button/assets/dpl.css | 2 +- build/stylesheet-min.js | 2 +- build/stylesheet.js | 2 +- build/swf-min.js | 2 +- build/swf.js | 2 +- build/tabs-min.js | 2 +- build/tabs.js | 2 +- build/tabs/assets/dpl-min.css | 2 +- build/tabs/assets/dpl.css | 2 +- build/toolbar-min.js | 2 +- build/toolbar.js | 2 +- build/toolbar/assets/dpl-min.css | 2 +- build/toolbar/assets/dpl.css | 2 +- build/tree-min.js | 2 +- build/tree.js | 2 +- build/tree/assets/dpl-min.css | 2 +- build/tree/assets/dpl.css | 2 +- build/xtemplate-min.js | 2 +- build/xtemplate.js | 2 +- build/xtemplate/compiler-min.js | 2 +- build/xtemplate/compiler.js | 2 +- build/xtemplate/nodejs-min.js | 2 +- build/xtemplate/nodejs.js | 2 +- build/xtemplate/runtime-min.js | 2 +- build/xtemplate/runtime.js | 2 +- src/config.xml | 4 ++-- 383 files changed, 388 insertions(+), 388 deletions(-) diff --git a/build/anim-min.js b/build/anim-min.js index c2e1ac0b37..14f9ec619f 100644 --- a/build/anim-min.js +++ b/build/anim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim.js b/build/anim.js index b979778651..81af669dc0 100644 --- a/build/anim.js +++ b/build/anim.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/base-min.js b/build/anim/base-min.js index 2664b4bd05..8985449a22 100644 --- a/build/anim/base-min.js +++ b/build/anim/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/base.js b/build/anim/base.js index d7f21eb889..567e290aee 100644 --- a/build/anim/base.js +++ b/build/anim/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/timer-min.js b/build/anim/timer-min.js index 585a30a407..80dce3ed7f 100644 --- a/build/anim/timer-min.js +++ b/build/anim/timer-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/timer.js b/build/anim/timer.js index a4f25b6ce4..ef602dc2d4 100644 --- a/build/anim/timer.js +++ b/build/anim/timer.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 0911bfe153..ac3dbdad52 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/transition.js b/build/anim/transition.js index 7ff89b0779..39d2bc4c5e 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/attribute-min.js b/build/attribute-min.js index b6426ad614..4e3f50c5b4 100644 --- a/build/attribute-min.js +++ b/build/attribute-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/attribute.js b/build/attribute.js index b237163fa4..4a4d937ae8 100644 --- a/build/attribute.js +++ b/build/attribute.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/base-min.js b/build/base-min.js index bf9a1b07b2..37840d4f69 100644 --- a/build/base-min.js +++ b/build/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/base.js b/build/base.js index de994cf70a..fefbf56d9b 100644 --- a/build/base.js +++ b/build/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button-min.js b/build/button-min.js index e6e38959e9..36393e9f71 100644 --- a/build/button-min.js +++ b/build/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button.js b/build/button.js index 9c6fc4f69e..33f4a1f4f1 100644 --- a/build/button.js +++ b/build/button.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button/assets/dpl-min.css b/build/button/assets/dpl-min.css index 49b575baee..6b6883775c 100644 --- a/build/button/assets/dpl-min.css +++ b/build/button/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button/assets/dpl.css b/build/button/assets/dpl.css index f25913349e..b513d58bbe 100644 --- a/build/button/assets/dpl.css +++ b/build/button/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:15 */ diff --git a/build/color-min.js b/build/color-min.js index 49c785463e..2940dc94cc 100644 --- a/build/color-min.js +++ b/build/color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/color.js b/build/color.js index 57792e7a6d..2a1a2fb4a8 100644 --- a/build/color.js +++ b/build/color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox-min.js b/build/combobox-min.js index 2a0b162c6b..82b2a292d0 100644 --- a/build/combobox-min.js +++ b/build/combobox-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox.js b/build/combobox.js index 7fbe2cb017..466f7e6c18 100644 --- a/build/combobox.js +++ b/build/combobox.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox/assets/dpl-min.css b/build/combobox/assets/dpl-min.css index cd06de7dee..630b2aed4c 100644 --- a/build/combobox/assets/dpl-min.css +++ b/build/combobox/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox/assets/dpl.css b/build/combobox/assets/dpl.css index dd7fcfd2d6..cb70f24379 100644 --- a/build/combobox/assets/dpl.css +++ b/build/combobox/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/container-min.js b/build/component/container-min.js index 7e5c576616..a0ac2f8932 100644 --- a/build/component/container-min.js +++ b/build/component/container-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/container.js b/build/component/container.js index 31c4e658fc..6902a3dd75 100644 --- a/build/component/container.js +++ b/build/component/container.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/control-min.js b/build/component/control-min.js index 94e41ee5aa..25f43c7a70 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Aug 18 12:19 */ diff --git a/build/component/control.js b/build/component/control.js index be4e039c94..bef269e955 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Aug 18 12:19 */ diff --git a/build/component/extension/align-min.js b/build/component/extension/align-min.js index f6b6606801..334c0588fc 100644 --- a/build/component/extension/align-min.js +++ b/build/component/extension/align-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/align.js b/build/component/extension/align.js index da1367eb91..4d9d22840a 100644 --- a/build/component/extension/align.js +++ b/build/component/extension/align.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-render-min.js b/build/component/extension/content-render-min.js index 17e5bcebef..8a516141cb 100644 --- a/build/component/extension/content-render-min.js +++ b/build/component/extension/content-render-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-render.js b/build/component/extension/content-render.js index a6651f5f10..a7bf1b030c 100644 --- a/build/component/extension/content-render.js +++ b/build/component/extension/content-render.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-xtpl-min.js b/build/component/extension/content-xtpl-min.js index db8a9429fa..72cbffdcf9 100644 --- a/build/component/extension/content-xtpl-min.js +++ b/build/component/extension/content-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-xtpl.js b/build/component/extension/content-xtpl.js index 7e0fceadee..1bb7f39b34 100644 --- a/build/component/extension/content-xtpl.js +++ b/build/component/extension/content-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js index 2ba360fb5c..bc0c5c70ad 100644 --- a/build/component/extension/delegate-children-min.js +++ b/build/component/extension/delegate-children-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js index 6e39e27e8d..17133e59ba 100644 --- a/build/component/extension/delegate-children.js +++ b/build/component/extension/delegate-children.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/shim-min.js b/build/component/extension/shim-min.js index aa18f0bdf9..142f906738 100644 --- a/build/component/extension/shim-min.js +++ b/build/component/extension/shim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/extension/shim.js b/build/component/extension/shim.js index 56512a3918..d40a731f5c 100644 --- a/build/component/extension/shim.js +++ b/build/component/extension/shim.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/manager-min.js b/build/component/manager-min.js index daba524a05..291027c40a 100644 --- a/build/component/manager-min.js +++ b/build/component/manager-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/manager.js b/build/component/manager.js index 036c2539e3..66bb8d1ac4 100644 --- a/build/component/manager.js +++ b/build/component/manager.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/drag-min.js b/build/component/plugin/drag-min.js index d6bf878019..3a48454443 100644 --- a/build/component/plugin/drag-min.js +++ b/build/component/plugin/drag-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/drag.js b/build/component/plugin/drag.js index a397efeb44..7fbe45b5e2 100644 --- a/build/component/plugin/drag.js +++ b/build/component/plugin/drag.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/resize-min.js b/build/component/plugin/resize-min.js index 81b0e072be..02f2a4c53b 100644 --- a/build/component/plugin/resize-min.js +++ b/build/component/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/resize.js b/build/component/plugin/resize.js index 4cb20cf832..8eb85b7537 100644 --- a/build/component/plugin/resize.js +++ b/build/component/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/cookie-min.js b/build/cookie-min.js index 3c856602ea..28e2b26dcb 100644 --- a/build/cookie-min.js +++ b/build/cookie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/cookie.js b/build/cookie.js index dd72783b74..cd67202df1 100644 --- a/build/cookie.js +++ b/build/cookie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/badges-min.css b/build/css/dpl/badges-min.css index eaa29714a1..4807f49a65 100644 --- a/build/css/dpl/badges-min.css +++ b/build/css/dpl/badges-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/badges.css b/build/css/dpl/badges.css index 87b05c27c4..b9c20f232e 100644 --- a/build/css/dpl/badges.css +++ b/build/css/dpl/badges.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/base-min.css b/build/css/dpl/base-min.css index a85a646e8a..74304905db 100644 --- a/build/css/dpl/base-min.css +++ b/build/css/dpl/base-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/base.css b/build/css/dpl/base.css index 9487bfb67d..bceeff1041 100644 --- a/build/css/dpl/base.css +++ b/build/css/dpl/base.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/forms-min.css b/build/css/dpl/forms-min.css index 00653e47c1..a4052fb276 100644 --- a/build/css/dpl/forms-min.css +++ b/build/css/dpl/forms-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/forms.css b/build/css/dpl/forms.css index 54141e258a..8d85a35d14 100644 --- a/build/css/dpl/forms.css +++ b/build/css/dpl/forms.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/icons-min.css b/build/css/dpl/icons-min.css index fd9dd9dd3a..649a165e51 100644 --- a/build/css/dpl/icons-min.css +++ b/build/css/dpl/icons-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/icons.css b/build/css/dpl/icons.css index d5dd1e0745..bea182c29a 100644 --- a/build/css/dpl/icons.css +++ b/build/css/dpl/icons.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/labels-min.css b/build/css/dpl/labels-min.css index 08d29e94df..33ac8dedfb 100644 --- a/build/css/dpl/labels-min.css +++ b/build/css/dpl/labels-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/labels.css b/build/css/dpl/labels.css index 750e8f2c01..a19523a98f 100644 --- a/build/css/dpl/labels.css +++ b/build/css/dpl/labels.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-context-min.css b/build/css/dpl/reset-context-min.css index cc797059f4..11019a7084 100644 --- a/build/css/dpl/reset-context-min.css +++ b/build/css/dpl/reset-context-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-context.css b/build/css/dpl/reset-context.css index 49ba5dfe58..bd6f7b7aa2 100644 --- a/build/css/dpl/reset-context.css +++ b/build/css/dpl/reset-context.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-min.css b/build/css/dpl/reset-min.css index dffe807807..a35a0bee3e 100644 --- a/build/css/dpl/reset-min.css +++ b/build/css/dpl/reset-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset.css b/build/css/dpl/reset.css index 74f23246b1..3fca5e86be 100644 --- a/build/css/dpl/reset.css +++ b/build/css/dpl/reset.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/tables-min.css b/build/css/dpl/tables-min.css index 4163f99948..7b208fbaa4 100644 --- a/build/css/dpl/tables-min.css +++ b/build/css/dpl/tables-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/tables.css b/build/css/dpl/tables.css index cafb55eb34..1ed176a7b1 100644 --- a/build/css/dpl/tables.css +++ b/build/css/dpl/tables.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/format-min.js b/build/date/format-min.js index ae025f894c..7f9ed91338 100644 --- a/build/date/format-min.js +++ b/build/date/format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/format.js b/build/date/format.js index a8851e5f0e..5584a914b3 100644 --- a/build/date/format.js +++ b/build/date/format.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/gregorian-min.js b/build/date/gregorian-min.js index c2ee32f2dd..a24c679cdc 100644 --- a/build/date/gregorian-min.js +++ b/build/date/gregorian-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/gregorian.js b/build/date/gregorian.js index ee7a3a62f5..7f427a5838 100644 --- a/build/date/gregorian.js +++ b/build/date/gregorian.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/en-us-min.js b/build/date/i18n/en-us-min.js index fa0be0739d..2e4878a1e0 100644 --- a/build/date/i18n/en-us-min.js +++ b/build/date/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/en-us.js b/build/date/i18n/en-us.js index 05c142a49f..bea2b6fd7f 100644 --- a/build/date/i18n/en-us.js +++ b/build/date/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/zh-cn-min.js b/build/date/i18n/zh-cn-min.js index 80f20bfef7..62431eb907 100644 --- a/build/date/i18n/zh-cn-min.js +++ b/build/date/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/zh-cn.js b/build/date/i18n/zh-cn.js index 4c5871e96e..91e19eea57 100644 --- a/build/date/i18n/zh-cn.js +++ b/build/date/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker-min.js b/build/date/picker-min.js index e1db70bead..0de62ec933 100644 --- a/build/date/picker-min.js +++ b/build/date/picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker-xtpl-min.js b/build/date/picker-xtpl-min.js index 11afd20f1d..57d870e128 100644 --- a/build/date/picker-xtpl-min.js +++ b/build/date/picker-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker-xtpl.js b/build/date/picker-xtpl.js index 83a2c8b138..35b4e367c9 100644 --- a/build/date/picker-xtpl.js +++ b/build/date/picker-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker.js b/build/date/picker.js index 972600c00a..8ea2ad2974 100644 --- a/build/date/picker.js +++ b/build/date/picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/assets/dpl-min.css b/build/date/picker/assets/dpl-min.css index 7de396d1f9..f2356e4f27 100644 --- a/build/date/picker/assets/dpl-min.css +++ b/build/date/picker/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/assets/dpl.css b/build/date/picker/assets/dpl.css index b9facb8ea4..5a8ac828e8 100644 --- a/build/date/picker/assets/dpl.css +++ b/build/date/picker/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/en-us-min.js b/build/date/picker/i18n/en-us-min.js index 0ffb3975ff..64472b4b86 100644 --- a/build/date/picker/i18n/en-us-min.js +++ b/build/date/picker/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/en-us.js b/build/date/picker/i18n/en-us.js index 36e8b37e33..1e1a47c0dc 100644 --- a/build/date/picker/i18n/en-us.js +++ b/build/date/picker/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/zh-cn-min.js b/build/date/picker/i18n/zh-cn-min.js index 557d4e29e4..e77006e244 100644 --- a/build/date/picker/i18n/zh-cn-min.js +++ b/build/date/picker/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/zh-cn.js b/build/date/picker/i18n/zh-cn.js index 506b38bb88..90d819b23a 100644 --- a/build/date/picker/i18n/zh-cn.js +++ b/build/date/picker/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/popup-picker-min.js b/build/date/popup-picker-min.js index 3dcf8ba443..d15893fc41 100644 --- a/build/date/popup-picker-min.js +++ b/build/date/popup-picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/popup-picker.js b/build/date/popup-picker.js index df3201b15a..d993db5445 100644 --- a/build/date/popup-picker.js +++ b/build/date/popup-picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd-min.js b/build/dd-min.js index 8017e4d004..3197f33796 100644 --- a/build/dd-min.js +++ b/build/dd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd.js b/build/dd.js index 5d719dab9f..8c1485a321 100644 --- a/build/dd.js +++ b/build/dd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/constrain-min.js b/build/dd/plugin/constrain-min.js index 9452d8754e..0a44b1ac5e 100644 --- a/build/dd/plugin/constrain-min.js +++ b/build/dd/plugin/constrain-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/constrain.js b/build/dd/plugin/constrain.js index 341c87bfcc..5a2cb115b4 100644 --- a/build/dd/plugin/constrain.js +++ b/build/dd/plugin/constrain.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/proxy-min.js b/build/dd/plugin/proxy-min.js index 836f65b3ad..6433cedd79 100644 --- a/build/dd/plugin/proxy-min.js +++ b/build/dd/plugin/proxy-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/proxy.js b/build/dd/plugin/proxy.js index 71e62659d6..79fcd9f515 100644 --- a/build/dd/plugin/proxy.js +++ b/build/dd/plugin/proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/scroll-min.js b/build/dd/plugin/scroll-min.js index b589122f11..dfe9b9b69b 100644 --- a/build/dd/plugin/scroll-min.js +++ b/build/dd/plugin/scroll-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/scroll.js b/build/dd/plugin/scroll.js index 27670c2c2d..f9f049dfc2 100644 --- a/build/dd/plugin/scroll.js +++ b/build/dd/plugin/scroll.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 47e73406c7..29014d39a5 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/dom/base.js b/build/dom/base.js index 1b3f04ce7f..a06157f27b 100644 --- a/build/dom/base.js +++ b/build/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/dom/class-list-min.js b/build/dom/class-list-min.js index 7fe7b2f3b7..2180e840e4 100644 --- a/build/dom/class-list-min.js +++ b/build/dom/class-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/class-list.js b/build/dom/class-list.js index 8dd4801307..ba0af871f9 100644 --- a/build/dom/class-list.js +++ b/build/dom/class-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/ie-min.js b/build/dom/ie-min.js index 382f66f632..9e73f4705c 100644 --- a/build/dom/ie-min.js +++ b/build/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/ie.js b/build/dom/ie.js index d2b8e0a83e..3989c9b86d 100644 --- a/build/dom/ie.js +++ b/build/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js index 6e2fec31f6..77432dba09 100644 --- a/build/dom/selector-min.js +++ b/build/dom/selector-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/selector.js b/build/dom/selector.js index e6b4ddf5f0..b280f8b6ae 100644 --- a/build/dom/selector.js +++ b/build/dom/selector.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor-min.js b/build/editor-min.js index c3123afaad..ebec311fc2 100644 --- a/build/editor-min.js +++ b/build/editor-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor.js b/build/editor.js index c1b7b71757..8debb0e2e0 100644 --- a/build/editor.js +++ b/build/editor.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/back-color-min.js b/build/editor/plugin/back-color-min.js index 84c1a05d5e..c390c8c89a 100644 --- a/build/editor/plugin/back-color-min.js +++ b/build/editor/plugin/back-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color.js b/build/editor/plugin/back-color.js index 3e2735f851..e53bd74638 100644 --- a/build/editor/plugin/back-color.js +++ b/build/editor/plugin/back-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color/cmd-min.js b/build/editor/plugin/back-color/cmd-min.js index 478181afd2..11df149d18 100644 --- a/build/editor/plugin/back-color/cmd-min.js +++ b/build/editor/plugin/back-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color/cmd.js b/build/editor/plugin/back-color/cmd.js index 9295039d6a..c373a5ffd3 100644 --- a/build/editor/plugin/back-color/cmd.js +++ b/build/editor/plugin/back-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold-min.js b/build/editor/plugin/bold-min.js index 8e01efab90..1e442a6b40 100644 --- a/build/editor/plugin/bold-min.js +++ b/build/editor/plugin/bold-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold.js b/build/editor/plugin/bold.js index 562a62e604..430e847985 100644 --- a/build/editor/plugin/bold.js +++ b/build/editor/plugin/bold.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold/cmd-min.js b/build/editor/plugin/bold/cmd-min.js index 6eee0ffe9b..2d511a6d9a 100644 --- a/build/editor/plugin/bold/cmd-min.js +++ b/build/editor/plugin/bold/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold/cmd.js b/build/editor/plugin/bold/cmd.js index 512d65bf92..08d2427381 100644 --- a/build/editor/plugin/bold/cmd.js +++ b/build/editor/plugin/bold/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bubble-min.js b/build/editor/plugin/bubble-min.js index e1203be439..24fb48e08b 100644 --- a/build/editor/plugin/bubble-min.js +++ b/build/editor/plugin/bubble-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bubble.js b/build/editor/plugin/bubble.js index e0d0984d82..678ec31ddb 100644 --- a/build/editor/plugin/bubble.js +++ b/build/editor/plugin/bubble.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/button-min.js b/build/editor/plugin/button-min.js index 0cf4419ea8..3ba1551a5a 100644 --- a/build/editor/plugin/button-min.js +++ b/build/editor/plugin/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/button.js b/build/editor/plugin/button.js index 41940e3860..4179151f8a 100644 --- a/build/editor/plugin/button.js +++ b/build/editor/plugin/button.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/checkbox-source-area-min.js b/build/editor/plugin/checkbox-source-area-min.js index 0c25c23203..2bc9436214 100644 --- a/build/editor/plugin/checkbox-source-area-min.js +++ b/build/editor/plugin/checkbox-source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/checkbox-source-area.js b/build/editor/plugin/checkbox-source-area.js index 149a84fb73..f07b0be807 100644 --- a/build/editor/plugin/checkbox-source-area.js +++ b/build/editor/plugin/checkbox-source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code-min.js b/build/editor/plugin/code-min.js index 91e58720d7..e307974dd5 100644 --- a/build/editor/plugin/code-min.js +++ b/build/editor/plugin/code-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code.js b/build/editor/plugin/code.js index 6f3b8caf1c..0b7bf1ac2c 100644 --- a/build/editor/plugin/code.js +++ b/build/editor/plugin/code.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code/dialog-min.js b/build/editor/plugin/code/dialog-min.js index 24ecbc14b0..d13ed761dc 100644 --- a/build/editor/plugin/code/dialog-min.js +++ b/build/editor/plugin/code/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/code/dialog.js b/build/editor/plugin/code/dialog.js index f2fe500f7e..ee53d81381 100644 --- a/build/editor/plugin/code/dialog.js +++ b/build/editor/plugin/code/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/btn-min.js b/build/editor/plugin/color/btn-min.js index a164cff465..c1eaf81f09 100644 --- a/build/editor/plugin/color/btn-min.js +++ b/build/editor/plugin/color/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/btn.js b/build/editor/plugin/color/btn.js index f42622d26d..269ad1f460 100644 --- a/build/editor/plugin/color/btn.js +++ b/build/editor/plugin/color/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/cmd-min.js b/build/editor/plugin/color/cmd-min.js index 8fcb2ab7d9..5c9457663b 100644 --- a/build/editor/plugin/color/cmd-min.js +++ b/build/editor/plugin/color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/cmd.js b/build/editor/plugin/color/cmd.js index 1fc0479dd6..f08e013c0c 100644 --- a/build/editor/plugin/color/cmd.js +++ b/build/editor/plugin/color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/dialog-min.js b/build/editor/plugin/color/dialog-min.js index 677227fed7..6f5a71a967 100644 --- a/build/editor/plugin/color/dialog-min.js +++ b/build/editor/plugin/color/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/dialog.js b/build/editor/plugin/color/dialog.js index a9180a654d..831c872e22 100644 --- a/build/editor/plugin/color/dialog.js +++ b/build/editor/plugin/color/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/contextmenu-min.js b/build/editor/plugin/contextmenu-min.js index 842bb90378..336c429052 100644 --- a/build/editor/plugin/contextmenu-min.js +++ b/build/editor/plugin/contextmenu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/contextmenu.js b/build/editor/plugin/contextmenu.js index ddb57c55b2..9b6e70da3e 100644 --- a/build/editor/plugin/contextmenu.js +++ b/build/editor/plugin/contextmenu.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dent-cmd-min.js b/build/editor/plugin/dent-cmd-min.js index d4b23482b1..31980b03cd 100644 --- a/build/editor/plugin/dent-cmd-min.js +++ b/build/editor/plugin/dent-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dent-cmd.js b/build/editor/plugin/dent-cmd.js index 07da17a8fe..5e3a400932 100644 --- a/build/editor/plugin/dent-cmd.js +++ b/build/editor/plugin/dent-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-loader-min.js b/build/editor/plugin/dialog-loader-min.js index 1f67088151..513758c482 100644 --- a/build/editor/plugin/dialog-loader-min.js +++ b/build/editor/plugin/dialog-loader-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-loader.js b/build/editor/plugin/dialog-loader.js index 8929aec43b..33b122bab6 100644 --- a/build/editor/plugin/dialog-loader.js +++ b/build/editor/plugin/dialog-loader.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-min.js b/build/editor/plugin/dialog-min.js index 604a3bebeb..e02d05ed0b 100644 --- a/build/editor/plugin/dialog-min.js +++ b/build/editor/plugin/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog.js b/build/editor/plugin/dialog.js index 565c1f4197..11ffac9a23 100644 --- a/build/editor/plugin/dialog.js +++ b/build/editor/plugin/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/draft-min.js b/build/editor/plugin/draft-min.js index 5d47d82871..a9d742a650 100644 --- a/build/editor/plugin/draft-min.js +++ b/build/editor/plugin/draft-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/draft.js b/build/editor/plugin/draft.js index fd3a1cc845..6cde812758 100644 --- a/build/editor/plugin/draft.js +++ b/build/editor/plugin/draft.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/drag-upload-min.js b/build/editor/plugin/drag-upload-min.js index 93ac9b502f..ae07f13008 100644 --- a/build/editor/plugin/drag-upload-min.js +++ b/build/editor/plugin/drag-upload-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/drag-upload.js b/build/editor/plugin/drag-upload.js index c2e29ac4f7..0838af0a33 100644 --- a/build/editor/plugin/drag-upload.js +++ b/build/editor/plugin/drag-upload.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/element-path-min.js b/build/editor/plugin/element-path-min.js index 8da9a0c1d8..049115dc37 100644 --- a/build/editor/plugin/element-path-min.js +++ b/build/editor/plugin/element-path-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/element-path.js b/build/editor/plugin/element-path.js index e20145b3a9..811975a6c1 100644 --- a/build/editor/plugin/element-path.js +++ b/build/editor/plugin/element-path.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/fake-objects-min.js b/build/editor/plugin/fake-objects-min.js index a93e3e9ad4..4745580348 100644 --- a/build/editor/plugin/fake-objects-min.js +++ b/build/editor/plugin/fake-objects-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/fake-objects.js b/build/editor/plugin/fake-objects.js index b64db19a7f..759c1ff37a 100644 --- a/build/editor/plugin/fake-objects.js +++ b/build/editor/plugin/fake-objects.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-bridge-min.js b/build/editor/plugin/flash-bridge-min.js index b83e9e16a3..060c98cf57 100644 --- a/build/editor/plugin/flash-bridge-min.js +++ b/build/editor/plugin/flash-bridge-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-bridge.js b/build/editor/plugin/flash-bridge.js index e4c3ba9148..ecf80a4f6c 100644 --- a/build/editor/plugin/flash-bridge.js +++ b/build/editor/plugin/flash-bridge.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js index 38f53af7c3..b52a14c0b7 100644 --- a/build/editor/plugin/flash-common/base-class-min.js +++ b/build/editor/plugin/flash-common/base-class-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js index 6b06a19475..5300bec258 100644 --- a/build/editor/plugin/flash-common/base-class.js +++ b/build/editor/plugin/flash-common/base-class.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/utils-min.js b/build/editor/plugin/flash-common/utils-min.js index 93c8693a93..10d9190b94 100644 --- a/build/editor/plugin/flash-common/utils-min.js +++ b/build/editor/plugin/flash-common/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/utils.js b/build/editor/plugin/flash-common/utils.js index 6549ce98f6..b3e6e28b1f 100644 --- a/build/editor/plugin/flash-common/utils.js +++ b/build/editor/plugin/flash-common/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-min.js b/build/editor/plugin/flash-min.js index 2a4780607f..36005b9b1f 100644 --- a/build/editor/plugin/flash-min.js +++ b/build/editor/plugin/flash-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash.js b/build/editor/plugin/flash.js index ae96187a03..59ef573560 100644 --- a/build/editor/plugin/flash.js +++ b/build/editor/plugin/flash.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash/dialog-min.js b/build/editor/plugin/flash/dialog-min.js index 55d422e7c0..5792120ee6 100644 --- a/build/editor/plugin/flash/dialog-min.js +++ b/build/editor/plugin/flash/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash/dialog.js b/build/editor/plugin/flash/dialog.js index 223fd102ac..719981fdb9 100644 --- a/build/editor/plugin/flash/dialog.js +++ b/build/editor/plugin/flash/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/focus-fix-min.js b/build/editor/plugin/focus-fix-min.js index 0550e610ad..84eb144b4e 100644 --- a/build/editor/plugin/focus-fix-min.js +++ b/build/editor/plugin/focus-fix-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/focus-fix.js b/build/editor/plugin/focus-fix.js index 9bb3ae64ad..1a7e639580 100644 --- a/build/editor/plugin/focus-fix.js +++ b/build/editor/plugin/focus-fix.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family-min.js b/build/editor/plugin/font-family-min.js index 17c65bb0ac..9263241113 100644 --- a/build/editor/plugin/font-family-min.js +++ b/build/editor/plugin/font-family-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family.js b/build/editor/plugin/font-family.js index b4f880cdc7..60286f8e5f 100644 --- a/build/editor/plugin/font-family.js +++ b/build/editor/plugin/font-family.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family/cmd-min.js b/build/editor/plugin/font-family/cmd-min.js index dc7745f71a..9eb4bc3c89 100644 --- a/build/editor/plugin/font-family/cmd-min.js +++ b/build/editor/plugin/font-family/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family/cmd.js b/build/editor/plugin/font-family/cmd.js index d058b3b6b9..cb63006d27 100644 --- a/build/editor/plugin/font-family/cmd.js +++ b/build/editor/plugin/font-family/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size-min.js b/build/editor/plugin/font-size-min.js index 4e7fe78474..16e882cbfb 100644 --- a/build/editor/plugin/font-size-min.js +++ b/build/editor/plugin/font-size-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size.js b/build/editor/plugin/font-size.js index 341db80fbc..138eedc697 100644 --- a/build/editor/plugin/font-size.js +++ b/build/editor/plugin/font-size.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size/cmd-min.js b/build/editor/plugin/font-size/cmd-min.js index 8548a66512..d51b96768d 100644 --- a/build/editor/plugin/font-size/cmd-min.js +++ b/build/editor/plugin/font-size/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font-size/cmd.js b/build/editor/plugin/font-size/cmd.js index b3b8ad5b0b..8324b4e035 100644 --- a/build/editor/plugin/font-size/cmd.js +++ b/build/editor/plugin/font-size/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/cmd-min.js b/build/editor/plugin/font/cmd-min.js index 7e703e4a53..c4f86df288 100644 --- a/build/editor/plugin/font/cmd-min.js +++ b/build/editor/plugin/font/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/cmd.js b/build/editor/plugin/font/cmd.js index 622d3bdcd5..f5942a069f 100644 --- a/build/editor/plugin/font/cmd.js +++ b/build/editor/plugin/font/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/ui-min.js b/build/editor/plugin/font/ui-min.js index 549c479039..205564b26c 100644 --- a/build/editor/plugin/font/ui-min.js +++ b/build/editor/plugin/font/ui-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/ui.js b/build/editor/plugin/font/ui.js index adbd57e0ae..9b00420031 100644 --- a/build/editor/plugin/font/ui.js +++ b/build/editor/plugin/font/ui.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color-min.js b/build/editor/plugin/fore-color-min.js index b7fa83ae6d..0c9b909239 100644 --- a/build/editor/plugin/fore-color-min.js +++ b/build/editor/plugin/fore-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color.js b/build/editor/plugin/fore-color.js index 1f7fc90484..324d60c083 100644 --- a/build/editor/plugin/fore-color.js +++ b/build/editor/plugin/fore-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color/cmd-min.js b/build/editor/plugin/fore-color/cmd-min.js index b0f255301e..855f1ae273 100644 --- a/build/editor/plugin/fore-color/cmd-min.js +++ b/build/editor/plugin/fore-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color/cmd.js b/build/editor/plugin/fore-color/cmd.js index 2494d5a99a..52f6bde08b 100644 --- a/build/editor/plugin/fore-color/cmd.js +++ b/build/editor/plugin/fore-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading-min.js b/build/editor/plugin/heading-min.js index d7436d7a05..4f5171d04d 100644 --- a/build/editor/plugin/heading-min.js +++ b/build/editor/plugin/heading-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading.js b/build/editor/plugin/heading.js index 484fdf69a9..437dbdf38e 100644 --- a/build/editor/plugin/heading.js +++ b/build/editor/plugin/heading.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading/cmd-min.js b/build/editor/plugin/heading/cmd-min.js index e9daa1f862..c18b7114e9 100644 --- a/build/editor/plugin/heading/cmd-min.js +++ b/build/editor/plugin/heading/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading/cmd.js b/build/editor/plugin/heading/cmd.js index 5520fadde3..e66aff1d40 100644 --- a/build/editor/plugin/heading/cmd.js +++ b/build/editor/plugin/heading/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js index b41dc1e39b..e2fd6c1ae3 100644 --- a/build/editor/plugin/image-min.js +++ b/build/editor/plugin/image-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js index 5b29b816b2..42027cedec 100644 --- a/build/editor/plugin/image.js +++ b/build/editor/plugin/image.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image/dialog-min.js b/build/editor/plugin/image/dialog-min.js index 5a1d5879e8..aa256f6b50 100644 --- a/build/editor/plugin/image/dialog-min.js +++ b/build/editor/plugin/image/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image/dialog.js b/build/editor/plugin/image/dialog.js index c8060bf3a2..a441fa05f6 100644 --- a/build/editor/plugin/image/dialog.js +++ b/build/editor/plugin/image/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent-min.js b/build/editor/plugin/indent-min.js index 765f56241c..e98c28ecbc 100644 --- a/build/editor/plugin/indent-min.js +++ b/build/editor/plugin/indent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent.js b/build/editor/plugin/indent.js index 9a3c7cf2f1..99d8d9aaf5 100644 --- a/build/editor/plugin/indent.js +++ b/build/editor/plugin/indent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent/cmd-min.js b/build/editor/plugin/indent/cmd-min.js index cb47557700..c406c833cc 100644 --- a/build/editor/plugin/indent/cmd-min.js +++ b/build/editor/plugin/indent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent/cmd.js b/build/editor/plugin/indent/cmd.js index 21761231a9..444e6761ad 100644 --- a/build/editor/plugin/indent/cmd.js +++ b/build/editor/plugin/indent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic-min.js b/build/editor/plugin/italic-min.js index 744b8a1b9e..05a3a00078 100644 --- a/build/editor/plugin/italic-min.js +++ b/build/editor/plugin/italic-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic.js b/build/editor/plugin/italic.js index 18e1a386ce..401296b290 100644 --- a/build/editor/plugin/italic.js +++ b/build/editor/plugin/italic.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic/cmd-min.js b/build/editor/plugin/italic/cmd-min.js index 404f95d5bd..c35d121d0d 100644 --- a/build/editor/plugin/italic/cmd-min.js +++ b/build/editor/plugin/italic/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/italic/cmd.js b/build/editor/plugin/italic/cmd.js index 59e89b5905..ba531a177c 100644 --- a/build/editor/plugin/italic/cmd.js +++ b/build/editor/plugin/italic/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center-min.js b/build/editor/plugin/justify-center-min.js index aea9da87bb..802879d230 100644 --- a/build/editor/plugin/justify-center-min.js +++ b/build/editor/plugin/justify-center-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center.js b/build/editor/plugin/justify-center.js index 4ea53a797d..cd415773c6 100644 --- a/build/editor/plugin/justify-center.js +++ b/build/editor/plugin/justify-center.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center/cmd-min.js b/build/editor/plugin/justify-center/cmd-min.js index 359a20d3c9..dd7e136133 100644 --- a/build/editor/plugin/justify-center/cmd-min.js +++ b/build/editor/plugin/justify-center/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center/cmd.js b/build/editor/plugin/justify-center/cmd.js index 73ba0522b9..a043679c90 100644 --- a/build/editor/plugin/justify-center/cmd.js +++ b/build/editor/plugin/justify-center/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-cmd-min.js b/build/editor/plugin/justify-cmd-min.js index 65888dbe07..000f7710c2 100644 --- a/build/editor/plugin/justify-cmd-min.js +++ b/build/editor/plugin/justify-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-cmd.js b/build/editor/plugin/justify-cmd.js index 8a916bc028..3aeb6ab2e1 100644 --- a/build/editor/plugin/justify-cmd.js +++ b/build/editor/plugin/justify-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left-min.js b/build/editor/plugin/justify-left-min.js index aaa8d6ed25..627e9dd6a8 100644 --- a/build/editor/plugin/justify-left-min.js +++ b/build/editor/plugin/justify-left-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left.js b/build/editor/plugin/justify-left.js index 0cb4dac85e..30004f3987 100644 --- a/build/editor/plugin/justify-left.js +++ b/build/editor/plugin/justify-left.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left/cmd-min.js b/build/editor/plugin/justify-left/cmd-min.js index 694dcb84ce..0450156e6e 100644 --- a/build/editor/plugin/justify-left/cmd-min.js +++ b/build/editor/plugin/justify-left/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left/cmd.js b/build/editor/plugin/justify-left/cmd.js index a318d50099..90d310a3bd 100644 --- a/build/editor/plugin/justify-left/cmd.js +++ b/build/editor/plugin/justify-left/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right-min.js b/build/editor/plugin/justify-right-min.js index 68621ba002..f3905ae0dd 100644 --- a/build/editor/plugin/justify-right-min.js +++ b/build/editor/plugin/justify-right-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right.js b/build/editor/plugin/justify-right.js index e4d6213b35..34d3fbce6b 100644 --- a/build/editor/plugin/justify-right.js +++ b/build/editor/plugin/justify-right.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right/cmd-min.js b/build/editor/plugin/justify-right/cmd-min.js index f4660e9a9a..0a5f7bd5b7 100644 --- a/build/editor/plugin/justify-right/cmd-min.js +++ b/build/editor/plugin/justify-right/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right/cmd.js b/build/editor/plugin/justify-right/cmd.js index 0431208320..c9a6fdcaa0 100644 --- a/build/editor/plugin/justify-right/cmd.js +++ b/build/editor/plugin/justify-right/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link-min.js b/build/editor/plugin/link-min.js index b38f91ea7b..4aaeb05925 100644 --- a/build/editor/plugin/link-min.js +++ b/build/editor/plugin/link-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link.js b/build/editor/plugin/link.js index 7bee1b19db..7eda8e2191 100644 --- a/build/editor/plugin/link.js +++ b/build/editor/plugin/link.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/dialog-min.js b/build/editor/plugin/link/dialog-min.js index 5e4d319446..aa990c671e 100644 --- a/build/editor/plugin/link/dialog-min.js +++ b/build/editor/plugin/link/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/dialog.js b/build/editor/plugin/link/dialog.js index 253bbcd4a3..48d69d9b1d 100644 --- a/build/editor/plugin/link/dialog.js +++ b/build/editor/plugin/link/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/utils-min.js b/build/editor/plugin/link/utils-min.js index 048cf9b730..20561ddc3c 100644 --- a/build/editor/plugin/link/utils-min.js +++ b/build/editor/plugin/link/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/utils.js b/build/editor/plugin/link/utils.js index 22981cd60e..e913e21d26 100644 --- a/build/editor/plugin/link/utils.js +++ b/build/editor/plugin/link/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/list-utils-min.js b/build/editor/plugin/list-utils-min.js index b8d61ae154..0a6fd356dc 100644 --- a/build/editor/plugin/list-utils-min.js +++ b/build/editor/plugin/list-utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils.js b/build/editor/plugin/list-utils.js index 41452c96d8..4a531d8855 100644 --- a/build/editor/plugin/list-utils.js +++ b/build/editor/plugin/list-utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/btn-min.js b/build/editor/plugin/list-utils/btn-min.js index 6cd4cbfe22..175677d506 100644 --- a/build/editor/plugin/list-utils/btn-min.js +++ b/build/editor/plugin/list-utils/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/btn.js b/build/editor/plugin/list-utils/btn.js index 394ee2d15d..5a195b7cf6 100644 --- a/build/editor/plugin/list-utils/btn.js +++ b/build/editor/plugin/list-utils/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/cmd-min.js b/build/editor/plugin/list-utils/cmd-min.js index b259b1361f..42f33688a2 100644 --- a/build/editor/plugin/list-utils/cmd-min.js +++ b/build/editor/plugin/list-utils/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/cmd.js b/build/editor/plugin/list-utils/cmd.js index 310362c3a7..309c77c7c3 100644 --- a/build/editor/plugin/list-utils/cmd.js +++ b/build/editor/plugin/list-utils/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/local-storage-min.js b/build/editor/plugin/local-storage-min.js index 1b8ffba0aa..cdab09f8dc 100644 --- a/build/editor/plugin/local-storage-min.js +++ b/build/editor/plugin/local-storage-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/local-storage.js b/build/editor/plugin/local-storage.js index 94e9783eb8..c0970f2bcb 100644 --- a/build/editor/plugin/local-storage.js +++ b/build/editor/plugin/local-storage.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize-min.js b/build/editor/plugin/maximize-min.js index 7920e785ca..3d89d89b32 100644 --- a/build/editor/plugin/maximize-min.js +++ b/build/editor/plugin/maximize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize.js b/build/editor/plugin/maximize.js index c39cdccbf7..e654524d64 100644 --- a/build/editor/plugin/maximize.js +++ b/build/editor/plugin/maximize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize/cmd-min.js b/build/editor/plugin/maximize/cmd-min.js index f18d05a8b9..e7f10ccdd4 100644 --- a/build/editor/plugin/maximize/cmd-min.js +++ b/build/editor/plugin/maximize/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize/cmd.js b/build/editor/plugin/maximize/cmd.js index 0ef9bc4cf5..0392c4b7cb 100644 --- a/build/editor/plugin/maximize/cmd.js +++ b/build/editor/plugin/maximize/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/menubutton-min.js b/build/editor/plugin/menubutton-min.js index d983027325..523023716e 100644 --- a/build/editor/plugin/menubutton-min.js +++ b/build/editor/plugin/menubutton-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/menubutton.js b/build/editor/plugin/menubutton.js index 8fd1754fee..d1d0864174 100644 --- a/build/editor/plugin/menubutton.js +++ b/build/editor/plugin/menubutton.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list-min.js b/build/editor/plugin/ordered-list-min.js index 05990329ff..d5a1e27a69 100644 --- a/build/editor/plugin/ordered-list-min.js +++ b/build/editor/plugin/ordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list.js b/build/editor/plugin/ordered-list.js index bbfc694a54..dc2f1bae9a 100644 --- a/build/editor/plugin/ordered-list.js +++ b/build/editor/plugin/ordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list/cmd-min.js b/build/editor/plugin/ordered-list/cmd-min.js index 01acd0be2b..da2752f473 100644 --- a/build/editor/plugin/ordered-list/cmd-min.js +++ b/build/editor/plugin/ordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list/cmd.js b/build/editor/plugin/ordered-list/cmd.js index b2d4de0384..aa2de70af9 100644 --- a/build/editor/plugin/ordered-list/cmd.js +++ b/build/editor/plugin/ordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent-min.js b/build/editor/plugin/outdent-min.js index 8b73137266..cf20b54547 100644 --- a/build/editor/plugin/outdent-min.js +++ b/build/editor/plugin/outdent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent.js b/build/editor/plugin/outdent.js index a16e4d057e..6a106d764a 100644 --- a/build/editor/plugin/outdent.js +++ b/build/editor/plugin/outdent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent/cmd-min.js b/build/editor/plugin/outdent/cmd-min.js index 3147ff0bcc..717e7c261c 100644 --- a/build/editor/plugin/outdent/cmd-min.js +++ b/build/editor/plugin/outdent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/outdent/cmd.js b/build/editor/plugin/outdent/cmd.js index ef5613701a..7538615719 100644 --- a/build/editor/plugin/outdent/cmd.js +++ b/build/editor/plugin/outdent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/overlay-min.js b/build/editor/plugin/overlay-min.js index f74539942c..eeccbd3061 100644 --- a/build/editor/plugin/overlay-min.js +++ b/build/editor/plugin/overlay-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/overlay.js b/build/editor/plugin/overlay.js index c440796efb..e2aceffcf5 100644 --- a/build/editor/plugin/overlay.js +++ b/build/editor/plugin/overlay.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/page-break-min.js b/build/editor/plugin/page-break-min.js index 6eea1588a9..7c746ef12e 100644 --- a/build/editor/plugin/page-break-min.js +++ b/build/editor/plugin/page-break-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/page-break.js b/build/editor/plugin/page-break.js index 595467a460..88df201563 100644 --- a/build/editor/plugin/page-break.js +++ b/build/editor/plugin/page-break.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/preview-min.js b/build/editor/plugin/preview-min.js index 5c25c54b60..f65cfa78e1 100644 --- a/build/editor/plugin/preview-min.js +++ b/build/editor/plugin/preview-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/preview.js b/build/editor/plugin/preview.js index 8f212a4829..89989b3181 100644 --- a/build/editor/plugin/preview.js +++ b/build/editor/plugin/preview.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/progressbar-min.js b/build/editor/plugin/progressbar-min.js index ae2e289a06..622eb5c465 100644 --- a/build/editor/plugin/progressbar-min.js +++ b/build/editor/plugin/progressbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/progressbar.js b/build/editor/plugin/progressbar.js index d0daf0d085..b98b7ea2c1 100644 --- a/build/editor/plugin/progressbar.js +++ b/build/editor/plugin/progressbar.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format-min.js b/build/editor/plugin/remove-format-min.js index 68dc3f671c..89b3e59ff1 100644 --- a/build/editor/plugin/remove-format-min.js +++ b/build/editor/plugin/remove-format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format.js b/build/editor/plugin/remove-format.js index d2d321bc29..64083f2e70 100644 --- a/build/editor/plugin/remove-format.js +++ b/build/editor/plugin/remove-format.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format/cmd-min.js b/build/editor/plugin/remove-format/cmd-min.js index af8d7f448b..ec23d00198 100644 --- a/build/editor/plugin/remove-format/cmd-min.js +++ b/build/editor/plugin/remove-format/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format/cmd.js b/build/editor/plugin/remove-format/cmd.js index efeecdbb12..e4ddb6af08 100644 --- a/build/editor/plugin/remove-format/cmd.js +++ b/build/editor/plugin/remove-format/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/resize-min.js b/build/editor/plugin/resize-min.js index 723c02133d..714704a21d 100644 --- a/build/editor/plugin/resize-min.js +++ b/build/editor/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/resize.js b/build/editor/plugin/resize.js index 238046c5e8..b4fd974819 100644 --- a/build/editor/plugin/resize.js +++ b/build/editor/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/separator-min.js b/build/editor/plugin/separator-min.js index edfd3634ce..3bc0d589e5 100644 --- a/build/editor/plugin/separator-min.js +++ b/build/editor/plugin/separator-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/separator.js b/build/editor/plugin/separator.js index ac796f1417..1bd52e4838 100644 --- a/build/editor/plugin/separator.js +++ b/build/editor/plugin/separator.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/smiley-min.js b/build/editor/plugin/smiley-min.js index b48d6bc657..2c8020ba6b 100644 --- a/build/editor/plugin/smiley-min.js +++ b/build/editor/plugin/smiley-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/smiley.js b/build/editor/plugin/smiley.js index 5918abeda8..1369a81c74 100644 --- a/build/editor/plugin/smiley.js +++ b/build/editor/plugin/smiley.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/source-area-min.js b/build/editor/plugin/source-area-min.js index 91d55fb210..4ff4d0b200 100644 --- a/build/editor/plugin/source-area-min.js +++ b/build/editor/plugin/source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/source-area.js b/build/editor/plugin/source-area.js index 2b77673039..08703ee2fa 100644 --- a/build/editor/plugin/source-area.js +++ b/build/editor/plugin/source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through-min.js b/build/editor/plugin/strike-through-min.js index d84d98c677..3e35de0a20 100644 --- a/build/editor/plugin/strike-through-min.js +++ b/build/editor/plugin/strike-through-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through.js b/build/editor/plugin/strike-through.js index 3d217c7159..10d71830b6 100644 --- a/build/editor/plugin/strike-through.js +++ b/build/editor/plugin/strike-through.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through/cmd-min.js b/build/editor/plugin/strike-through/cmd-min.js index 1745e5a46c..1180ded7b0 100644 --- a/build/editor/plugin/strike-through/cmd-min.js +++ b/build/editor/plugin/strike-through/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through/cmd.js b/build/editor/plugin/strike-through/cmd.js index 1ed894ed32..c35b4ef432 100644 --- a/build/editor/plugin/strike-through/cmd.js +++ b/build/editor/plugin/strike-through/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table-min.js b/build/editor/plugin/table-min.js index 838c6336ea..251bee6c12 100644 --- a/build/editor/plugin/table-min.js +++ b/build/editor/plugin/table-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table.js b/build/editor/plugin/table.js index 7371ac5f63..25f13bc029 100644 --- a/build/editor/plugin/table.js +++ b/build/editor/plugin/table.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table/dialog-min.js b/build/editor/plugin/table/dialog-min.js index a4d05e152a..e1d536189a 100644 --- a/build/editor/plugin/table/dialog-min.js +++ b/build/editor/plugin/table/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table/dialog.js b/build/editor/plugin/table/dialog.js index c64b81e081..83e954bd62 100644 --- a/build/editor/plugin/table/dialog.js +++ b/build/editor/plugin/table/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline-min.js b/build/editor/plugin/underline-min.js index 0c37285804..13cdb6073e 100644 --- a/build/editor/plugin/underline-min.js +++ b/build/editor/plugin/underline-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline.js b/build/editor/plugin/underline.js index a7845571a3..3e40ea6110 100644 --- a/build/editor/plugin/underline.js +++ b/build/editor/plugin/underline.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline/cmd-min.js b/build/editor/plugin/underline/cmd-min.js index 4bc586d0fb..e2d1c40826 100644 --- a/build/editor/plugin/underline/cmd-min.js +++ b/build/editor/plugin/underline/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline/cmd.js b/build/editor/plugin/underline/cmd.js index 04da482465..45df511713 100644 --- a/build/editor/plugin/underline/cmd.js +++ b/build/editor/plugin/underline/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo-min.js b/build/editor/plugin/undo-min.js index d233f28ae6..dab999c86f 100644 --- a/build/editor/plugin/undo-min.js +++ b/build/editor/plugin/undo-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo.js b/build/editor/plugin/undo.js index e2628522e9..590049ba35 100644 --- a/build/editor/plugin/undo.js +++ b/build/editor/plugin/undo.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/btn-min.js b/build/editor/plugin/undo/btn-min.js index bd79eed83a..134a1a0561 100644 --- a/build/editor/plugin/undo/btn-min.js +++ b/build/editor/plugin/undo/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/btn.js b/build/editor/plugin/undo/btn.js index 681eec2b48..55929c1651 100644 --- a/build/editor/plugin/undo/btn.js +++ b/build/editor/plugin/undo/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/cmd-min.js b/build/editor/plugin/undo/cmd-min.js index 1367e2e01e..5f90b37f24 100644 --- a/build/editor/plugin/undo/cmd-min.js +++ b/build/editor/plugin/undo/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/cmd.js b/build/editor/plugin/undo/cmd.js index 88324374a0..ac5a87877c 100644 --- a/build/editor/plugin/undo/cmd.js +++ b/build/editor/plugin/undo/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list-min.js b/build/editor/plugin/unordered-list-min.js index e763574585..eb822a10ef 100644 --- a/build/editor/plugin/unordered-list-min.js +++ b/build/editor/plugin/unordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list.js b/build/editor/plugin/unordered-list.js index 3aad3361b1..04a0b5d41b 100644 --- a/build/editor/plugin/unordered-list.js +++ b/build/editor/plugin/unordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list/cmd-min.js b/build/editor/plugin/unordered-list/cmd-min.js index a3f2cfc754..642f0adb0e 100644 --- a/build/editor/plugin/unordered-list/cmd-min.js +++ b/build/editor/plugin/unordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/unordered-list/cmd.js b/build/editor/plugin/unordered-list/cmd.js index 5ba8dd7537..a7d787d60f 100644 --- a/build/editor/plugin/unordered-list/cmd.js +++ b/build/editor/plugin/unordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video-min.js b/build/editor/plugin/video-min.js index 4127ea02d7..eb5b508b52 100644 --- a/build/editor/plugin/video-min.js +++ b/build/editor/plugin/video-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video.js b/build/editor/plugin/video.js index 53caff3bfc..7371dc75f1 100644 --- a/build/editor/plugin/video.js +++ b/build/editor/plugin/video.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video/dialog-min.js b/build/editor/plugin/video/dialog-min.js index 2ff30f08eb..b8f9778956 100644 --- a/build/editor/plugin/video/dialog-min.js +++ b/build/editor/plugin/video/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video/dialog.js b/build/editor/plugin/video/dialog.js index eae587abac..4702d74339 100644 --- a/build/editor/plugin/video/dialog.js +++ b/build/editor/plugin/video/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/word-filter-min.js b/build/editor/plugin/word-filter-min.js index 6068824312..79b1587ab9 100644 --- a/build/editor/plugin/word-filter-min.js +++ b/build/editor/plugin/word-filter-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/word-filter.js b/build/editor/plugin/word-filter.js index 443c76ef79..69937eb262 100644 --- a/build/editor/plugin/word-filter.js +++ b/build/editor/plugin/word-filter.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music-min.js b/build/editor/plugin/xiami-music-min.js index 18675f57be..51beabf87d 100644 --- a/build/editor/plugin/xiami-music-min.js +++ b/build/editor/plugin/xiami-music-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music.js b/build/editor/plugin/xiami-music.js index fb8725043d..c4246268e0 100644 --- a/build/editor/plugin/xiami-music.js +++ b/build/editor/plugin/xiami-music.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music/dialog-min.js b/build/editor/plugin/xiami-music/dialog-min.js index 162a7e4be1..59368da877 100644 --- a/build/editor/plugin/xiami-music/dialog-min.js +++ b/build/editor/plugin/xiami-music/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music/dialog.js b/build/editor/plugin/xiami-music/dialog.js index 837a4512a2..6dc5d8d800 100644 --- a/build/editor/plugin/xiami-music/dialog.js +++ b/build/editor/plugin/xiami-music/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-min.css b/build/editor/theme/cool/editor-min.css index 55d39261d8..b8e2b41c71 100644 --- a/build/editor/theme/cool/editor-min.css +++ b/build/editor/theme/cool/editor-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite-min.css b/build/editor/theme/cool/editor-pkg-sprite-min.css index 96766fb7aa..35ea4fbabd 100644 --- a/build/editor/theme/cool/editor-pkg-sprite-min.css +++ b/build/editor/theme/cool/editor-pkg-sprite-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite.css b/build/editor/theme/cool/editor-pkg-sprite.css index 43b53cc1c5..ec5f065d79 100644 --- a/build/editor/theme/cool/editor-pkg-sprite.css +++ b/build/editor/theme/cool/editor-pkg-sprite.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor.css b/build/editor/theme/cool/editor.css index a318c136c1..99197f7b38 100644 --- a/build/editor/theme/cool/editor.css +++ b/build/editor/theme/cool/editor.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-common-min.css b/build/editor/theme/editor-common-min.css index 3870a0a601..99a6797458 100644 --- a/build/editor/theme/editor-common-min.css +++ b/build/editor/theme/editor-common-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-common.css b/build/editor/theme/editor-common.css index 11fb192b3f..ddf902dd77 100644 --- a/build/editor/theme/editor-common.css +++ b/build/editor/theme/editor-common.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-iframe-min.css b/build/editor/theme/editor-iframe-min.css index 9b1e89028b..30dcb5af39 100644 --- a/build/editor/theme/editor-iframe-min.css +++ b/build/editor/theme/editor-iframe-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-iframe.css b/build/editor/theme/editor-iframe.css index e045c31d9d..d68c41f918 100644 --- a/build/editor/theme/editor-iframe.css +++ b/build/editor/theme/editor-iframe.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event-min.js b/build/event-min.js index 9f301b474f..aa566e42c5 100644 --- a/build/event-min.js +++ b/build/event-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event.js b/build/event.js index 9099df2b4a..6410d681a6 100644 --- a/build/event.js +++ b/build/event.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/base-min.js b/build/event/base-min.js index 0e5061a523..5ef6ba869a 100644 --- a/build/event/base-min.js +++ b/build/event/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event/base.js b/build/event/base.js index 8f898eaf54..0902b77213 100644 --- a/build/event/base.js +++ b/build/event/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event/custom-min.js b/build/event/custom-min.js index cc03999249..8197c93347 100644 --- a/build/event/custom-min.js +++ b/build/event/custom-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/custom.js b/build/event/custom.js index 1eac7739cb..3770f8d7d6 100644 --- a/build/event/custom.js +++ b/build/event/custom.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/base-min.js b/build/event/dom/base-min.js index e8d82cb890..5c5903b926 100644 --- a/build/event/dom/base-min.js +++ b/build/event/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/base.js b/build/event/dom/base.js index 28b93f3dc6..46debb7a8d 100644 --- a/build/event/dom/base.js +++ b/build/event/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/focusin-min.js b/build/event/dom/focusin-min.js index 1beb50f212..6500ac52d3 100644 --- a/build/event/dom/focusin-min.js +++ b/build/event/dom/focusin-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/focusin.js b/build/event/dom/focusin.js index 459cd8d409..c9ddce49c4 100644 --- a/build/event/dom/focusin.js +++ b/build/event/dom/focusin.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/hashchange-min.js b/build/event/dom/hashchange-min.js index d368392e85..7c79708faa 100644 --- a/build/event/dom/hashchange-min.js +++ b/build/event/dom/hashchange-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/hashchange.js b/build/event/dom/hashchange.js index 1c14b5a4ff..1841cd2a6b 100644 --- a/build/event/dom/hashchange.js +++ b/build/event/dom/hashchange.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/ie-min.js b/build/event/dom/ie-min.js index 7cdabaa757..f51a9ef241 100644 --- a/build/event/dom/ie-min.js +++ b/build/event/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/ie.js b/build/event/dom/ie.js index 7e946a639c..cb0d04b5f9 100644 --- a/build/event/dom/ie.js +++ b/build/event/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/shake-min.js b/build/event/dom/shake-min.js index 2b1edf3c4d..ae21cff1d3 100644 --- a/build/event/dom/shake-min.js +++ b/build/event/dom/shake-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/shake.js b/build/event/dom/shake.js index 9cecc4ceff..74d536b59a 100644 --- a/build/event/dom/shake.js +++ b/build/event/dom/shake.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index 1296b7bdf8..a16419cf4b 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/touch.js b/build/event/dom/touch.js index fdacd5efac..180bc9027b 100644 --- a/build/event/dom/touch.js +++ b/build/event/dom/touch.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/filter-menu-min.js b/build/filter-menu-min.js index fc875f92b1..87a82d299e 100644 --- a/build/filter-menu-min.js +++ b/build/filter-menu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/filter-menu.js b/build/filter-menu.js index 3f23659301..45d33c04a7 100644 --- a/build/filter-menu.js +++ b/build/filter-menu.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/html-parser-min.js b/build/html-parser-min.js index 2fab5957cd..8b1a49adab 100644 --- a/build/html-parser-min.js +++ b/build/html-parser-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/html-parser.js b/build/html-parser.js index a256fee827..f8f77d96aa 100644 --- a/build/html-parser.js +++ b/build/html-parser.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:28 */ diff --git a/build/import-style-min.js b/build/import-style-min.js index 679b1a87c3..2c8f208ad9 100644 --- a/build/import-style-min.js +++ b/build/import-style-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:29 */ diff --git a/build/import-style.js b/build/import-style.js index a4ae72913c..f570b7c97f 100644 --- a/build/import-style.js +++ b/build/import-style.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:29 */ diff --git a/build/io-min.js b/build/io-min.js index c45e228a96..c9e93e348e 100644 --- a/build/io-min.js +++ b/build/io-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/io.js b/build/io.js index eed615f5cf..0cd2216fec 100644 --- a/build/io.js +++ b/build/io.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/json-min.js b/build/json-min.js index 87fad26eb1..911dae2fed 100644 --- a/build/json-min.js +++ b/build/json-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Aug 18 12:24 */ diff --git a/build/json.js b/build/json.js index fae6a4756f..e55ad83c51 100644 --- a/build/json.js +++ b/build/json.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Aug 18 12:24 */ diff --git a/build/kison-min.js b/build/kison-min.js index e88b53855b..0c80d0b7be 100644 --- a/build/kison-min.js +++ b/build/kison-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:29 */ diff --git a/build/kison.js b/build/kison.js index a533abcf43..c181ab06ce 100644 --- a/build/kison.js +++ b/build/kison.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: May 22 12:29 */ diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index 9f9381a8ae..bb58df50e8 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,9 +1,9 @@ /* -Copyright 2014, KISSY v1.45 +Copyright 2014, KISSY v1.46 MIT Licensed build time: Aug 18 12:19 */ -var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818121916",Env:{host:this},Config:{debug:"",fns:{}},version:"1.45",config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, +var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818121916",Env:{host:this},Config:{debug:"",fns:{}},version:'1.46',config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, error:function(){},guid:function(a){return(a||"")+k++},Logger:{}};i.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return i}(); (function(a,f){function i(){}function k(d,l,b,e,j,g){if(!l||!d)return d;var q,p,s,x;l[c]=d;g.push(l);s=a.keys(l);x=s.length;for(q=0;q - - + + From 23b757b7a58dcd07570fd4c04111868c09193867 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 18 Aug 2014 16:36:10 +0800 Subject: [PATCH 65/80] fix anim/transition --- build/anim/transition-min.js | 11 +- build/anim/transition.js | 143 ++-- build/kissy-nodejs-min.js | 10 +- build/kissy-nodejs.js | 14 +- build/seed-min.js | 10 +- build/seed.js | 14 +- .../transition/coverage/src/transition.js | 616 +++++++++++------- src/anim/sub-modules/transition/meta/deps.js | 2 +- .../sub-modules/transition/src/transition.js | 223 ++++--- src/seed/src/meta/modules.js | 2 +- 10 files changed, 640 insertions(+), 405 deletions(-) diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index ac3dbdad52..1d57006624 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,9 +1,10 @@ /* Copyright 2014, KISSY v1.46 MIT Licensed -build time: May 22 12:15 +build time: Aug 18 16:35 */ -KISSY.add("anim/transition",["dom","event/dom","./base"],function(g,h){function p(c){var b="";g.each(c,function(c,a){b&&(b+=",");b+=a+" "+c.duration+"s "+c.easing+" "+c.delay+"s"});return b}function k(){k.superclass.constructor.apply(this,arguments)}var i=h("dom"),m=h("event/dom"),q=h("./base"),l=g.Features,n=l.getVendorCssPropPrefix("transition"),r=/([A-Z]|^ms)/g,o=n?n.toLowerCase()+"TransitionEnd":"transitionend webkitTransitionEnd",j=l.getVendorCssPropName("transition");g.extend(k,q,{doStart:function(){var c= -this,b=c.node,d=b.style,a=c._propsData,f=d[j],e,h={};if(e=a.transform)delete a.transform,a[l.getVendorCssPropName("transform").replace(r,"-$1").toLowerCase()]=e;g.each(a,function(a,d){var e=a.value,f=i.css(b,d);"number"===typeof e&&(f=parseFloat(f));f===e&&setTimeout(function(){c._onTransitionEnd({originalEvent:{propertyName:d}})},0);h[d]=e});-1!==f.indexOf("none")?f="":f&&(f+=",");d[j]=f+p(a);m.on(b,o,c._onTransitionEnd,c);i.css(b,h)},beforeResume:function(){var c=this._propsData,b=g.merge(c),d= -this._runTime/1E3;g.each(b,function(a,b){var e=d;a.delay>=e?a.delay-=e:(e-=a.delay,a.delay=0,a.duration>=e?a.duration-=e:delete c[b])})},_onTransitionEnd:function(c){var c=c.originalEvent,b=1,d=this._propsData;d[c.propertyName]&&1!==d[c.propertyName].pos&&(d[c.propertyName].pos=1,g.each(d,function(a){if(1!==a.pos)return b=0,!1}),b&&this.stop(!0))},doStop:function(c){var b=this.node,d=b.style,a=this._propsData,f=[],e={};m.detach(b,o,this._onTransitionEnd,this);g.each(a,function(a,d){c||(e[d]=i.css(b, -d));f.push(d)});a=g.trim(d[j].replace(RegExp("(^|,)\\s*(?:"+f.join("|")+")\\s+[^,]+","gi"),"$1")).replace(/^,|,,|,$/g,"")||"none";d[j]=a;i.css(b,e)}});return k}); +KISSY.add("anim/transition",["dom","./base"],function(k,n,x,q){function r(a,c){return c.toUpperCase()}function o(a){-1!==a.indexOf("-")&&(a=a.replace(s,r));if(a in g)return g[a];if(!m||a in m)g[a]={propertyName:a,propertyNamePrefix:""};else{for(var c=a.charAt(0).toUpperCase()+a.slice(1),d,b=0;b=f?b.delay-=f:(f-=b.delay,b.delay=0,b.duration>=f?b.duration-=f:delete a[c])})},doStop:function(a){var c=this.node,d=c.style,b=this._propsData,e=[],f={};this._transitionEndTimer&&(clearTimeout(this._transitionEndTimer),this._transitionEndTimer=null);h.each(b,function(b,d){a||(f[d]=j.css(c,d));e.push(d)});b=h.trim(d[l].replace(RegExp("(^|,)\\s*(?:"+e.join("|")+")\\s+[^,]+", +"gi"),"$1")).replace(/^,|,,|,$/g,"")||"none";d[l]=b;j.css(c,f)}});h.mix(i,k.Statics);q.exports=i}); diff --git a/build/anim/transition.js b/build/anim/transition.js index 39d2bc4c5e..4e2aae8893 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.46 MIT Licensed -build time: May 22 12:15 +build time: Aug 18 16:35 */ /* Combined processedModules by KISSY Module Compiler: @@ -9,18 +9,46 @@ build time: May 22 12:15 anim/transition */ -KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require) { +KISSY.add("anim/transition", ["dom", "./base"], function(S, require, exports, module) { + function upperCase() { + return arguments[1].toUpperCase() + } + var RE_DASH = /-([a-z])/ig; + var propertyPrefixes = ["Webkit", "Moz", "O", "ms"], propertyPrefixesLength = propertyPrefixes.length; + var vendorInfos = {}; + var documentElementStyle = document.documentElement.style; + function getVendorInfo(name) { + if(name.indexOf("-") !== -1) { + name = name.replace(RE_DASH, upperCase) + } + if(name in vendorInfos) { + return vendorInfos[name] + } + if(!documentElementStyle || name in documentElementStyle) { + vendorInfos[name] = {propertyName:name, propertyNamePrefix:""} + }else { + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), vendorName; + for(var i = 0;i < propertyPrefixesLength;i++) { + var propertyNamePrefix = propertyPrefixes[i]; + vendorName = propertyNamePrefix + upperFirstName; + if(vendorName in documentElementStyle) { + vendorInfos[name] = {propertyName:vendorName, propertyNamePrefix:propertyNamePrefix} + } + } + vendorInfos[name] = vendorInfos[name] || null + } + return vendorInfos[name] + } + var util = S; var Dom = require("dom"); - var Event = require("event/dom"); var AnimBase = require("./base"); - var Features = S.Features; - var vendorPrefix = Features.getVendorCssPropPrefix("transition"); - var R_UPPER = /([A-Z]|^ms)/g; - var TRANSITION_END_EVENT = vendorPrefix ? vendorPrefix.toLowerCase() + "TransitionEnd" : "transitionend webkitTransitionEnd"; - var TRANSITION = Features.getVendorCssPropName("transition"); + var transitionVendorInfo = getVendorInfo("transition"); + var TRANSITION = transitionVendorInfo.propertyName; + var DEFAULT_EASING = "linear"; + var css3Anim = {ease:1, linear:1, "ease-in":1, "ease-out":1, "ease-in-out":1}; function genTransition(propsData) { var str = ""; - S.each(propsData, function(propData, prop) { + util.each(propsData, function(propData, prop) { if(str) { str += "," } @@ -28,26 +56,47 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require }); return str } - function TransitionAnim() { - TransitionAnim.superclass.constructor.apply(this, arguments) + function unCamelCase(propertyName) { + return propertyName.replace(/[A-Z]/g, function(m) { + return"-" + m.toLowerCase() + }) } - S.extend(TransitionAnim, AnimBase, {doStart:function() { - var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], transform, propsCss = {}; - if(transform = _propsData.transform) { - delete _propsData.transform; - _propsData[Features.getVendorCssPropName("transform").replace(R_UPPER, "-$1").toLowerCase()] = transform + function TransitionAnim(node, to, duration, easing, complete) { + var self = this; + if(!(self instanceof TransitionAnim)) { + return new TransitionAnim(node, to, duration, easing, complete) } - S.each(_propsData, function(propData, prop) { - var v = propData.value, currentValue = Dom.css(node, prop); - if(typeof v === "number") { - currentValue = parseFloat(currentValue) + TransitionAnim.superclass.constructor.apply(self, arguments) + } + util.extend(TransitionAnim, AnimBase, {prepareFx:function() { + var self = this, propsData = self._propsData; + var newProps = {}; + var val; + var vendorInfo; + for(var propertyName in propsData) { + val = propsData[propertyName]; + if(typeof val.easing === "string") { + if(!util.startsWith(val.easing, "cubic-bezier") && !css3Anim[val.easing]) { + val.easing = DEFAULT_EASING + } + }else { + val.easing = DEFAULT_EASING } - if(currentValue === v) { - setTimeout(function() { - self._onTransitionEnd({originalEvent:{propertyName:prop}}) - }, 0) + vendorInfo = getVendorInfo(propertyName); + if(!vendorInfo) { + S.log("unsupported css property for transition anim: " + propertyName, "error"); + continue } - propsCss[prop] = v + newProps[unCamelCase(vendorInfo.propertyName)] = propsData[propertyName] + } + self._propsData = newProps + }, doStart:function() { + var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], totalDuration = 0, propsCss = {}; + util.each(_propsData, function(propData, prop) { + var v = propData.value; + Dom.css(node, prop, Dom.css(node, prop)); + propsCss[prop] = v; + totalDuration = Math.max(propData.duration + propData.delay, totalDuration) }); if(original.indexOf("none") !== -1) { original = "" @@ -57,11 +106,15 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require } } elStyle[TRANSITION] = original + genTransition(_propsData); - Event.on(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - Dom.css(node, propsCss) + setTimeout(function() { + Dom.css(node, propsCss) + }, 0); + self._transitionEndTimer = setTimeout(function() { + self.stop(true) + }, totalDuration * 1E3) }, beforeResume:function() { - var self = this, propsData = self._propsData, tmpPropsData = S.merge(propsData), runTime = self._runTime / 1E3; - S.each(tmpPropsData, function(propData, prop) { + var self = this, propsData = self._propsData, tmpPropsData = util.merge(propsData), runTime = self._runTime / 1E3; + util.each(tmpPropsData, function(propData, prop) { var tRunTime = runTime; if(propData.delay >= tRunTime) { propData.delay -= tRunTime @@ -75,39 +128,23 @@ KISSY.add("anim/transition", ["dom", "event/dom", "./base"], function(S, require } } }) - }, _onTransitionEnd:function(e) { - e = e.originalEvent; - var self = this, allCompleted = 1, propsData = self._propsData; - if(!propsData[e.propertyName]) { - return - } - if(propsData[e.propertyName].pos === 1) { - return - } - propsData[e.propertyName].pos = 1; - S.each(propsData, function(propData) { - if(propData.pos !== 1) { - allCompleted = 0; - return false - } - return undefined - }); - if(allCompleted) { - self.stop(true) - } }, doStop:function(finish) { var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, propList = [], clear, propsCss = {}; - Event.detach(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - S.each(_propsData, function(propData, prop) { + if(self._transitionEndTimer) { + clearTimeout(self._transitionEndTimer); + self._transitionEndTimer = null + } + util.each(_propsData, function(propData, prop) { if(!finish) { propsCss[prop] = Dom.css(node, prop) } propList.push(prop) }); - clear = S.trim(elStyle[TRANSITION].replace(new RegExp("(^|,)" + "\\s*(?:" + propList.join("|") + ")\\s+[^,]+", "gi"), "$1")).replace(/^,|,,|,$/g, "") || "none"; + clear = util.trim(elStyle[TRANSITION].replace(new RegExp("(^|,)" + "\\s*(?:" + propList.join("|") + ")\\s+[^,]+", "gi"), "$1")).replace(/^,|,,|,$/g, "") || "none"; elStyle[TRANSITION] = clear; Dom.css(node, propsCss) }}); - return TransitionAnim + util.mix(TransitionAnim, AnimBase.Statics); + module.exports = TransitionAnim }); diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index bb58df50e8..d014201f67 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,9 +1,9 @@ /* Copyright 2014, KISSY v1.46 MIT Licensed -build time: Aug 18 12:19 +build time: Aug 18 16:36 */ -var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818121916",Env:{host:this},Config:{debug:"",fns:{}},version:'1.46',config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, +var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818163546",Env:{host:this},Config:{debug:"",fns:{}},version:"1.46",config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, error:function(){},guid:function(a){return(a||"")+k++},Logger:{}};i.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return i}(); (function(a,f){function i(){}function k(d,l,b,e,j,g){if(!l||!d)return d;var q,p,s,x;l[c]=d;g.push(l);s=a.keys(l);x=s.length;for(q=0;q= tRunTime'); +function visit15_179_1(result) { + _$jscoverage['/transition.js'].branchData['179'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['122'][1].init(416, 35, 'propsData[e.propertyName].pos === 1'); -function visit9_122_1(result) { - _$jscoverage['/transition.js'].branchData['122'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['174'][1].init(61, 26, 'propData.delay >= tRunTime'); +function visit14_174_1(result) { + _$jscoverage['/transition.js'].branchData['174'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['117'][1].init(204, 26, '!propsData[e.propertyName]'); -function visit8_117_1(result) { - _$jscoverage['/transition.js'].branchData['117'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['148'][1].init(781, 8, 'original'); +function visit13_148_1(result) { + _$jscoverage['/transition.js'].branchData['148'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['102'][1].init(113, 29, 'propData.duration >= tRunTime'); -function visit7_102_1(result) { - _$jscoverage['/transition.js'].branchData['102'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['146'][1].init(691, 31, 'original.indexOf(\'none\') !== -1'); +function visit12_146_1(result) { + _$jscoverage['/transition.js'].branchData['146'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['97'][1].init(61, 26, 'propData.delay >= tRunTime'); -function visit6_97_1(result) { - _$jscoverage['/transition.js'].branchData['97'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['118'][1].init(444, 11, '!vendorInfo'); +function visit11_118_1(result) { + _$jscoverage['/transition.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['75'][1].init(1436, 8, 'original'); -function visit5_75_1(result) { - _$jscoverage['/transition.js'].branchData['75'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['111'][1].init(25, 69, '!util.startsWith(val.easing, \'cubic-bezier\') && !css3Anim[val.easing]'); +function visit10_111_1(result) { + _$jscoverage['/transition.js'].branchData['111'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['73'][1].init(1346, 31, 'original.indexOf(\'none\') !== -1'); -function visit4_73_1(result) { - _$jscoverage['/transition.js'].branchData['73'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['110'][1].init(68, 30, 'typeof val.easing === \'string\''); +function visit9_110_1(result) { + _$jscoverage['/transition.js'].branchData['110'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['59'][1].init(241, 18, 'currentValue === v'); -function visit3_59_1(result) { - _$jscoverage['/transition.js'].branchData['59'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['95'][1].init(38, 34, '!(self instanceof TransitionAnim)'); +function visit8_95_1(result) { + _$jscoverage['/transition.js'].branchData['95'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['56'][1].init(117, 21, 'typeof v === \'number\''); -function visit2_56_1(result) { - _$jscoverage['/transition.js'].branchData['56'][1].ranCondition(result); +}_$jscoverage['/transition.js'].branchData['78'][1].init(17, 3, 'str'); +function visit7_78_1(result) { + _$jscoverage['/transition.js'].branchData['78'][1].ranCondition(result); return result; -}_$jscoverage['/transition.js'].branchData['24'][1].init(17, 3, 'str'); +}_$jscoverage['/transition.js'].branchData['51'][1].init(601, 25, 'vendorInfos[name] || null'); +function visit6_51_1(result) { + _$jscoverage['/transition.js'].branchData['51'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['43'][1].init(149, 34, 'vendorName in documentElementStyle'); +function visit5_43_1(result) { + _$jscoverage['/transition.js'].branchData['43'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['40'][1].init(137, 26, 'i < propertyPrefixesLength'); +function visit4_40_1(result) { + _$jscoverage['/transition.js'].branchData['40'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['31'][1].init(252, 53, '!documentElementStyle || name in documentElementStyle'); +function visit3_31_1(result) { + _$jscoverage['/transition.js'].branchData['31'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['27'][1].init(116, 19, 'name in vendorInfos'); +function visit2_27_1(result) { + _$jscoverage['/transition.js'].branchData['27'][1].ranCondition(result); + return result; +}_$jscoverage['/transition.js'].branchData['24'][1].init(13, 24, 'name.indexOf(\'-\') !== -1'); function visit1_24_1(result) { _$jscoverage['/transition.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/transition.js'].lineData[6]++; -KISSY.add(function(S, require) { +KISSY.add(function(S, require, exports, module) { _$jscoverage['/transition.js'].functionData[0]++; _$jscoverage['/transition.js'].lineData[7]++; - var Dom = require('dom'); - _$jscoverage['/transition.js'].lineData[8]++; - var Event = require('event/dom'); - _$jscoverage['/transition.js'].lineData[9]++; - var AnimBase = require('./base'); + function upperCase() { + _$jscoverage['/transition.js'].functionData[1]++; + _$jscoverage['/transition.js'].lineData[8]++; + return arguments[1].toUpperCase(); + } _$jscoverage['/transition.js'].lineData[11]++; - var Features = S.Features; + var RE_DASH = /-([a-z])/ig; _$jscoverage['/transition.js'].lineData[12]++; - var vendorPrefix = Features.getVendorCssPropPrefix('transition'); - _$jscoverage['/transition.js'].lineData[13]++; - var R_UPPER = /([A-Z]|^ms)/g; - _$jscoverage['/transition.js'].lineData[14]++; - var TRANSITION_END_EVENT = vendorPrefix ? (vendorPrefix.toLowerCase() + 'TransitionEnd') : 'transitionend webkitTransitionEnd'; - _$jscoverage['/transition.js'].lineData[19]++; - var TRANSITION = Features.getVendorCssPropName('transition'); + var propertyPrefixes = ['Webkit', 'Moz', 'O', 'ms'], propertyPrefixesLength = propertyPrefixes.length; + _$jscoverage['/transition.js'].lineData[20]++; + var vendorInfos = {}; _$jscoverage['/transition.js'].lineData[21]++; + var documentElementStyle = document.documentElement.style; + _$jscoverage['/transition.js'].lineData[23]++; + function getVendorInfo(name) { + _$jscoverage['/transition.js'].functionData[2]++; + _$jscoverage['/transition.js'].lineData[24]++; + if (visit1_24_1(name.indexOf('-') !== -1)) { + _$jscoverage['/transition.js'].lineData[25]++; + name = name.replace(RE_DASH, upperCase); + } + _$jscoverage['/transition.js'].lineData[27]++; + if (visit2_27_1(name in vendorInfos)) { + _$jscoverage['/transition.js'].lineData[28]++; + return vendorInfos[name]; + } + _$jscoverage['/transition.js'].lineData[31]++; + if (visit3_31_1(!documentElementStyle || name in documentElementStyle)) { + _$jscoverage['/transition.js'].lineData[32]++; + vendorInfos[name] = { + propertyName: name, + propertyNamePrefix: ''}; + } else { + _$jscoverage['/transition.js'].lineData[37]++; + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), vendorName; + _$jscoverage['/transition.js'].lineData[40]++; + for (var i = 0; visit4_40_1(i < propertyPrefixesLength); i++) { + _$jscoverage['/transition.js'].lineData[41]++; + var propertyNamePrefix = propertyPrefixes[i]; + _$jscoverage['/transition.js'].lineData[42]++; + vendorName = propertyNamePrefix + upperFirstName; + _$jscoverage['/transition.js'].lineData[43]++; + if (visit5_43_1(vendorName in documentElementStyle)) { + _$jscoverage['/transition.js'].lineData[44]++; + vendorInfos[name] = { + propertyName: vendorName, + propertyNamePrefix: propertyNamePrefix}; + } + } + _$jscoverage['/transition.js'].lineData[51]++; + vendorInfos[name] = visit6_51_1(vendorInfos[name] || null); + } + _$jscoverage['/transition.js'].lineData[53]++; + return vendorInfos[name]; + } + _$jscoverage['/transition.js'].lineData[61]++; + var util = S; + _$jscoverage['/transition.js'].lineData[62]++; + var Dom = require('dom'); + _$jscoverage['/transition.js'].lineData[63]++; + var AnimBase = require('./base'); + _$jscoverage['/transition.js'].lineData[64]++; + var transitionVendorInfo = getVendorInfo('transition'); + _$jscoverage['/transition.js'].lineData[65]++; + var TRANSITION = transitionVendorInfo.propertyName; + _$jscoverage['/transition.js'].lineData[66]++; + var DEFAULT_EASING = 'linear'; + _$jscoverage['/transition.js'].lineData[67]++; + var css3Anim = { + ease: 1, + linear: 1, + 'ease-in': 1, + 'ease-out': 1, + 'ease-in-out': 1}; + _$jscoverage['/transition.js'].lineData[75]++; function genTransition(propsData) { - _$jscoverage['/transition.js'].functionData[1]++; - _$jscoverage['/transition.js'].lineData[22]++; + _$jscoverage['/transition.js'].functionData[3]++; + _$jscoverage['/transition.js'].lineData[76]++; var str = ''; - _$jscoverage['/transition.js'].lineData[23]++; - S.each(propsData, function(propData, prop) { - _$jscoverage['/transition.js'].functionData[2]++; - _$jscoverage['/transition.js'].lineData[24]++; - if (visit1_24_1(str)) { - _$jscoverage['/transition.js'].lineData[25]++; + _$jscoverage['/transition.js'].lineData[77]++; + util.each(propsData, function(propData, prop) { + _$jscoverage['/transition.js'].functionData[4]++; + _$jscoverage['/transition.js'].lineData[78]++; + if (visit7_78_1(str)) { + _$jscoverage['/transition.js'].lineData[79]++; str += ','; } - _$jscoverage['/transition.js'].lineData[27]++; + _$jscoverage['/transition.js'].lineData[81]++; str += prop + ' ' + propData.duration + 's ' + propData.easing + ' ' + propData.delay + 's'; }); - _$jscoverage['/transition.js'].lineData[32]++; + _$jscoverage['/transition.js'].lineData[84]++; return str; } - _$jscoverage['/transition.js'].lineData[35]++; - function TransitionAnim() { - _$jscoverage['/transition.js'].functionData[3]++; - _$jscoverage['/transition.js'].lineData[36]++; - TransitionAnim.superclass.constructor.apply(this, arguments); - } - _$jscoverage['/transition.js'].lineData[39]++; - S.extend(TransitionAnim, AnimBase, { - doStart: function() { - _$jscoverage['/transition.js'].functionData[4]++; - _$jscoverage['/transition.js'].lineData[41]++; - var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], transform, propsCss = {}; - _$jscoverage['/transition.js'].lineData[48]++; - if ((transform = _propsData.transform)) { - _$jscoverage['/transition.js'].lineData[49]++; - delete _propsData.transform; - _$jscoverage['/transition.js'].lineData[50]++; - _propsData[Features.getVendorCssPropName('transform').replace(R_UPPER, '-$1').toLowerCase()] = transform; + _$jscoverage['/transition.js'].lineData[87]++; + function unCamelCase(propertyName) { + _$jscoverage['/transition.js'].functionData[5]++; + _$jscoverage['/transition.js'].lineData[88]++; + return propertyName.replace(/[A-Z]/g, function(m) { + _$jscoverage['/transition.js'].functionData[6]++; + _$jscoverage['/transition.js'].lineData[89]++; + return '-' + m.toLowerCase(); +}); } - _$jscoverage['/transition.js'].lineData[53]++; - S.each(_propsData, function(propData, prop) { - _$jscoverage['/transition.js'].functionData[5]++; - _$jscoverage['/transition.js'].lineData[54]++; - var v = propData.value, currentValue = Dom.css(node, prop); - _$jscoverage['/transition.js'].lineData[56]++; - if (visit2_56_1(typeof v === 'number')) { - _$jscoverage['/transition.js'].lineData[57]++; - currentValue = parseFloat(currentValue); + _$jscoverage['/transition.js'].lineData[93]++; + function TransitionAnim(node, to, duration, easing, complete) { + _$jscoverage['/transition.js'].functionData[7]++; + _$jscoverage['/transition.js'].lineData[94]++; + var self = this; + _$jscoverage['/transition.js'].lineData[95]++; + if (visit8_95_1(!(self instanceof TransitionAnim))) { + _$jscoverage['/transition.js'].lineData[96]++; + return new TransitionAnim(node, to, duration, easing, complete); + } + _$jscoverage['/transition.js'].lineData[98]++; + TransitionAnim.superclass.constructor.apply(self, arguments); } - _$jscoverage['/transition.js'].lineData[59]++; - if (visit3_59_1(currentValue === v)) { - _$jscoverage['/transition.js'].lineData[61]++; - setTimeout(function() { - _$jscoverage['/transition.js'].functionData[6]++; - _$jscoverage['/transition.js'].lineData[62]++; - self._onTransitionEnd({ - originalEvent: { - propertyName: prop}}); -}, 0); + _$jscoverage['/transition.js'].lineData[101]++; + util.extend(TransitionAnim, AnimBase, { + prepareFx: function() { + _$jscoverage['/transition.js'].functionData[8]++; + _$jscoverage['/transition.js'].lineData[103]++; + var self = this, propsData = self._propsData; + _$jscoverage['/transition.js'].lineData[105]++; + var newProps = {}; + _$jscoverage['/transition.js'].lineData[106]++; + var val; + _$jscoverage['/transition.js'].lineData[107]++; + var vendorInfo; + _$jscoverage['/transition.js'].lineData[108]++; + for (var propertyName in propsData) { + _$jscoverage['/transition.js'].lineData[109]++; + val = propsData[propertyName]; + _$jscoverage['/transition.js'].lineData[110]++; + if (visit9_110_1(typeof val.easing === 'string')) { + _$jscoverage['/transition.js'].lineData[111]++; + if (visit10_111_1(!util.startsWith(val.easing, 'cubic-bezier') && !css3Anim[val.easing])) { + _$jscoverage['/transition.js'].lineData[112]++; + val.easing = DEFAULT_EASING; + } + } else { + _$jscoverage['/transition.js'].lineData[115]++; + val.easing = DEFAULT_EASING; + } + _$jscoverage['/transition.js'].lineData[117]++; + vendorInfo = getVendorInfo(propertyName); + _$jscoverage['/transition.js'].lineData[118]++; + if (visit11_118_1(!vendorInfo)) { + _$jscoverage['/transition.js'].lineData[119]++; + S.log('unsupported css property for transition anim: ' + propertyName, 'error'); + _$jscoverage['/transition.js'].lineData[120]++; + continue; + } + _$jscoverage['/transition.js'].lineData[122]++; + newProps[unCamelCase(vendorInfo.propertyName)] = propsData[propertyName]; } - _$jscoverage['/transition.js'].lineData[69]++; + _$jscoverage['/transition.js'].lineData[124]++; + self._propsData = newProps; +}, + doStart: function() { + _$jscoverage['/transition.js'].functionData[9]++; + _$jscoverage['/transition.js'].lineData[128]++; + var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], totalDuration = 0, propsCss = {}; + _$jscoverage['/transition.js'].lineData[136]++; + util.each(_propsData, function(propData, prop) { + _$jscoverage['/transition.js'].functionData[10]++; + _$jscoverage['/transition.js'].lineData[137]++; + var v = propData.value; + _$jscoverage['/transition.js'].lineData[139]++; + Dom.css(node, prop, Dom.css(node, prop)); + _$jscoverage['/transition.js'].lineData[140]++; propsCss[prop] = v; + _$jscoverage['/transition.js'].lineData[141]++; + totalDuration = Math.max(propData.duration + propData.delay, totalDuration); }); - _$jscoverage['/transition.js'].lineData[73]++; - if (visit4_73_1(original.indexOf('none') !== -1)) { - _$jscoverage['/transition.js'].lineData[74]++; + _$jscoverage['/transition.js'].lineData[146]++; + if (visit12_146_1(original.indexOf('none') !== -1)) { + _$jscoverage['/transition.js'].lineData[147]++; original = ''; } else { - _$jscoverage['/transition.js'].lineData[75]++; - if (visit5_75_1(original)) { - _$jscoverage['/transition.js'].lineData[76]++; + _$jscoverage['/transition.js'].lineData[148]++; + if (visit13_148_1(original)) { + _$jscoverage['/transition.js'].lineData[149]++; original += ','; } } - _$jscoverage['/transition.js'].lineData[80]++; + _$jscoverage['/transition.js'].lineData[152]++; elStyle[TRANSITION] = original + genTransition(_propsData); - _$jscoverage['/transition.js'].lineData[83]++; - Event.on(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - _$jscoverage['/transition.js'].lineData[85]++; + _$jscoverage['/transition.js'].lineData[155]++; + setTimeout(function() { + _$jscoverage['/transition.js'].functionData[11]++; + _$jscoverage['/transition.js'].lineData[156]++; Dom.css(node, propsCss); +}, 0); + _$jscoverage['/transition.js'].lineData[160]++; + self._transitionEndTimer = setTimeout(function() { + _$jscoverage['/transition.js'].functionData[12]++; + _$jscoverage['/transition.js'].lineData[161]++; + self.stop(true); +}, totalDuration * 1000); }, beforeResume: function() { - _$jscoverage['/transition.js'].functionData[7]++; - _$jscoverage['/transition.js'].lineData[91]++; - var self = this, propsData = self._propsData, tmpPropsData = S.merge(propsData), runTime = self._runTime / 1000; - _$jscoverage['/transition.js'].lineData[95]++; - S.each(tmpPropsData, function(propData, prop) { - _$jscoverage['/transition.js'].functionData[8]++; - _$jscoverage['/transition.js'].lineData[96]++; + _$jscoverage['/transition.js'].functionData[13]++; + _$jscoverage['/transition.js'].lineData[168]++; + var self = this, propsData = self._propsData, tmpPropsData = util.merge(propsData), runTime = self._runTime / 1000; + _$jscoverage['/transition.js'].lineData[172]++; + util.each(tmpPropsData, function(propData, prop) { + _$jscoverage['/transition.js'].functionData[14]++; + _$jscoverage['/transition.js'].lineData[173]++; var tRunTime = runTime; - _$jscoverage['/transition.js'].lineData[97]++; - if (visit6_97_1(propData.delay >= tRunTime)) { - _$jscoverage['/transition.js'].lineData[98]++; + _$jscoverage['/transition.js'].lineData[174]++; + if (visit14_174_1(propData.delay >= tRunTime)) { + _$jscoverage['/transition.js'].lineData[175]++; propData.delay -= tRunTime; } else { - _$jscoverage['/transition.js'].lineData[100]++; + _$jscoverage['/transition.js'].lineData[177]++; tRunTime -= propData.delay; - _$jscoverage['/transition.js'].lineData[101]++; + _$jscoverage['/transition.js'].lineData[178]++; propData.delay = 0; - _$jscoverage['/transition.js'].lineData[102]++; - if (visit7_102_1(propData.duration >= tRunTime)) { - _$jscoverage['/transition.js'].lineData[103]++; + _$jscoverage['/transition.js'].lineData[179]++; + if (visit15_179_1(propData.duration >= tRunTime)) { + _$jscoverage['/transition.js'].lineData[180]++; propData.duration -= tRunTime; } else { - _$jscoverage['/transition.js'].lineData[105]++; + _$jscoverage['/transition.js'].lineData[182]++; delete propsData[prop]; } } }); -}, - _onTransitionEnd: function(e) { - _$jscoverage['/transition.js'].functionData[9]++; - _$jscoverage['/transition.js'].lineData[112]++; - e = e.originalEvent; - _$jscoverage['/transition.js'].lineData[113]++; - var self = this, allCompleted = 1, propsData = self._propsData; - _$jscoverage['/transition.js'].lineData[117]++; - if (visit8_117_1(!propsData[e.propertyName])) { - _$jscoverage['/transition.js'].lineData[118]++; - return; - } - _$jscoverage['/transition.js'].lineData[122]++; - if (visit9_122_1(propsData[e.propertyName].pos === 1)) { - _$jscoverage['/transition.js'].lineData[123]++; - return; - } - _$jscoverage['/transition.js'].lineData[125]++; - propsData[e.propertyName].pos = 1; - _$jscoverage['/transition.js'].lineData[126]++; - S.each(propsData, function(propData) { - _$jscoverage['/transition.js'].functionData[10]++; - _$jscoverage['/transition.js'].lineData[127]++; - if (visit10_127_1(propData.pos !== 1)) { - _$jscoverage['/transition.js'].lineData[128]++; - allCompleted = 0; - _$jscoverage['/transition.js'].lineData[129]++; - return false; - } - _$jscoverage['/transition.js'].lineData[131]++; - return undefined; -}); - _$jscoverage['/transition.js'].lineData[133]++; - if (visit11_133_1(allCompleted)) { - _$jscoverage['/transition.js'].lineData[134]++; - self.stop(true); - } }, doStop: function(finish) { - _$jscoverage['/transition.js'].functionData[11]++; - _$jscoverage['/transition.js'].lineData[139]++; + _$jscoverage['/transition.js'].functionData[15]++; + _$jscoverage['/transition.js'].lineData[189]++; var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, propList = [], clear, propsCss = {}; - _$jscoverage['/transition.js'].lineData[147]++; - Event.detach(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - _$jscoverage['/transition.js'].lineData[148]++; - S.each(_propsData, function(propData, prop) { - _$jscoverage['/transition.js'].functionData[12]++; - _$jscoverage['/transition.js'].lineData[149]++; - if (visit12_149_1(!finish)) { - _$jscoverage['/transition.js'].lineData[150]++; + _$jscoverage['/transition.js'].lineData[197]++; + if (visit16_197_1(self._transitionEndTimer)) { + _$jscoverage['/transition.js'].lineData[198]++; + clearTimeout(self._transitionEndTimer); + _$jscoverage['/transition.js'].lineData[199]++; + self._transitionEndTimer = null; + } + _$jscoverage['/transition.js'].lineData[202]++; + util.each(_propsData, function(propData, prop) { + _$jscoverage['/transition.js'].functionData[16]++; + _$jscoverage['/transition.js'].lineData[203]++; + if (visit17_203_1(!finish)) { + _$jscoverage['/transition.js'].lineData[204]++; propsCss[prop] = Dom.css(node, prop); } - _$jscoverage['/transition.js'].lineData[152]++; + _$jscoverage['/transition.js'].lineData[206]++; propList.push(prop); }); - _$jscoverage['/transition.js'].lineData[156]++; - clear = visit13_159_1(S.trim(elStyle[TRANSITION].replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), '$1')).replace(/^,|,,|,$/g, '') || 'none'); - _$jscoverage['/transition.js'].lineData[161]++; + _$jscoverage['/transition.js'].lineData[210]++; + clear = visit18_213_1(util.trim(elStyle[TRANSITION].replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), '$1')).replace(/^,|,,|,$/g, '') || 'none'); + _$jscoverage['/transition.js'].lineData[215]++; elStyle[TRANSITION] = clear; - _$jscoverage['/transition.js'].lineData[162]++; + _$jscoverage['/transition.js'].lineData[216]++; Dom.css(node, propsCss); }}); - _$jscoverage['/transition.js'].lineData[166]++; - return TransitionAnim; + _$jscoverage['/transition.js'].lineData[220]++; + util.mix(TransitionAnim, AnimBase.Statics); + _$jscoverage['/transition.js'].lineData[223]++; + module.exports = TransitionAnim; }); diff --git a/src/anim/sub-modules/transition/meta/deps.js b/src/anim/sub-modules/transition/meta/deps.js index aaf040c760..0a218b740a 100644 --- a/src/anim/sub-modules/transition/meta/deps.js +++ b/src/anim/sub-modules/transition/meta/deps.js @@ -1,4 +1,4 @@ /*Generated By KISSY Module Compiler*/ config({ -'anim/transition': {requires: ['dom','event/dom','anim/base']} +'anim/transition': {requires: ['dom','anim/base']} }); diff --git a/src/anim/sub-modules/transition/src/transition.js b/src/anim/sub-modules/transition/src/transition.js index 44685ad48e..5bd458af4d 100644 --- a/src/anim/sub-modules/transition/src/transition.js +++ b/src/anim/sub-modules/transition/src/transition.js @@ -3,71 +3,144 @@ * @author yiminghe@gmail.com * @ignore */ -KISSY.add(function (S, require) { +KISSY.add(function (S, require, exports, module) { + function upperCase() { + return arguments[1].toUpperCase(); + } + + var RE_DASH = /-([a-z])/ig; + var propertyPrefixes = [ + 'Webkit', + 'Moz', + 'O', + // ms is special .... ! + 'ms' + ], + propertyPrefixesLength = propertyPrefixes.length; + var vendorInfos = {}; + var documentElementStyle = document.documentElement.style; + + function getVendorInfo(name) { + if (name.indexOf('-') !== -1) { + name = name.replace(RE_DASH, upperCase); + } + if (name in vendorInfos) { + return vendorInfos[name]; + } + // if already prefixed or need not to prefix + if (!documentElementStyle || name in documentElementStyle) { + vendorInfos[name] = { + propertyName: name, + propertyNamePrefix: '' + }; + } else { + var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), + vendorName; + + for (var i = 0; i < propertyPrefixesLength; i++) { + var propertyNamePrefix = propertyPrefixes[i]; + vendorName = propertyNamePrefix + upperFirstName; + if (vendorName in documentElementStyle) { + vendorInfos[name] = { + propertyName: vendorName, + propertyNamePrefix: propertyNamePrefix + }; + } + } + + vendorInfos[name] = vendorInfos[name] || null; + } + return vendorInfos[name]; + } + + /** + * animation using css transition + * @author yiminghe@gmail.com + * @ignore + */ + var util = S; var Dom = require('dom'); - var Event = require('event/dom'); var AnimBase = require('./base'); - - var Features = S.Features; - var vendorPrefix = Features.getVendorCssPropPrefix('transition'); - var R_UPPER = /([A-Z]|^ms)/g; - var TRANSITION_END_EVENT = vendorPrefix ? - // webkitTransitionEnd ! - (vendorPrefix.toLowerCase() + 'TransitionEnd') : - // https://github.com/kissyteam/kissy/issues/538 - 'transitionend webkitTransitionEnd'; - var TRANSITION = Features.getVendorCssPropName('transition'); + var transitionVendorInfo = getVendorInfo('transition'); + var TRANSITION = transitionVendorInfo.propertyName; + var DEFAULT_EASING = 'linear'; + var css3Anim = { + ease: 1, + linear: 1, + 'ease-in': 1, + 'ease-out': 1, + 'ease-in-out': 1 + }; function genTransition(propsData) { var str = ''; - S.each(propsData, function (propData, prop) { + util.each(propsData, function (propData, prop) { if (str) { str += ','; } - str += prop + ' ' + - propData.duration + - 's ' + propData.easing + - ' ' + propData.delay + 's'; + str += prop + ' ' + propData.duration + 's ' + + propData.easing + ' ' + propData.delay + 's'; }); return str; } - function TransitionAnim() { - TransitionAnim.superclass.constructor.apply(this, arguments); + function unCamelCase(propertyName) { + return propertyName.replace(/[A-Z]/g, function (m) { + return '-' + m.toLowerCase(); + }); + } + + function TransitionAnim(node, to, duration, easing, complete) { + var self = this; + if (!(self instanceof TransitionAnim)) { + return new TransitionAnim(node, to, duration, easing, complete); + } + TransitionAnim.superclass.constructor.apply(self, arguments); } - S.extend(TransitionAnim, AnimBase, { + util.extend(TransitionAnim, AnimBase, { + prepareFx: function () { + var self = this, + propsData = self._propsData; + var newProps = {}; + var val; + var vendorInfo; + for (var propertyName in propsData) { + val = propsData[propertyName]; + if (typeof val.easing === 'string') { + if (!util.startsWith(val.easing, 'cubic-bezier') && !css3Anim[val.easing]) { + val.easing = DEFAULT_EASING; + } + } else { + val.easing = DEFAULT_EASING; + } + vendorInfo = getVendorInfo(propertyName); + if (!vendorInfo) { + S.log('unsupported css property for transition anim: ' + propertyName, 'error'); + continue; + } + newProps[unCamelCase(vendorInfo.propertyName)] = propsData[propertyName]; + } + self._propsData = newProps; + }, + doStart: function () { var self = this, node = self.node, elStyle = node.style, _propsData = self._propsData, original = elStyle[TRANSITION], - transform, + totalDuration = 0, propsCss = {}; - if ((transform = _propsData.transform)) { - delete _propsData.transform; - _propsData[Features.getVendorCssPropName('transform') - .replace(R_UPPER, '-$1').toLowerCase()] = transform; - } - S.each(_propsData, function (propData, prop) { - var v = propData.value, - currentValue = Dom.css(node, prop); - if (typeof v === 'number') { - currentValue = parseFloat(currentValue); - } - if (currentValue === v) { - // browser does not trigger _onTransitionEnd if from is same with to - setTimeout(function () { - self._onTransitionEnd({ - originalEvent: { - propertyName: prop - } - }); - }, 0); - } + + util.each(_propsData, function (propData, prop) { + var v = propData.value; + // hack, for to reflow? + Dom.css(node, prop, Dom.css(node, prop)); propsCss[prop] = v; + totalDuration = Math.max(propData.duration + propData.delay, totalDuration); }); + // chrome none // firefox none 0s ease 0s if (original.indexOf('none') !== -1) { @@ -76,13 +149,17 @@ KISSY.add(function (S, require) { original += ','; } - // S.log('before start: '+original); elStyle[TRANSITION] = original + genTransition(_propsData); - // S.log('after start: '+elStyle[TRANSITION]); - Event.on(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); + // bug when set left on relative element + setTimeout(function () { + Dom.css(node, propsCss); + }, 0); - Dom.css(node, propsCss); + // timer is more reliable and can deal with short hand css properties + self._transitionEndTimer = setTimeout(function () { + self.stop(true); + }, totalDuration * 1000); }, beforeResume: function () { @@ -90,9 +167,9 @@ KISSY.add(function (S, require) { // already run time before pause var self = this, propsData = self._propsData, - tmpPropsData = S.merge(propsData), + tmpPropsData = util.merge(propsData), runTime = self._runTime / 1000; - S.each(tmpPropsData, function (propData, prop) { + util.each(tmpPropsData, function (propData, prop) { var tRunTime = runTime; if (propData.delay >= tRunTime) { propData.delay -= tRunTime; @@ -108,33 +185,6 @@ KISSY.add(function (S, require) { }); }, - _onTransitionEnd: function (e) { - e = e.originalEvent; - var self = this, - allCompleted = 1, - propsData = self._propsData; - // other anim on the same element - if (!propsData[e.propertyName]) { - return; - } - // webkitTransitionEnd transitionend are both bind for - // https://github.com/kissyteam/kissy/issues/538 - if (propsData[e.propertyName].pos === 1) { - return; - } - propsData[e.propertyName].pos = 1; - S.each(propsData, function (propData) { - if (propData.pos !== 1) { - allCompleted = 0; - return false; - } - return undefined; - }); - if (allCompleted) { - self.stop(true); - } - }, - doStop: function (finish) { var self = this, node = self.node, @@ -144,8 +194,12 @@ KISSY.add(function (S, require) { clear, propsCss = {}; - Event.detach(node, TRANSITION_END_EVENT, self._onTransitionEnd, self); - S.each(_propsData, function (propData, prop) { + if (self._transitionEndTimer) { + clearTimeout(self._transitionEndTimer); + self._transitionEndTimer = null; + } + + util.each(_propsData, function (propData, prop) { if (!finish) { propsCss[prop] = Dom.css(node, prop); } @@ -153,9 +207,9 @@ KISSY.add(function (S, require) { }); // firefox need set transition and need set none - clear = S.trim(elStyle[TRANSITION] - .replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), - '$1')) + clear = util.trim(elStyle[TRANSITION] + .replace(new RegExp('(^|,)' + '\\s*(?:' + propList.join('|') + ')\\s+[^,]+', 'gi'), + '$1')) .replace(/^,|,,|,$/g, '') || 'none'; elStyle[TRANSITION] = clear; @@ -163,7 +217,14 @@ KISSY.add(function (S, require) { } }); - return TransitionAnim; + util.mix(TransitionAnim, AnimBase.Statics); + +// bad + module.exports = TransitionAnim; + /* + refer: + - https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties + */ }); /* refer: diff --git a/src/seed/src/meta/modules.js b/src/seed/src/meta/modules.js index 426432a0d6..98303e8178 100644 --- a/src/seed/src/meta/modules.js +++ b/src/seed/src/meta/modules.js @@ -19,7 +19,7 @@ config({ }); /*Generated By KISSY Module Compiler*/ config({ -'anim/transition': {requires: ['dom','event/dom','anim/base']} +'anim/transition': {requires: ['dom','anim/base']} }); /*Generated By KISSY Module Compiler*/ config({ From a57a5c788838d46c52e2ce0f240f5efe46b82d2d Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 18 Aug 2014 16:44:18 +0800 Subject: [PATCH 66/80] 1.4.7 --- build/anim-min.js | 2 +- build/anim.js | 2 +- build/anim/base-min.js | 2 +- build/anim/base.js | 2 +- build/anim/timer-min.js | 2 +- build/anim/timer.js | 2 +- build/anim/transition-min.js | 2 +- build/anim/transition.js | 2 +- build/attribute-min.js | 2 +- build/attribute.js | 2 +- build/base-min.js | 2 +- build/base.js | 2 +- build/button-min.js | 2 +- build/button.js | 2 +- build/button/assets/dpl-min.css | 2 +- build/button/assets/dpl.css | 2 +- build/color-min.js | 2 +- build/color.js | 2 +- build/combobox-min.js | 2 +- build/combobox.js | 2 +- build/combobox/assets/dpl-min.css | 2 +- build/combobox/assets/dpl.css | 2 +- build/component/container-min.js | 2 +- build/component/container.js | 2 +- build/component/control-min.js | 2 +- build/component/control.js | 2 +- build/component/extension/align-min.js | 2 +- build/component/extension/align.js | 2 +- build/component/extension/content-render-min.js | 2 +- build/component/extension/content-render.js | 2 +- build/component/extension/content-xtpl-min.js | 2 +- build/component/extension/content-xtpl.js | 2 +- build/component/extension/delegate-children-min.js | 2 +- build/component/extension/delegate-children.js | 2 +- build/component/extension/shim-min.js | 2 +- build/component/extension/shim.js | 2 +- build/component/manager-min.js | 2 +- build/component/manager.js | 2 +- build/component/plugin/drag-min.js | 2 +- build/component/plugin/drag.js | 2 +- build/component/plugin/resize-min.js | 2 +- build/component/plugin/resize.js | 2 +- build/cookie-min.js | 2 +- build/cookie.js | 2 +- build/css/dpl/badges-min.css | 2 +- build/css/dpl/badges.css | 2 +- build/css/dpl/base-min.css | 2 +- build/css/dpl/base.css | 2 +- build/css/dpl/forms-min.css | 2 +- build/css/dpl/forms.css | 2 +- build/css/dpl/icons-min.css | 2 +- build/css/dpl/icons.css | 2 +- build/css/dpl/labels-min.css | 2 +- build/css/dpl/labels.css | 2 +- build/css/dpl/reset-context-min.css | 2 +- build/css/dpl/reset-context.css | 2 +- build/css/dpl/reset-min.css | 2 +- build/css/dpl/reset.css | 2 +- build/css/dpl/tables-min.css | 2 +- build/css/dpl/tables.css | 2 +- build/date/format-min.js | 2 +- build/date/format.js | 2 +- build/date/gregorian-min.js | 2 +- build/date/gregorian.js | 2 +- build/date/i18n/en-us-min.js | 2 +- build/date/i18n/en-us.js | 2 +- build/date/i18n/zh-cn-min.js | 2 +- build/date/i18n/zh-cn.js | 2 +- build/date/picker-min.js | 2 +- build/date/picker-xtpl-min.js | 2 +- build/date/picker-xtpl.js | 2 +- build/date/picker.js | 2 +- build/date/picker/assets/dpl-min.css | 2 +- build/date/picker/assets/dpl.css | 2 +- build/date/picker/i18n/en-us-min.js | 2 +- build/date/picker/i18n/en-us.js | 2 +- build/date/picker/i18n/zh-cn-min.js | 2 +- build/date/picker/i18n/zh-cn.js | 2 +- build/date/popup-picker-min.js | 2 +- build/date/popup-picker.js | 2 +- build/dd-min.js | 2 +- build/dd.js | 2 +- build/dd/plugin/constrain-min.js | 2 +- build/dd/plugin/constrain.js | 2 +- build/dd/plugin/proxy-min.js | 2 +- build/dd/plugin/proxy.js | 2 +- build/dd/plugin/scroll-min.js | 2 +- build/dd/plugin/scroll.js | 2 +- build/dom/base-min.js | 2 +- build/dom/base.js | 2 +- build/dom/class-list-min.js | 2 +- build/dom/class-list.js | 2 +- build/dom/ie-min.js | 2 +- build/dom/ie.js | 2 +- build/dom/selector-min.js | 2 +- build/dom/selector.js | 2 +- build/editor-min.js | 2 +- build/editor.js | 2 +- build/editor/plugin/back-color-min.js | 2 +- build/editor/plugin/back-color.js | 2 +- build/editor/plugin/back-color/cmd-min.js | 2 +- build/editor/plugin/back-color/cmd.js | 2 +- build/editor/plugin/bold-min.js | 2 +- build/editor/plugin/bold.js | 2 +- build/editor/plugin/bold/cmd-min.js | 2 +- build/editor/plugin/bold/cmd.js | 2 +- build/editor/plugin/bubble-min.js | 2 +- build/editor/plugin/bubble.js | 2 +- build/editor/plugin/button-min.js | 2 +- build/editor/plugin/button.js | 2 +- build/editor/plugin/checkbox-source-area-min.js | 2 +- build/editor/plugin/checkbox-source-area.js | 2 +- build/editor/plugin/code-min.js | 2 +- build/editor/plugin/code.js | 2 +- build/editor/plugin/code/dialog-min.js | 2 +- build/editor/plugin/code/dialog.js | 2 +- build/editor/plugin/color/btn-min.js | 2 +- build/editor/plugin/color/btn.js | 2 +- build/editor/plugin/color/cmd-min.js | 2 +- build/editor/plugin/color/cmd.js | 2 +- build/editor/plugin/color/dialog-min.js | 2 +- build/editor/plugin/color/dialog.js | 2 +- build/editor/plugin/contextmenu-min.js | 2 +- build/editor/plugin/contextmenu.js | 2 +- build/editor/plugin/dent-cmd-min.js | 2 +- build/editor/plugin/dent-cmd.js | 2 +- build/editor/plugin/dialog-loader-min.js | 2 +- build/editor/plugin/dialog-loader.js | 2 +- build/editor/plugin/dialog-min.js | 2 +- build/editor/plugin/dialog.js | 2 +- build/editor/plugin/draft-min.js | 2 +- build/editor/plugin/draft.js | 2 +- build/editor/plugin/drag-upload-min.js | 2 +- build/editor/plugin/drag-upload.js | 2 +- build/editor/plugin/element-path-min.js | 2 +- build/editor/plugin/element-path.js | 2 +- build/editor/plugin/fake-objects-min.js | 2 +- build/editor/plugin/fake-objects.js | 2 +- build/editor/plugin/flash-bridge-min.js | 2 +- build/editor/plugin/flash-bridge.js | 2 +- build/editor/plugin/flash-common/base-class-min.js | 2 +- build/editor/plugin/flash-common/base-class.js | 2 +- build/editor/plugin/flash-common/utils-min.js | 2 +- build/editor/plugin/flash-common/utils.js | 2 +- build/editor/plugin/flash-min.js | 2 +- build/editor/plugin/flash.js | 2 +- build/editor/plugin/flash/dialog-min.js | 2 +- build/editor/plugin/flash/dialog.js | 2 +- build/editor/plugin/focus-fix-min.js | 2 +- build/editor/plugin/focus-fix.js | 2 +- build/editor/plugin/font-family-min.js | 2 +- build/editor/plugin/font-family.js | 2 +- build/editor/plugin/font-family/cmd-min.js | 2 +- build/editor/plugin/font-family/cmd.js | 2 +- build/editor/plugin/font-size-min.js | 2 +- build/editor/plugin/font-size.js | 2 +- build/editor/plugin/font-size/cmd-min.js | 2 +- build/editor/plugin/font-size/cmd.js | 2 +- build/editor/plugin/font/cmd-min.js | 2 +- build/editor/plugin/font/cmd.js | 2 +- build/editor/plugin/font/ui-min.js | 2 +- build/editor/plugin/font/ui.js | 2 +- build/editor/plugin/fore-color-min.js | 2 +- build/editor/plugin/fore-color.js | 2 +- build/editor/plugin/fore-color/cmd-min.js | 2 +- build/editor/plugin/fore-color/cmd.js | 2 +- build/editor/plugin/heading-min.js | 2 +- build/editor/plugin/heading.js | 2 +- build/editor/plugin/heading/cmd-min.js | 2 +- build/editor/plugin/heading/cmd.js | 2 +- build/editor/plugin/image-min.js | 2 +- build/editor/plugin/image.js | 2 +- build/editor/plugin/image/dialog-min.js | 2 +- build/editor/plugin/image/dialog.js | 2 +- build/editor/plugin/indent-min.js | 2 +- build/editor/plugin/indent.js | 2 +- build/editor/plugin/indent/cmd-min.js | 2 +- build/editor/plugin/indent/cmd.js | 2 +- build/editor/plugin/italic-min.js | 2 +- build/editor/plugin/italic.js | 2 +- build/editor/plugin/italic/cmd-min.js | 2 +- build/editor/plugin/italic/cmd.js | 2 +- build/editor/plugin/justify-center-min.js | 2 +- build/editor/plugin/justify-center.js | 2 +- build/editor/plugin/justify-center/cmd-min.js | 2 +- build/editor/plugin/justify-center/cmd.js | 2 +- build/editor/plugin/justify-cmd-min.js | 2 +- build/editor/plugin/justify-cmd.js | 2 +- build/editor/plugin/justify-left-min.js | 2 +- build/editor/plugin/justify-left.js | 2 +- build/editor/plugin/justify-left/cmd-min.js | 2 +- build/editor/plugin/justify-left/cmd.js | 2 +- build/editor/plugin/justify-right-min.js | 2 +- build/editor/plugin/justify-right.js | 2 +- build/editor/plugin/justify-right/cmd-min.js | 2 +- build/editor/plugin/justify-right/cmd.js | 2 +- build/editor/plugin/link-min.js | 2 +- build/editor/plugin/link.js | 2 +- build/editor/plugin/link/dialog-min.js | 2 +- build/editor/plugin/link/dialog.js | 2 +- build/editor/plugin/link/utils-min.js | 2 +- build/editor/plugin/link/utils.js | 2 +- build/editor/plugin/list-utils-min.js | 2 +- build/editor/plugin/list-utils.js | 2 +- build/editor/plugin/list-utils/btn-min.js | 2 +- build/editor/plugin/list-utils/btn.js | 2 +- build/editor/plugin/list-utils/cmd-min.js | 2 +- build/editor/plugin/list-utils/cmd.js | 2 +- build/editor/plugin/local-storage-min.js | 2 +- build/editor/plugin/local-storage.js | 2 +- build/editor/plugin/maximize-min.js | 2 +- build/editor/plugin/maximize.js | 2 +- build/editor/plugin/maximize/cmd-min.js | 2 +- build/editor/plugin/maximize/cmd.js | 2 +- build/editor/plugin/menubutton-min.js | 2 +- build/editor/plugin/menubutton.js | 2 +- build/editor/plugin/ordered-list-min.js | 2 +- build/editor/plugin/ordered-list.js | 2 +- build/editor/plugin/ordered-list/cmd-min.js | 2 +- build/editor/plugin/ordered-list/cmd.js | 2 +- build/editor/plugin/outdent-min.js | 2 +- build/editor/plugin/outdent.js | 2 +- build/editor/plugin/outdent/cmd-min.js | 2 +- build/editor/plugin/outdent/cmd.js | 2 +- build/editor/plugin/overlay-min.js | 2 +- build/editor/plugin/overlay.js | 2 +- build/editor/plugin/page-break-min.js | 2 +- build/editor/plugin/page-break.js | 2 +- build/editor/plugin/preview-min.js | 2 +- build/editor/plugin/preview.js | 2 +- build/editor/plugin/progressbar-min.js | 2 +- build/editor/plugin/progressbar.js | 2 +- build/editor/plugin/remove-format-min.js | 2 +- build/editor/plugin/remove-format.js | 2 +- build/editor/plugin/remove-format/cmd-min.js | 2 +- build/editor/plugin/remove-format/cmd.js | 2 +- build/editor/plugin/resize-min.js | 2 +- build/editor/plugin/resize.js | 2 +- build/editor/plugin/separator-min.js | 2 +- build/editor/plugin/separator.js | 2 +- build/editor/plugin/smiley-min.js | 2 +- build/editor/plugin/smiley.js | 2 +- build/editor/plugin/source-area-min.js | 2 +- build/editor/plugin/source-area.js | 2 +- build/editor/plugin/strike-through-min.js | 2 +- build/editor/plugin/strike-through.js | 2 +- build/editor/plugin/strike-through/cmd-min.js | 2 +- build/editor/plugin/strike-through/cmd.js | 2 +- build/editor/plugin/table-min.js | 2 +- build/editor/plugin/table.js | 2 +- build/editor/plugin/table/dialog-min.js | 2 +- build/editor/plugin/table/dialog.js | 2 +- build/editor/plugin/underline-min.js | 2 +- build/editor/plugin/underline.js | 2 +- build/editor/plugin/underline/cmd-min.js | 2 +- build/editor/plugin/underline/cmd.js | 2 +- build/editor/plugin/undo-min.js | 2 +- build/editor/plugin/undo.js | 2 +- build/editor/plugin/undo/btn-min.js | 2 +- build/editor/plugin/undo/btn.js | 2 +- build/editor/plugin/undo/cmd-min.js | 2 +- build/editor/plugin/undo/cmd.js | 2 +- build/editor/plugin/unordered-list-min.js | 2 +- build/editor/plugin/unordered-list.js | 2 +- build/editor/plugin/unordered-list/cmd-min.js | 2 +- build/editor/plugin/unordered-list/cmd.js | 2 +- build/editor/plugin/video-min.js | 2 +- build/editor/plugin/video.js | 2 +- build/editor/plugin/video/dialog-min.js | 2 +- build/editor/plugin/video/dialog.js | 2 +- build/editor/plugin/word-filter-min.js | 2 +- build/editor/plugin/word-filter.js | 2 +- build/editor/plugin/xiami-music-min.js | 2 +- build/editor/plugin/xiami-music.js | 2 +- build/editor/plugin/xiami-music/dialog-min.js | 2 +- build/editor/plugin/xiami-music/dialog.js | 2 +- build/editor/theme/cool/editor-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite-min.css | 2 +- build/editor/theme/cool/editor-pkg-sprite.css | 2 +- build/editor/theme/cool/editor.css | 2 +- build/editor/theme/editor-common-min.css | 2 +- build/editor/theme/editor-common.css | 2 +- build/editor/theme/editor-iframe-min.css | 2 +- build/editor/theme/editor-iframe.css | 2 +- build/event-min.js | 2 +- build/event.js | 2 +- build/event/base-min.js | 2 +- build/event/base.js | 2 +- build/event/custom-min.js | 2 +- build/event/custom.js | 2 +- build/event/dom/base-min.js | 2 +- build/event/dom/base.js | 2 +- build/event/dom/focusin-min.js | 2 +- build/event/dom/focusin.js | 2 +- build/event/dom/hashchange-min.js | 2 +- build/event/dom/hashchange.js | 2 +- build/event/dom/ie-min.js | 2 +- build/event/dom/ie.js | 2 +- build/event/dom/shake-min.js | 2 +- build/event/dom/shake.js | 2 +- build/event/dom/touch-min.js | 2 +- build/event/dom/touch.js | 2 +- build/filter-menu-min.js | 2 +- build/filter-menu.js | 2 +- build/html-parser-min.js | 2 +- build/html-parser.js | 2 +- build/import-style-min.js | 2 +- build/import-style.js | 2 +- build/io-min.js | 2 +- build/io.js | 2 +- build/json-min.js | 2 +- build/json.js | 2 +- build/kison-min.js | 2 +- build/kison.js | 2 +- build/kissy-nodejs-min.js | 4 ++-- build/kissy-nodejs.js | 4 ++-- build/menu-min.js | 2 +- build/menu.js | 2 +- build/menu/assets/dpl-min.css | 2 +- build/menu/assets/dpl.css | 2 +- build/menubutton-min.js | 2 +- build/menubutton.js | 2 +- build/menubutton/assets/dpl-min.css | 2 +- build/menubutton/assets/dpl.css | 2 +- build/mvc-min.js | 2 +- build/mvc.js | 2 +- build/node-min.js | 2 +- build/node.js | 2 +- build/overlay-min.js | 2 +- build/overlay.js | 2 +- build/overlay/assets/dpl-min.css | 2 +- build/overlay/assets/dpl.css | 2 +- build/promise-min.js | 2 +- build/promise.js | 2 +- build/resizable-min.js | 2 +- build/resizable.js | 2 +- build/resizable/plugin/proxy-min.js | 2 +- build/resizable/plugin/proxy.js | 2 +- build/scroll-view/assets/dpl-min.css | 2 +- build/scroll-view/assets/dpl.css | 2 +- build/scroll-view/assets/nice-min.css | 2 +- build/scroll-view/assets/nice.css | 2 +- build/scroll-view/base-min.js | 2 +- build/scroll-view/base.js | 2 +- build/scroll-view/drag-min.js | 2 +- build/scroll-view/drag.js | 2 +- build/scroll-view/plugin/pull-to-refresh-min.js | 2 +- build/scroll-view/plugin/pull-to-refresh.js | 2 +- build/scroll-view/plugin/scrollbar-min.js | 2 +- build/scroll-view/plugin/scrollbar.js | 2 +- build/seed-min.js | 4 ++-- build/seed.js | 4 ++-- build/separator-min.js | 2 +- build/separator.js | 2 +- build/split-button-min.js | 2 +- build/split-button.js | 2 +- build/split-button/assets/dpl-min.css | 2 +- build/split-button/assets/dpl.css | 2 +- build/stylesheet-min.js | 2 +- build/stylesheet.js | 2 +- build/swf-min.js | 2 +- build/swf.js | 2 +- build/tabs-min.js | 2 +- build/tabs.js | 2 +- build/tabs/assets/dpl-min.css | 2 +- build/tabs/assets/dpl.css | 2 +- build/toolbar-min.js | 2 +- build/toolbar.js | 2 +- build/toolbar/assets/dpl-min.css | 2 +- build/toolbar/assets/dpl.css | 2 +- build/tree-min.js | 2 +- build/tree.js | 2 +- build/tree/assets/dpl-min.css | 2 +- build/tree/assets/dpl.css | 2 +- build/xtemplate-min.js | 2 +- build/xtemplate.js | 2 +- build/xtemplate/compiler-min.js | 2 +- build/xtemplate/compiler.js | 2 +- build/xtemplate/nodejs-min.js | 2 +- build/xtemplate/nodejs.js | 2 +- build/xtemplate/runtime-min.js | 2 +- build/xtemplate/runtime.js | 2 +- src/config.xml | 4 ++-- 383 files changed, 388 insertions(+), 388 deletions(-) diff --git a/build/anim-min.js b/build/anim-min.js index 14f9ec619f..617fece779 100644 --- a/build/anim-min.js +++ b/build/anim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim.js b/build/anim.js index 81af669dc0..5c96b545fa 100644 --- a/build/anim.js +++ b/build/anim.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/base-min.js b/build/anim/base-min.js index 8985449a22..5ffc9184a8 100644 --- a/build/anim/base-min.js +++ b/build/anim/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/base.js b/build/anim/base.js index 567e290aee..7fd7fc933e 100644 --- a/build/anim/base.js +++ b/build/anim/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/timer-min.js b/build/anim/timer-min.js index 80dce3ed7f..fd0f39b942 100644 --- a/build/anim/timer-min.js +++ b/build/anim/timer-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/timer.js b/build/anim/timer.js index ef602dc2d4..89809e8ce6 100644 --- a/build/anim/timer.js +++ b/build/anim/timer.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/anim/transition-min.js b/build/anim/transition-min.js index 1d57006624..aabfdedd37 100644 --- a/build/anim/transition-min.js +++ b/build/anim/transition-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 16:35 */ diff --git a/build/anim/transition.js b/build/anim/transition.js index 4e2aae8893..cb24f06f54 100644 --- a/build/anim/transition.js +++ b/build/anim/transition.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 16:35 */ diff --git a/build/attribute-min.js b/build/attribute-min.js index 4e3f50c5b4..a02d7ab8db 100644 --- a/build/attribute-min.js +++ b/build/attribute-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/attribute.js b/build/attribute.js index 4a4d937ae8..299ed87ee1 100644 --- a/build/attribute.js +++ b/build/attribute.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/base-min.js b/build/base-min.js index 37840d4f69..25af72ae85 100644 --- a/build/base-min.js +++ b/build/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/base.js b/build/base.js index fefbf56d9b..15357aa737 100644 --- a/build/base.js +++ b/build/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button-min.js b/build/button-min.js index 36393e9f71..68f77a95e0 100644 --- a/build/button-min.js +++ b/build/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button.js b/build/button.js index 33f4a1f4f1..9b6c3e29f2 100644 --- a/build/button.js +++ b/build/button.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button/assets/dpl-min.css b/build/button/assets/dpl-min.css index 6b6883775c..8f0d97af57 100644 --- a/build/button/assets/dpl-min.css +++ b/build/button/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/button/assets/dpl.css b/build/button/assets/dpl.css index b513d58bbe..ba4c0a04cf 100644 --- a/build/button/assets/dpl.css +++ b/build/button/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:15 */ diff --git a/build/color-min.js b/build/color-min.js index 2940dc94cc..ec6bb3e58c 100644 --- a/build/color-min.js +++ b/build/color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/color.js b/build/color.js index 2a1a2fb4a8..915068531e 100644 --- a/build/color.js +++ b/build/color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox-min.js b/build/combobox-min.js index 82b2a292d0..3fab66d600 100644 --- a/build/combobox-min.js +++ b/build/combobox-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox.js b/build/combobox.js index 466f7e6c18..43937a3e4a 100644 --- a/build/combobox.js +++ b/build/combobox.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox/assets/dpl-min.css b/build/combobox/assets/dpl-min.css index 630b2aed4c..2255f26a3c 100644 --- a/build/combobox/assets/dpl-min.css +++ b/build/combobox/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/combobox/assets/dpl.css b/build/combobox/assets/dpl.css index cb70f24379..464df9ed29 100644 --- a/build/combobox/assets/dpl.css +++ b/build/combobox/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/container-min.js b/build/component/container-min.js index a0ac2f8932..2a20287d93 100644 --- a/build/component/container-min.js +++ b/build/component/container-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/container.js b/build/component/container.js index 6902a3dd75..97ac61c1e2 100644 --- a/build/component/container.js +++ b/build/component/container.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/control-min.js b/build/component/control-min.js index 25f43c7a70..aead43e740 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 12:19 */ diff --git a/build/component/control.js b/build/component/control.js index bef269e955..eab67f0714 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 12:19 */ diff --git a/build/component/extension/align-min.js b/build/component/extension/align-min.js index 334c0588fc..0bca5df0ef 100644 --- a/build/component/extension/align-min.js +++ b/build/component/extension/align-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/align.js b/build/component/extension/align.js index 4d9d22840a..e6d4701b74 100644 --- a/build/component/extension/align.js +++ b/build/component/extension/align.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-render-min.js b/build/component/extension/content-render-min.js index 8a516141cb..bbc75a1bbc 100644 --- a/build/component/extension/content-render-min.js +++ b/build/component/extension/content-render-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-render.js b/build/component/extension/content-render.js index a7bf1b030c..a325e4a9e1 100644 --- a/build/component/extension/content-render.js +++ b/build/component/extension/content-render.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-xtpl-min.js b/build/component/extension/content-xtpl-min.js index 72cbffdcf9..0d957246ac 100644 --- a/build/component/extension/content-xtpl-min.js +++ b/build/component/extension/content-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/content-xtpl.js b/build/component/extension/content-xtpl.js index 1bb7f39b34..74d4c2a05e 100644 --- a/build/component/extension/content-xtpl.js +++ b/build/component/extension/content-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/delegate-children-min.js b/build/component/extension/delegate-children-min.js index bc0c5c70ad..ecba6ddb40 100644 --- a/build/component/extension/delegate-children-min.js +++ b/build/component/extension/delegate-children-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/delegate-children.js b/build/component/extension/delegate-children.js index 17133e59ba..d3d1c57a36 100644 --- a/build/component/extension/delegate-children.js +++ b/build/component/extension/delegate-children.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:16 */ diff --git a/build/component/extension/shim-min.js b/build/component/extension/shim-min.js index 142f906738..8b25fae0d5 100644 --- a/build/component/extension/shim-min.js +++ b/build/component/extension/shim-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/extension/shim.js b/build/component/extension/shim.js index d40a731f5c..c5aae73068 100644 --- a/build/component/extension/shim.js +++ b/build/component/extension/shim.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/manager-min.js b/build/component/manager-min.js index 291027c40a..826d77a285 100644 --- a/build/component/manager-min.js +++ b/build/component/manager-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/manager.js b/build/component/manager.js index 66bb8d1ac4..fdb201b486 100644 --- a/build/component/manager.js +++ b/build/component/manager.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/drag-min.js b/build/component/plugin/drag-min.js index 3a48454443..57f9d44c02 100644 --- a/build/component/plugin/drag-min.js +++ b/build/component/plugin/drag-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/drag.js b/build/component/plugin/drag.js index 7fbe45b5e2..e48c4104b2 100644 --- a/build/component/plugin/drag.js +++ b/build/component/plugin/drag.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/resize-min.js b/build/component/plugin/resize-min.js index 02f2a4c53b..ea0237d292 100644 --- a/build/component/plugin/resize-min.js +++ b/build/component/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/component/plugin/resize.js b/build/component/plugin/resize.js index 8eb85b7537..7719699ec2 100644 --- a/build/component/plugin/resize.js +++ b/build/component/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/cookie-min.js b/build/cookie-min.js index 28e2b26dcb..94b83f35ec 100644 --- a/build/cookie-min.js +++ b/build/cookie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/cookie.js b/build/cookie.js index cd67202df1..6f5ddddade 100644 --- a/build/cookie.js +++ b/build/cookie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/badges-min.css b/build/css/dpl/badges-min.css index 4807f49a65..d468fce300 100644 --- a/build/css/dpl/badges-min.css +++ b/build/css/dpl/badges-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/badges.css b/build/css/dpl/badges.css index b9c20f232e..8765fce473 100644 --- a/build/css/dpl/badges.css +++ b/build/css/dpl/badges.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/base-min.css b/build/css/dpl/base-min.css index 74304905db..e622391154 100644 --- a/build/css/dpl/base-min.css +++ b/build/css/dpl/base-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/base.css b/build/css/dpl/base.css index bceeff1041..67ca051e4e 100644 --- a/build/css/dpl/base.css +++ b/build/css/dpl/base.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/forms-min.css b/build/css/dpl/forms-min.css index a4052fb276..955d88d54e 100644 --- a/build/css/dpl/forms-min.css +++ b/build/css/dpl/forms-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/forms.css b/build/css/dpl/forms.css index 8d85a35d14..18e83d80a8 100644 --- a/build/css/dpl/forms.css +++ b/build/css/dpl/forms.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/icons-min.css b/build/css/dpl/icons-min.css index 649a165e51..61c84cf0d2 100644 --- a/build/css/dpl/icons-min.css +++ b/build/css/dpl/icons-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/icons.css b/build/css/dpl/icons.css index bea182c29a..9fa175be46 100644 --- a/build/css/dpl/icons.css +++ b/build/css/dpl/icons.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/labels-min.css b/build/css/dpl/labels-min.css index 33ac8dedfb..4a71332359 100644 --- a/build/css/dpl/labels-min.css +++ b/build/css/dpl/labels-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/labels.css b/build/css/dpl/labels.css index a19523a98f..8d57c2ffcf 100644 --- a/build/css/dpl/labels.css +++ b/build/css/dpl/labels.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-context-min.css b/build/css/dpl/reset-context-min.css index 11019a7084..8af2477219 100644 --- a/build/css/dpl/reset-context-min.css +++ b/build/css/dpl/reset-context-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-context.css b/build/css/dpl/reset-context.css index bd6f7b7aa2..22982a1e07 100644 --- a/build/css/dpl/reset-context.css +++ b/build/css/dpl/reset-context.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset-min.css b/build/css/dpl/reset-min.css index a35a0bee3e..683edb412c 100644 --- a/build/css/dpl/reset-min.css +++ b/build/css/dpl/reset-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/reset.css b/build/css/dpl/reset.css index 3fca5e86be..e0f402d1a1 100644 --- a/build/css/dpl/reset.css +++ b/build/css/dpl/reset.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/tables-min.css b/build/css/dpl/tables-min.css index 7b208fbaa4..19693d1732 100644 --- a/build/css/dpl/tables-min.css +++ b/build/css/dpl/tables-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/css/dpl/tables.css b/build/css/dpl/tables.css index 1ed176a7b1..8566626c0e 100644 --- a/build/css/dpl/tables.css +++ b/build/css/dpl/tables.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/format-min.js b/build/date/format-min.js index 7f9ed91338..e2a47feab9 100644 --- a/build/date/format-min.js +++ b/build/date/format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/format.js b/build/date/format.js index 5584a914b3..984d2db65a 100644 --- a/build/date/format.js +++ b/build/date/format.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/gregorian-min.js b/build/date/gregorian-min.js index a24c679cdc..1f53767909 100644 --- a/build/date/gregorian-min.js +++ b/build/date/gregorian-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/gregorian.js b/build/date/gregorian.js index 7f427a5838..05a86ecfaf 100644 --- a/build/date/gregorian.js +++ b/build/date/gregorian.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/en-us-min.js b/build/date/i18n/en-us-min.js index 2e4878a1e0..6a6c823280 100644 --- a/build/date/i18n/en-us-min.js +++ b/build/date/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/en-us.js b/build/date/i18n/en-us.js index bea2b6fd7f..1bc51ee35f 100644 --- a/build/date/i18n/en-us.js +++ b/build/date/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/zh-cn-min.js b/build/date/i18n/zh-cn-min.js index 62431eb907..bdde30f405 100644 --- a/build/date/i18n/zh-cn-min.js +++ b/build/date/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/i18n/zh-cn.js b/build/date/i18n/zh-cn.js index 91e19eea57..cafd6897be 100644 --- a/build/date/i18n/zh-cn.js +++ b/build/date/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker-min.js b/build/date/picker-min.js index 0de62ec933..bbbdc1d606 100644 --- a/build/date/picker-min.js +++ b/build/date/picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker-xtpl-min.js b/build/date/picker-xtpl-min.js index 57d870e128..17be1ffe9b 100644 --- a/build/date/picker-xtpl-min.js +++ b/build/date/picker-xtpl-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker-xtpl.js b/build/date/picker-xtpl.js index 35b4e367c9..d921c65474 100644 --- a/build/date/picker-xtpl.js +++ b/build/date/picker-xtpl.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:17 */ diff --git a/build/date/picker.js b/build/date/picker.js index 8ea2ad2974..effec388e4 100644 --- a/build/date/picker.js +++ b/build/date/picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/assets/dpl-min.css b/build/date/picker/assets/dpl-min.css index f2356e4f27..4727f4f518 100644 --- a/build/date/picker/assets/dpl-min.css +++ b/build/date/picker/assets/dpl-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/assets/dpl.css b/build/date/picker/assets/dpl.css index 5a8ac828e8..513633c135 100644 --- a/build/date/picker/assets/dpl.css +++ b/build/date/picker/assets/dpl.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/en-us-min.js b/build/date/picker/i18n/en-us-min.js index 64472b4b86..a8a44e683a 100644 --- a/build/date/picker/i18n/en-us-min.js +++ b/build/date/picker/i18n/en-us-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/en-us.js b/build/date/picker/i18n/en-us.js index 1e1a47c0dc..795cdc58c5 100644 --- a/build/date/picker/i18n/en-us.js +++ b/build/date/picker/i18n/en-us.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/zh-cn-min.js b/build/date/picker/i18n/zh-cn-min.js index e77006e244..2453df0e65 100644 --- a/build/date/picker/i18n/zh-cn-min.js +++ b/build/date/picker/i18n/zh-cn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/picker/i18n/zh-cn.js b/build/date/picker/i18n/zh-cn.js index 90d819b23a..12cb1fd98a 100644 --- a/build/date/picker/i18n/zh-cn.js +++ b/build/date/picker/i18n/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/popup-picker-min.js b/build/date/popup-picker-min.js index d15893fc41..c8eb3c2df4 100644 --- a/build/date/popup-picker-min.js +++ b/build/date/popup-picker-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/date/popup-picker.js b/build/date/popup-picker.js index d993db5445..840cd246e1 100644 --- a/build/date/popup-picker.js +++ b/build/date/popup-picker.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd-min.js b/build/dd-min.js index 3197f33796..817dd8fe35 100644 --- a/build/dd-min.js +++ b/build/dd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd.js b/build/dd.js index 8c1485a321..941e4b35d4 100644 --- a/build/dd.js +++ b/build/dd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/constrain-min.js b/build/dd/plugin/constrain-min.js index 0a44b1ac5e..47be5526df 100644 --- a/build/dd/plugin/constrain-min.js +++ b/build/dd/plugin/constrain-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/constrain.js b/build/dd/plugin/constrain.js index 5a2cb115b4..5f43b2e52b 100644 --- a/build/dd/plugin/constrain.js +++ b/build/dd/plugin/constrain.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/proxy-min.js b/build/dd/plugin/proxy-min.js index 6433cedd79..fe8d711107 100644 --- a/build/dd/plugin/proxy-min.js +++ b/build/dd/plugin/proxy-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/proxy.js b/build/dd/plugin/proxy.js index 79fcd9f515..884a63427d 100644 --- a/build/dd/plugin/proxy.js +++ b/build/dd/plugin/proxy.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/scroll-min.js b/build/dd/plugin/scroll-min.js index dfe9b9b69b..61a3e99b30 100644 --- a/build/dd/plugin/scroll-min.js +++ b/build/dd/plugin/scroll-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dd/plugin/scroll.js b/build/dd/plugin/scroll.js index f9f049dfc2..458fa769b8 100644 --- a/build/dd/plugin/scroll.js +++ b/build/dd/plugin/scroll.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:18 */ diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 29014d39a5..3843367c64 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/dom/base.js b/build/dom/base.js index a06157f27b..39072ef624 100644 --- a/build/dom/base.js +++ b/build/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/dom/class-list-min.js b/build/dom/class-list-min.js index 2180e840e4..9963a3dbf1 100644 --- a/build/dom/class-list-min.js +++ b/build/dom/class-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/class-list.js b/build/dom/class-list.js index ba0af871f9..1a061a0dfa 100644 --- a/build/dom/class-list.js +++ b/build/dom/class-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/ie-min.js b/build/dom/ie-min.js index 9e73f4705c..775bfcd691 100644 --- a/build/dom/ie-min.js +++ b/build/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/ie.js b/build/dom/ie.js index 3989c9b86d..951e96a7b6 100644 --- a/build/dom/ie.js +++ b/build/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js index 77432dba09..dd3daed5fd 100644 --- a/build/dom/selector-min.js +++ b/build/dom/selector-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/dom/selector.js b/build/dom/selector.js index b280f8b6ae..3474bf2075 100644 --- a/build/dom/selector.js +++ b/build/dom/selector.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor-min.js b/build/editor-min.js index ebec311fc2..263ba33918 100644 --- a/build/editor-min.js +++ b/build/editor-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor.js b/build/editor.js index 8debb0e2e0..748cc113e5 100644 --- a/build/editor.js +++ b/build/editor.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/back-color-min.js b/build/editor/plugin/back-color-min.js index c390c8c89a..6f8cdac1d5 100644 --- a/build/editor/plugin/back-color-min.js +++ b/build/editor/plugin/back-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color.js b/build/editor/plugin/back-color.js index e53bd74638..2d9a792c2c 100644 --- a/build/editor/plugin/back-color.js +++ b/build/editor/plugin/back-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color/cmd-min.js b/build/editor/plugin/back-color/cmd-min.js index 11df149d18..b1cbf598a4 100644 --- a/build/editor/plugin/back-color/cmd-min.js +++ b/build/editor/plugin/back-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/back-color/cmd.js b/build/editor/plugin/back-color/cmd.js index c373a5ffd3..be9c91a469 100644 --- a/build/editor/plugin/back-color/cmd.js +++ b/build/editor/plugin/back-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold-min.js b/build/editor/plugin/bold-min.js index 1e442a6b40..3a60d0af27 100644 --- a/build/editor/plugin/bold-min.js +++ b/build/editor/plugin/bold-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold.js b/build/editor/plugin/bold.js index 430e847985..f889e3eef7 100644 --- a/build/editor/plugin/bold.js +++ b/build/editor/plugin/bold.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold/cmd-min.js b/build/editor/plugin/bold/cmd-min.js index 2d511a6d9a..6966de8879 100644 --- a/build/editor/plugin/bold/cmd-min.js +++ b/build/editor/plugin/bold/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bold/cmd.js b/build/editor/plugin/bold/cmd.js index 08d2427381..57c4169d49 100644 --- a/build/editor/plugin/bold/cmd.js +++ b/build/editor/plugin/bold/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bubble-min.js b/build/editor/plugin/bubble-min.js index 24fb48e08b..0cc27b4cb9 100644 --- a/build/editor/plugin/bubble-min.js +++ b/build/editor/plugin/bubble-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/bubble.js b/build/editor/plugin/bubble.js index 678ec31ddb..3ab9daff28 100644 --- a/build/editor/plugin/bubble.js +++ b/build/editor/plugin/bubble.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/button-min.js b/build/editor/plugin/button-min.js index 3ba1551a5a..256178f2bc 100644 --- a/build/editor/plugin/button-min.js +++ b/build/editor/plugin/button-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/button.js b/build/editor/plugin/button.js index 4179151f8a..f520c2e5c9 100644 --- a/build/editor/plugin/button.js +++ b/build/editor/plugin/button.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/checkbox-source-area-min.js b/build/editor/plugin/checkbox-source-area-min.js index 2bc9436214..a88860ea8b 100644 --- a/build/editor/plugin/checkbox-source-area-min.js +++ b/build/editor/plugin/checkbox-source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/checkbox-source-area.js b/build/editor/plugin/checkbox-source-area.js index f07b0be807..bcebd5e488 100644 --- a/build/editor/plugin/checkbox-source-area.js +++ b/build/editor/plugin/checkbox-source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code-min.js b/build/editor/plugin/code-min.js index e307974dd5..edece00fb9 100644 --- a/build/editor/plugin/code-min.js +++ b/build/editor/plugin/code-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code.js b/build/editor/plugin/code.js index 0b7bf1ac2c..e4960b7f85 100644 --- a/build/editor/plugin/code.js +++ b/build/editor/plugin/code.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:19 */ diff --git a/build/editor/plugin/code/dialog-min.js b/build/editor/plugin/code/dialog-min.js index d13ed761dc..fc2b684311 100644 --- a/build/editor/plugin/code/dialog-min.js +++ b/build/editor/plugin/code/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/code/dialog.js b/build/editor/plugin/code/dialog.js index ee53d81381..60c6cb6ce8 100644 --- a/build/editor/plugin/code/dialog.js +++ b/build/editor/plugin/code/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/btn-min.js b/build/editor/plugin/color/btn-min.js index c1eaf81f09..45d5fb1d90 100644 --- a/build/editor/plugin/color/btn-min.js +++ b/build/editor/plugin/color/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/btn.js b/build/editor/plugin/color/btn.js index 269ad1f460..d75714de92 100644 --- a/build/editor/plugin/color/btn.js +++ b/build/editor/plugin/color/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/cmd-min.js b/build/editor/plugin/color/cmd-min.js index 5c9457663b..eb3a0f8502 100644 --- a/build/editor/plugin/color/cmd-min.js +++ b/build/editor/plugin/color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/cmd.js b/build/editor/plugin/color/cmd.js index f08e013c0c..944054eb37 100644 --- a/build/editor/plugin/color/cmd.js +++ b/build/editor/plugin/color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/dialog-min.js b/build/editor/plugin/color/dialog-min.js index 6f5a71a967..bf4c36ca8d 100644 --- a/build/editor/plugin/color/dialog-min.js +++ b/build/editor/plugin/color/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/color/dialog.js b/build/editor/plugin/color/dialog.js index 831c872e22..5767993578 100644 --- a/build/editor/plugin/color/dialog.js +++ b/build/editor/plugin/color/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/contextmenu-min.js b/build/editor/plugin/contextmenu-min.js index 336c429052..dfafc8b965 100644 --- a/build/editor/plugin/contextmenu-min.js +++ b/build/editor/plugin/contextmenu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/contextmenu.js b/build/editor/plugin/contextmenu.js index 9b6e70da3e..a00ca5195d 100644 --- a/build/editor/plugin/contextmenu.js +++ b/build/editor/plugin/contextmenu.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dent-cmd-min.js b/build/editor/plugin/dent-cmd-min.js index 31980b03cd..55586f9b06 100644 --- a/build/editor/plugin/dent-cmd-min.js +++ b/build/editor/plugin/dent-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dent-cmd.js b/build/editor/plugin/dent-cmd.js index 5e3a400932..73700ec661 100644 --- a/build/editor/plugin/dent-cmd.js +++ b/build/editor/plugin/dent-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-loader-min.js b/build/editor/plugin/dialog-loader-min.js index 513758c482..b2cc0f6ff1 100644 --- a/build/editor/plugin/dialog-loader-min.js +++ b/build/editor/plugin/dialog-loader-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-loader.js b/build/editor/plugin/dialog-loader.js index 33b122bab6..c8c24cf839 100644 --- a/build/editor/plugin/dialog-loader.js +++ b/build/editor/plugin/dialog-loader.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog-min.js b/build/editor/plugin/dialog-min.js index e02d05ed0b..5a87fd211c 100644 --- a/build/editor/plugin/dialog-min.js +++ b/build/editor/plugin/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/dialog.js b/build/editor/plugin/dialog.js index 11ffac9a23..fd37d5442f 100644 --- a/build/editor/plugin/dialog.js +++ b/build/editor/plugin/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/draft-min.js b/build/editor/plugin/draft-min.js index a9d742a650..974ea9a7f2 100644 --- a/build/editor/plugin/draft-min.js +++ b/build/editor/plugin/draft-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/draft.js b/build/editor/plugin/draft.js index 6cde812758..46fe27db45 100644 --- a/build/editor/plugin/draft.js +++ b/build/editor/plugin/draft.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/drag-upload-min.js b/build/editor/plugin/drag-upload-min.js index ae07f13008..895a1d629d 100644 --- a/build/editor/plugin/drag-upload-min.js +++ b/build/editor/plugin/drag-upload-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/drag-upload.js b/build/editor/plugin/drag-upload.js index 0838af0a33..2d90d12b95 100644 --- a/build/editor/plugin/drag-upload.js +++ b/build/editor/plugin/drag-upload.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:20 */ diff --git a/build/editor/plugin/element-path-min.js b/build/editor/plugin/element-path-min.js index 049115dc37..69018dfed1 100644 --- a/build/editor/plugin/element-path-min.js +++ b/build/editor/plugin/element-path-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/element-path.js b/build/editor/plugin/element-path.js index 811975a6c1..65714f6563 100644 --- a/build/editor/plugin/element-path.js +++ b/build/editor/plugin/element-path.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/fake-objects-min.js b/build/editor/plugin/fake-objects-min.js index 4745580348..9532ea12bc 100644 --- a/build/editor/plugin/fake-objects-min.js +++ b/build/editor/plugin/fake-objects-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/fake-objects.js b/build/editor/plugin/fake-objects.js index 759c1ff37a..328c3ede97 100644 --- a/build/editor/plugin/fake-objects.js +++ b/build/editor/plugin/fake-objects.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-bridge-min.js b/build/editor/plugin/flash-bridge-min.js index 060c98cf57..fa7094b37a 100644 --- a/build/editor/plugin/flash-bridge-min.js +++ b/build/editor/plugin/flash-bridge-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-bridge.js b/build/editor/plugin/flash-bridge.js index ecf80a4f6c..a2aa37b73c 100644 --- a/build/editor/plugin/flash-bridge.js +++ b/build/editor/plugin/flash-bridge.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/base-class-min.js b/build/editor/plugin/flash-common/base-class-min.js index b52a14c0b7..139008dbd8 100644 --- a/build/editor/plugin/flash-common/base-class-min.js +++ b/build/editor/plugin/flash-common/base-class-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/base-class.js b/build/editor/plugin/flash-common/base-class.js index 5300bec258..69ce879555 100644 --- a/build/editor/plugin/flash-common/base-class.js +++ b/build/editor/plugin/flash-common/base-class.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/utils-min.js b/build/editor/plugin/flash-common/utils-min.js index 10d9190b94..85df34f337 100644 --- a/build/editor/plugin/flash-common/utils-min.js +++ b/build/editor/plugin/flash-common/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-common/utils.js b/build/editor/plugin/flash-common/utils.js index b3e6e28b1f..1ee79ce9f8 100644 --- a/build/editor/plugin/flash-common/utils.js +++ b/build/editor/plugin/flash-common/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash-min.js b/build/editor/plugin/flash-min.js index 36005b9b1f..9c75bc69f9 100644 --- a/build/editor/plugin/flash-min.js +++ b/build/editor/plugin/flash-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash.js b/build/editor/plugin/flash.js index 59ef573560..857f411f38 100644 --- a/build/editor/plugin/flash.js +++ b/build/editor/plugin/flash.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash/dialog-min.js b/build/editor/plugin/flash/dialog-min.js index 5792120ee6..97cc68f03a 100644 --- a/build/editor/plugin/flash/dialog-min.js +++ b/build/editor/plugin/flash/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/flash/dialog.js b/build/editor/plugin/flash/dialog.js index 719981fdb9..88078fecd8 100644 --- a/build/editor/plugin/flash/dialog.js +++ b/build/editor/plugin/flash/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/focus-fix-min.js b/build/editor/plugin/focus-fix-min.js index 84eb144b4e..2d2c91271b 100644 --- a/build/editor/plugin/focus-fix-min.js +++ b/build/editor/plugin/focus-fix-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/focus-fix.js b/build/editor/plugin/focus-fix.js index 1a7e639580..90260b0ab4 100644 --- a/build/editor/plugin/focus-fix.js +++ b/build/editor/plugin/focus-fix.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family-min.js b/build/editor/plugin/font-family-min.js index 9263241113..3cc67027d6 100644 --- a/build/editor/plugin/font-family-min.js +++ b/build/editor/plugin/font-family-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family.js b/build/editor/plugin/font-family.js index 60286f8e5f..f95a8068f7 100644 --- a/build/editor/plugin/font-family.js +++ b/build/editor/plugin/font-family.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family/cmd-min.js b/build/editor/plugin/font-family/cmd-min.js index 9eb4bc3c89..d98902018d 100644 --- a/build/editor/plugin/font-family/cmd-min.js +++ b/build/editor/plugin/font-family/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-family/cmd.js b/build/editor/plugin/font-family/cmd.js index cb63006d27..06da3f3bc9 100644 --- a/build/editor/plugin/font-family/cmd.js +++ b/build/editor/plugin/font-family/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size-min.js b/build/editor/plugin/font-size-min.js index 16e882cbfb..f22b618dfe 100644 --- a/build/editor/plugin/font-size-min.js +++ b/build/editor/plugin/font-size-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size.js b/build/editor/plugin/font-size.js index 138eedc697..ee76b7daed 100644 --- a/build/editor/plugin/font-size.js +++ b/build/editor/plugin/font-size.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:21 */ diff --git a/build/editor/plugin/font-size/cmd-min.js b/build/editor/plugin/font-size/cmd-min.js index d51b96768d..ad61a38be6 100644 --- a/build/editor/plugin/font-size/cmd-min.js +++ b/build/editor/plugin/font-size/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font-size/cmd.js b/build/editor/plugin/font-size/cmd.js index 8324b4e035..108410877e 100644 --- a/build/editor/plugin/font-size/cmd.js +++ b/build/editor/plugin/font-size/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/cmd-min.js b/build/editor/plugin/font/cmd-min.js index c4f86df288..2708024df4 100644 --- a/build/editor/plugin/font/cmd-min.js +++ b/build/editor/plugin/font/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/cmd.js b/build/editor/plugin/font/cmd.js index f5942a069f..ed3a293ad0 100644 --- a/build/editor/plugin/font/cmd.js +++ b/build/editor/plugin/font/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/ui-min.js b/build/editor/plugin/font/ui-min.js index 205564b26c..feb2ed4c96 100644 --- a/build/editor/plugin/font/ui-min.js +++ b/build/editor/plugin/font/ui-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/font/ui.js b/build/editor/plugin/font/ui.js index 9b00420031..4cd44fd6c1 100644 --- a/build/editor/plugin/font/ui.js +++ b/build/editor/plugin/font/ui.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color-min.js b/build/editor/plugin/fore-color-min.js index 0c9b909239..9d8ad91769 100644 --- a/build/editor/plugin/fore-color-min.js +++ b/build/editor/plugin/fore-color-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color.js b/build/editor/plugin/fore-color.js index 324d60c083..354666f1f0 100644 --- a/build/editor/plugin/fore-color.js +++ b/build/editor/plugin/fore-color.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color/cmd-min.js b/build/editor/plugin/fore-color/cmd-min.js index 855f1ae273..90e916a5bd 100644 --- a/build/editor/plugin/fore-color/cmd-min.js +++ b/build/editor/plugin/fore-color/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/fore-color/cmd.js b/build/editor/plugin/fore-color/cmd.js index 52f6bde08b..09a00161e4 100644 --- a/build/editor/plugin/fore-color/cmd.js +++ b/build/editor/plugin/fore-color/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading-min.js b/build/editor/plugin/heading-min.js index 4f5171d04d..d074eb73ab 100644 --- a/build/editor/plugin/heading-min.js +++ b/build/editor/plugin/heading-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading.js b/build/editor/plugin/heading.js index 437dbdf38e..f4e7d6fd1d 100644 --- a/build/editor/plugin/heading.js +++ b/build/editor/plugin/heading.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading/cmd-min.js b/build/editor/plugin/heading/cmd-min.js index c18b7114e9..c9e77463d4 100644 --- a/build/editor/plugin/heading/cmd-min.js +++ b/build/editor/plugin/heading/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/heading/cmd.js b/build/editor/plugin/heading/cmd.js index e66aff1d40..ed189dcb46 100644 --- a/build/editor/plugin/heading/cmd.js +++ b/build/editor/plugin/heading/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image-min.js b/build/editor/plugin/image-min.js index e2fd6c1ae3..6800c81f4c 100644 --- a/build/editor/plugin/image-min.js +++ b/build/editor/plugin/image-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image.js b/build/editor/plugin/image.js index 42027cedec..d9e5c9f6dc 100644 --- a/build/editor/plugin/image.js +++ b/build/editor/plugin/image.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image/dialog-min.js b/build/editor/plugin/image/dialog-min.js index aa256f6b50..529c9b28e7 100644 --- a/build/editor/plugin/image/dialog-min.js +++ b/build/editor/plugin/image/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/image/dialog.js b/build/editor/plugin/image/dialog.js index a441fa05f6..6508d7be8a 100644 --- a/build/editor/plugin/image/dialog.js +++ b/build/editor/plugin/image/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent-min.js b/build/editor/plugin/indent-min.js index e98c28ecbc..012b3b5876 100644 --- a/build/editor/plugin/indent-min.js +++ b/build/editor/plugin/indent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent.js b/build/editor/plugin/indent.js index 99d8d9aaf5..dabe348bcb 100644 --- a/build/editor/plugin/indent.js +++ b/build/editor/plugin/indent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent/cmd-min.js b/build/editor/plugin/indent/cmd-min.js index c406c833cc..c96ba7d4a3 100644 --- a/build/editor/plugin/indent/cmd-min.js +++ b/build/editor/plugin/indent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/indent/cmd.js b/build/editor/plugin/indent/cmd.js index 444e6761ad..7a2e382911 100644 --- a/build/editor/plugin/indent/cmd.js +++ b/build/editor/plugin/indent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic-min.js b/build/editor/plugin/italic-min.js index 05a3a00078..7ec9ff0b97 100644 --- a/build/editor/plugin/italic-min.js +++ b/build/editor/plugin/italic-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic.js b/build/editor/plugin/italic.js index 401296b290..345ba7f49b 100644 --- a/build/editor/plugin/italic.js +++ b/build/editor/plugin/italic.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:22 */ diff --git a/build/editor/plugin/italic/cmd-min.js b/build/editor/plugin/italic/cmd-min.js index c35d121d0d..f9cb954ce4 100644 --- a/build/editor/plugin/italic/cmd-min.js +++ b/build/editor/plugin/italic/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/italic/cmd.js b/build/editor/plugin/italic/cmd.js index ba531a177c..5a122acea2 100644 --- a/build/editor/plugin/italic/cmd.js +++ b/build/editor/plugin/italic/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center-min.js b/build/editor/plugin/justify-center-min.js index 802879d230..cf3d5318ca 100644 --- a/build/editor/plugin/justify-center-min.js +++ b/build/editor/plugin/justify-center-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center.js b/build/editor/plugin/justify-center.js index cd415773c6..594d2b4f28 100644 --- a/build/editor/plugin/justify-center.js +++ b/build/editor/plugin/justify-center.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center/cmd-min.js b/build/editor/plugin/justify-center/cmd-min.js index dd7e136133..ee2cbf8402 100644 --- a/build/editor/plugin/justify-center/cmd-min.js +++ b/build/editor/plugin/justify-center/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-center/cmd.js b/build/editor/plugin/justify-center/cmd.js index a043679c90..1b7813ba04 100644 --- a/build/editor/plugin/justify-center/cmd.js +++ b/build/editor/plugin/justify-center/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-cmd-min.js b/build/editor/plugin/justify-cmd-min.js index 000f7710c2..c83763fd68 100644 --- a/build/editor/plugin/justify-cmd-min.js +++ b/build/editor/plugin/justify-cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-cmd.js b/build/editor/plugin/justify-cmd.js index 3aeb6ab2e1..e939e720fa 100644 --- a/build/editor/plugin/justify-cmd.js +++ b/build/editor/plugin/justify-cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left-min.js b/build/editor/plugin/justify-left-min.js index 627e9dd6a8..280d4a00ea 100644 --- a/build/editor/plugin/justify-left-min.js +++ b/build/editor/plugin/justify-left-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left.js b/build/editor/plugin/justify-left.js index 30004f3987..4d287c08c4 100644 --- a/build/editor/plugin/justify-left.js +++ b/build/editor/plugin/justify-left.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left/cmd-min.js b/build/editor/plugin/justify-left/cmd-min.js index 0450156e6e..101d8338ca 100644 --- a/build/editor/plugin/justify-left/cmd-min.js +++ b/build/editor/plugin/justify-left/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-left/cmd.js b/build/editor/plugin/justify-left/cmd.js index 90d310a3bd..5a9774d8a1 100644 --- a/build/editor/plugin/justify-left/cmd.js +++ b/build/editor/plugin/justify-left/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right-min.js b/build/editor/plugin/justify-right-min.js index f3905ae0dd..3888791c8e 100644 --- a/build/editor/plugin/justify-right-min.js +++ b/build/editor/plugin/justify-right-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right.js b/build/editor/plugin/justify-right.js index 34d3fbce6b..9bfffdbf05 100644 --- a/build/editor/plugin/justify-right.js +++ b/build/editor/plugin/justify-right.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right/cmd-min.js b/build/editor/plugin/justify-right/cmd-min.js index 0a5f7bd5b7..7d1572a446 100644 --- a/build/editor/plugin/justify-right/cmd-min.js +++ b/build/editor/plugin/justify-right/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/justify-right/cmd.js b/build/editor/plugin/justify-right/cmd.js index c9a6fdcaa0..2cefdbbdac 100644 --- a/build/editor/plugin/justify-right/cmd.js +++ b/build/editor/plugin/justify-right/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link-min.js b/build/editor/plugin/link-min.js index 4aaeb05925..7939698581 100644 --- a/build/editor/plugin/link-min.js +++ b/build/editor/plugin/link-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link.js b/build/editor/plugin/link.js index 7eda8e2191..c75e757f3d 100644 --- a/build/editor/plugin/link.js +++ b/build/editor/plugin/link.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/dialog-min.js b/build/editor/plugin/link/dialog-min.js index aa990c671e..34ee7333d1 100644 --- a/build/editor/plugin/link/dialog-min.js +++ b/build/editor/plugin/link/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/dialog.js b/build/editor/plugin/link/dialog.js index 48d69d9b1d..779d11a3a0 100644 --- a/build/editor/plugin/link/dialog.js +++ b/build/editor/plugin/link/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/utils-min.js b/build/editor/plugin/link/utils-min.js index 20561ddc3c..3bb694d146 100644 --- a/build/editor/plugin/link/utils-min.js +++ b/build/editor/plugin/link/utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/link/utils.js b/build/editor/plugin/link/utils.js index e913e21d26..2d1cfe0a62 100644 --- a/build/editor/plugin/link/utils.js +++ b/build/editor/plugin/link/utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:23 */ diff --git a/build/editor/plugin/list-utils-min.js b/build/editor/plugin/list-utils-min.js index 0a6fd356dc..16ce2ff138 100644 --- a/build/editor/plugin/list-utils-min.js +++ b/build/editor/plugin/list-utils-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils.js b/build/editor/plugin/list-utils.js index 4a531d8855..6351994837 100644 --- a/build/editor/plugin/list-utils.js +++ b/build/editor/plugin/list-utils.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/btn-min.js b/build/editor/plugin/list-utils/btn-min.js index 175677d506..b163dfad3a 100644 --- a/build/editor/plugin/list-utils/btn-min.js +++ b/build/editor/plugin/list-utils/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/btn.js b/build/editor/plugin/list-utils/btn.js index 5a195b7cf6..bb1777d3b4 100644 --- a/build/editor/plugin/list-utils/btn.js +++ b/build/editor/plugin/list-utils/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/cmd-min.js b/build/editor/plugin/list-utils/cmd-min.js index 42f33688a2..a5ee13bc3d 100644 --- a/build/editor/plugin/list-utils/cmd-min.js +++ b/build/editor/plugin/list-utils/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/list-utils/cmd.js b/build/editor/plugin/list-utils/cmd.js index 309c77c7c3..8838e72852 100644 --- a/build/editor/plugin/list-utils/cmd.js +++ b/build/editor/plugin/list-utils/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/local-storage-min.js b/build/editor/plugin/local-storage-min.js index cdab09f8dc..9bbb834a68 100644 --- a/build/editor/plugin/local-storage-min.js +++ b/build/editor/plugin/local-storage-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/local-storage.js b/build/editor/plugin/local-storage.js index c0970f2bcb..e1ba53d9c6 100644 --- a/build/editor/plugin/local-storage.js +++ b/build/editor/plugin/local-storage.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize-min.js b/build/editor/plugin/maximize-min.js index 3d89d89b32..655bfbd527 100644 --- a/build/editor/plugin/maximize-min.js +++ b/build/editor/plugin/maximize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize.js b/build/editor/plugin/maximize.js index e654524d64..d98a24d551 100644 --- a/build/editor/plugin/maximize.js +++ b/build/editor/plugin/maximize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize/cmd-min.js b/build/editor/plugin/maximize/cmd-min.js index e7f10ccdd4..82802b8ec2 100644 --- a/build/editor/plugin/maximize/cmd-min.js +++ b/build/editor/plugin/maximize/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/maximize/cmd.js b/build/editor/plugin/maximize/cmd.js index 0392c4b7cb..c105164470 100644 --- a/build/editor/plugin/maximize/cmd.js +++ b/build/editor/plugin/maximize/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/menubutton-min.js b/build/editor/plugin/menubutton-min.js index 523023716e..77c3560ee8 100644 --- a/build/editor/plugin/menubutton-min.js +++ b/build/editor/plugin/menubutton-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/menubutton.js b/build/editor/plugin/menubutton.js index d1d0864174..7950e0f225 100644 --- a/build/editor/plugin/menubutton.js +++ b/build/editor/plugin/menubutton.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list-min.js b/build/editor/plugin/ordered-list-min.js index d5a1e27a69..5a219942a4 100644 --- a/build/editor/plugin/ordered-list-min.js +++ b/build/editor/plugin/ordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list.js b/build/editor/plugin/ordered-list.js index dc2f1bae9a..b1a2a5f874 100644 --- a/build/editor/plugin/ordered-list.js +++ b/build/editor/plugin/ordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list/cmd-min.js b/build/editor/plugin/ordered-list/cmd-min.js index da2752f473..21fe75bf49 100644 --- a/build/editor/plugin/ordered-list/cmd-min.js +++ b/build/editor/plugin/ordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/ordered-list/cmd.js b/build/editor/plugin/ordered-list/cmd.js index aa2de70af9..9253c22110 100644 --- a/build/editor/plugin/ordered-list/cmd.js +++ b/build/editor/plugin/ordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent-min.js b/build/editor/plugin/outdent-min.js index cf20b54547..d794663231 100644 --- a/build/editor/plugin/outdent-min.js +++ b/build/editor/plugin/outdent-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent.js b/build/editor/plugin/outdent.js index 6a106d764a..58fb36a02c 100644 --- a/build/editor/plugin/outdent.js +++ b/build/editor/plugin/outdent.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:24 */ diff --git a/build/editor/plugin/outdent/cmd-min.js b/build/editor/plugin/outdent/cmd-min.js index 717e7c261c..a3ecefc4e7 100644 --- a/build/editor/plugin/outdent/cmd-min.js +++ b/build/editor/plugin/outdent/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/outdent/cmd.js b/build/editor/plugin/outdent/cmd.js index 7538615719..feaf43628a 100644 --- a/build/editor/plugin/outdent/cmd.js +++ b/build/editor/plugin/outdent/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/overlay-min.js b/build/editor/plugin/overlay-min.js index eeccbd3061..ee3211af6d 100644 --- a/build/editor/plugin/overlay-min.js +++ b/build/editor/plugin/overlay-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/overlay.js b/build/editor/plugin/overlay.js index e2aceffcf5..332cd2a330 100644 --- a/build/editor/plugin/overlay.js +++ b/build/editor/plugin/overlay.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/page-break-min.js b/build/editor/plugin/page-break-min.js index 7c746ef12e..a54081d156 100644 --- a/build/editor/plugin/page-break-min.js +++ b/build/editor/plugin/page-break-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/page-break.js b/build/editor/plugin/page-break.js index 88df201563..a7090564a2 100644 --- a/build/editor/plugin/page-break.js +++ b/build/editor/plugin/page-break.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/preview-min.js b/build/editor/plugin/preview-min.js index f65cfa78e1..ab791ed2a5 100644 --- a/build/editor/plugin/preview-min.js +++ b/build/editor/plugin/preview-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/preview.js b/build/editor/plugin/preview.js index 89989b3181..8732b27c53 100644 --- a/build/editor/plugin/preview.js +++ b/build/editor/plugin/preview.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/progressbar-min.js b/build/editor/plugin/progressbar-min.js index 622eb5c465..6cc55246bb 100644 --- a/build/editor/plugin/progressbar-min.js +++ b/build/editor/plugin/progressbar-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/progressbar.js b/build/editor/plugin/progressbar.js index b98b7ea2c1..d50f62875e 100644 --- a/build/editor/plugin/progressbar.js +++ b/build/editor/plugin/progressbar.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format-min.js b/build/editor/plugin/remove-format-min.js index 89b3e59ff1..37695b9d45 100644 --- a/build/editor/plugin/remove-format-min.js +++ b/build/editor/plugin/remove-format-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format.js b/build/editor/plugin/remove-format.js index 64083f2e70..73909253e5 100644 --- a/build/editor/plugin/remove-format.js +++ b/build/editor/plugin/remove-format.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format/cmd-min.js b/build/editor/plugin/remove-format/cmd-min.js index ec23d00198..c13bb601e4 100644 --- a/build/editor/plugin/remove-format/cmd-min.js +++ b/build/editor/plugin/remove-format/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/remove-format/cmd.js b/build/editor/plugin/remove-format/cmd.js index e4ddb6af08..aa47adcad6 100644 --- a/build/editor/plugin/remove-format/cmd.js +++ b/build/editor/plugin/remove-format/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/resize-min.js b/build/editor/plugin/resize-min.js index 714704a21d..24bc0ff7d0 100644 --- a/build/editor/plugin/resize-min.js +++ b/build/editor/plugin/resize-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/resize.js b/build/editor/plugin/resize.js index b4fd974819..ea15ef6b74 100644 --- a/build/editor/plugin/resize.js +++ b/build/editor/plugin/resize.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/separator-min.js b/build/editor/plugin/separator-min.js index 3bc0d589e5..431b53aa34 100644 --- a/build/editor/plugin/separator-min.js +++ b/build/editor/plugin/separator-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/separator.js b/build/editor/plugin/separator.js index 1bd52e4838..0ab4118082 100644 --- a/build/editor/plugin/separator.js +++ b/build/editor/plugin/separator.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/smiley-min.js b/build/editor/plugin/smiley-min.js index 2c8020ba6b..dc7549201e 100644 --- a/build/editor/plugin/smiley-min.js +++ b/build/editor/plugin/smiley-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/smiley.js b/build/editor/plugin/smiley.js index 1369a81c74..ce1147c643 100644 --- a/build/editor/plugin/smiley.js +++ b/build/editor/plugin/smiley.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:25 */ diff --git a/build/editor/plugin/source-area-min.js b/build/editor/plugin/source-area-min.js index 4ff4d0b200..ba4446f618 100644 --- a/build/editor/plugin/source-area-min.js +++ b/build/editor/plugin/source-area-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/source-area.js b/build/editor/plugin/source-area.js index 08703ee2fa..9957712231 100644 --- a/build/editor/plugin/source-area.js +++ b/build/editor/plugin/source-area.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through-min.js b/build/editor/plugin/strike-through-min.js index 3e35de0a20..2d66b33f86 100644 --- a/build/editor/plugin/strike-through-min.js +++ b/build/editor/plugin/strike-through-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through.js b/build/editor/plugin/strike-through.js index 10d71830b6..d22de83b0f 100644 --- a/build/editor/plugin/strike-through.js +++ b/build/editor/plugin/strike-through.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through/cmd-min.js b/build/editor/plugin/strike-through/cmd-min.js index 1180ded7b0..d4f61a16a0 100644 --- a/build/editor/plugin/strike-through/cmd-min.js +++ b/build/editor/plugin/strike-through/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/strike-through/cmd.js b/build/editor/plugin/strike-through/cmd.js index c35b4ef432..ee86741ffa 100644 --- a/build/editor/plugin/strike-through/cmd.js +++ b/build/editor/plugin/strike-through/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table-min.js b/build/editor/plugin/table-min.js index 251bee6c12..705e49b266 100644 --- a/build/editor/plugin/table-min.js +++ b/build/editor/plugin/table-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table.js b/build/editor/plugin/table.js index 25f13bc029..a9a7fe89cf 100644 --- a/build/editor/plugin/table.js +++ b/build/editor/plugin/table.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table/dialog-min.js b/build/editor/plugin/table/dialog-min.js index e1d536189a..3d1152d0e4 100644 --- a/build/editor/plugin/table/dialog-min.js +++ b/build/editor/plugin/table/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/table/dialog.js b/build/editor/plugin/table/dialog.js index 83e954bd62..221624f008 100644 --- a/build/editor/plugin/table/dialog.js +++ b/build/editor/plugin/table/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline-min.js b/build/editor/plugin/underline-min.js index 13cdb6073e..333dd9878e 100644 --- a/build/editor/plugin/underline-min.js +++ b/build/editor/plugin/underline-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline.js b/build/editor/plugin/underline.js index 3e40ea6110..201717496f 100644 --- a/build/editor/plugin/underline.js +++ b/build/editor/plugin/underline.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline/cmd-min.js b/build/editor/plugin/underline/cmd-min.js index e2d1c40826..81000c6044 100644 --- a/build/editor/plugin/underline/cmd-min.js +++ b/build/editor/plugin/underline/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/underline/cmd.js b/build/editor/plugin/underline/cmd.js index 45df511713..a2f2d0e4cb 100644 --- a/build/editor/plugin/underline/cmd.js +++ b/build/editor/plugin/underline/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo-min.js b/build/editor/plugin/undo-min.js index dab999c86f..46a5ab1575 100644 --- a/build/editor/plugin/undo-min.js +++ b/build/editor/plugin/undo-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo.js b/build/editor/plugin/undo.js index 590049ba35..7f634dbe11 100644 --- a/build/editor/plugin/undo.js +++ b/build/editor/plugin/undo.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/btn-min.js b/build/editor/plugin/undo/btn-min.js index 134a1a0561..9f3f6c216a 100644 --- a/build/editor/plugin/undo/btn-min.js +++ b/build/editor/plugin/undo/btn-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/btn.js b/build/editor/plugin/undo/btn.js index 55929c1651..9615f81b8a 100644 --- a/build/editor/plugin/undo/btn.js +++ b/build/editor/plugin/undo/btn.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/cmd-min.js b/build/editor/plugin/undo/cmd-min.js index 5f90b37f24..d1b494e7e2 100644 --- a/build/editor/plugin/undo/cmd-min.js +++ b/build/editor/plugin/undo/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/undo/cmd.js b/build/editor/plugin/undo/cmd.js index ac5a87877c..0c95c679e4 100644 --- a/build/editor/plugin/undo/cmd.js +++ b/build/editor/plugin/undo/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list-min.js b/build/editor/plugin/unordered-list-min.js index eb822a10ef..3ec328d8a7 100644 --- a/build/editor/plugin/unordered-list-min.js +++ b/build/editor/plugin/unordered-list-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list.js b/build/editor/plugin/unordered-list.js index 04a0b5d41b..fc645b7fd0 100644 --- a/build/editor/plugin/unordered-list.js +++ b/build/editor/plugin/unordered-list.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:26 */ diff --git a/build/editor/plugin/unordered-list/cmd-min.js b/build/editor/plugin/unordered-list/cmd-min.js index 642f0adb0e..8e498d2d8d 100644 --- a/build/editor/plugin/unordered-list/cmd-min.js +++ b/build/editor/plugin/unordered-list/cmd-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/unordered-list/cmd.js b/build/editor/plugin/unordered-list/cmd.js index a7d787d60f..a3a94f6aa5 100644 --- a/build/editor/plugin/unordered-list/cmd.js +++ b/build/editor/plugin/unordered-list/cmd.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video-min.js b/build/editor/plugin/video-min.js index eb5b508b52..b43fe1399d 100644 --- a/build/editor/plugin/video-min.js +++ b/build/editor/plugin/video-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video.js b/build/editor/plugin/video.js index 7371dc75f1..41ce20b10c 100644 --- a/build/editor/plugin/video.js +++ b/build/editor/plugin/video.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video/dialog-min.js b/build/editor/plugin/video/dialog-min.js index b8f9778956..e201b91284 100644 --- a/build/editor/plugin/video/dialog-min.js +++ b/build/editor/plugin/video/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/video/dialog.js b/build/editor/plugin/video/dialog.js index 4702d74339..bd15b1fa2a 100644 --- a/build/editor/plugin/video/dialog.js +++ b/build/editor/plugin/video/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/word-filter-min.js b/build/editor/plugin/word-filter-min.js index 79b1587ab9..255135be63 100644 --- a/build/editor/plugin/word-filter-min.js +++ b/build/editor/plugin/word-filter-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/word-filter.js b/build/editor/plugin/word-filter.js index 69937eb262..c9d7c72528 100644 --- a/build/editor/plugin/word-filter.js +++ b/build/editor/plugin/word-filter.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music-min.js b/build/editor/plugin/xiami-music-min.js index 51beabf87d..c61fdeb009 100644 --- a/build/editor/plugin/xiami-music-min.js +++ b/build/editor/plugin/xiami-music-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music.js b/build/editor/plugin/xiami-music.js index c4246268e0..2746fac901 100644 --- a/build/editor/plugin/xiami-music.js +++ b/build/editor/plugin/xiami-music.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music/dialog-min.js b/build/editor/plugin/xiami-music/dialog-min.js index 59368da877..1ce2ad8f14 100644 --- a/build/editor/plugin/xiami-music/dialog-min.js +++ b/build/editor/plugin/xiami-music/dialog-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/plugin/xiami-music/dialog.js b/build/editor/plugin/xiami-music/dialog.js index 6dc5d8d800..aaa4b9c9fb 100644 --- a/build/editor/plugin/xiami-music/dialog.js +++ b/build/editor/plugin/xiami-music/dialog.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-min.css b/build/editor/theme/cool/editor-min.css index b8e2b41c71..be27cdb1c0 100644 --- a/build/editor/theme/cool/editor-min.css +++ b/build/editor/theme/cool/editor-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite-min.css b/build/editor/theme/cool/editor-pkg-sprite-min.css index 35ea4fbabd..aed50d2876 100644 --- a/build/editor/theme/cool/editor-pkg-sprite-min.css +++ b/build/editor/theme/cool/editor-pkg-sprite-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor-pkg-sprite.css b/build/editor/theme/cool/editor-pkg-sprite.css index ec5f065d79..19b7a0684f 100644 --- a/build/editor/theme/cool/editor-pkg-sprite.css +++ b/build/editor/theme/cool/editor-pkg-sprite.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/cool/editor.css b/build/editor/theme/cool/editor.css index 99197f7b38..debe41bab9 100644 --- a/build/editor/theme/cool/editor.css +++ b/build/editor/theme/cool/editor.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-common-min.css b/build/editor/theme/editor-common-min.css index 99a6797458..32f8dc0243 100644 --- a/build/editor/theme/editor-common-min.css +++ b/build/editor/theme/editor-common-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-common.css b/build/editor/theme/editor-common.css index ddf902dd77..67ec2ca52a 100644 --- a/build/editor/theme/editor-common.css +++ b/build/editor/theme/editor-common.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-iframe-min.css b/build/editor/theme/editor-iframe-min.css index 30dcb5af39..af372506cf 100644 --- a/build/editor/theme/editor-iframe-min.css +++ b/build/editor/theme/editor-iframe-min.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/editor/theme/editor-iframe.css b/build/editor/theme/editor-iframe.css index d68c41f918..741a68f943 100644 --- a/build/editor/theme/editor-iframe.css +++ b/build/editor/theme/editor-iframe.css @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event-min.js b/build/event-min.js index aa566e42c5..1a20edcdc7 100644 --- a/build/event-min.js +++ b/build/event-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event.js b/build/event.js index 6410d681a6..615bc7a615 100644 --- a/build/event.js +++ b/build/event.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/base-min.js b/build/event/base-min.js index 5ef6ba869a..69ad774d64 100644 --- a/build/event/base-min.js +++ b/build/event/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event/base.js b/build/event/base.js index 0902b77213..342a2bafbf 100644 --- a/build/event/base.js +++ b/build/event/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:27 */ diff --git a/build/event/custom-min.js b/build/event/custom-min.js index 8197c93347..d07fab241a 100644 --- a/build/event/custom-min.js +++ b/build/event/custom-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/custom.js b/build/event/custom.js index 3770f8d7d6..ddc3244454 100644 --- a/build/event/custom.js +++ b/build/event/custom.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/base-min.js b/build/event/dom/base-min.js index 5c5903b926..d2accbce85 100644 --- a/build/event/dom/base-min.js +++ b/build/event/dom/base-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/base.js b/build/event/dom/base.js index 46debb7a8d..cebe742de2 100644 --- a/build/event/dom/base.js +++ b/build/event/dom/base.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/focusin-min.js b/build/event/dom/focusin-min.js index 6500ac52d3..64bf998c1f 100644 --- a/build/event/dom/focusin-min.js +++ b/build/event/dom/focusin-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/focusin.js b/build/event/dom/focusin.js index c9ddce49c4..42e08fe277 100644 --- a/build/event/dom/focusin.js +++ b/build/event/dom/focusin.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/hashchange-min.js b/build/event/dom/hashchange-min.js index 7c79708faa..111d190ae4 100644 --- a/build/event/dom/hashchange-min.js +++ b/build/event/dom/hashchange-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/hashchange.js b/build/event/dom/hashchange.js index 1841cd2a6b..eaf2c71a6e 100644 --- a/build/event/dom/hashchange.js +++ b/build/event/dom/hashchange.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/ie-min.js b/build/event/dom/ie-min.js index f51a9ef241..3d4fafff21 100644 --- a/build/event/dom/ie-min.js +++ b/build/event/dom/ie-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/ie.js b/build/event/dom/ie.js index cb0d04b5f9..3d9824dc50 100644 --- a/build/event/dom/ie.js +++ b/build/event/dom/ie.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/shake-min.js b/build/event/dom/shake-min.js index ae21cff1d3..8a4b8b4a21 100644 --- a/build/event/dom/shake-min.js +++ b/build/event/dom/shake-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/shake.js b/build/event/dom/shake.js index 74d536b59a..b585de1767 100644 --- a/build/event/dom/shake.js +++ b/build/event/dom/shake.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/touch-min.js b/build/event/dom/touch-min.js index a16419cf4b..0ee69e640d 100644 --- a/build/event/dom/touch-min.js +++ b/build/event/dom/touch-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/event/dom/touch.js b/build/event/dom/touch.js index 180bc9027b..d72555d333 100644 --- a/build/event/dom/touch.js +++ b/build/event/dom/touch.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/filter-menu-min.js b/build/filter-menu-min.js index 87a82d299e..794bc4d1cf 100644 --- a/build/filter-menu-min.js +++ b/build/filter-menu-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/filter-menu.js b/build/filter-menu.js index 45d33c04a7..5909952759 100644 --- a/build/filter-menu.js +++ b/build/filter-menu.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/html-parser-min.js b/build/html-parser-min.js index 8b1a49adab..ff4b89c134 100644 --- a/build/html-parser-min.js +++ b/build/html-parser-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/html-parser.js b/build/html-parser.js index f8f77d96aa..34e745d312 100644 --- a/build/html-parser.js +++ b/build/html-parser.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:28 */ diff --git a/build/import-style-min.js b/build/import-style-min.js index 2c8f208ad9..7a541de371 100644 --- a/build/import-style-min.js +++ b/build/import-style-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:29 */ diff --git a/build/import-style.js b/build/import-style.js index f570b7c97f..064d0fa67c 100644 --- a/build/import-style.js +++ b/build/import-style.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:29 */ diff --git a/build/io-min.js b/build/io-min.js index c9e93e348e..1aa8e4fa61 100644 --- a/build/io-min.js +++ b/build/io-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/io.js b/build/io.js index 0cd2216fec..e1ab1a39ce 100644 --- a/build/io.js +++ b/build/io.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Jul 23 14:31 */ diff --git a/build/json-min.js b/build/json-min.js index 911dae2fed..d37a1076ba 100644 --- a/build/json-min.js +++ b/build/json-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 12:24 */ diff --git a/build/json.js b/build/json.js index e55ad83c51..4432e72d69 100644 --- a/build/json.js +++ b/build/json.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 12:24 */ diff --git a/build/kison-min.js b/build/kison-min.js index 0c80d0b7be..dc164ee7cb 100644 --- a/build/kison-min.js +++ b/build/kison-min.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:29 */ diff --git a/build/kison.js b/build/kison.js index c181ab06ce..ccf818cbb8 100644 --- a/build/kison.js +++ b/build/kison.js @@ -1,5 +1,5 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: May 22 12:29 */ diff --git a/build/kissy-nodejs-min.js b/build/kissy-nodejs-min.js index d014201f67..baecaf71cc 100644 --- a/build/kissy-nodejs-min.js +++ b/build/kissy-nodejs-min.js @@ -1,9 +1,9 @@ /* -Copyright 2014, KISSY v1.46 +Copyright 2014, KISSY v1.47 MIT Licensed build time: Aug 18 16:36 */ -var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818163546",Env:{host:this},Config:{debug:"",fns:{}},version:"1.46",config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, +var KISSY=function(a){function f(a){var g={},f;for(f in h)(function(b,d){b[d]=function(b){return i.log(b,d,a)}})(g,f);return g}var i,k=0,h={debug:10,info:20,warn:30,error:40};i={__BUILD_TIME:"20140818163546",Env:{host:this},Config:{debug:"",fns:{}},version:'1.47',config:function(c,g){var f,b,d=this,j,e=i.Config,o=e.fns;i.isObject(c)?i.each(c,function(a,b){(j=o[b])?j.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, error:function(){},guid:function(a){return(a||"")+k++},Logger:{}};i.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return i}(); (function(a,f){function i(){}function k(d,l,b,e,j,g){if(!l||!d)return d;var q,p,s,x;l[c]=d;g.push(l);s=a.keys(l);x=s.length;for(q=0;q - - + + From 761528d64e2e6f5ad393a664f06f0269db5bbbc7 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Wed, 20 Aug 2014 14:25:26 +0800 Subject: [PATCH 67/80] fix ie11 pointer event. Fixes #574 --- build/component/control-min.js | 4 +- build/component/control.js | 5 +- .../control/coverage/src/control.js | 592 +++++++++--------- .../sub-modules/control/src/control.js | 4 +- 4 files changed, 311 insertions(+), 294 deletions(-) diff --git a/build/component/control-min.js b/build/component/control-min.js index aead43e740..0d20eedd6c 100644 --- a/build/component/control-min.js +++ b/build/component/control-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 12:19 +build time: Aug 20 14:23 */ KISSY.add("component/control/process",["base","promise"],function(f,c){function h(d){d.fire("beforeSyncUI");d.syncUI();d.__callPluginsMethod("pluginSyncUI");d.fire("afterSyncUI")}var k=c("base"),m=c("promise").Defer,g=k.prototype.__getHook,e=f.noop,i=k.extend({bindInternal:e,syncInternal:e,initializer:function(){this._renderedDefer=new m},renderUI:e,syncUI:e,bindUI:e,onRendered:function(d){return this._renderedDefer.promise.then(d)},create:function(){this.get("created")||(this.fire("beforeCreateDom"), this.createInternal(),this.__callPluginsMethod("pluginCreateDom"),this.fire("afterCreateDom"),this.setInternal("created",!0));return this},createInternal:function(){this.createDom()},render:function(){this.get("rendered")||(this.create(),this.fire("beforeRenderUI"),this.renderUI(),this.__callPluginsMethod("pluginRenderUI"),this.fire("afterRenderUI"),this.fire("beforeBindUI"),i.superclass.bindInternal.call(this),this.bindUI(),this.__callPluginsMethod("pluginBindUI"),this.fire("afterBindUI"),i.superclass.syncInternal.call(this), @@ -25,7 +25,7 @@ this.view=b=new a({control:this}));b.create();a=b.getKeyEventTarget();this.get(" this.handleContextMenu,this);a.on(d.start,this.handleMouseDown,this).on(d.end,this.handleMouseUp,this).on(d.tap,this.handleClick,this);if(d.cancel)a.on(d.cancel,this.handleMouseUp,this);if(9>i)a.on("dblclick",this.handleDblClick,this)}},sync:function(){this.fire("beforeSyncUI");this.syncUI();this.view.sync();this.__callPluginsMethod("pluginSyncUI");this.fire("afterSyncUI")},createComponent:function(a,b){return g.createComponent(a,b||this)},_onSetFocused:function(a){var b=this.view.getKeyEventTarget()[0]; a?b.focus():b.ownerDocument.activeElement===b&&b.ownerDocument.body.focus()},_onSetX:function(a){this.$el.offset({left:a})},_onSetY:function(a){this.$el.offset({top:a})},_onSetVisible:function(a){this.fire(a?"show":"hide")},show:function(){this.render();this.set("visible",!0);return this},hide:function(){this.set("visible",!1);return this},focus:function(){this.get("focusable")&&this.set("focused",!0)},blur:function(){this.get("focusable")&&this.set("focused",!1)},move:function(a,b){this.set({x:a, y:b})},handleDblClick:function(a){this.get("disabled")||this.handleDblClickInternal(a)},handleDblClickInternal:function(a){this.handleClickInternal(a)},handleMouseEnter:function(a){this.get("disabled")||this.handleMouseEnterInternal(a)},handleMouseEnterInternal:function(a){this.set("highlighted",!!a)},handleMouseLeave:function(a){this.get("disabled")||this.handleMouseLeaveInternal(a)},handleMouseLeaveInternal:function(a){this.set("active",!1);this.set("highlighted",!a)},handleMouseDown:function(a){this.get("disabled")|| -this.handleMouseDownInternal(a)},handleMouseDownInternal:function(a){var b;if(1===a.which||n)this.get("activeable")&&this.set("active",!0),this.get("focusable")&&this.focus(),!this.get("allowTextSelection")&&-1!==a.originalEvent.type.toLowerCase().indexOf("mouse")&&(b=(b=a.target.nodeName)&&b.toLowerCase(),"input"!==b&&"textarea"!==b&&"button"!==b&&a.preventDefault())},handleMouseUp:function(a){this.get("disabled")||this.handleMouseUpInternal(a)},handleMouseUpInternal:function(a){this.get("active")&& +this.handleMouseDownInternal(a)},handleMouseDownInternal:function(a){var b;if(1===a.which||n)if(this.get("activeable")&&this.set("active",!0),this.get("focusable")&&this.focus(),b=a.originalEvent.type.toLowerCase(),!this.get("allowTextSelection")&&(-1!==b.indexOf("mouse")||-1!==b.indexOf("pointer")))b=(b=a.target.nodeName)&&b.toLowerCase(),"input"!==b&&"textarea"!==b&&"button"!==b&&a.preventDefault()},handleMouseUp:function(a){this.get("disabled")||this.handleMouseUpInternal(a)},handleMouseUpInternal:function(a){this.get("active")&& (1===a.which||n)&&this.set("active",!1)},handleContextMenu:function(a){this.get("disabled")||this.handleContextMenuInternal(a)},handleContextMenuInternal:function(){},handleFocus:function(){this.get("disabled")||this.handleFocusInternal()},handleFocusInternal:function(){this.focus();this.fire("focus")},handleBlur:function(){this.get("disabled")||this.handleBlurInternal()},handleBlurInternal:function(){this.blur();this.fire("blur")},handleKeydown:function(a){if(!this.get("disabled")&&this.handleKeyDownInternal(a))return a.halt(), !0},handleKeyDownInternal:function(a){if(a.keyCode===k.KeyCode.ENTER)return this.handleClickInternal(a)},handleClick:function(a){this.get("disabled")||this.handleClickInternal(a)},handleClickInternal:function(){this.get("focusable")&&this.focus()},destructor:function(){g.removeComponent(this.get("id"));this.view?this.view.destroy():this.get("srcNode")&&this.get("srcNode").remove()}},{name:"control",ATTRS:{id:{view:1,valueFn:function(){return f.guid("ks-component")}},content:{view:1,value:""},width:{view:1}, height:{view:1},elCls:{view:1,value:[],setter:function(a){"string"===typeof a&&(a=a.split(/\s+/));return a||[]}},elStyle:{view:1,value:{}},elAttrs:{view:1,value:{}},elBefore:{},el:{setter:function(a){this.$el=a;this.el=a[0]}},x:{},y:{},xy:{setter:function(a){var b=f.makeArray(a);b.length&&(void 0!==b[0]&&this.set("x",b[0]),void 0!==b[1]&&this.set("y",b[1]));return a},getter:function(){return[this.get("x"),this.get("y")]}},zIndex:{view:1},render:{},visible:{sync:0,value:!0,view:1},srcNode:{setter:function(a){return k.all(a)}}, diff --git a/build/component/control.js b/build/component/control.js index eab67f0714..70d83e3213 100644 --- a/build/component/control.js +++ b/build/component/control.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 12:19 +build time: Aug 20 14:23 */ /* Combined processedModules by KISSY Module Compiler: @@ -558,7 +558,8 @@ KISSY.add("component/control", ["node", "./control/process", "component/manager" if(self.get("focusable")) { self.focus() } - if(!self.get("allowTextSelection") && ev.originalEvent.type.toLowerCase().indexOf("mouse") !== -1) { + var type = ev.originalEvent.type.toLowerCase(); + if(!self.get("allowTextSelection") && (type.indexOf("mouse") !== -1 || type.indexOf("pointer") !== -1)) { n = ev.target.nodeName; n = n && n.toLowerCase(); if(n !== "input" && n !== "textarea" && n !== "button") { diff --git a/src/component/sub-modules/control/coverage/src/control.js b/src/component/sub-modules/control/coverage/src/control.js index ca8c8c581b..639c691c4f 100644 --- a/src/component/sub-modules/control/coverage/src/control.js +++ b/src/component/sub-modules/control/coverage/src/control.js @@ -304,82 +304,83 @@ if (! _$jscoverage['/control.js']) { _$jscoverage['/control.js'].lineData[262] = 0; _$jscoverage['/control.js'].lineData[263] = 0; _$jscoverage['/control.js'].lineData[265] = 0; - _$jscoverage['/control.js'].lineData[268] = 0; - _$jscoverage['/control.js'].lineData[269] = 0; + _$jscoverage['/control.js'].lineData[266] = 0; + _$jscoverage['/control.js'].lineData[270] = 0; _$jscoverage['/control.js'].lineData[271] = 0; - _$jscoverage['/control.js'].lineData[272] = 0; - _$jscoverage['/control.js'].lineData[279] = 0; - _$jscoverage['/control.js'].lineData[280] = 0; - _$jscoverage['/control.js'].lineData[292] = 0; + _$jscoverage['/control.js'].lineData[273] = 0; + _$jscoverage['/control.js'].lineData[274] = 0; + _$jscoverage['/control.js'].lineData[281] = 0; + _$jscoverage['/control.js'].lineData[282] = 0; _$jscoverage['/control.js'].lineData[294] = 0; - _$jscoverage['/control.js'].lineData[295] = 0; - _$jscoverage['/control.js'].lineData[300] = 0; - _$jscoverage['/control.js'].lineData[301] = 0; - _$jscoverage['/control.js'].lineData[313] = 0; - _$jscoverage['/control.js'].lineData[314] = 0; - _$jscoverage['/control.js'].lineData[323] = 0; - _$jscoverage['/control.js'].lineData[324] = 0; - _$jscoverage['/control.js'].lineData[328] = 0; - _$jscoverage['/control.js'].lineData[329] = 0; - _$jscoverage['/control.js'].lineData[338] = 0; - _$jscoverage['/control.js'].lineData[339] = 0; - _$jscoverage['/control.js'].lineData[343] = 0; - _$jscoverage['/control.js'].lineData[344] = 0; + _$jscoverage['/control.js'].lineData[296] = 0; + _$jscoverage['/control.js'].lineData[297] = 0; + _$jscoverage['/control.js'].lineData[302] = 0; + _$jscoverage['/control.js'].lineData[303] = 0; + _$jscoverage['/control.js'].lineData[315] = 0; + _$jscoverage['/control.js'].lineData[316] = 0; + _$jscoverage['/control.js'].lineData[325] = 0; + _$jscoverage['/control.js'].lineData[326] = 0; + _$jscoverage['/control.js'].lineData[330] = 0; + _$jscoverage['/control.js'].lineData[331] = 0; + _$jscoverage['/control.js'].lineData[340] = 0; + _$jscoverage['/control.js'].lineData[341] = 0; _$jscoverage['/control.js'].lineData[345] = 0; _$jscoverage['/control.js'].lineData[346] = 0; + _$jscoverage['/control.js'].lineData[347] = 0; _$jscoverage['/control.js'].lineData[348] = 0; - _$jscoverage['/control.js'].lineData[357] = 0; - _$jscoverage['/control.js'].lineData[358] = 0; + _$jscoverage['/control.js'].lineData[350] = 0; + _$jscoverage['/control.js'].lineData[359] = 0; _$jscoverage['/control.js'].lineData[360] = 0; - _$jscoverage['/control.js'].lineData[364] = 0; - _$jscoverage['/control.js'].lineData[365] = 0; - _$jscoverage['/control.js'].lineData[375] = 0; - _$jscoverage['/control.js'].lineData[376] = 0; + _$jscoverage['/control.js'].lineData[362] = 0; + _$jscoverage['/control.js'].lineData[366] = 0; + _$jscoverage['/control.js'].lineData[367] = 0; _$jscoverage['/control.js'].lineData[377] = 0; - _$jscoverage['/control.js'].lineData[385] = 0; + _$jscoverage['/control.js'].lineData[378] = 0; + _$jscoverage['/control.js'].lineData[379] = 0; _$jscoverage['/control.js'].lineData[387] = 0; - _$jscoverage['/control.js'].lineData[388] = 0; _$jscoverage['/control.js'].lineData[389] = 0; _$jscoverage['/control.js'].lineData[390] = 0; _$jscoverage['/control.js'].lineData[391] = 0; - _$jscoverage['/control.js'].lineData[402] = 0; - _$jscoverage['/control.js'].lineData[466] = 0; - _$jscoverage['/control.js'].lineData[467] = 0; + _$jscoverage['/control.js'].lineData[392] = 0; + _$jscoverage['/control.js'].lineData[393] = 0; + _$jscoverage['/control.js'].lineData[404] = 0; + _$jscoverage['/control.js'].lineData[468] = 0; _$jscoverage['/control.js'].lineData[469] = 0; - _$jscoverage['/control.js'].lineData[519] = 0; - _$jscoverage['/control.js'].lineData[520] = 0; - _$jscoverage['/control.js'].lineData[565] = 0; + _$jscoverage['/control.js'].lineData[471] = 0; + _$jscoverage['/control.js'].lineData[521] = 0; + _$jscoverage['/control.js'].lineData[522] = 0; _$jscoverage['/control.js'].lineData[567] = 0; - _$jscoverage['/control.js'].lineData[568] = 0; _$jscoverage['/control.js'].lineData[569] = 0; + _$jscoverage['/control.js'].lineData[570] = 0; _$jscoverage['/control.js'].lineData[571] = 0; - _$jscoverage['/control.js'].lineData[572] = 0; - _$jscoverage['/control.js'].lineData[575] = 0; - _$jscoverage['/control.js'].lineData[578] = 0; - _$jscoverage['/control.js'].lineData[645] = 0; - _$jscoverage['/control.js'].lineData[794] = 0; - _$jscoverage['/control.js'].lineData[795] = 0; + _$jscoverage['/control.js'].lineData[573] = 0; + _$jscoverage['/control.js'].lineData[574] = 0; + _$jscoverage['/control.js'].lineData[577] = 0; + _$jscoverage['/control.js'].lineData[580] = 0; + _$jscoverage['/control.js'].lineData[647] = 0; + _$jscoverage['/control.js'].lineData[796] = 0; _$jscoverage['/control.js'].lineData[797] = 0; - _$jscoverage['/control.js'].lineData[798] = 0; - _$jscoverage['/control.js'].lineData[834] = 0; - _$jscoverage['/control.js'].lineData[840] = 0; - _$jscoverage['/control.js'].lineData[841] = 0; + _$jscoverage['/control.js'].lineData[799] = 0; + _$jscoverage['/control.js'].lineData[800] = 0; + _$jscoverage['/control.js'].lineData[836] = 0; + _$jscoverage['/control.js'].lineData[842] = 0; _$jscoverage['/control.js'].lineData[843] = 0; - _$jscoverage['/control.js'].lineData[844] = 0; _$jscoverage['/control.js'].lineData[845] = 0; + _$jscoverage['/control.js'].lineData[846] = 0; _$jscoverage['/control.js'].lineData[847] = 0; - _$jscoverage['/control.js'].lineData[850] = 0; - _$jscoverage['/control.js'].lineData[871] = 0; + _$jscoverage['/control.js'].lineData[849] = 0; + _$jscoverage['/control.js'].lineData[852] = 0; _$jscoverage['/control.js'].lineData[873] = 0; - _$jscoverage['/control.js'].lineData[880] = 0; - _$jscoverage['/control.js'].lineData[881] = 0; - _$jscoverage['/control.js'].lineData[884] = 0; + _$jscoverage['/control.js'].lineData[875] = 0; + _$jscoverage['/control.js'].lineData[882] = 0; + _$jscoverage['/control.js'].lineData[883] = 0; _$jscoverage['/control.js'].lineData[886] = 0; - _$jscoverage['/control.js'].lineData[887] = 0; - _$jscoverage['/control.js'].lineData[890] = 0; - _$jscoverage['/control.js'].lineData[891] = 0; + _$jscoverage['/control.js'].lineData[888] = 0; + _$jscoverage['/control.js'].lineData[889] = 0; + _$jscoverage['/control.js'].lineData[892] = 0; _$jscoverage['/control.js'].lineData[893] = 0; - _$jscoverage['/control.js'].lineData[896] = 0; + _$jscoverage['/control.js'].lineData[895] = 0; + _$jscoverage['/control.js'].lineData[898] = 0; } if (! _$jscoverage['/control.js'].functionData) { _$jscoverage['/control.js'].functionData = []; @@ -470,179 +471,190 @@ if (! _$jscoverage['/control.js'].branchData) { _$jscoverage['/control.js'].branchData['259'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['262'] = []; _$jscoverage['/control.js'].branchData['262'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['265'] = []; - _$jscoverage['/control.js'].branchData['265'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['265'][2] = new BranchData(); - _$jscoverage['/control.js'].branchData['269'] = []; - _$jscoverage['/control.js'].branchData['269'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['266'] = []; + _$jscoverage['/control.js'].branchData['266'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['267'] = []; + _$jscoverage['/control.js'].branchData['267'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['267'][2] = new BranchData(); + _$jscoverage['/control.js'].branchData['267'][3] = new BranchData(); _$jscoverage['/control.js'].branchData['271'] = []; _$jscoverage['/control.js'].branchData['271'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['271'][2] = new BranchData(); - _$jscoverage['/control.js'].branchData['271'][3] = new BranchData(); - _$jscoverage['/control.js'].branchData['271'][4] = new BranchData(); - _$jscoverage['/control.js'].branchData['271'][5] = new BranchData(); - _$jscoverage['/control.js'].branchData['279'] = []; - _$jscoverage['/control.js'].branchData['279'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['294'] = []; - _$jscoverage['/control.js'].branchData['294'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['294'][2] = new BranchData(); - _$jscoverage['/control.js'].branchData['294'][3] = new BranchData(); - _$jscoverage['/control.js'].branchData['300'] = []; - _$jscoverage['/control.js'].branchData['300'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['313'] = []; - _$jscoverage['/control.js'].branchData['313'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['328'] = []; - _$jscoverage['/control.js'].branchData['328'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['344'] = []; - _$jscoverage['/control.js'].branchData['344'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['357'] = []; - _$jscoverage['/control.js'].branchData['357'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['364'] = []; - _$jscoverage['/control.js'].branchData['364'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['376'] = []; - _$jscoverage['/control.js'].branchData['376'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['388'] = []; - _$jscoverage['/control.js'].branchData['388'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['273'] = []; + _$jscoverage['/control.js'].branchData['273'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['273'][2] = new BranchData(); + _$jscoverage['/control.js'].branchData['273'][3] = new BranchData(); + _$jscoverage['/control.js'].branchData['273'][4] = new BranchData(); + _$jscoverage['/control.js'].branchData['273'][5] = new BranchData(); + _$jscoverage['/control.js'].branchData['281'] = []; + _$jscoverage['/control.js'].branchData['281'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['296'] = []; + _$jscoverage['/control.js'].branchData['296'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['296'][2] = new BranchData(); + _$jscoverage['/control.js'].branchData['296'][3] = new BranchData(); + _$jscoverage['/control.js'].branchData['302'] = []; + _$jscoverage['/control.js'].branchData['302'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['315'] = []; + _$jscoverage['/control.js'].branchData['315'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['330'] = []; + _$jscoverage['/control.js'].branchData['330'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['346'] = []; + _$jscoverage['/control.js'].branchData['346'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['359'] = []; + _$jscoverage['/control.js'].branchData['359'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['366'] = []; + _$jscoverage['/control.js'].branchData['366'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['378'] = []; + _$jscoverage['/control.js'].branchData['378'][1] = new BranchData(); _$jscoverage['/control.js'].branchData['390'] = []; _$jscoverage['/control.js'].branchData['390'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['466'] = []; - _$jscoverage['/control.js'].branchData['466'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['469'] = []; - _$jscoverage['/control.js'].branchData['469'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['567'] = []; - _$jscoverage['/control.js'].branchData['567'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['568'] = []; - _$jscoverage['/control.js'].branchData['568'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['571'] = []; - _$jscoverage['/control.js'].branchData['571'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['766'] = []; - _$jscoverage['/control.js'].branchData['766'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['797'] = []; - _$jscoverage['/control.js'].branchData['797'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['846'] = []; - _$jscoverage['/control.js'].branchData['846'][1] = new BranchData(); - _$jscoverage['/control.js'].branchData['886'] = []; - _$jscoverage['/control.js'].branchData['886'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['392'] = []; + _$jscoverage['/control.js'].branchData['392'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['468'] = []; + _$jscoverage['/control.js'].branchData['468'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['471'] = []; + _$jscoverage['/control.js'].branchData['471'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['569'] = []; + _$jscoverage['/control.js'].branchData['569'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['570'] = []; + _$jscoverage['/control.js'].branchData['570'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['573'] = []; + _$jscoverage['/control.js'].branchData['573'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['768'] = []; + _$jscoverage['/control.js'].branchData['768'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['799'] = []; + _$jscoverage['/control.js'].branchData['799'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['848'] = []; + _$jscoverage['/control.js'].branchData['848'][1] = new BranchData(); + _$jscoverage['/control.js'].branchData['888'] = []; + _$jscoverage['/control.js'].branchData['888'][1] = new BranchData(); } -_$jscoverage['/control.js'].branchData['886'][1].init(384, 6, 'xclass'); -function visit104_886_1(result) { - _$jscoverage['/control.js'].branchData['886'][1].ranCondition(result); +_$jscoverage['/control.js'].branchData['888'][1].init(384, 6, 'xclass'); +function visit106_888_1(result) { + _$jscoverage['/control.js'].branchData['888'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['846'][1].init(110, 24, '!attrs || !attrs.xrender'); -function visit103_846_1(result) { - _$jscoverage['/control.js'].branchData['846'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['848'][1].init(110, 24, '!attrs || !attrs.xrender'); +function visit105_848_1(result) { + _$jscoverage['/control.js'].branchData['848'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['797'][1].init(167, 1, 'p'); -function visit102_797_1(result) { - _$jscoverage['/control.js'].branchData['797'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['799'][1].init(167, 1, 'p'); +function visit104_799_1(result) { + _$jscoverage['/control.js'].branchData['799'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['766'][1].init(57, 40, 'S.config(\'component/prefixCls\') || \'ks-\''); -function visit101_766_1(result) { - _$jscoverage['/control.js'].branchData['766'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['768'][1].init(57, 40, 'S.config(\'component/prefixCls\') || \'ks-\''); +function visit103_768_1(result) { + _$jscoverage['/control.js'].branchData['768'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['571'][1].init(172, 19, 'xy[1] !== undefined'); -function visit100_571_1(result) { - _$jscoverage['/control.js'].branchData['571'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['573'][1].init(172, 19, 'xy[1] !== undefined'); +function visit102_573_1(result) { + _$jscoverage['/control.js'].branchData['573'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['568'][1].init(33, 19, 'xy[0] !== undefined'); -function visit99_568_1(result) { - _$jscoverage['/control.js'].branchData['568'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['570'][1].init(33, 19, 'xy[0] !== undefined'); +function visit101_570_1(result) { + _$jscoverage['/control.js'].branchData['570'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['567'][1].init(119, 9, 'xy.length'); -function visit98_567_1(result) { - _$jscoverage['/control.js'].branchData['567'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['569'][1].init(119, 9, 'xy.length'); +function visit100_569_1(result) { + _$jscoverage['/control.js'].branchData['569'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['469'][1].init(159, 7, 'v || []'); -function visit97_469_1(result) { - _$jscoverage['/control.js'].branchData['469'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['471'][1].init(159, 7, 'v || []'); +function visit99_471_1(result) { + _$jscoverage['/control.js'].branchData['471'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['466'][1].init(29, 21, 'typeof v === \'string\''); -function visit96_466_1(result) { - _$jscoverage['/control.js'].branchData['466'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['468'][1].init(29, 21, 'typeof v === \'string\''); +function visit98_468_1(result) { + _$jscoverage['/control.js'].branchData['468'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['390'][1].init(241, 19, 'self.get(\'srcNode\')'); -function visit95_390_1(result) { +}_$jscoverage['/control.js'].branchData['392'][1].init(241, 19, 'self.get(\'srcNode\')'); +function visit97_392_1(result) { + _$jscoverage['/control.js'].branchData['392'][1].ranCondition(result); + return result; +}_$jscoverage['/control.js'].branchData['390'][1].init(159, 9, 'self.view'); +function visit96_390_1(result) { _$jscoverage['/control.js'].branchData['390'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['388'][1].init(159, 9, 'self.view'); -function visit94_388_1(result) { - _$jscoverage['/control.js'].branchData['388'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['378'][1].init(99, 21, 'self.get(\'focusable\')'); +function visit95_378_1(result) { + _$jscoverage['/control.js'].branchData['378'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['376'][1].init(99, 21, 'self.get(\'focusable\')'); -function visit93_376_1(result) { - _$jscoverage['/control.js'].branchData['376'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['366'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit94_366_1(result) { + _$jscoverage['/control.js'].branchData['366'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['364'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit92_364_1(result) { - _$jscoverage['/control.js'].branchData['364'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['359'][1].init(21, 33, 'ev.keyCode === Node.KeyCode.ENTER'); +function visit93_359_1(result) { + _$jscoverage['/control.js'].branchData['359'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['357'][1].init(21, 33, 'ev.keyCode === Node.KeyCode.ENTER'); -function visit91_357_1(result) { - _$jscoverage['/control.js'].branchData['357'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['346'][1].init(54, 55, '!this.get(\'disabled\') && self.handleKeyDownInternal(ev)'); +function visit92_346_1(result) { + _$jscoverage['/control.js'].branchData['346'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['344'][1].init(54, 55, '!this.get(\'disabled\') && self.handleKeyDownInternal(ev)'); -function visit90_344_1(result) { - _$jscoverage['/control.js'].branchData['344'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['330'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit91_330_1(result) { + _$jscoverage['/control.js'].branchData['330'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['328'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit89_328_1(result) { - _$jscoverage['/control.js'].branchData['328'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['315'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit90_315_1(result) { + _$jscoverage['/control.js'].branchData['315'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['313'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit88_313_1(result) { - _$jscoverage['/control.js'].branchData['313'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['302'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit89_302_1(result) { + _$jscoverage['/control.js'].branchData['302'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['300'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit87_300_1(result) { - _$jscoverage['/control.js'].branchData['300'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['296'][3].init(99, 14, 'ev.which === 1'); +function visit88_296_3(result) { + _$jscoverage['/control.js'].branchData['296'][3].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['294'][3].init(99, 14, 'ev.which === 1'); -function visit86_294_3(result) { - _$jscoverage['/control.js'].branchData['294'][3].ranCondition(result); +}_$jscoverage['/control.js'].branchData['296'][2].init(99, 41, 'ev.which === 1 || isTouchGestureSupported'); +function visit87_296_2(result) { + _$jscoverage['/control.js'].branchData['296'][2].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['294'][2].init(99, 41, 'ev.which === 1 || isTouchGestureSupported'); -function visit85_294_2(result) { - _$jscoverage['/control.js'].branchData['294'][2].ranCondition(result); +}_$jscoverage['/control.js'].branchData['296'][1].init(76, 65, 'self.get(\'active\') && (ev.which === 1 || isTouchGestureSupported)'); +function visit86_296_1(result) { + _$jscoverage['/control.js'].branchData['296'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['294'][1].init(76, 65, 'self.get(\'active\') && (ev.which === 1 || isTouchGestureSupported)'); -function visit84_294_1(result) { - _$jscoverage['/control.js'].branchData['294'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['281'][1].init(21, 21, '!this.get(\'disabled\')'); +function visit85_281_1(result) { + _$jscoverage['/control.js'].branchData['281'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['279'][1].init(21, 21, '!this.get(\'disabled\')'); -function visit83_279_1(result) { - _$jscoverage['/control.js'].branchData['279'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['273'][5].init(354, 14, 'n !== \'button\''); +function visit84_273_5(result) { + _$jscoverage['/control.js'].branchData['273'][5].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['271'][5].init(354, 14, 'n !== \'button\''); -function visit82_271_5(result) { - _$jscoverage['/control.js'].branchData['271'][5].ranCondition(result); +}_$jscoverage['/control.js'].branchData['273'][4].init(334, 16, 'n !== \'textarea\''); +function visit83_273_4(result) { + _$jscoverage['/control.js'].branchData['273'][4].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['271'][4].init(334, 16, 'n !== \'textarea\''); -function visit81_271_4(result) { - _$jscoverage['/control.js'].branchData['271'][4].ranCondition(result); +}_$jscoverage['/control.js'].branchData['273'][3].init(334, 34, 'n !== \'textarea\' && n !== \'button\''); +function visit82_273_3(result) { + _$jscoverage['/control.js'].branchData['273'][3].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['271'][3].init(334, 34, 'n !== \'textarea\' && n !== \'button\''); -function visit80_271_3(result) { - _$jscoverage['/control.js'].branchData['271'][3].ranCondition(result); +}_$jscoverage['/control.js'].branchData['273'][2].init(317, 13, 'n !== \'input\''); +function visit81_273_2(result) { + _$jscoverage['/control.js'].branchData['273'][2].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['271'][2].init(317, 13, 'n !== \'input\''); -function visit79_271_2(result) { - _$jscoverage['/control.js'].branchData['271'][2].ranCondition(result); +}_$jscoverage['/control.js'].branchData['273'][1].init(317, 51, 'n !== \'input\' && n !== \'textarea\' && n !== \'button\''); +function visit80_273_1(result) { + _$jscoverage['/control.js'].branchData['273'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['271'][1].init(317, 51, 'n !== \'input\' && n !== \'textarea\' && n !== \'button\''); -function visit78_271_1(result) { +}_$jscoverage['/control.js'].branchData['271'][1].init(188, 20, 'n && n.toLowerCase()'); +function visit79_271_1(result) { _$jscoverage['/control.js'].branchData['271'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['269'][1].init(188, 20, 'n && n.toLowerCase()'); -function visit77_269_1(result) { - _$jscoverage['/control.js'].branchData['269'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['267'][3].init(91, 30, 'type.indexOf(\'pointer\') !== -1'); +function visit78_267_3(result) { + _$jscoverage['/control.js'].branchData['267'][3].ranCondition(result); + return result; +}_$jscoverage['/control.js'].branchData['267'][2].init(59, 28, 'type.indexOf(\'mouse\') !== -1'); +function visit77_267_2(result) { + _$jscoverage['/control.js'].branchData['267'][2].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['265'][2].init(291, 59, 'ev.originalEvent.type.toLowerCase().indexOf(\'mouse\') !== -1'); -function visit76_265_2(result) { - _$jscoverage['/control.js'].branchData['265'][2].ranCondition(result); +}_$jscoverage['/control.js'].branchData['267'][1].init(59, 62, 'type.indexOf(\'mouse\') !== -1 || type.indexOf(\'pointer\') !== -1'); +function visit76_267_1(result) { + _$jscoverage['/control.js'].branchData['267'][1].ranCondition(result); return result; -}_$jscoverage['/control.js'].branchData['265'][1].init(256, 94, '!self.get(\'allowTextSelection\') && ev.originalEvent.type.toLowerCase().indexOf(\'mouse\') !== -1'); -function visit75_265_1(result) { - _$jscoverage['/control.js'].branchData['265'][1].ranCondition(result); +}_$jscoverage['/control.js'].branchData['266'][1].init(324, 123, '!self.get(\'allowTextSelection\') && (type.indexOf(\'mouse\') !== -1 || type.indexOf(\'pointer\') !== -1)'); +function visit75_266_1(result) { + _$jscoverage['/control.js'].branchData['266'][1].ranCondition(result); return result; }_$jscoverage['/control.js'].branchData['262'][1].init(147, 21, 'self.get(\'focusable\')'); function visit74_262_1(result) { @@ -959,14 +971,16 @@ KISSY.add(function(S, require) { self.focus(); } _$jscoverage['/control.js'].lineData[265]++; - if (visit75_265_1(!self.get('allowTextSelection') && visit76_265_2(ev.originalEvent.type.toLowerCase().indexOf('mouse') !== -1))) { - _$jscoverage['/control.js'].lineData[268]++; + var type = ev.originalEvent.type.toLowerCase(); + _$jscoverage['/control.js'].lineData[266]++; + if (visit75_266_1(!self.get('allowTextSelection') && (visit76_267_1(visit77_267_2(type.indexOf('mouse') !== -1) || visit78_267_3(type.indexOf('pointer') !== -1))))) { + _$jscoverage['/control.js'].lineData[270]++; n = ev.target.nodeName; - _$jscoverage['/control.js'].lineData[269]++; - n = visit77_269_1(n && n.toLowerCase()); _$jscoverage['/control.js'].lineData[271]++; - if (visit78_271_1(visit79_271_2(n !== 'input') && visit80_271_3(visit81_271_4(n !== 'textarea') && visit82_271_5(n !== 'button')))) { - _$jscoverage['/control.js'].lineData[272]++; + n = visit79_271_1(n && n.toLowerCase()); + _$jscoverage['/control.js'].lineData[273]++; + if (visit80_273_1(visit81_273_2(n !== 'input') && visit82_273_3(visit83_273_4(n !== 'textarea') && visit84_273_5(n !== 'button')))) { + _$jscoverage['/control.js'].lineData[274]++; ev.preventDefault(); } } @@ -974,27 +988,27 @@ KISSY.add(function(S, require) { }, handleMouseUp: function(ev) { _$jscoverage['/control.js'].functionData[23]++; - _$jscoverage['/control.js'].lineData[279]++; - if (visit83_279_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[280]++; + _$jscoverage['/control.js'].lineData[281]++; + if (visit85_281_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[282]++; this.handleMouseUpInternal(ev); } }, handleMouseUpInternal: function(ev) { _$jscoverage['/control.js'].functionData[24]++; - _$jscoverage['/control.js'].lineData[292]++; - var self = this; _$jscoverage['/control.js'].lineData[294]++; - if (visit84_294_1(self.get('active') && (visit85_294_2(visit86_294_3(ev.which === 1) || isTouchGestureSupported)))) { - _$jscoverage['/control.js'].lineData[295]++; + var self = this; + _$jscoverage['/control.js'].lineData[296]++; + if (visit86_296_1(self.get('active') && (visit87_296_2(visit88_296_3(ev.which === 1) || isTouchGestureSupported)))) { + _$jscoverage['/control.js'].lineData[297]++; self.set('active', false); } }, handleContextMenu: function(ev) { _$jscoverage['/control.js'].functionData[25]++; - _$jscoverage['/control.js'].lineData[300]++; - if (visit87_300_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[301]++; + _$jscoverage['/control.js'].lineData[302]++; + if (visit89_302_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[303]++; this.handleContextMenuInternal(ev); } }, @@ -1003,90 +1017,90 @@ KISSY.add(function(S, require) { }, handleFocus: function() { _$jscoverage['/control.js'].functionData[27]++; - _$jscoverage['/control.js'].lineData[313]++; - if (visit88_313_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[314]++; + _$jscoverage['/control.js'].lineData[315]++; + if (visit90_315_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[316]++; this.handleFocusInternal(); } }, handleFocusInternal: function() { _$jscoverage['/control.js'].functionData[28]++; - _$jscoverage['/control.js'].lineData[323]++; + _$jscoverage['/control.js'].lineData[325]++; this.focus(); - _$jscoverage['/control.js'].lineData[324]++; + _$jscoverage['/control.js'].lineData[326]++; this.fire('focus'); }, handleBlur: function() { _$jscoverage['/control.js'].functionData[29]++; - _$jscoverage['/control.js'].lineData[328]++; - if (visit89_328_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[329]++; + _$jscoverage['/control.js'].lineData[330]++; + if (visit91_330_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[331]++; this.handleBlurInternal(); } }, handleBlurInternal: function() { _$jscoverage['/control.js'].functionData[30]++; - _$jscoverage['/control.js'].lineData[338]++; + _$jscoverage['/control.js'].lineData[340]++; this.blur(); - _$jscoverage['/control.js'].lineData[339]++; + _$jscoverage['/control.js'].lineData[341]++; this.fire('blur'); }, handleKeydown: function(ev) { _$jscoverage['/control.js'].functionData[31]++; - _$jscoverage['/control.js'].lineData[343]++; + _$jscoverage['/control.js'].lineData[345]++; var self = this; - _$jscoverage['/control.js'].lineData[344]++; - if (visit90_344_1(!this.get('disabled') && self.handleKeyDownInternal(ev))) { - _$jscoverage['/control.js'].lineData[345]++; + _$jscoverage['/control.js'].lineData[346]++; + if (visit92_346_1(!this.get('disabled') && self.handleKeyDownInternal(ev))) { + _$jscoverage['/control.js'].lineData[347]++; ev.halt(); - _$jscoverage['/control.js'].lineData[346]++; + _$jscoverage['/control.js'].lineData[348]++; return true; } - _$jscoverage['/control.js'].lineData[348]++; + _$jscoverage['/control.js'].lineData[350]++; return undefined; }, handleKeyDownInternal: function(ev) { _$jscoverage['/control.js'].functionData[32]++; - _$jscoverage['/control.js'].lineData[357]++; - if (visit91_357_1(ev.keyCode === Node.KeyCode.ENTER)) { - _$jscoverage['/control.js'].lineData[358]++; + _$jscoverage['/control.js'].lineData[359]++; + if (visit93_359_1(ev.keyCode === Node.KeyCode.ENTER)) { + _$jscoverage['/control.js'].lineData[360]++; return this.handleClickInternal(ev); } - _$jscoverage['/control.js'].lineData[360]++; + _$jscoverage['/control.js'].lineData[362]++; return undefined; }, handleClick: function(ev) { _$jscoverage['/control.js'].functionData[33]++; - _$jscoverage['/control.js'].lineData[364]++; - if (visit92_364_1(!this.get('disabled'))) { - _$jscoverage['/control.js'].lineData[365]++; + _$jscoverage['/control.js'].lineData[366]++; + if (visit94_366_1(!this.get('disabled'))) { + _$jscoverage['/control.js'].lineData[367]++; this.handleClickInternal(ev); } }, handleClickInternal: function() { _$jscoverage['/control.js'].functionData[34]++; - _$jscoverage['/control.js'].lineData[375]++; + _$jscoverage['/control.js'].lineData[377]++; var self = this; - _$jscoverage['/control.js'].lineData[376]++; - if (visit93_376_1(self.get('focusable'))) { - _$jscoverage['/control.js'].lineData[377]++; + _$jscoverage['/control.js'].lineData[378]++; + if (visit95_378_1(self.get('focusable'))) { + _$jscoverage['/control.js'].lineData[379]++; self.focus(); } }, destructor: function() { _$jscoverage['/control.js'].functionData[35]++; - _$jscoverage['/control.js'].lineData[385]++; - var self = this; _$jscoverage['/control.js'].lineData[387]++; + var self = this; + _$jscoverage['/control.js'].lineData[389]++; Manager.removeComponent(self.get('id')); - _$jscoverage['/control.js'].lineData[388]++; - if (visit94_388_1(self.view)) { - _$jscoverage['/control.js'].lineData[389]++; + _$jscoverage['/control.js'].lineData[390]++; + if (visit96_390_1(self.view)) { + _$jscoverage['/control.js'].lineData[391]++; self.view.destroy(); } else { - _$jscoverage['/control.js'].lineData[390]++; - if (visit95_390_1(self.get('srcNode'))) { - _$jscoverage['/control.js'].lineData[391]++; + _$jscoverage['/control.js'].lineData[392]++; + if (visit97_392_1(self.get('srcNode'))) { + _$jscoverage['/control.js'].lineData[393]++; self.get('srcNode').remove(); } } @@ -1097,7 +1111,7 @@ KISSY.add(function(S, require) { view: 1, valueFn: function() { _$jscoverage['/control.js'].functionData[36]++; - _$jscoverage['/control.js'].lineData[402]++; + _$jscoverage['/control.js'].lineData[404]++; return S.guid('ks-component'); }}, content: { @@ -1112,13 +1126,13 @@ KISSY.add(function(S, require) { value: [], setter: function(v) { _$jscoverage['/control.js'].functionData[37]++; - _$jscoverage['/control.js'].lineData[466]++; - if (visit96_466_1(typeof v === 'string')) { - _$jscoverage['/control.js'].lineData[467]++; + _$jscoverage['/control.js'].lineData[468]++; + if (visit98_468_1(typeof v === 'string')) { + _$jscoverage['/control.js'].lineData[469]++; v = v.split(/\s+/); } - _$jscoverage['/control.js'].lineData[469]++; - return visit97_469_1(v || []); + _$jscoverage['/control.js'].lineData[471]++; + return visit99_471_1(v || []); }}, elStyle: { view: 1, @@ -1130,9 +1144,9 @@ KISSY.add(function(S, require) { el: { setter: function(el) { _$jscoverage['/control.js'].functionData[38]++; - _$jscoverage['/control.js'].lineData[519]++; + _$jscoverage['/control.js'].lineData[521]++; this.$el = el; - _$jscoverage['/control.js'].lineData[520]++; + _$jscoverage['/control.js'].lineData[522]++; this.el = el[0]; }}, x: {}, @@ -1140,27 +1154,27 @@ KISSY.add(function(S, require) { xy: { setter: function(v) { _$jscoverage['/control.js'].functionData[39]++; - _$jscoverage['/control.js'].lineData[565]++; - var self = this, xy = S.makeArray(v); _$jscoverage['/control.js'].lineData[567]++; - if (visit98_567_1(xy.length)) { - _$jscoverage['/control.js'].lineData[568]++; - if (visit99_568_1(xy[0] !== undefined)) { - _$jscoverage['/control.js'].lineData[569]++; + var self = this, xy = S.makeArray(v); + _$jscoverage['/control.js'].lineData[569]++; + if (visit100_569_1(xy.length)) { + _$jscoverage['/control.js'].lineData[570]++; + if (visit101_570_1(xy[0] !== undefined)) { + _$jscoverage['/control.js'].lineData[571]++; self.set('x', xy[0]); } - _$jscoverage['/control.js'].lineData[571]++; - if (visit100_571_1(xy[1] !== undefined)) { - _$jscoverage['/control.js'].lineData[572]++; + _$jscoverage['/control.js'].lineData[573]++; + if (visit102_573_1(xy[1] !== undefined)) { + _$jscoverage['/control.js'].lineData[574]++; self.set('y', xy[1]); } } - _$jscoverage['/control.js'].lineData[575]++; + _$jscoverage['/control.js'].lineData[577]++; return v; }, getter: function() { _$jscoverage['/control.js'].functionData[40]++; - _$jscoverage['/control.js'].lineData[578]++; + _$jscoverage['/control.js'].lineData[580]++; return [this.get('x'), this.get('y')]; }}, zIndex: { @@ -1173,7 +1187,7 @@ KISSY.add(function(S, require) { srcNode: { setter: function(v) { _$jscoverage['/control.js'].functionData[41]++; - _$jscoverage['/control.js'].lineData[645]++; + _$jscoverage['/control.js'].lineData[647]++; return Node.all(v); }}, handleMouseEvents: { @@ -1195,19 +1209,19 @@ KISSY.add(function(S, require) { value: false}, prefixCls: { view: 1, - value: visit101_766_1(S.config('component/prefixCls') || 'ks-')}, + value: visit103_768_1(S.config('component/prefixCls') || 'ks-')}, prefixXClass: {}, parent: { setter: function(p, prev) { _$jscoverage['/control.js'].functionData[42]++; - _$jscoverage['/control.js'].lineData[794]++; + _$jscoverage['/control.js'].lineData[796]++; if ((prev = this.get('parent'))) { - _$jscoverage['/control.js'].lineData[795]++; + _$jscoverage['/control.js'].lineData[797]++; this.removeTarget(prev); } - _$jscoverage['/control.js'].lineData[797]++; - if (visit102_797_1(p)) { - _$jscoverage['/control.js'].lineData[798]++; + _$jscoverage['/control.js'].lineData[799]++; + if (visit104_799_1(p)) { + _$jscoverage['/control.js'].lineData[800]++; this.addTarget(p); } }}, @@ -1219,50 +1233,50 @@ KISSY.add(function(S, require) { view: { setter: function(v) { _$jscoverage['/control.js'].functionData[43]++; - _$jscoverage['/control.js'].lineData[834]++; + _$jscoverage['/control.js'].lineData[836]++; this.view = v; }}}}); - _$jscoverage['/control.js'].lineData[840]++; + _$jscoverage['/control.js'].lineData[842]++; function getDefaultRender() { _$jscoverage['/control.js'].functionData[44]++; - _$jscoverage['/control.js'].lineData[841]++; - var attrs, constructor = this; _$jscoverage['/control.js'].lineData[843]++; + var attrs, constructor = this; + _$jscoverage['/control.js'].lineData[845]++; do { - _$jscoverage['/control.js'].lineData[844]++; + _$jscoverage['/control.js'].lineData[846]++; attrs = constructor.ATTRS; - _$jscoverage['/control.js'].lineData[845]++; + _$jscoverage['/control.js'].lineData[847]++; constructor = constructor.superclass; - } while (visit103_846_1(!attrs || !attrs.xrender)); - _$jscoverage['/control.js'].lineData[847]++; + } while (visit105_848_1(!attrs || !attrs.xrender)); + _$jscoverage['/control.js'].lineData[849]++; return attrs.xrender.value; } - _$jscoverage['/control.js'].lineData[850]++; + _$jscoverage['/control.js'].lineData[852]++; Control.getDefaultRender = getDefaultRender; - _$jscoverage['/control.js'].lineData[871]++; + _$jscoverage['/control.js'].lineData[873]++; Control.extend = function extend(extensions, px, sx) { _$jscoverage['/control.js'].functionData[45]++; - _$jscoverage['/control.js'].lineData[873]++; + _$jscoverage['/control.js'].lineData[875]++; var args = S.makeArray(arguments), baseClass = this, xclass, newClass, argsLen = args.length, last = args[argsLen - 1]; - _$jscoverage['/control.js'].lineData[880]++; + _$jscoverage['/control.js'].lineData[882]++; if ((xclass = last.xclass)) { - _$jscoverage['/control.js'].lineData[881]++; + _$jscoverage['/control.js'].lineData[883]++; last.name = xclass; } - _$jscoverage['/control.js'].lineData[884]++; - newClass = ComponentProcess.extend.apply(baseClass, args); _$jscoverage['/control.js'].lineData[886]++; - if (visit104_886_1(xclass)) { - _$jscoverage['/control.js'].lineData[887]++; + newClass = ComponentProcess.extend.apply(baseClass, args); + _$jscoverage['/control.js'].lineData[888]++; + if (visit106_888_1(xclass)) { + _$jscoverage['/control.js'].lineData[889]++; Manager.setConstructorByXClass(xclass, newClass); } - _$jscoverage['/control.js'].lineData[890]++; + _$jscoverage['/control.js'].lineData[892]++; newClass.extend = extend; - _$jscoverage['/control.js'].lineData[891]++; - newClass.getDefaultRender = getDefaultRender; _$jscoverage['/control.js'].lineData[893]++; + newClass.getDefaultRender = getDefaultRender; + _$jscoverage['/control.js'].lineData[895]++; return newClass; }; - _$jscoverage['/control.js'].lineData[896]++; + _$jscoverage['/control.js'].lineData[898]++; return Control; }); diff --git a/src/component/sub-modules/control/src/control.js b/src/component/sub-modules/control/src/control.js index 8429d25743..0699706f97 100644 --- a/src/component/sub-modules/control/src/control.js +++ b/src/component/sub-modules/control/src/control.js @@ -262,7 +262,9 @@ KISSY.add(function (S, require) { if (self.get('focusable')) { self.focus(); } - if (!self.get('allowTextSelection') && ev.originalEvent.type.toLowerCase().indexOf('mouse') !== -1) { + var type = ev.originalEvent.type.toLowerCase(); + if (!self.get('allowTextSelection') && + (type.indexOf('mouse') !== -1 || type.indexOf('pointer') !== -1)) { // firefox /chrome/ie9/i10 不会引起焦点转移 // invalid for ie10 buggy? n = ev.target.nodeName; From c5e2b4ade40c761a5dafd7fcb92cc12c2596b689 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Wed, 20 Aug 2014 18:40:15 +0800 Subject: [PATCH 68/80] add domEvent for tree --- build/tree-min.js | 10 +- build/tree.js | 6 +- build/tree/assets/dpl-min.css | 2 +- build/tree/assets/dpl.css | 2 +- src/tree/coverage/src/tree/check-node.js | 177 +++--- src/tree/coverage/src/tree/node.js | 774 +++++++++++------------ src/tree/src/tree/check-node.js | 2 - src/tree/src/tree/node.js | 5 +- 8 files changed, 485 insertions(+), 493 deletions(-) diff --git a/build/tree-min.js b/build/tree-min.js index f57ba93b6e..90db3b4860 100644 --- a/build/tree-min.js +++ b/build/tree-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: May 22 12:31 +build time: Aug 20 18:40 */ KISSY.add("tree/node-xtpl",["component/extension/content-xtpl"],function(i,f,g,k){return function(d){var a,h=this,b;a=this.config.utils;"undefined"!==typeof k&&k.kissy&&(b=k);var n=a.runBlockCommand,e=a.renderOutput,g=a.getProperty,i=a.runInlineCommand,o=a.getPropertyOrRunCommand;a='
    \n
    \n
    \n ';c={};j=[];m=g(h,d,"checkable",0,10);j.push(m);c.params=j;c.fn=function(a){var l;l='\n
    a?" dblclick ":"");this.$el.delegate(e,"."+d,this.handleChildrenEvents, this)},_onSetSelectedItem:function(a,b){a&&b.prevVal&&b.prevVal.set("selected",!1,{data:{byPassSetTreeSelectedItem:1}})},_onSetShowRootNode:function(a){this.get("rowEl")[a?"show":"hide"]()}});return g}); KISSY.add("tree/control",["./node","./tree-manager"],function(i,f){var g=f("./node"),k=f("./tree-manager");return g.extend([k],{handleKeyDownInternal:function(d){var a=this.get("selectedItem");return a===this?this.callSuper(d):a&&a.handleKeyDownInternal(d)},_onSetFocused:function(d){this.callSuper(d);d&&!this.get("selectedItem")&&this.select()}},{ATTRS:{defaultChildCfg:{value:{xclass:"tree-node"}}},xclass:"tree"})}); -KISSY.add("tree/check-node",["node","./node"],function(i,f){var g=f("node"),k=f("./node"),d=g.all,g=k.extend({handleClickInternal:function(a){var h=this.get("expanded"),b=this.get("expandIconEl"),f=this.get("tree"),e=d(a.target);f.focus();this.callSuper(a);if(e.equals(b))this.set("expanded",!h);else return a=this.get("checkState"),this.set("checkState",1===a?0:1),this.fire("click"),!0},_onSetCheckState:function(a){var d=this.get("parent"),b,f,e,g;(1===a||0===a)&&i.each(this.get("children"),function(b){b.set("checkState", +KISSY.add("tree/check-node",["node","./node"],function(i,f){var g=f("node"),k=f("./node"),d=g.all,g=k.extend({handleClickInternal:function(a){var h=this.get("expanded"),b=this.get("expandIconEl"),f=this.get("tree"),e=d(a.target);f.focus();this.callSuper(a);if(e.equals(b))this.set("expanded",!h);else return a=this.get("checkState"),this.set("checkState",1===a?0:1),!0},_onSetCheckState:function(a){var d=this.get("parent"),b,f,e,g;(1===a||0===a)&&i.each(this.get("children"),function(b){b.set("checkState", a)});if(d){b=0;g=d.get("children");for(f=0;f Date: Fri, 22 Aug 2014 15:22:15 +0800 Subject: [PATCH 69/80] update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fdadc5a4ae..536b404fe3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kissy", - "version": "1.4.6", + "version": "1.4.7", "description": "KISSY", "author": "yiminghe ", "homepage": "http://docs.kissyui.com", From 19b0f67130d986745c30018aecd3b5ea0d73aa53 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Thu, 28 Aug 2014 13:01:18 +0800 Subject: [PATCH 70/80] 1.4.8 --- build/event/base-min.js | 18 +- build/event/base.js | 6 +- build/kissy-nodejs-min.js | 185 ++--- build/kissy-nodejs.js | 59 +- build/seed-min.js | 173 ++--- build/seed.js | 59 +- .../base/coverage/src/base/object.js | 2 +- .../base/coverage/src/base/observer.js | 140 ++-- src/event/sub-modules/base/src/base/object.js | 2 +- .../sub-modules/base/src/base/observer.js | 3 +- .../coverage/src/loader/data-structure.js | 705 ++++++++++-------- .../coverage/src/loader/get-script-nodejs.js | 20 +- src/seed/coverage/src/loader/get-script.js | 76 +- src/seed/coverage/src/loader/init.js | 60 +- src/seed/coverage/src/loader/loader.js | 40 +- src/seed/coverage/src/loader/utils.js | 196 ++--- src/seed/coverage/src/meta/base.js | 4 +- src/seed/coverage/src/meta/modules.js | 2 +- src/seed/coverage/src/path.js | 110 +-- src/seed/coverage/src/ua.js | 174 ++--- src/seed/coverage/src/uri.js | 142 ++-- src/seed/coverage/src/web.js | 106 +-- src/seed/src/loader/data-structure.js | 45 +- src/seed/src/loader/utils.js | 2 +- 24 files changed, 1278 insertions(+), 1051 deletions(-) diff --git a/build/event/base-min.js b/build/event/base-min.js index 69ad774d64..5e44761fea 100644 --- a/build/event/base-min.js +++ b/build/event/base-min.js @@ -1,13 +1,13 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: May 22 12:27 +build time: Aug 28 12:46 */ -KISSY.add("event/base/utils",[],function(f){function e(a){if(0>a.indexOf("."))return[a,""];var b=a.match(/([^.]+)?(\..+)?$/),a=[b[1]];(b=b[2])?(b=b.split(".").sort(),a.push(b.join("."))):a.push("");return a}var d,c;return{splitAndRun:d=function(a,b){f.isArray(a)?f.each(a,b):(a=f.trim(a),-1===a.indexOf(" ")?b(a):f.each(a.split(/\s+/),b))},normalizeParam:function(a,b,c){var d=b||{},d="function"===typeof b?{fn:b,context:c}:f.merge(d),b=e(a),a=b[0];d.groups=b[1];d.type=a;return d},batchForType:function(a, -b){var c=f.makeArray(arguments),e=c[2+b];e&&"object"===typeof e?f.each(e,function(d,e){var f=[].concat(c);f.splice(0,2);f[b]=e;f[b+1]=d;a.apply(null,f)}):d(e,function(d){var e=[].concat(c);e.splice(0,2);e[b]=d;a.apply(null,e)})},fillGroupsForEvent:function(a,b){var d=e(a),f=d[1];f&&(f=c(f),b._ksGroups=f);b.type=d[0]},getGroupsRe:c=function(a){return RegExp(a.split(".").join(".*\\.")+"(?:\\.|$)")}}}); -KISSY.add("event/base/object",[],function(f,e){function d(){this.timeStamp=f.now();this.currentTarget=this.target=e}var c=function(){return!1},a=function(){return!0};d.prototype={constructor:d,isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){this.isDefaultPrevented=a},stopPropagation:function(){this.isPropagationStopped=a},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=a;this.stopPropagation()},halt:function(a){a?this.stopImmediatePropagation(): -this.stopPropagation();this.preventDefault()}};return d}); -KISSY.add("event/base/observer",[],function(f,e){function d(c){f.mix(this,c)}d.prototype={constructor:d,equals:function(c){var a=this;return!!f.reduce(a.keys,function(b,d){return b&&a[d]===c[d]},1)},simpleNotify:function(c,a){var b;b=this.fn.call(this.context||a.currentTarget,c,this.data);this.once&&a.removeObserver(this);return b},notifyInternal:function(c,a){var b=this.simpleNotify(c,a);!1===b&&c.halt();return b},notify:function(c,a){var b=c._ksGroups;return b&&(!this.groups||!this.groups.match(b))? -e:this.notifyInternal(c,a)}};return d}); -KISSY.add("event/base/observable",[],function(f){function e(d){this.currentTarget=null;f.mix(this,d);this.reset()}e.prototype={constructor:e,hasObserver:function(){return!!this.observers.length},reset:function(){this.observers=[]},removeObserver:function(d){var c,a=this.observers,b=a.length;for(c=0;ca.indexOf("."))return[a,""];var d=a.match(/([^.]+)?(\..+)?$/),a=[d[1]];(d=d[2])?(d=d.split(".").sort(),a.push(d.join("."))):a.push("");return a}var c,e;return{splitAndRun:c=function(a,d){f.isArray(a)?f.each(a,d):(a=f.trim(a),-1===a.indexOf(" ")?d(a):f.each(a.split(/\s+/),d))},normalizeParam:function(a,d,e){var c=d||{},c="function"===typeof d?{fn:d,context:e}:f.merge(c),d=b(a),a=d[0];c.groups=d[1];c.type=a;return c},batchForType:function(a, +d){var e=f.makeArray(arguments),b=e[2+d];b&&"object"===typeof b?f.each(b,function(c,b){var f=[].concat(e);f.splice(0,2);f[d]=b;f[d+1]=c;a.apply(null,f)}):c(b,function(c){var b=[].concat(e);b.splice(0,2);b[d]=c;a.apply(null,b)})},fillGroupsForEvent:function(a,c){var f=b(a),g=f[1];g&&(g=e(g),c._ksGroups=g);c.type=f[0]},getGroupsRe:e=function(a){return RegExp(a.split(".").join(".*\\.")+"(?:\\.|$)")}}}); +KISSY.add("event/base/object",[],function(f){function b(){this.timeStamp=f.now();this.currentTarget=this.target=void 0}var c=function(){return!1},e=function(){return!0};b.prototype={constructor:b,isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){this.isDefaultPrevented=e},stopPropagation:function(){this.isPropagationStopped=e},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=e;this.stopPropagation()},halt:function(a){a?this.stopImmediatePropagation(): +this.stopPropagation();this.preventDefault()}};return b}); +KISSY.add("event/base/observer",[],function(f){function b(c){f.mix(this,c)}b.prototype={constructor:b,equals:function(c){var e=this;return!!f.reduce(e.keys,function(a,b){return a&&e[b]===c[b]},1)},simpleNotify:function(c,b){var a;a=this.fn.call(this.context||b.currentTarget,c,this.data);this.once&&b.removeObserver(this);return a},notifyInternal:function(c,b){var a=this.simpleNotify(c,b);!1===a&&c.halt();return a},notify:function(c,b){var a=c._ksGroups;return a&&(!this.groups||!this.groups.match(a))? +void 0:this.notifyInternal(c,b)}};return b}); +KISSY.add("event/base/observable",[],function(f){function b(b){this.currentTarget=null;f.mix(this,b);this.reset()}b.prototype={constructor:b,hasObserver:function(){return!!this.observers.length},reset:function(){this.observers=[]},removeObserver:function(b){var e,a=this.observers,d=a.length;for(e=0;e=o)throw new TypeError;}while(1)}for(;l","<":"<","`":"`","/":"/",""":'"',"'":"'"},n={},b,d,j=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in g)n[g[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(k(),function(a){return n[a]})},escapeRegExp:function(a){return a.replace(j,"\\$&")},unEscapeHtml:function(a){return a.replace(h(),function(a,b){return g[a]||String.fromCharCode(+b)})},param:function(b,d,l,m){d=d||"&";l=l||"=";m===f&&(m=!0);var j=[],g,h,q,p,s,x= -a.urlEncode;for(g in b)if(s=b[g],g=x(g),i(s))j.push(g),s!==f&&j.push(l,x(s+c)),j.push(d);else if(a.isArray(s)&&s.length){h=0;for(p=s.length;hk&&(c=g,f.apply(h||this,arguments))}},buffer:function(f,k,h){function c(){c.stop();g=a.later(f,k,0,h||this,arguments)}k=k||150;if(-1===k)return function(){f.apply(h||this,arguments)};var g=null;c.stop=function(){g&&(g.cancel(),g=0)};return c}})})(KISSY); -(function(a,f){function i(b,d,j){var e=b,f,l,m,h;if(!b)return e;if(b[g])return j[b[g]].destination;if("object"===typeof b){h=b.constructor;if(a.inArray(h,[Boolean,String,Number,Date,RegExp]))e=new h(b.valueOf());else if(f=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(l=a.isPlainObject(b))e={};b[g]=h=a.guid("c");j[h]={destination:e,input:b}}if(f)for(b=0;b".replace("{{version}}",e),0=o},!0))?c.push(h[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=j?f[a]=!0:g!==e?f[a]=!1:m.checkModsLoadRecursively(h.getNormalizedRequires(),b,d,c,f)?(h.status=j,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a];d.status>=o||(d.status=o,d.cjs||m.attachModsRecursively(d.getNormalizedRequires(), -b),m.attachMod(b,d))},attachMod:function(b,c){var e=c.factory;if("function"===typeof e){var f;c.requires&&c.requires.length&&(f=a.bind(c.require,c));e=e.apply(c,c.cjs?[b,f,c.exports,c]:m.getModules(b,c.getRequiresWithAlias()));void 0!==e&&(c.exports=e)}else c.exports=e;c.status=d},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return m.unalias(a,m.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d= -[].concat(b),c,e,j,g=0,h,i=a.Env.mods;!g;){g=1;for(c=d.length-1;0<=c;c--)if((e=i[d[c]])&&"alias"in e){g=0;j=e.alias;"string"===typeof j&&(j=[j]);for(h=j.length-1;0<=h;h--)j[h]||j.splice(h,1);d.splice.apply(d,[c,1].concat(f(j)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,j;if(b){e=0;for(j=b.length;ec.length&&(c=e); -b=this.packageInfo=b[c]||n}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=g.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return g.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=g.normalizeModNames(this.runtime,e,this.name)}};h.Module=k;var n=new i({name:"",runtime:a})})(KISSY); -(function(a){function f(a){var d=0;if(h.webkit)a.sheet&&(d=1);else if(a.sheet)try{a.sheet.cssRules&&(d=1)}catch(c){"NS_ERROR_DOM_SECURITY_ERR"===c.name&&(d=1)}return d}function i(){for(var b in n){var d=n[b],c=d.node;f(c,b)&&(d.callback&&d.callback.call(c),delete n[b])}g=a.isEmptyObject(n)?0:setTimeout(i,k)}var k=30,h=a.UA,c=a.Loader.Utils,g=0,n={};c.pollCss=function(a,d){var c;c=n[a.href]={};c.node=a;c.callback=d;g||i()};c.isCssLoaded=f})(KISSY); -(function(a){var f=require("fs"),i=require("vm");a.getScript=function(k,h,c){var g;a.isPlainObject(h)&&(c=h.charset,g=h.error,h=h.success);if(a.startsWith(a.Path.extname(k).toLowerCase(),".css"))h&&h();else{var n=(new a.Uri(k)).getPath();try{var b=f.readFileSync(n,c);i.runInThisContext("(function(KISSY,requireNode){"+b+"})",k)(a,require);h&&h()}catch(d){g&&g(d)}}}})(KISSY); -(function(a,f){function i(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");g?b=g.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var k=a.Loader,h=k.Utils,c=a.Env.host.location,g,n,b=a.Config.fns;if(!a.UA.nodejs&&c&&(n=c.href))g=new a.Uri(n);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,g=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=i(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;g[c]?g[c].reset(b):g[c]=new k.Package(b)}),f):!1===b?(e.packages={},f):g};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=h.createModuleInfo(c,d,b);f.status===k.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=i(a);b.base=a.toString();b.baseUri=a;return f}})(KISSY); -(function(a,f){function i(b,c,e,j,h){var i=c&&c.length,k=[],l=[];a.each(c,function(c){var p,m={timeout:h,success:function(){l.push(c);p&&r&&(d.registerModule(b,p.name,r.factory,r.config),r=f);--i||e(l,k)},error:function(){k.push(c);--i||e(l,k)},charset:j};c.combine||(p=c.mods[0],"css"===p.getType()?p=f:g&&(u=p.name,a.now(),m.attrs={"data-mod-name":p.name}));a.Config.loadModsFn(c,m)})}function k(b,c){a.mix(this,{runtime:b,waitingModules:c})}function h(a,b){if(!a&&"function"===typeof b&&1a.UA.ieMode,n=a.Loader,b=n.Status,d=n.Utils,j=d.getHash,e=b.LOADING,o=b.LOADED,l=b.READY_TO_ATTACH,m=b.ERROR,t=a.now();k.groupTag=t;var r,u;k.add=function(b,c,e,j,i){if(3===i&&a.isArray(c))var k=c,c=e,e={requires:k,cjs:1};if("function"===typeof b|| -1===i)if(e=c,c=b,e=h(e,c),g){for(var b=a.Env.host.document.getElementsByTagName("script"),l,i=b.length-1;0<=i;i--)if(k=b[i],"interactive"===k.readyState){l=k;break}b=l?l.getAttribute("data-mod-name"):u;d.registerModule(j,b,c,e);u=null}else r={factory:c,config:e};else g?u=null:r=f,e=h(e,c),d.registerModule(j,b,c,e)};a.augment(k,{use:function(b){var c=a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){i(e,b,function(b, -c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.status=m;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){i(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory||(a.status=m);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,j,h,i=this.waitingModules,k=this.runtime,c=c||{},b=b||{};for(f=0;f=l||(h!==o&&!i.contains(g)&&(h!==e&&(j.status=e,c[g]=1),j.wait(function(a){i.remove(a.name);i.notifyAll()}),i.add(g)),this.calculate(j.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f={},g,j=this.runtime,h=0,i=b.length,k,l,m,n,o,u,r,G,I;he||u+k.join(d).length+n>b)k.pop(),l.pop(),J(),k=[],l=[],C--}else A.push({combine:0,fullpath:D,mods:[B]})}k.length&& -J()}}return g}});n.ComboLoader=k})(KISSY); -(function(a,f){function i(b){a.mix(this,{fn:b,waitMods:{}})}var k=a.Loader,h=a.Env,c=k.Utils,g=a.setImmediate,n=k.ComboLoader;i.prototype={constructor:i,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};k.WaitingModules=i;a.mix(a,{add:function(b,c,f){n.add(b,c,f,a,arguments.length)},use:function(b,d){function h(){++t;var b=[];a.now(); -c.checkModsLoadRecursively(e,a,f,b)?(c.attachModsRecursively(e,a),d&&(m?r():g(r))):b.length?l&&(m?l.apply(a,b):g(function(){l.apply(a,b)})):(u.fn=h,k.use(e))}var e,k,l,m,t=0,r,u=new i(h);a.isPlainObject(d)&&(m=d.sync,l=d.error,d=d.success);r=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);k=new n(a,u);m?u.notifyAll():g(function(){u.notifyAll()});return a},require:function(b,d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a, -[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});h.mods={}})(KISSY); -(function(a){function f(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},i=f.comboPrefix||g,k=f.comboSep||n,m,t=e.indexOf(i);-1===t?m=e.replace(b,"$1"):(m=e.substring(0,t),"/"!==m.charAt(m.length-1)&&(m+="/"),i=e.substring(t+i.length).split(k),a.each(i,function(a){if(a.match(d))return m+=a.replace(b,"$1"),!1}));"tag"in f||(i=e.lastIndexOf("?t="),-1!==i&&(e=e.substring(i+1),f.tag=h.getHash(c+e)));f.base=f.base||m;return f}function i(){var a= -k.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;return null}var k=a.Env.host&&a.Env.host.document,h=a.Loader.Utils,c="20140818163546",g="??",n=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:g,comboSep:n,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}):k&&k.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},i()))})(KISSY); -KISSY.add("i18n",{alias:function(a,f){return f+"/i18n/"+a.Config.lang}}); -(function(a,f){function i(){if(!b){c&&!h.nodejs&&t(k,l,i);b=1;for(var e=0;e=b)throw new TypeError;}while(1)}for(;i","<":"<","`":"`","/":"/",""":'"',"'":"'"},m={},b,g,c=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in l)m[l[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,i){return String.fromCharCode(parseInt(i,16))})},escapeHtml:function(a){return(a+"").replace(j(),function(a){return m[a]})},escapeRegExp:function(a){return a.replace(c,"\\$&")},unEscapeHtml:function(a){return a.replace(h(),function(a,i){return l[a]||String.fromCharCode(+i)})},param:function(c,b,i,g){b=b||"&";i=i||"=";g===e&&(g=!0);var h=[],l,j,q,o,t,n= +a.urlEncode;for(l in c)if(t=c[l],l=n(l),k(t))h.push(l),t!==e&&h.push(i,n(t+d)),h.push(b);else if(a.isArray(t)&&t.length){j=0;for(o=t.length;jj&&(d=l,e.apply(h||this,arguments))}},buffer:function(e,j,h){function d(){d.stop();l=a.later(e,j,0,h||this,arguments)}j=j||150;if(-1===j)return function(){e.apply(h||this,arguments)};var l=null;d.stop=function(){l&&(l.cancel(),l=0)};return d}})})(KISSY); +(function(a,e){function k(b,g,c){var f=b,e,i,h,j;if(!b)return f;if(b[l])return c[b[l]].destination;if("object"===typeof b){j=b.constructor;if(a.inArray(j,[Boolean,String,Number,Date,RegExp]))f=new j(b.valueOf());else if(e=a.isArray(b))f=g?a.filter(b,g):b.concat();else if(i=a.isPlainObject(b))f={};b[l]=j=a.guid("c");c[j]={destination:f,input:b}}if(e)for(b=0;b".replace("{{version}}",f),0=r},!0))?d.push(h[e[0]].exports):d.push(null)):d.push(void 0)});return d},attachModsRecursively:function(a,c){var b,d=a.length;for(b=0;b=c?g[a]=!0:h!==f?g[a]=!1:p.checkModsLoadRecursively(j.getNormalizedRequires(),b,d,e,g)?(j.status=c,g[a]=!0):g[a]=!1},attachModRecursively:function(a,c){var b=c.Env.mods[a];b.status>=r||(b.status=r,b.cjs||p.attachModsRecursively(b.getNormalizedRequires(), +c),p.attachMod(c,b))},attachMod:function(c,b){var d=b.factory;if("function"===typeof d){var f;b.cjs&&(f=a.bind(b.require,b));d=d.apply(b,b.cjs?[c,f,b.exports,b]:p.getModules(c,b.getRequiresWithAlias()));void 0!==d&&(b.exports=d)}else b.exports=d;b.status=g},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,c,b){return p.unalias(a,p.normalizeModNamesWithAlias(a,c,b))},unalias:function(a,c){for(var b=[].concat(c),d,f,g,i=0, +h,j=a.Env.mods;!i;){i=1;for(d=b.length-1;0<=d;d--)if((f=j[b[d]])&&"alias"in f){i=0;g=f.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);b.splice.apply(b,[d,1].concat(e(g)))}}return b},normalizeModNamesWithAlias:function(a,c,b){var d=[],f,g;if(c){f=0;for(g=c.length;fe.length&&(e=i);b=this.packageInfo=b[e]||g}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()}, +getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=b.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var c=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return b.createModuleInfo(c,a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,g=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&& +d===g)return a;this.normalizedRequiresStatus=g;return this.normalizedRequires=b.normalizeModNames(this.runtime,e,this.name)}};l.Module=j;var g=new k({name:"",runtime:a})})(KISSY); +(function(a){function e(a){var d=0;if(h.webkit)a.sheet&&(d=1);else if(a.sheet)try{a.sheet.cssRules&&(d=1)}catch(c){"NS_ERROR_DOM_SECURITY_ERR"===c.name&&(d=1)}return d}function k(){for(var b in m){var d=m[b],c=d.node;e(c,b)&&(d.callback&&d.callback.call(c),delete m[b])}l=a.isEmptyObject(m)?0:setTimeout(k,j)}var j=30,h=a.UA,d=a.Loader.Utils,l=0,m={};d.pollCss=function(a,d){var c;c=m[a.href]={};c.node=a;c.callback=d;l||k()};d.isCssLoaded=e})(KISSY); +(function(a){var e=require("fs"),k=require("vm");a.getScript=function(j,h,d){var l;a.isPlainObject(h)&&(d=h.charset,l=h.error,h=h.success);if(a.startsWith(a.Path.extname(j).toLowerCase(),".css"))h&&h();else{var m=(new a.Uri(j)).getPath();try{var b=e.readFileSync(m,d);k.runInThisContext("(function(KISSY,requireNode){"+b+"})",j)(a,require);h&&h()}catch(g){l&&l(g)}}}})(KISSY); +(function(a,e){function k(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");l?b=l.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var j=a.Loader,h=j.Utils,d=a.Env.host.location,l,m,b=a.Config.fns;if(!a.UA.nodejs&&d&&(m=d.href))l=new a.Uri(m);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,d=this.Config,h=d.packages=d.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var f=k(b.base||b.path);b.name=c;b.base=f.toString(); +b.baseUri=f;b.runtime=a;delete b.path;h[c]?h[c].reset(b):h[c]=new j.Package(b)}),e):!1===b?(d.packages={},e):h};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var e=h.createModuleInfo(c,d,b);e.status===j.Status.INIT&&a.mix(e,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=k(a);b.base=a.toString();b.baseUri=a;return e}})(KISSY); +(function(a,e){function k(b,c,d,f,h){var i=c&&c.length,j=[],k=[];a.each(c,function(c){var o,m={timeout:h,success:function(){k.push(c);o&&v&&(g.registerModule(b,o.name,v.factory,v.config),v=e);--i||d(k,j)},error:function(){j.push(c);--i||d(k,j)},charset:f};c.combine||(o=c.mods[0],"css"===o.getType()?o=e:l&&(s=o.name,a.now(),m.attrs={"data-mod-name":o.name}));a.Config.loadModsFn(c,m)})}function j(b,c){a.mix(this,{runtime:b,waitingModules:c})}function h(a,b){if(!a&&"function"===typeof b&&1a.UA.ieMode,m=a.Loader,b=m.Status,g=m.Utils,c=g.getHash,f=b.LOADING,r=b.LOADED,i=b.READY_TO_ATTACH,p=b.ERROR,u=a.now();j.groupTag=u;var v,s;j.add=function(b,c,d,f,i){if(3===i&&a.isArray(c))var j=c,c=d,d={requires:j,cjs:1};if("function"===typeof b|| +1===i)if(d=c,c=b,d=h(d,c),l){for(var b=a.Env.host.document.getElementsByTagName("script"),k,i=b.length-1;0<=i;i--)if(j=b[i],"interactive"===j.readyState){k=j;break}b=k?k.getAttribute("data-mod-name"):s;g.registerModule(f,b,c,d);s=null}else v={factory:c,config:d};else l?s=null:v=e,d=h(d,c),g.registerModule(f,b,c,d)};a.augment(j,{use:function(b){var c=a.Config.timeout,d=this.runtime,b=a.keys(this.calculate(b));g.createModulesInfo(d,b);b=this.getComboUrls(b);a.each(b.css,function(b){k(d,b,function(b, +c){a.each(b,function(b){a.each(b.mods,function(b){g.registerModule(d,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.status=p;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){k(d,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory||(a.status=p);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var d,e,h,j,k=this.waitingModules,l=this.runtime,c=c||{},b=b||{};for(d=0;d=i||(j!==r&&!k.contains(e)&&(j!==f&&(h.status=f,c[e]=1),h.wait(function(a){k.remove(a.name);k.notifyAll()}),k.add(e)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,c){for(var f={},e,h=this.runtime,i=0,j=b.length,k,l,m,s,p,r,v,G,I;if||r+k.join(e).length+s>b)k.pop(),l.pop(),J(),k=[],l=[],C--}else A.push({combine:0,fullpath:D,mods:[B]})}k.length&& +J()}}return h}});m.ComboLoader=j})(KISSY); +(function(a,e){function k(b){a.mix(this,{fn:b,waitMods:{}})}var j=a.Loader,h=a.Env,d=j.Utils,l=a.setImmediate,m=j.ComboLoader;k.prototype={constructor:k,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};j.WaitingModules=k;a.mix(a,{add:function(b,d,c){m.add(b,d,c,a,arguments.length)},use:function(b,g){function c(){++u;var b=[];a.now(); +d.checkModsLoadRecursively(f,a,e,b)?(d.attachModsRecursively(f,a),g&&(j?v():l(v))):b.length?i&&(j?i.apply(a,b):l(function(){i.apply(a,b)})):(s.fn=c,h.use(f))}var f,h,i,j,u=0,v,s=new k(c);a.isPlainObject(g)&&(j=g.sync,i=g.error,g=g.success);v=function(){g.apply(a,d.getModules(a,b))};b=d.getModNamesAsArray(b);b=d.normalizeModNamesWithAlias(a,b);f=d.unalias(a,b);h=new m(a,s);j?s.notifyAll():l(function(){s.notifyAll()});return a},require:function(b,e){if(b){var c=d.unalias(a,d.normalizeModNamesWithAlias(a, +[b],e));d.attachModsRecursively(c,a);return d.getModules(a,c)[1]}}});h.mods={}})(KISSY); +(function(a){function e(c){var e=c.src||"";if(!e.match(g))return 0;var c=(c=c.getAttribute("data-config"))?(new Function("return "+c))():{},j=c.comboPrefix||l,i=c.comboSep||m,k,u=e.indexOf(j);-1===u?k=e.replace(b,"$1"):(k=e.substring(0,u),"/"!==k.charAt(k.length-1)&&(k+="/"),j=e.substring(u+j.length).split(i),a.each(j,function(a){if(a.match(g))return k+=a.replace(b,"$1"),!1}));"tag"in c||(j=e.lastIndexOf("?t="),-1!==j&&(e=e.substring(j+1),c.tag=h.getHash(d+e)));c.base=c.base||k;return c}function k(){var a= +j.getElementsByTagName("script"),b,d;for(b=a.length-1;0<=b;b--)if(d=e(a[b]))return d;return null}var j=a.Env.host&&a.Env.host.document,h=a.Loader.Utils,d="20140828130018",l="??",m=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,g=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:l,comboSep:m,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}):j&&j.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},k()))})(KISSY); +KISSY.add("i18n",{alias:function(a,e){return e+"/i18n/"+a.Config.lang}}); +(function(a,e){function k(){if(!b){d&&!h.nodejs&&u(j,i,k);b=1;for(var c=0;cf.ieMode&&(k=null);if(k)a.add("json",function(){return a.JSON=k}),a.parseJson=function(a){return k.parse(a)};else{var h=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,g=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,n=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&h.test(b.replace(g,"@").replace(n,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var e=a.UA,k=a.Env.host,j=(e.nodejs&&"object"===typeof global?global:k).JSON;9>e.ieMode&&(j=null);if(j)a.add("json",function(){return a.JSON=j}),a.parseJson=function(a){return j.parse(a)};else{var h=/^[\],:{}\s]*$/,d=/(?:^|:|,)(?:\s*\[)+/g,l=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,m=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&h.test(b.replace(l,"@").replace(m,"]").replace(d,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/kissy-nodejs.js b/build/kissy-nodejs.js index a188cc061e..52212f2f81 100644 --- a/build/kissy-nodejs.js +++ b/build/kissy-nodejs.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 16:36 +build time: Aug 28 13:00 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20140818163546' will replace with current timestamp when compressing. + * NOTICE: '20140828130018' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20140818163546', + __BUILD_TIME: '20140828130018', /** * KISSY Environment. @@ -118,10 +118,10 @@ var KISSY = (function (undefined) { /** * The version of the library. - * NOTICE: '1.46' will replace with current version when compressing. + * NOTICE: '1.47' will replace with current version when compressing. * @type {String} */ - version:'1.47', + version: '1.47', /** * set KISSY configuration @@ -3919,7 +3919,7 @@ var KISSY = (function (undefined) { // compatible and efficiency // KISSY.add(function(S,undefined){}) var require; - if (module.requires && module.requires.length) { + if (module.cjs) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 @@ -4165,9 +4165,9 @@ var KISSY = (function (undefined) { var self = this, packageName = self.name; return self.getBase() + ( - packageName && !self.isIgnorePackageNameInUri() ? - (packageName + '/') : - '' + packageName && !self.isIgnorePackageNameInUri() ? + (packageName + '/') : + '' ); }, @@ -4264,6 +4264,30 @@ var KISSY = (function (undefined) { module.waitedCallbacks = []; } + function makeArray(arr) { + var ret = []; + for (var i = 0; i < arr.length; i++) { + ret[i] = arr[i]; + } + return ret; + } + + function wrapUse(fn) { + if (typeof fn === 'function') { + fn = { + success: fn + }; + } + if (fn && fn.success) { + var original = fn.success; + fn.success = function () { + original.apply(this, makeArray(arguments).slice(1)); + }; + fn.sync = 1; + return fn; + } + } + Module.prototype = { kissy: 1, @@ -4300,7 +4324,20 @@ var KISSY = (function (undefined) { * @returns {*} required module exports */ require: function (moduleName) { - return S.require(moduleName, this.name); + var self = this; + if (typeof moduleName === 'string') { + return S.require(moduleName, this.name); + } else { + var mods = moduleName; + for (var i = 0; i < mods.length; i++) { + mods[i] = self.resolveByName(mods[i]); + } + var args = makeArray(arguments); + args[0] = mods; + args[1] = wrapUse(args[1]); + S.use.apply(S, args); + } + }, wait: function (callback) { @@ -5462,7 +5499,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140818163546'; + var TIMESTAMP = '20140828130018'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/build/seed-min.js b/build/seed-min.js index 2ad15546e7..c7831277a4 100644 --- a/build/seed-min.js +++ b/build/seed-min.js @@ -1,93 +1,94 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 16:36 +build time: Aug 28 13:00 */ -var KISSY=function(a){function f(a){var g={},f;for(f in j)(function(b,d){b[d]=function(b){return h.log(b,d,a)}})(g,f);return g}var h,k=0,j={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140818163546",Env:{host:this},Config:{debug:"",fns:{}},version:'1.47',config:function(c,g){var f,b,d=this,i,e=h.Config,o=e.fns;h.isObject(c)?h.each(c,function(a,b){(i=o[b])?i.call(d,a):e[b]=a}):(f=o[c],g===a?b=f?f.call(d):e[c]:f?b=f.call(d,g):e[c]=g);return b},log:function(){return a},getLogger:function(a){return f(a)}, -error:function(){},guid:function(a){return(a||"")+k++},Logger:{}};h.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return h}(); -(function(a,f){function h(){}function k(d,l,b,e,i,g){if(!l||!d)return d;var r,q,u,x;l[c]=d;g.push(l);u=a.keys(l);x=u.length;for(r=0;r=c)throw new TypeError;}while(1)}for(;l","<":"<","`":"`","/":"/",""":'"',"'":"'"},n={},b,d,i=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in g)n[g[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ -a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,b){return String.fromCharCode(parseInt(b,16))})},escapeHtml:function(a){return(a+"").replace(k(),function(a){return n[a]})},escapeRegExp:function(a){return a.replace(i,"\\$&")},unEscapeHtml:function(a){return a.replace(j(),function(a,b){return g[a]||String.fromCharCode(+b)})},param:function(b,d,l,m){d=d||"&";l=l||"=";m===f&&(m=!0);var i=[],g,j,r,q,u,x= -a.urlEncode;for(g in b)if(u=b[g],g=x(g),h(u))i.push(g),u!==f&&i.push(l,x(u+c)),i.push(d);else if(a.isArray(u)&&u.length){j=0;for(q=u.length;jk&&(c=g,f.apply(j||this,arguments))}},buffer:function(f,k,j){function c(){c.stop();g=a.later(f,k,0,j||this,arguments)}k=k||150;if(-1===k)return function(){f.apply(j||this,arguments)};var g=null;c.stop=function(){g&&(g.cancel(),g=0)};return c}})})(KISSY); -(function(a,f){function h(b,d,i){var e=b,f,l,m,j;if(!b)return e;if(b[g])return i[b[g]].destination;if("object"===typeof b){j=b.constructor;if(a.inArray(j,[Boolean,String,Number,Date,RegExp]))e=new j(b.valueOf());else if(f=a.isArray(b))e=d?a.filter(b,d):b.concat();else if(l=a.isPlainObject(b))e={};b[g]=j=a.guid("c");i[j]={destination:e,input:b}}if(f)for(b=0;b=b)throw new TypeError;}while(1)}for(;i","<":"<","`":"`","/":"/",""":'"',"'":"'"},j={},b,g,d=/[\-#$\^*()+\[\]{}|\\,.?\s]/g;(function(){for(var a in k)j[k[a]]=a})();a.mix(a,{urlEncode:function(a){return encodeURIComponent(""+ +a)},urlDecode:function(a){return decodeURIComponent(a.replace(/\+/g," "))},fromUnicode:function(a){return a.replace(/\\u([a-f\d]{4})/ig,function(a,i){return String.fromCharCode(parseInt(i,16))})},escapeHtml:function(a){return(a+"").replace(l(),function(a){return j[a]})},escapeRegExp:function(a){return a.replace(d,"\\$&")},unEscapeHtml:function(a){return a.replace(m(),function(a,i){return k[a]||String.fromCharCode(+i)})},param:function(b,d,i,g){d=d||"&";i=i||"=";g===f&&(g=!0);var k=[],r,j,t,q,u,p= +a.urlEncode;for(r in b)if(u=b[r],r=p(r),h(u))k.push(r),u!==f&&k.push(i,p(u+c)),k.push(d);else if(a.isArray(u)&&u.length){j=0;for(q=u.length;jl&&(c=k,f.apply(m||this,arguments))}},buffer:function(f,l,m){function c(){c.stop();k=a.later(f,l,0,m||this,arguments)}l=l||150;if(-1===l)return function(){f.apply(m||this,arguments)};var k=null;c.stop=function(){k&&(k.cancel(),k=0)};return c}})})(KISSY); +(function(a,f){function h(b,g,d){var e=b,f,i,n,j;if(!b)return e;if(b[k])return d[b[k]].destination;if("object"===typeof b){j=b.constructor;if(a.inArray(j,[Boolean,String,Number,Date,RegExp]))e=new j(b.valueOf());else if(f=a.isArray(b))e=g?a.filter(b,g):b.concat();else if(i=a.isPlainObject(b))e={};b[k]=j=a.guid("c");d[j]={destination:e,input:b}}if(f)for(b=0;b".replace("{{version}}",e),0=o},!0))?c.push(h[f[0]].exports):c.push(null)):c.push(void 0)});return c},attachModsRecursively:function(a,b){var d,c=a.length;for(d=0;d=i?f[a]=!0:g!==e?f[a]=!1:m.checkModsLoadRecursively(h.getNormalizedRequires(),b,d,c,f)?(h.status=i,f[a]=!0):f[a]=!1},attachModRecursively:function(a,b){var d=b.Env.mods[a];d.status>=o||(d.status=o,d.cjs||m.attachModsRecursively(d.getNormalizedRequires(), -b),m.attachMod(b,d))},attachMod:function(b,c){var e=c.factory;if("function"===typeof e){var f;c.requires&&c.requires.length&&(f=a.bind(c.require,c));e=e.apply(c,c.cjs?[b,f,c.exports,c]:m.getModules(b,c.getRequiresWithAlias()));void 0!==e&&(c.exports=e)}else c.exports=e;c.status=d},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,b,d){return m.unalias(a,m.normalizeModNamesWithAlias(a,b,d))},unalias:function(a,b){for(var d= -[].concat(b),c,e,i,g=0,h,j=a.Env.mods;!g;){g=1;for(c=d.length-1;0<=c;c--)if((e=j[d[c]])&&"alias"in e){g=0;i=e.alias;"string"===typeof i&&(i=[i]);for(h=i.length-1;0<=h;h--)i[h]||i.splice(h,1);d.splice.apply(d,[c,1].concat(f(i)))}}return d},normalizeModNamesWithAlias:function(a,b,d){var c=[],e,i;if(b){e=0;for(i=b.length;ec.length&&(c=e); -b=this.packageInfo=b[c]||n}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()},getRequiresWithAlias:function(){var a=this.requiresWithAlias,d=this.requires;if(!d||0===d.length)return d||[];a||(this.requiresWithAlias=a=g.normalizeModNamesWithAlias(this.runtime,d,this.name));return a},getRequiredMods:function(){var b=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return g.createModuleInfo(b, -a)})},getNormalizedRequires:function(){var a,d=this.normalizedRequiresStatus,c=this.status,e=this.requires;if(!e||0===e.length)return e||[];if((a=this.normalizedRequires)&&d===c)return a;this.normalizedRequiresStatus=c;return this.normalizedRequires=g.normalizeModNames(this.runtime,e,this.name)}};j.Module=k;var n=new h({name:"",runtime:a})})(KISSY); -(function(a){function f(a){var d=0;if(j.webkit)a.sheet&&(d=1);else if(a.sheet)try{a.sheet.cssRules&&(d=1)}catch(c){"NS_ERROR_DOM_SECURITY_ERR"===c.name&&(d=1)}return d}function h(){for(var b in n){var d=n[b],c=d.node;f(c,b)&&(d.callback&&d.callback.call(c),delete n[b])}g=a.isEmptyObject(n)?0:setTimeout(h,k)}var k=30,j=a.UA,c=a.Loader.Utils,g=0,n={};c.pollCss=function(a,d){var c;c=n[a.href]={};c.node=a;c.callback=d;g||h()};c.isCssLoaded=f})(KISSY); -(function(a){var f=a.Env.host.document,h=a.Loader.Utils,k=a.Path,j={},c,g=a.UA;a.getScript=function(n,b,d){function i(){var a=p.readyState;if(!a||"loaded"===a||"complete"===a)p.onreadystatechange=p.onload=null,r(0)}var e=b,o=0,l,m,t,s;a.startsWith(k.extname(n).toLowerCase(),".css")&&(o=1);a.isPlainObject(e)&&(b=e.success,l=e.error,m=e.timeout,d=e.charset,t=e.attrs);e=j[n]=j[n]||[];e.push([b,l]);if(1g.webkit;o&&d&&b&&(b=!1);b?(p.onload=i,p.onerror=function(){p.onerror=null;r(1)}):o?h.pollCss(p,function(){r(0)}):p.onreadystatechange=i;m&&(s=a.later(function(){r(1)},1E3*m));c||(c=h.docHead());o?c.appendChild(p):c.insertBefore(p,c.firstChild);return p}})(KISSY); -(function(a,f){function h(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");g?b=g.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var k=a.Loader,j=k.Utils,c=a.Env.host.location,g,n,b=a.Config.fns;if(!a.UA.nodejs&&c&&(n=c.href))g=new a.Uri(n);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,g=e.packages=e.packages||{};return b?(a.each(b,function(b,d){c=b.name||d;var e=h(b.base||b.path);b.name=c;b.base=e.toString(); -b.baseUri=e;b.runtime=a;delete b.path;g[c]?g[c].reset(b):g[c]=new k.Package(b)}),f):!1===b?(e.packages={},f):g};b.modules=function(b){var c=this;b&&a.each(b,function(b,d){var f=j.createModuleInfo(c,d,b);f.status===k.Status.INIT&&a.mix(f,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=h(a);b.base=a.toString();b.baseUri=a;return f}})(KISSY); -(function(a,f){function h(b,c,e,i,h){var j=c&&c.length,k=[],l=[];a.each(c,function(c){var q,m={timeout:h,success:function(){l.push(c);q&&s&&(d.registerModule(b,q.name,s.factory,s.config),s=f);--j||e(l,k)},error:function(){k.push(c);--j||e(l,k)},charset:i};c.combine||(q=c.mods[0],"css"===q.getType()?q=f:g&&(p=q.name,a.now(),m.attrs={"data-mod-name":q.name}));a.Config.loadModsFn(c,m)})}function k(b,c){a.mix(this,{runtime:b,waitingModules:c})}function j(a,b){if(!a&&"function"===typeof b&&1a.UA.ieMode,n=a.Loader,b=n.Status,d=n.Utils,i=d.getHash,e=b.LOADING,o=b.LOADED,l=b.READY_TO_ATTACH,m=b.ERROR,t=a.now();k.groupTag=t;var s,p;k.add=function(b,c,e,i,h){if(3===h&&a.isArray(c))var k=c,c=e,e={requires:k,cjs:1};if("function"===typeof b|| -1===h)if(e=c,c=b,e=j(e,c),g){for(var b=a.Env.host.document.getElementsByTagName("script"),l,h=b.length-1;0<=h;h--)if(k=b[h],"interactive"===k.readyState){l=k;break}b=l?l.getAttribute("data-mod-name"):p;d.registerModule(i,b,c,e);p=null}else s={factory:c,config:e};else g?p=null:s=f,e=j(e,c),d.registerModule(i,b,c,e)};a.augment(k,{use:function(b){var c=a.Config.timeout,e=this.runtime,b=a.keys(this.calculate(b));d.createModulesInfo(e,b);b=this.getComboUrls(b);a.each(b.css,function(b){h(e,b,function(b, -c){a.each(b,function(b){a.each(b.mods,function(b){d.registerModule(e,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.status=m;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){h(e,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory||(a.status=m);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var f,g,i,h,j=this.waitingModules,k=this.runtime,c=c||{},b=b||{};for(f=0;f=l||(h!==o&&!j.contains(g)&&(h!==e&&(i.status=e,c[g]=1),i.wait(function(a){j.remove(a.name);j.notifyAll()}),j.add(g)),this.calculate(i.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,e){for(var f={},g,i=this.runtime,h=0,j=b.length,k,l,m,n,p,o,s,G,I;he||o+k.join(d).length+n>b)k.pop(),l.pop(),J(),k=[],l=[],C--}else A.push({combine:0,fullpath:D,mods:[B]})}k.length&& -J()}}return g}});n.ComboLoader=k})(KISSY); -(function(a,f){function h(b){a.mix(this,{fn:b,waitMods:{}})}var k=a.Loader,j=a.Env,c=k.Utils,g=a.setImmediate,n=k.ComboLoader;h.prototype={constructor:h,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};k.WaitingModules=h;a.mix(a,{add:function(b,c,f){n.add(b,c,f,a,arguments.length)},use:function(b,d){function i(){++t;var b=[];a.now(); -c.checkModsLoadRecursively(e,a,f,b)?(c.attachModsRecursively(e,a),d&&(m?s():g(s))):b.length?k&&(m?k.apply(a,b):g(function(){k.apply(a,b)})):(p.fn=i,j.use(e))}var e,j,k,m,t=0,s,p=new h(i);a.isPlainObject(d)&&(m=d.sync,k=d.error,d=d.success);s=function(){d.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);j=new n(a,p);m?p.notifyAll():g(function(){p.notifyAll()});return a},require:function(b,d){if(b){var f=c.unalias(a,c.normalizeModNamesWithAlias(a, -[b],d));c.attachModsRecursively(f,a);return c.getModules(a,f)[1]}}});j.mods={}})(KISSY); -(function(a){function f(f){var e=f.src||"";if(!e.match(d))return 0;var f=(f=f.getAttribute("data-config"))?(new Function("return "+f))():{},h=f.comboPrefix||g,k=f.comboSep||n,m,t=e.indexOf(h);-1===t?m=e.replace(b,"$1"):(m=e.substring(0,t),"/"!==m.charAt(m.length-1)&&(m+="/"),h=e.substring(t+h.length).split(k),a.each(h,function(a){if(a.match(d))return m+=a.replace(b,"$1"),!1}));"tag"in f||(h=e.lastIndexOf("?t="),-1!==h&&(e=e.substring(h+1),f.tag=j.getHash(c+e)));f.base=f.base||m;return f}function h(){var a= -k.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;return null}var k=a.Env.host&&a.Env.host.document,j=a.Loader.Utils,c="20140818163546",g="??",n=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,d=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:g,comboSep:n,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}):k&&k.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},h()))})(KISSY); +(function(a,f){var h={},l=Object.prototype,m=l.toString;a.mix(a,{type:function(a){return null==a?""+a:h[m.call(a)]||"object"},isNull:function(a){return null===a},isUndefined:function(a){return a===f},isEmptyObject:function(a){for(var k in a)if(k!==f)return!1;return!0},isPlainObject:function(c){if(!c||"object"!==a.type(c)||c.nodeType||c.window==c)return!1;var k,j;try{if((j=c.constructor)&&!l.hasOwnProperty.call(c,"constructor")&&!l.hasOwnProperty.call(j.prototype,"isPrototypeOf"))return!1}catch(b){return!1}for(k in c); +return k===f||l.hasOwnProperty.call(c,k)}});a.each("Boolean,Number,String,Function,Date,RegExp,Object,Array".split(","),function(c,f){h["[object "+c+"]"]=f=c.toLowerCase();a["is"+c]=function(c){return a.type(c)===f}});a.isArray=Array.isArray||a.isArray})(KISSY); +(function(a){function f(){for(var a=0,b;b=h[a++];)try{b()}catch(c){setTimeout(function(){throw c;},0)}1".replace("{{version}}",e),0=s},!0))?e.push(h[g[0]].exports):e.push(null)):e.push(void 0)});return e},attachModsRecursively:function(a,d){var b,e=a.length;for(b=0;b=d?f[a]=!0:h!==e?f[a]=!1:n.checkModsLoadRecursively(k.getNormalizedRequires(),b,c,g,f)?(k.status=d,f[a]=!0):f[a]=!1},attachModRecursively:function(a,d){var b=d.Env.mods[a];b.status>=s||(b.status=s,b.cjs||n.attachModsRecursively(b.getNormalizedRequires(), +d),n.attachMod(d,b))},attachMod:function(d,b){var e=b.factory;if("function"===typeof e){var c;b.cjs&&(c=a.bind(b.require,b));e=e.apply(b,b.cjs?[d,c,b.exports,b]:n.getModules(d,b.getRequiresWithAlias()));void 0!==e&&(b.exports=e)}else b.exports=e;b.status=g},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,d,b){return n.unalias(a,n.normalizeModNamesWithAlias(a,d,b))},unalias:function(a,d){for(var b=[].concat(d),e,c,g,i=0, +h,k=a.Env.mods;!i;){i=1;for(e=b.length-1;0<=e;e--)if((c=k[b[e]])&&"alias"in c){i=0;g=c.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);b.splice.apply(b,[e,1].concat(f(g)))}}return b},normalizeModNamesWithAlias:function(a,d,b){var e=[],c,g;if(d){c=0;for(g=d.length;cf.length&&(f=i);b=this.packageInfo=b[f]||g}return b},getTag:function(){return this.tag||this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage().getCharset()}, +getRequiresWithAlias:function(){var a=this.requiresWithAlias,c=this.requires;if(!c||0===c.length)return c||[];a||(this.requiresWithAlias=a=b.normalizeModNamesWithAlias(this.runtime,c,this.name));return a},getRequiredMods:function(){var d=this.runtime;return a.map(this.getNormalizedRequires(),function(a){return b.createModuleInfo(d,a)})},getNormalizedRequires:function(){var a,c=this.normalizedRequiresStatus,g=this.status,f=this.requires;if(!f||0===f.length)return f||[];if((a=this.normalizedRequires)&& +c===g)return a;this.normalizedRequiresStatus=g;return this.normalizedRequires=b.normalizeModNames(this.runtime,f,this.name)}};k.Module=l;var g=new h({name:"",runtime:a})})(KISSY); +(function(a){function f(a){var c=0;if(m.webkit)a.sheet&&(c=1);else if(a.sheet)try{a.sheet.cssRules&&(c=1)}catch(d){"NS_ERROR_DOM_SECURITY_ERR"===d.name&&(c=1)}return c}function h(){for(var b in j){var c=j[b],d=c.node;f(d,b)&&(c.callback&&c.callback.call(d),delete j[b])}k=a.isEmptyObject(j)?0:setTimeout(h,l)}var l=30,m=a.UA,c=a.Loader.Utils,k=0,j={};c.pollCss=function(a,c){var d;d=j[a.href]={};d.node=a;d.callback=c;k||h()};c.isCssLoaded=f})(KISSY); +(function(a){var f=a.Env.host.document,h=a.Loader.Utils,l=a.Path,m={},c,k=a.UA;a.getScript=function(j,b,g){function d(){var a=o.readyState;if(!a||"loaded"===a||"complete"===a)o.onreadystatechange=o.onload=null,t(0)}var e=b,s=0,i,n,v,r;a.startsWith(l.extname(j).toLowerCase(),".css")&&(s=1);a.isPlainObject(e)&&(b=e.success,i=e.error,n=e.timeout,g=e.charset,v=e.attrs);e=m[j]=m[j]||[];e.push([b,i]);if(1k.webkit;s&&g&&b&&(b=!1);b?(o.onload=d,o.onerror=function(){o.onerror=null;t(1)}):s?h.pollCss(o,function(){t(0)}):o.onreadystatechange=d;n&&(r=a.later(function(){t(1)},1E3*n));c||(c=h.docHead());s?c.appendChild(o):c.insertBefore(o,c.firstChild);return o}})(KISSY); +(function(a,f){function h(b){b=b.replace(/\\/g,"/");"/"!==b.charAt(b.length-1)&&(b+="/");k?b=k.resolve(b):(a.startsWith(b,"file:")||(b="file:"+b),b=new a.Uri(b));return b}var l=a.Loader,m=l.Utils,c=a.Env.host.location,k,j,b=a.Config.fns;if(!a.UA.nodejs&&c&&(j=c.href))k=new a.Uri(j);a.Config.loadModsFn=function(b,c){a.getScript(b.fullpath,c)};b.packages=function(b){var c,e=this.Config,k=e.packages=e.packages||{};return b?(a.each(b,function(b,e){c=b.name||e;var f=h(b.base||b.path);b.name=c;b.base=f.toString(); +b.baseUri=f;b.runtime=a;delete b.path;k[c]?k[c].reset(b):k[c]=new l.Package(b)}),f):!1===b?(e.packages={},f):k};b.modules=function(b){var c=this;b&&a.each(b,function(b,f){var g=m.createModuleInfo(c,f,b);g.status===l.Status.INIT&&a.mix(g,b)})};b.base=function(a){var b=this.Config;if(!a)return b.base;a=h(a);b.base=a.toString();b.baseUri=a;return f}})(KISSY); +(function(a,f){function h(b,c,d,e,i){var h=c&&c.length,j=[],l=[];a.each(c,function(c){var q,m={timeout:i,success:function(){l.push(c);q&&r&&(g.registerModule(b,q.name,r.factory,r.config),r=f);--h||d(l,j)},error:function(){j.push(c);--h||d(l,j)},charset:e};c.combine||(q=c.mods[0],"css"===q.getType()?q=f:k&&(o=q.name,a.now(),m.attrs={"data-mod-name":q.name}));a.Config.loadModsFn(c,m)})}function l(b,c){a.mix(this,{runtime:b,waitingModules:c})}function m(a,b){if(!a&&"function"===typeof b&&1a.UA.ieMode,j=a.Loader,b=j.Status,g=j.Utils,d=g.getHash,e=b.LOADING,s=b.LOADED,i=b.READY_TO_ATTACH,n=b.ERROR,v=a.now();l.groupTag=v;var r,o;l.add=function(b,c,d,e,i){if(3===i&&a.isArray(c))var h=c,c=d,d={requires:h,cjs:1};if("function"===typeof b|| +1===i)if(d=c,c=b,d=m(d,c),k){for(var b=a.Env.host.document.getElementsByTagName("script"),j,i=b.length-1;0<=i;i--)if(h=b[i],"interactive"===h.readyState){j=h;break}b=j?j.getAttribute("data-mod-name"):o;g.registerModule(e,b,c,d);o=null}else r={factory:c,config:d};else k?o=null:r=f,d=m(d,c),g.registerModule(e,b,c,d)};a.augment(l,{use:function(b){var c=a.Config.timeout,d=this.runtime,b=a.keys(this.calculate(b));g.createModulesInfo(d,b);b=this.getComboUrls(b);a.each(b.css,function(b){h(d,b,function(b, +c){a.each(b,function(b){a.each(b.mods,function(b){g.registerModule(d,b.name,a.noop);b.notifyAll()})});a.each(c,function(b){a.each(b.mods,function(a){a.status=n;a.notifyAll()})})},b.charset,c)});a.each(b.js,function(b){h(d,b,function(){a.each(b,function(b){a.each(b.mods,function(a){a.factory||(a.status=n);a.notifyAll()})})},b.charset,c)})},calculate:function(a,b,c){var d,f,h,k,j=this.waitingModules,l=this.runtime,c=c||{},b=b||{};for(d=0;d=i||(k!==s&&!j.contains(f)&&(k!==e&&(h.status=e,c[f]=1),h.wait(function(a){j.remove(a.name);j.notifyAll()}),j.add(f)),this.calculate(h.getNormalizedRequires(),b,c)));return c},getComboMods:function(b,d){for(var e={},f,i=this.runtime,h=0,k=b.length,j,l,m,o,n,s,r,G,I;hf||s+j.join(e).length+o>b)j.pop(),l.pop(),J(),j=[],l=[],C--}else A.push({combine:0,fullpath:D,mods:[B]})}j.length&& +J()}}return i}});j.ComboLoader=l})(KISSY); +(function(a,f){function h(b){a.mix(this,{fn:b,waitMods:{}})}var l=a.Loader,m=a.Env,c=l.Utils,k=a.setImmediate,j=l.ComboLoader;h.prototype={constructor:h,notifyAll:function(){var b=this.fn;b&&a.isEmptyObject(this.waitMods)&&(this.fn=null,b())},add:function(a){this.waitMods[a]=1},remove:function(a){delete this.waitMods[a]},contains:function(a){return this.waitMods[a]}};l.WaitingModules=h;a.mix(a,{add:function(b,c,d){j.add(b,c,d,a,arguments.length)},use:function(b,g){function d(){++v;var b=[];a.now(); +c.checkModsLoadRecursively(e,a,f,b)?(c.attachModsRecursively(e,a),g&&(m?r():k(r))):b.length?i&&(m?i.apply(a,b):k(function(){i.apply(a,b)})):(o.fn=d,l.use(e))}var e,l,i,m,v=0,r,o=new h(d);a.isPlainObject(g)&&(m=g.sync,i=g.error,g=g.success);r=function(){g.apply(a,c.getModules(a,b))};b=c.getModNamesAsArray(b);b=c.normalizeModNamesWithAlias(a,b);e=c.unalias(a,b);l=new j(a,o);m?o.notifyAll():k(function(){o.notifyAll()});return a},require:function(b,f){if(b){var d=c.unalias(a,c.normalizeModNamesWithAlias(a, +[b],f));c.attachModsRecursively(d,a);return c.getModules(a,d)[1]}}});m.mods={}})(KISSY); +(function(a){function f(d){var e=d.src||"";if(!e.match(g))return 0;var d=(d=d.getAttribute("data-config"))?(new Function("return "+d))():{},f=d.comboPrefix||k,i=d.comboSep||j,h,l=e.indexOf(f);-1===l?h=e.replace(b,"$1"):(h=e.substring(0,l),"/"!==h.charAt(h.length-1)&&(h+="/"),f=e.substring(l+f.length).split(i),a.each(f,function(a){if(a.match(g))return h+=a.replace(b,"$1"),!1}));"tag"in d||(f=e.lastIndexOf("?t="),-1!==f&&(e=e.substring(f+1),d.tag=m.getHash(c+e)));d.base=d.base||h;return d}function h(){var a= +l.getElementsByTagName("script"),b,c;for(b=a.length-1;0<=b;b--)if(c=f(a[b]))return c;return null}var l=a.Env.host&&a.Env.host.document,m=a.Loader.Utils,c="20140828130018",k="??",j=",",b=/^(.*)(seed|kissy)(?:-min)?\.js[^/]*/i,g=/(seed|kissy)(?:-min)?\.js/i;a.config({comboPrefix:k,comboSep:j,charset:"utf-8",lang:"zh-cn"});a.UA.nodejs?a.config({charset:"utf-8",base:__dirname.replace(/\\/g,"/").replace(/\/$/,"")+"/"}):l&&l.getElementsByTagName&&a.config(a.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},h()))})(KISSY); KISSY.add("i18n",{alias:function(a,f){return f+"/i18n/"+a.Config.lang}}); -(function(a,f){function h(){if(!b){c&&!j.nodejs&&t(k,l,h);b=1;for(var e=0;ef.ieMode&&(k=null);if(k)a.add("json",function(){return a.JSON=k}),a.parseJson=function(a){return k.parse(a)};else{var j=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,g=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,n=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== -b?b:"string"===typeof b&&(b=a.trim(b))&&j.test(b.replace(g,"@").replace(n,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); +(function(a){a.add("ua",function(){return a.UA});a.add("uri",function(){return a.Uri});a.add("path",function(){return a.Path});var f=a.UA,h=a.Env.host,l=(f.nodejs&&"object"===typeof global?global:h).JSON;9>f.ieMode&&(l=null);if(l)a.add("json",function(){return a.JSON=l}),a.parseJson=function(a){return l.parse(a)};else{var m=/^[\],:{}\s]*$/,c=/(?:^|:|,)(?:\s*\[)+/g,k=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g;a.parseJson=function(b){return null=== +b?b:"string"===typeof b&&(b=a.trim(b))&&m.test(b.replace(k,"@").replace(j,"]").replace(c,""))?(new Function("return "+b))():a.error("Invalid Json: "+b)}}a.UA.nodejs&&(a.KISSY=a,module.exports=a)})(KISSY); diff --git a/build/seed.js b/build/seed.js index 6a669f90a1..c6538086bb 100644 --- a/build/seed.js +++ b/build/seed.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 16:36 +build time: Aug 28 13:00 */ /** * @ignore @@ -87,11 +87,11 @@ var KISSY = (function (undefined) { S = { /** * The build time of the library. - * NOTICE: '20140818163546' will replace with current timestamp when compressing. + * NOTICE: '20140828130018' will replace with current timestamp when compressing. * @private * @type {String} */ - __BUILD_TIME: '20140818163546', + __BUILD_TIME: '20140828130018', /** * KISSY Environment. @@ -118,10 +118,10 @@ var KISSY = (function (undefined) { /** * The version of the library. - * NOTICE: '1.46' will replace with current version when compressing. + * NOTICE: '1.47' will replace with current version when compressing. * @type {String} */ - version:'1.47', + version: '1.47', /** * set KISSY configuration @@ -3919,7 +3919,7 @@ var KISSY = (function (undefined) { // compatible and efficiency // KISSY.add(function(S,undefined){}) var require; - if (module.requires && module.requires.length) { + if (module.cjs) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 @@ -4165,9 +4165,9 @@ var KISSY = (function (undefined) { var self = this, packageName = self.name; return self.getBase() + ( - packageName && !self.isIgnorePackageNameInUri() ? - (packageName + '/') : - '' + packageName && !self.isIgnorePackageNameInUri() ? + (packageName + '/') : + '' ); }, @@ -4264,6 +4264,30 @@ var KISSY = (function (undefined) { module.waitedCallbacks = []; } + function makeArray(arr) { + var ret = []; + for (var i = 0; i < arr.length; i++) { + ret[i] = arr[i]; + } + return ret; + } + + function wrapUse(fn) { + if (typeof fn === 'function') { + fn = { + success: fn + }; + } + if (fn && fn.success) { + var original = fn.success; + fn.success = function () { + original.apply(this, makeArray(arguments).slice(1)); + }; + fn.sync = 1; + return fn; + } + } + Module.prototype = { kissy: 1, @@ -4300,7 +4324,20 @@ var KISSY = (function (undefined) { * @returns {*} required module exports */ require: function (moduleName) { - return S.require(moduleName, this.name); + var self = this; + if (typeof moduleName === 'string') { + return S.require(moduleName, this.name); + } else { + var mods = moduleName; + for (var i = 0; i < mods.length; i++) { + mods[i] = self.resolveByName(mods[i]); + } + var args = makeArray(arguments); + args[0] = mods; + args[1] = wrapUse(args[1]); + S.use.apply(S, args); + } + }, wait: function (callback) { @@ -5594,7 +5631,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140818163546'; + var TIMESTAMP = '20140828130018'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/src/event/sub-modules/base/coverage/src/base/object.js b/src/event/sub-modules/base/coverage/src/base/object.js index 5e1318849b..6559056f74 100644 --- a/src/event/sub-modules/base/coverage/src/base/object.js +++ b/src/event/sub-modules/base/coverage/src/base/object.js @@ -272,7 +272,7 @@ function visit1_102_1(result) { _$jscoverage['/base/object.js'].branchData['102'][1].ranCondition(result); return result; }_$jscoverage['/base/object.js'].lineData[6]++; -KISSY.add(function(S, undefined) { +KISSY.add(function(S) { _$jscoverage['/base/object.js'].functionData[0]++; _$jscoverage['/base/object.js'].lineData[7]++; var returnFalse = function() { diff --git a/src/event/sub-modules/base/coverage/src/base/observer.js b/src/event/sub-modules/base/coverage/src/base/observer.js index 9d40f175b1..4dc13afbc9 100644 --- a/src/event/sub-modules/base/coverage/src/base/observer.js +++ b/src/event/sub-modules/base/coverage/src/base/observer.js @@ -230,26 +230,26 @@ if (! _$jscoverage['/base/observer.js']) { _$jscoverage['/base/observer.js'] = {}; _$jscoverage['/base/observer.js'].lineData = []; _$jscoverage['/base/observer.js'].lineData[6] = 0; + _$jscoverage['/base/observer.js'].lineData[13] = 0; _$jscoverage['/base/observer.js'].lineData[14] = 0; - _$jscoverage['/base/observer.js'].lineData[15] = 0; - _$jscoverage['/base/observer.js'].lineData[35] = 0; + _$jscoverage['/base/observer.js'].lineData[34] = 0; + _$jscoverage['/base/observer.js'].lineData[44] = 0; _$jscoverage['/base/observer.js'].lineData[45] = 0; _$jscoverage['/base/observer.js'].lineData[46] = 0; - _$jscoverage['/base/observer.js'].lineData[47] = 0; - _$jscoverage['/base/observer.js'].lineData[58] = 0; + _$jscoverage['/base/observer.js'].lineData[57] = 0; + _$jscoverage['/base/observer.js'].lineData[59] = 0; _$jscoverage['/base/observer.js'].lineData[60] = 0; - _$jscoverage['/base/observer.js'].lineData[61] = 0; - _$jscoverage['/base/observer.js'].lineData[63] = 0; - _$jscoverage['/base/observer.js'].lineData[65] = 0; - _$jscoverage['/base/observer.js'].lineData[75] = 0; + _$jscoverage['/base/observer.js'].lineData[62] = 0; + _$jscoverage['/base/observer.js'].lineData[64] = 0; + _$jscoverage['/base/observer.js'].lineData[74] = 0; + _$jscoverage['/base/observer.js'].lineData[76] = 0; _$jscoverage['/base/observer.js'].lineData[77] = 0; - _$jscoverage['/base/observer.js'].lineData[78] = 0; - _$jscoverage['/base/observer.js'].lineData[80] = 0; - _$jscoverage['/base/observer.js'].lineData[89] = 0; + _$jscoverage['/base/observer.js'].lineData[79] = 0; + _$jscoverage['/base/observer.js'].lineData[88] = 0; + _$jscoverage['/base/observer.js'].lineData[92] = 0; _$jscoverage['/base/observer.js'].lineData[93] = 0; - _$jscoverage['/base/observer.js'].lineData[94] = 0; - _$jscoverage['/base/observer.js'].lineData[97] = 0; - _$jscoverage['/base/observer.js'].lineData[102] = 0; + _$jscoverage['/base/observer.js'].lineData[96] = 0; + _$jscoverage['/base/observer.js'].lineData[101] = 0; } if (! _$jscoverage['/base/observer.js'].functionData) { _$jscoverage['/base/observer.js'].functionData = []; @@ -263,108 +263,108 @@ if (! _$jscoverage['/base/observer.js'].functionData) { } if (! _$jscoverage['/base/observer.js'].branchData) { _$jscoverage['/base/observer.js'].branchData = {}; - _$jscoverage['/base/observer.js'].branchData['47'] = []; - _$jscoverage['/base/observer.js'].branchData['47'][1] = new BranchData(); - _$jscoverage['/base/observer.js'].branchData['47'][2] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['46'] = []; + _$jscoverage['/base/observer.js'].branchData['46'][1] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['46'][2] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['59'] = []; + _$jscoverage['/base/observer.js'].branchData['59'][1] = new BranchData(); _$jscoverage['/base/observer.js'].branchData['60'] = []; _$jscoverage['/base/observer.js'].branchData['60'][1] = new BranchData(); - _$jscoverage['/base/observer.js'].branchData['61'] = []; - _$jscoverage['/base/observer.js'].branchData['61'][1] = new BranchData(); - _$jscoverage['/base/observer.js'].branchData['77'] = []; - _$jscoverage['/base/observer.js'].branchData['77'][1] = new BranchData(); - _$jscoverage['/base/observer.js'].branchData['93'] = []; - _$jscoverage['/base/observer.js'].branchData['93'][1] = new BranchData(); - _$jscoverage['/base/observer.js'].branchData['93'][2] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['76'] = []; + _$jscoverage['/base/observer.js'].branchData['76'][1] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['92'] = []; + _$jscoverage['/base/observer.js'].branchData['92'][1] = new BranchData(); + _$jscoverage['/base/observer.js'].branchData['92'][2] = new BranchData(); } -_$jscoverage['/base/observer.js'].branchData['93'][2].init(184, 47, '!self.groups || !(self.groups.match(_ksGroups))'); -function visit12_93_2(result) { - _$jscoverage['/base/observer.js'].branchData['93'][2].ranCondition(result); +_$jscoverage['/base/observer.js'].branchData['92'][2].init(184, 47, '!self.groups || !(self.groups.match(_ksGroups))'); +function visit12_92_2(result) { + _$jscoverage['/base/observer.js'].branchData['92'][2].ranCondition(result); return result; -}_$jscoverage['/base/observer.js'].branchData['93'][1].init(170, 62, '_ksGroups && (!self.groups || !(self.groups.match(_ksGroups)))'); -function visit11_93_1(result) { - _$jscoverage['/base/observer.js'].branchData['93'][1].ranCondition(result); +}_$jscoverage['/base/observer.js'].branchData['92'][1].init(170, 62, '_ksGroups && (!self.groups || !(self.groups.match(_ksGroups)))'); +function visit11_92_1(result) { + _$jscoverage['/base/observer.js'].branchData['92'][1].ranCondition(result); return result; -}_$jscoverage['/base/observer.js'].branchData['77'][1].init(133, 13, 'ret === false'); -function visit10_77_1(result) { - _$jscoverage['/base/observer.js'].branchData['77'][1].ranCondition(result); +}_$jscoverage['/base/observer.js'].branchData['76'][1].init(133, 13, 'ret === false'); +function visit10_76_1(result) { + _$jscoverage['/base/observer.js'].branchData['76'][1].ranCondition(result); return result; -}_$jscoverage['/base/observer.js'].branchData['61'][1].init(151, 9, 'self.once'); -function visit9_61_1(result) { - _$jscoverage['/base/observer.js'].branchData['61'][1].ranCondition(result); - return result; -}_$jscoverage['/base/observer.js'].branchData['60'][1].init(82, 32, 'self.context || ce.currentTarget'); -function visit8_60_1(result) { +}_$jscoverage['/base/observer.js'].branchData['60'][1].init(151, 9, 'self.once'); +function visit9_60_1(result) { _$jscoverage['/base/observer.js'].branchData['60'][1].ranCondition(result); return result; -}_$jscoverage['/base/observer.js'].branchData['47'][2].init(30, 15, 's1[k] === s2[k]'); -function visit7_47_2(result) { - _$jscoverage['/base/observer.js'].branchData['47'][2].ranCondition(result); +}_$jscoverage['/base/observer.js'].branchData['59'][1].init(82, 32, 'self.context || ce.currentTarget'); +function visit8_59_1(result) { + _$jscoverage['/base/observer.js'].branchData['59'][1].ranCondition(result); + return result; +}_$jscoverage['/base/observer.js'].branchData['46'][2].init(30, 15, 's1[k] === s2[k]'); +function visit7_46_2(result) { + _$jscoverage['/base/observer.js'].branchData['46'][2].ranCondition(result); return result; -}_$jscoverage['/base/observer.js'].branchData['47'][1].init(24, 22, 'v && (s1[k] === s2[k])'); -function visit6_47_1(result) { - _$jscoverage['/base/observer.js'].branchData['47'][1].ranCondition(result); +}_$jscoverage['/base/observer.js'].branchData['46'][1].init(24, 22, 'v && (s1[k] === s2[k])'); +function visit6_46_1(result) { + _$jscoverage['/base/observer.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/base/observer.js'].lineData[6]++; -KISSY.add(function(S, undefined) { +KISSY.add(function(S) { _$jscoverage['/base/observer.js'].functionData[0]++; - _$jscoverage['/base/observer.js'].lineData[14]++; + _$jscoverage['/base/observer.js'].lineData[13]++; function Observer(cfg) { _$jscoverage['/base/observer.js'].functionData[1]++; - _$jscoverage['/base/observer.js'].lineData[15]++; + _$jscoverage['/base/observer.js'].lineData[14]++; S.mix(this, cfg); } - _$jscoverage['/base/observer.js'].lineData[35]++; + _$jscoverage['/base/observer.js'].lineData[34]++; Observer.prototype = { constructor: Observer, equals: function(s2) { _$jscoverage['/base/observer.js'].functionData[2]++; - _$jscoverage['/base/observer.js'].lineData[45]++; + _$jscoverage['/base/observer.js'].lineData[44]++; var s1 = this; - _$jscoverage['/base/observer.js'].lineData[46]++; + _$jscoverage['/base/observer.js'].lineData[45]++; return !!S.reduce(s1.keys, function(v, k) { _$jscoverage['/base/observer.js'].functionData[3]++; - _$jscoverage['/base/observer.js'].lineData[47]++; - return visit6_47_1(v && (visit7_47_2(s1[k] === s2[k]))); + _$jscoverage['/base/observer.js'].lineData[46]++; + return visit6_46_1(v && (visit7_46_2(s1[k] === s2[k]))); }, 1); }, simpleNotify: function(event, ce) { _$jscoverage['/base/observer.js'].functionData[4]++; - _$jscoverage['/base/observer.js'].lineData[58]++; + _$jscoverage['/base/observer.js'].lineData[57]++; var ret, self = this; + _$jscoverage['/base/observer.js'].lineData[59]++; + ret = self.fn.call(visit8_59_1(self.context || ce.currentTarget), event, self.data); _$jscoverage['/base/observer.js'].lineData[60]++; - ret = self.fn.call(visit8_60_1(self.context || ce.currentTarget), event, self.data); - _$jscoverage['/base/observer.js'].lineData[61]++; - if (visit9_61_1(self.once)) { - _$jscoverage['/base/observer.js'].lineData[63]++; + if (visit9_60_1(self.once)) { + _$jscoverage['/base/observer.js'].lineData[62]++; ce.removeObserver(self); } - _$jscoverage['/base/observer.js'].lineData[65]++; + _$jscoverage['/base/observer.js'].lineData[64]++; return ret; }, notifyInternal: function(event, ce) { _$jscoverage['/base/observer.js'].functionData[5]++; - _$jscoverage['/base/observer.js'].lineData[75]++; + _$jscoverage['/base/observer.js'].lineData[74]++; var ret = this.simpleNotify(event, ce); - _$jscoverage['/base/observer.js'].lineData[77]++; - if (visit10_77_1(ret === false)) { - _$jscoverage['/base/observer.js'].lineData[78]++; + _$jscoverage['/base/observer.js'].lineData[76]++; + if (visit10_76_1(ret === false)) { + _$jscoverage['/base/observer.js'].lineData[77]++; event.halt(); } - _$jscoverage['/base/observer.js'].lineData[80]++; + _$jscoverage['/base/observer.js'].lineData[79]++; return ret; }, notify: function(event, ce) { _$jscoverage['/base/observer.js'].functionData[6]++; - _$jscoverage['/base/observer.js'].lineData[89]++; + _$jscoverage['/base/observer.js'].lineData[88]++; var self = this, _ksGroups = event._ksGroups; - _$jscoverage['/base/observer.js'].lineData[93]++; - if (visit11_93_1(_ksGroups && (visit12_93_2(!self.groups || !(self.groups.match(_ksGroups)))))) { - _$jscoverage['/base/observer.js'].lineData[94]++; + _$jscoverage['/base/observer.js'].lineData[92]++; + if (visit11_92_1(_ksGroups && (visit12_92_2(!self.groups || !(self.groups.match(_ksGroups)))))) { + _$jscoverage['/base/observer.js'].lineData[93]++; return undefined; } - _$jscoverage['/base/observer.js'].lineData[97]++; + _$jscoverage['/base/observer.js'].lineData[96]++; return self.notifyInternal(event, ce); }}; - _$jscoverage['/base/observer.js'].lineData[102]++; + _$jscoverage['/base/observer.js'].lineData[101]++; return Observer; }); diff --git a/src/event/sub-modules/base/src/base/object.js b/src/event/sub-modules/base/src/base/object.js index b7158919d6..662fa7746b 100644 --- a/src/event/sub-modules/base/src/base/object.js +++ b/src/event/sub-modules/base/src/base/object.js @@ -3,7 +3,7 @@ * base event object for custom and dom event. * @author yiminghe@gmail.com */ -KISSY.add(function (S, undefined) { +KISSY.add(function (S) { var returnFalse = function () { return false; }, returnTrue = function () { diff --git a/src/event/sub-modules/base/src/base/observer.js b/src/event/sub-modules/base/src/base/observer.js index 417e0563b0..225ef7fc29 100644 --- a/src/event/sub-modules/base/src/base/observer.js +++ b/src/event/sub-modules/base/src/base/observer.js @@ -3,8 +3,7 @@ * observer for event. * @author yiminghe@gmail.com */ -KISSY.add(function (S, undefined) { - +KISSY.add(function (S) { /** * KISSY 's base observer for handle user-specified function * @private diff --git a/src/seed/coverage/src/loader/data-structure.js b/src/seed/coverage/src/loader/data-structure.js index 9aa1c6f18e..52379ee90e 100644 --- a/src/seed/coverage/src/loader/data-structure.js +++ b/src/seed/coverage/src/loader/data-structure.js @@ -263,89 +263,112 @@ if (! _$jscoverage['/loader/data-structure.js']) { _$jscoverage['/loader/data-structure.js'].lineData[158] = 0; _$jscoverage['/loader/data-structure.js'].lineData[159] = 0; _$jscoverage['/loader/data-structure.js'].lineData[162] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[174] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[175] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[184] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[189] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[163] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[164] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[165] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[167] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[170] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[171] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[172] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[176] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[177] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[178] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[179] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[181] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[182] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[186] = 0; _$jscoverage['/loader/data-structure.js'].lineData[198] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[202] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[206] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[207] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[209] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[210] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[211] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[212] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[214] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[216] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[217] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[221] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[229] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[199] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[208] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[213] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[222] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[223] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[224] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[226] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[227] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[228] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[230] = 0; _$jscoverage['/loader/data-structure.js'].lineData[231] = 0; _$jscoverage['/loader/data-structure.js'].lineData[232] = 0; _$jscoverage['/loader/data-structure.js'].lineData[233] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[235] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[237] = 0; _$jscoverage['/loader/data-structure.js'].lineData[239] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[243] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[244] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[246] = 0; _$jscoverage['/loader/data-structure.js'].lineData[247] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[248] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[249] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[251] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[253] = 0; _$jscoverage['/loader/data-structure.js'].lineData[254] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[256] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[257] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[259] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[260] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[261] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[263] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[258] = 0; _$jscoverage['/loader/data-structure.js'].lineData[266] = 0; _$jscoverage['/loader/data-structure.js'].lineData[268] = 0; _$jscoverage['/loader/data-structure.js'].lineData[269] = 0; _$jscoverage['/loader/data-structure.js'].lineData[270] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[271] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[272] = 0; _$jscoverage['/loader/data-structure.js'].lineData[274] = 0; _$jscoverage['/loader/data-structure.js'].lineData[276] = 0; _$jscoverage['/loader/data-structure.js'].lineData[284] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[286] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[287] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[288] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[290] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[291] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[293] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[294] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[296] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[297] = 0; _$jscoverage['/loader/data-structure.js'].lineData[298] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[299] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[300] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[303] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[305] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[306] = 0; _$jscoverage['/loader/data-structure.js'].lineData[307] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[315] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[316] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[326] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[308] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[311] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[313] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[321] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[323] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[324] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[325] = 0; _$jscoverage['/loader/data-structure.js'].lineData[327] = 0; _$jscoverage['/loader/data-structure.js'].lineData[335] = 0; _$jscoverage['/loader/data-structure.js'].lineData[336] = 0; _$jscoverage['/loader/data-structure.js'].lineData[344] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[347] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[348] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[349] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[350] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[352] = 0; _$jscoverage['/loader/data-structure.js'].lineData[353] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[361] = 0; _$jscoverage['/loader/data-structure.js'].lineData[363] = 0; _$jscoverage['/loader/data-structure.js'].lineData[364] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[372] = 0; _$jscoverage['/loader/data-structure.js'].lineData[373] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[378] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[379] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[380] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[383] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[381] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[384] = 0; _$jscoverage['/loader/data-structure.js'].lineData[385] = 0; _$jscoverage['/loader/data-structure.js'].lineData[386] = 0; _$jscoverage['/loader/data-structure.js'].lineData[387] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[392] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[394] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[395] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[399] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[390] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[398] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[400] = 0; _$jscoverage['/loader/data-structure.js'].lineData[401] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[402] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[405] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[408] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[413] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[414] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[418] = 0; - _$jscoverage['/loader/data-structure.js'].lineData[419] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[410] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[415] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[416] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[417] = 0; _$jscoverage['/loader/data-structure.js'].lineData[420] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[422] = 0; _$jscoverage['/loader/data-structure.js'].lineData[423] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[424] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[429] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[431] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[432] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[436] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[438] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[439] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[442] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[445] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[450] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[451] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[455] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[456] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[457] = 0; + _$jscoverage['/loader/data-structure.js'].lineData[460] = 0; } if (! _$jscoverage['/loader/data-structure.js'].functionData) { _$jscoverage['/loader/data-structure.js'].functionData = []; @@ -386,6 +409,9 @@ if (! _$jscoverage['/loader/data-structure.js'].functionData) { _$jscoverage['/loader/data-structure.js'].functionData[34] = 0; _$jscoverage['/loader/data-structure.js'].functionData[35] = 0; _$jscoverage['/loader/data-structure.js'].functionData[36] = 0; + _$jscoverage['/loader/data-structure.js'].functionData[37] = 0; + _$jscoverage['/loader/data-structure.js'].functionData[38] = 0; + _$jscoverage['/loader/data-structure.js'].functionData[39] = 0; } if (! _$jscoverage['/loader/data-structure.js'].branchData) { _$jscoverage['/loader/data-structure.js'].branchData = {}; @@ -393,153 +419,183 @@ if (! _$jscoverage['/loader/data-structure.js'].branchData) { _$jscoverage['/loader/data-structure.js'].branchData['63'][1] = new BranchData(); _$jscoverage['/loader/data-structure.js'].branchData['74'] = []; _$jscoverage['/loader/data-structure.js'].branchData['74'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['209'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['209'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['214'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['214'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['231'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['231'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['232'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['232'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['254'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['254'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['256'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['256'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['263'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['263'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['286'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['286'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['299'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['299'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['316'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['316'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['327'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['327'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['164'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['164'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['171'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['171'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['176'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['176'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['223'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['223'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['227'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['227'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['246'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['246'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['251'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['251'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['268'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['268'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['269'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['269'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['291'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['291'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['293'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['293'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['300'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['300'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['323'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['323'][1] = new BranchData(); _$jscoverage['/loader/data-structure.js'].branchData['336'] = []; _$jscoverage['/loader/data-structure.js'].branchData['336'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['347'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['347'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['347'][2] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['348'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['348'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['349'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['349'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['378'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['378'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['378'][2] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['379'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['379'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['380'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['380'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['382'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['382'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['401'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['401'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['353'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['353'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['364'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['364'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['373'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['373'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['384'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['384'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['384'][2] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['385'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['385'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['386'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['386'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['415'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['415'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['415'][2] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['416'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['416'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['417'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['417'][1] = new BranchData(); _$jscoverage['/loader/data-structure.js'].branchData['419'] = []; _$jscoverage['/loader/data-structure.js'].branchData['419'][1] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['419'][2] = new BranchData(); - _$jscoverage['/loader/data-structure.js'].branchData['423'] = []; - _$jscoverage['/loader/data-structure.js'].branchData['423'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['438'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['438'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['456'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['456'][1] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['456'][2] = new BranchData(); + _$jscoverage['/loader/data-structure.js'].branchData['460'] = []; + _$jscoverage['/loader/data-structure.js'].branchData['460'][1] = new BranchData(); } -_$jscoverage['/loader/data-structure.js'].branchData['423'][1].init(308, 32, 'packages[pName] || systemPackage'); -function visit420_423_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['423'][1].ranCondition(result); +_$jscoverage['/loader/data-structure.js'].branchData['460'][1].init(308, 32, 'packages[pName] || systemPackage'); +function visit425_460_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['460'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['419'][2].init(56, 23, 'p.length > pName.length'); -function visit419_419_2(result) { - _$jscoverage['/loader/data-structure.js'].branchData['419'][2].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['456'][2].init(56, 23, 'p.length > pName.length'); +function visit424_456_2(result) { + _$jscoverage['/loader/data-structure.js'].branchData['456'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['419'][1].init(17, 62, 'S.startsWith(modNameSlash, p + \'/\') && p.length > pName.length'); -function visit418_419_1(result) { +}_$jscoverage['/loader/data-structure.js'].branchData['456'][1].init(17, 62, 'S.startsWith(modNameSlash, p + \'/\') && p.length > pName.length'); +function visit423_456_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['456'][1].ranCondition(result); + return result; +}_$jscoverage['/loader/data-structure.js'].branchData['438'][1].init(185, 24, 'm.getPackage().isDebug()'); +function visit422_438_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['438'][1].ranCondition(result); + return result; +}_$jscoverage['/loader/data-structure.js'].branchData['419'][1].init(112, 35, 'normalizedRequiresStatus === status'); +function visit421_419_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['419'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['401'][1].init(185, 24, 'm.getPackage().isDebug()'); -function visit417_401_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['401'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['417'][1].init(338, 149, '(normalizedRequires = self.normalizedRequires) && (normalizedRequiresStatus === status)'); +function visit420_417_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['417'][1].ranCondition(result); + return result; +}_$jscoverage['/loader/data-structure.js'].branchData['416'][1].init(24, 14, 'requires || []'); +function visit419_416_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['416'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['382'][1].init(112, 35, 'normalizedRequiresStatus === status'); -function visit416_382_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['382'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['415'][2].init(249, 21, 'requires.length === 0'); +function visit418_415_2(result) { + _$jscoverage['/loader/data-structure.js'].branchData['415'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['380'][1].init(338, 149, '(normalizedRequires = self.normalizedRequires) && (normalizedRequiresStatus === status)'); -function visit415_380_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['380'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['415'][1].init(236, 34, '!requires || requires.length === 0'); +function visit417_415_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['415'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['379'][1].init(24, 14, 'requires || []'); -function visit414_379_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['379'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['386'][1].init(249, 18, '!requiresWithAlias'); +function visit416_386_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['386'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['378'][2].init(249, 21, 'requires.length === 0'); -function visit413_378_2(result) { - _$jscoverage['/loader/data-structure.js'].branchData['378'][2].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['385'][1].init(24, 14, 'requires || []'); +function visit415_385_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['385'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['378'][1].init(236, 34, '!requires || requires.length === 0'); -function visit412_378_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['378'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['384'][2].init(161, 21, 'requires.length === 0'); +function visit414_384_2(result) { + _$jscoverage['/loader/data-structure.js'].branchData['384'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['349'][1].init(249, 18, '!requiresWithAlias'); -function visit411_349_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['349'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['384'][1].init(148, 34, '!requires || requires.length === 0'); +function visit413_384_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['384'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['348'][1].init(24, 14, 'requires || []'); -function visit410_348_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['348'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['373'][1].init(49, 46, 'self.charset || self.getPackage().getCharset()'); +function visit412_373_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['373'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['347'][2].init(161, 21, 'requires.length === 0'); -function visit409_347_2(result) { - _$jscoverage['/loader/data-structure.js'].branchData['347'][2].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['364'][1].init(49, 38, 'self.tag || self.getPackage().getTag()'); +function visit411_364_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['364'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['347'][1].init(148, 34, '!requires || requires.length === 0'); -function visit408_347_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['347'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['353'][1].init(49, 92, 'self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))'); +function visit410_353_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['353'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['336'][1].init(49, 46, 'self.charset || self.getPackage().getCharset()'); -function visit407_336_1(result) { +}_$jscoverage['/loader/data-structure.js'].branchData['336'][1].init(49, 55, 'self.path || (self.path = defaultComponentJsName(self))'); +function visit409_336_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['336'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['327'][1].init(49, 38, 'self.tag || self.getPackage().getTag()'); -function visit406_327_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['327'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['323'][1].init(75, 14, '!self.fullpath'); +function visit408_323_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['323'][1].ranCondition(result); + return result; +}_$jscoverage['/loader/data-structure.js'].branchData['300'][1].init(212, 171, 'packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name)'); +function visit407_300_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['300'][1].ranCondition(result); + return result; +}_$jscoverage['/loader/data-structure.js'].branchData['293'][1].init(66, 13, 'self.fullpath'); +function visit406_293_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['293'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['316'][1].init(49, 92, 'self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))'); -function visit405_316_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['316'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['291'][1].init(206, 17, '!self.fullPathUri'); +function visit405_291_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['291'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['299'][1].init(49, 55, 'self.path || (self.path = defaultComponentJsName(self))'); -function visit404_299_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['299'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['269'][1].init(21, 48, 'Path.extname(self.name).toLowerCase() === \'.css\''); +function visit404_269_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['269'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['286'][1].init(75, 14, '!self.fullpath'); -function visit403_286_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['286'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['268'][1].init(77, 2, '!v'); +function visit403_268_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['268'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['263'][1].init(212, 171, 'packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name)'); -function visit402_263_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['263'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['251'][1].init(27, 12, 'e.stack || e'); +function visit402_251_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['251'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['256'][1].init(66, 13, 'self.fullpath'); -function visit401_256_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['256'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['246'][1].init(120, 7, 'i < len'); +function visit401_246_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['246'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['254'][1].init(206, 17, '!self.fullPathUri'); -function visit400_254_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['254'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['227'][1].init(72, 15, 'i < mods.length'); +function visit400_227_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['227'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['232'][1].init(21, 48, 'Path.extname(self.name).toLowerCase() === \'.css\''); -function visit399_232_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['232'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['223'][1].init(46, 30, 'typeof moduleName === \'string\''); +function visit399_223_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['223'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['231'][1].init(77, 2, '!v'); -function visit398_231_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['231'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['176'][1].init(125, 16, 'fn && fn.success'); +function visit398_176_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['176'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['214'][1].init(27, 12, 'e.stack || e'); -function visit397_214_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['214'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['171'][1].init(13, 24, 'typeof fn === \'function\''); +function visit397_171_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['171'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['209'][1].init(120, 7, 'i < len'); -function visit396_209_1(result) { - _$jscoverage['/loader/data-structure.js'].branchData['209'][1].ranCondition(result); +}_$jscoverage['/loader/data-structure.js'].branchData['164'][1].init(47, 14, 'i < arr.length'); +function visit396_164_1(result) { + _$jscoverage['/loader/data-structure.js'].branchData['164'][1].ranCondition(result); return result; }_$jscoverage['/loader/data-structure.js'].branchData['74'][1].init(46, 16, '!self.packageUri'); function visit395_74_1(result) { @@ -661,256 +717,315 @@ function visit394_63_1(result) { module.waitedCallbacks = []; } _$jscoverage['/loader/data-structure.js'].lineData[162]++; + function makeArray(arr) { + _$jscoverage['/loader/data-structure.js'].functionData[16]++; + _$jscoverage['/loader/data-structure.js'].lineData[163]++; + var ret = []; + _$jscoverage['/loader/data-structure.js'].lineData[164]++; + for (var i = 0; visit396_164_1(i < arr.length); i++) { + _$jscoverage['/loader/data-structure.js'].lineData[165]++; + ret[i] = arr[i]; + } + _$jscoverage['/loader/data-structure.js'].lineData[167]++; + return ret; + } + _$jscoverage['/loader/data-structure.js'].lineData[170]++; + function wrapUse(fn) { + _$jscoverage['/loader/data-structure.js'].functionData[17]++; + _$jscoverage['/loader/data-structure.js'].lineData[171]++; + if (visit397_171_1(typeof fn === 'function')) { + _$jscoverage['/loader/data-structure.js'].lineData[172]++; + fn = { + success: fn}; + } + _$jscoverage['/loader/data-structure.js'].lineData[176]++; + if (visit398_176_1(fn && fn.success)) { + _$jscoverage['/loader/data-structure.js'].lineData[177]++; + var original = fn.success; + _$jscoverage['/loader/data-structure.js'].lineData[178]++; + fn.success = function() { + _$jscoverage['/loader/data-structure.js'].functionData[18]++; + _$jscoverage['/loader/data-structure.js'].lineData[179]++; + original.apply(this, makeArray(arguments).slice(1)); +}; + _$jscoverage['/loader/data-structure.js'].lineData[181]++; + fn.sync = 1; + _$jscoverage['/loader/data-structure.js'].lineData[182]++; + return fn; + } + } + _$jscoverage['/loader/data-structure.js'].lineData[186]++; Module.prototype = { kissy: 1, constructor: Module, 'use': function(relativeName, fn) { - _$jscoverage['/loader/data-structure.js'].functionData[16]++; - _$jscoverage['/loader/data-structure.js'].lineData[174]++; + _$jscoverage['/loader/data-structure.js'].functionData[19]++; + _$jscoverage['/loader/data-structure.js'].lineData[198]++; relativeName = Utils.getModNamesAsArray(relativeName); - _$jscoverage['/loader/data-structure.js'].lineData[175]++; + _$jscoverage['/loader/data-structure.js'].lineData[199]++; return KISSY.use(Utils.normalDepModuleName(this.name, relativeName), fn); }, 'resolve': function(relativePath) { - _$jscoverage['/loader/data-structure.js'].functionData[17]++; - _$jscoverage['/loader/data-structure.js'].lineData[184]++; + _$jscoverage['/loader/data-structure.js'].functionData[20]++; + _$jscoverage['/loader/data-structure.js'].lineData[208]++; return this.getFullPathUri().resolve(relativePath); }, 'resolveByName': function(relativeName) { - _$jscoverage['/loader/data-structure.js'].functionData[18]++; - _$jscoverage['/loader/data-structure.js'].lineData[189]++; + _$jscoverage['/loader/data-structure.js'].functionData[21]++; + _$jscoverage['/loader/data-structure.js'].lineData[213]++; return Utils.normalDepModuleName(this.name, relativeName); }, require: function(moduleName) { - _$jscoverage['/loader/data-structure.js'].functionData[19]++; - _$jscoverage['/loader/data-structure.js'].lineData[198]++; - return S.require(moduleName, this.name); + _$jscoverage['/loader/data-structure.js'].functionData[22]++; + _$jscoverage['/loader/data-structure.js'].lineData[222]++; + var self = this; + _$jscoverage['/loader/data-structure.js'].lineData[223]++; + if (visit399_223_1(typeof moduleName === 'string')) { + _$jscoverage['/loader/data-structure.js'].lineData[224]++; + return S.require(moduleName, this.name); + } else { + _$jscoverage['/loader/data-structure.js'].lineData[226]++; + var mods = moduleName; + _$jscoverage['/loader/data-structure.js'].lineData[227]++; + for (var i = 0; visit400_227_1(i < mods.length); i++) { + _$jscoverage['/loader/data-structure.js'].lineData[228]++; + mods[i] = self.resolveByName(mods[i]); + } + _$jscoverage['/loader/data-structure.js'].lineData[230]++; + var args = makeArray(arguments); + _$jscoverage['/loader/data-structure.js'].lineData[231]++; + args[0] = mods; + _$jscoverage['/loader/data-structure.js'].lineData[232]++; + args[1] = wrapUse(args[1]); + _$jscoverage['/loader/data-structure.js'].lineData[233]++; + S.use.apply(S, args); + } }, wait: function(callback) { - _$jscoverage['/loader/data-structure.js'].functionData[20]++; - _$jscoverage['/loader/data-structure.js'].lineData[202]++; + _$jscoverage['/loader/data-structure.js'].functionData[23]++; + _$jscoverage['/loader/data-structure.js'].lineData[239]++; this.waitedCallbacks.push(callback); }, notifyAll: function() { - _$jscoverage['/loader/data-structure.js'].functionData[21]++; - _$jscoverage['/loader/data-structure.js'].lineData[206]++; + _$jscoverage['/loader/data-structure.js'].functionData[24]++; + _$jscoverage['/loader/data-structure.js'].lineData[243]++; var callback; - _$jscoverage['/loader/data-structure.js'].lineData[207]++; + _$jscoverage['/loader/data-structure.js'].lineData[244]++; var len = this.waitedCallbacks.length, i = 0; - _$jscoverage['/loader/data-structure.js'].lineData[209]++; - for (; visit396_209_1(i < len); i++) { - _$jscoverage['/loader/data-structure.js'].lineData[210]++; + _$jscoverage['/loader/data-structure.js'].lineData[246]++; + for (; visit401_246_1(i < len); i++) { + _$jscoverage['/loader/data-structure.js'].lineData[247]++; callback = this.waitedCallbacks[i]; - _$jscoverage['/loader/data-structure.js'].lineData[211]++; + _$jscoverage['/loader/data-structure.js'].lineData[248]++; try { - _$jscoverage['/loader/data-structure.js'].lineData[212]++; + _$jscoverage['/loader/data-structure.js'].lineData[249]++; callback(this); } catch (e) { - _$jscoverage['/loader/data-structure.js'].lineData[214]++; - S.log(visit397_214_1(e.stack || e), 'error'); - _$jscoverage['/loader/data-structure.js'].lineData[216]++; + _$jscoverage['/loader/data-structure.js'].lineData[251]++; + S.log(visit402_251_1(e.stack || e), 'error'); + _$jscoverage['/loader/data-structure.js'].lineData[253]++; setTimeout(function() { - _$jscoverage['/loader/data-structure.js'].functionData[22]++; - _$jscoverage['/loader/data-structure.js'].lineData[217]++; + _$jscoverage['/loader/data-structure.js'].functionData[25]++; + _$jscoverage['/loader/data-structure.js'].lineData[254]++; throw e; }, 0); } } - _$jscoverage['/loader/data-structure.js'].lineData[221]++; + _$jscoverage['/loader/data-structure.js'].lineData[258]++; this.waitedCallbacks = []; }, getType: function() { - _$jscoverage['/loader/data-structure.js'].functionData[23]++; - _$jscoverage['/loader/data-structure.js'].lineData[229]++; + _$jscoverage['/loader/data-structure.js'].functionData[26]++; + _$jscoverage['/loader/data-structure.js'].lineData[266]++; var self = this, v = self.type; - _$jscoverage['/loader/data-structure.js'].lineData[231]++; - if (visit398_231_1(!v)) { - _$jscoverage['/loader/data-structure.js'].lineData[232]++; - if (visit399_232_1(Path.extname(self.name).toLowerCase() === '.css')) { - _$jscoverage['/loader/data-structure.js'].lineData[233]++; + _$jscoverage['/loader/data-structure.js'].lineData[268]++; + if (visit403_268_1(!v)) { + _$jscoverage['/loader/data-structure.js'].lineData[269]++; + if (visit404_269_1(Path.extname(self.name).toLowerCase() === '.css')) { + _$jscoverage['/loader/data-structure.js'].lineData[270]++; v = 'css'; } else { - _$jscoverage['/loader/data-structure.js'].lineData[235]++; + _$jscoverage['/loader/data-structure.js'].lineData[272]++; v = 'js'; } - _$jscoverage['/loader/data-structure.js'].lineData[237]++; + _$jscoverage['/loader/data-structure.js'].lineData[274]++; self.type = v; } - _$jscoverage['/loader/data-structure.js'].lineData[239]++; + _$jscoverage['/loader/data-structure.js'].lineData[276]++; return v; }, getFullPathUri: function() { - _$jscoverage['/loader/data-structure.js'].functionData[24]++; - _$jscoverage['/loader/data-structure.js'].lineData[247]++; + _$jscoverage['/loader/data-structure.js'].functionData[27]++; + _$jscoverage['/loader/data-structure.js'].lineData[284]++; var self = this, t, fullPathUri, packageBaseUri, packageInfo, packageName, path; - _$jscoverage['/loader/data-structure.js'].lineData[254]++; - if (visit400_254_1(!self.fullPathUri)) { - _$jscoverage['/loader/data-structure.js'].lineData[256]++; - if (visit401_256_1(self.fullpath)) { - _$jscoverage['/loader/data-structure.js'].lineData[257]++; + _$jscoverage['/loader/data-structure.js'].lineData[291]++; + if (visit405_291_1(!self.fullPathUri)) { + _$jscoverage['/loader/data-structure.js'].lineData[293]++; + if (visit406_293_1(self.fullpath)) { + _$jscoverage['/loader/data-structure.js'].lineData[294]++; fullPathUri = new S.Uri(self.fullpath); } else { - _$jscoverage['/loader/data-structure.js'].lineData[259]++; + _$jscoverage['/loader/data-structure.js'].lineData[296]++; packageInfo = self.getPackage(); - _$jscoverage['/loader/data-structure.js'].lineData[260]++; + _$jscoverage['/loader/data-structure.js'].lineData[297]++; packageBaseUri = packageInfo.getBaseUri(); - _$jscoverage['/loader/data-structure.js'].lineData[261]++; + _$jscoverage['/loader/data-structure.js'].lineData[298]++; path = self.getPath(); - _$jscoverage['/loader/data-structure.js'].lineData[263]++; - if (visit402_263_1(packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name))) { - _$jscoverage['/loader/data-structure.js'].lineData[266]++; + _$jscoverage['/loader/data-structure.js'].lineData[300]++; + if (visit407_300_1(packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name))) { + _$jscoverage['/loader/data-structure.js'].lineData[303]++; path = Path.relative(packageName, path); } - _$jscoverage['/loader/data-structure.js'].lineData[268]++; + _$jscoverage['/loader/data-structure.js'].lineData[305]++; fullPathUri = packageBaseUri.resolve(path); - _$jscoverage['/loader/data-structure.js'].lineData[269]++; + _$jscoverage['/loader/data-structure.js'].lineData[306]++; if ((t = self.getTag())) { - _$jscoverage['/loader/data-structure.js'].lineData[270]++; + _$jscoverage['/loader/data-structure.js'].lineData[307]++; t += '.' + self.getType(); - _$jscoverage['/loader/data-structure.js'].lineData[271]++; + _$jscoverage['/loader/data-structure.js'].lineData[308]++; fullPathUri.query.set('t', t); } } - _$jscoverage['/loader/data-structure.js'].lineData[274]++; + _$jscoverage['/loader/data-structure.js'].lineData[311]++; self.fullPathUri = fullPathUri; } - _$jscoverage['/loader/data-structure.js'].lineData[276]++; + _$jscoverage['/loader/data-structure.js'].lineData[313]++; return self.fullPathUri; }, getFullPath: function() { - _$jscoverage['/loader/data-structure.js'].functionData[25]++; - _$jscoverage['/loader/data-structure.js'].lineData[284]++; + _$jscoverage['/loader/data-structure.js'].functionData[28]++; + _$jscoverage['/loader/data-structure.js'].lineData[321]++; var self = this, fullPathUri; - _$jscoverage['/loader/data-structure.js'].lineData[286]++; - if (visit403_286_1(!self.fullpath)) { - _$jscoverage['/loader/data-structure.js'].lineData[287]++; + _$jscoverage['/loader/data-structure.js'].lineData[323]++; + if (visit408_323_1(!self.fullpath)) { + _$jscoverage['/loader/data-structure.js'].lineData[324]++; fullPathUri = self.getFullPathUri(); - _$jscoverage['/loader/data-structure.js'].lineData[288]++; + _$jscoverage['/loader/data-structure.js'].lineData[325]++; self.fullpath = fullPathUri.toString(); } - _$jscoverage['/loader/data-structure.js'].lineData[290]++; + _$jscoverage['/loader/data-structure.js'].lineData[327]++; return self.fullpath; }, getPath: function() { - _$jscoverage['/loader/data-structure.js'].functionData[26]++; - _$jscoverage['/loader/data-structure.js'].lineData[298]++; + _$jscoverage['/loader/data-structure.js'].functionData[29]++; + _$jscoverage['/loader/data-structure.js'].lineData[335]++; var self = this; - _$jscoverage['/loader/data-structure.js'].lineData[299]++; - return visit404_299_1(self.path || (self.path = defaultComponentJsName(self))); + _$jscoverage['/loader/data-structure.js'].lineData[336]++; + return visit409_336_1(self.path || (self.path = defaultComponentJsName(self))); }, getName: function() { - _$jscoverage['/loader/data-structure.js'].functionData[27]++; - _$jscoverage['/loader/data-structure.js'].lineData[307]++; + _$jscoverage['/loader/data-structure.js'].functionData[30]++; + _$jscoverage['/loader/data-structure.js'].lineData[344]++; return this.name; }, getPackage: function() { - _$jscoverage['/loader/data-structure.js'].functionData[28]++; - _$jscoverage['/loader/data-structure.js'].lineData[315]++; + _$jscoverage['/loader/data-structure.js'].functionData[31]++; + _$jscoverage['/loader/data-structure.js'].lineData[352]++; var self = this; - _$jscoverage['/loader/data-structure.js'].lineData[316]++; - return visit405_316_1(self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))); + _$jscoverage['/loader/data-structure.js'].lineData[353]++; + return visit410_353_1(self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))); }, getTag: function() { - _$jscoverage['/loader/data-structure.js'].functionData[29]++; - _$jscoverage['/loader/data-structure.js'].lineData[326]++; + _$jscoverage['/loader/data-structure.js'].functionData[32]++; + _$jscoverage['/loader/data-structure.js'].lineData[363]++; var self = this; - _$jscoverage['/loader/data-structure.js'].lineData[327]++; - return visit406_327_1(self.tag || self.getPackage().getTag()); + _$jscoverage['/loader/data-structure.js'].lineData[364]++; + return visit411_364_1(self.tag || self.getPackage().getTag()); }, getCharset: function() { - _$jscoverage['/loader/data-structure.js'].functionData[30]++; - _$jscoverage['/loader/data-structure.js'].lineData[335]++; + _$jscoverage['/loader/data-structure.js'].functionData[33]++; + _$jscoverage['/loader/data-structure.js'].lineData[372]++; var self = this; - _$jscoverage['/loader/data-structure.js'].lineData[336]++; - return visit407_336_1(self.charset || self.getPackage().getCharset()); + _$jscoverage['/loader/data-structure.js'].lineData[373]++; + return visit412_373_1(self.charset || self.getPackage().getCharset()); }, getRequiresWithAlias: function() { - _$jscoverage['/loader/data-structure.js'].functionData[31]++; - _$jscoverage['/loader/data-structure.js'].lineData[344]++; + _$jscoverage['/loader/data-structure.js'].functionData[34]++; + _$jscoverage['/loader/data-structure.js'].lineData[381]++; var self = this, requiresWithAlias = self.requiresWithAlias, requires = self.requires; - _$jscoverage['/loader/data-structure.js'].lineData[347]++; - if (visit408_347_1(!requires || visit409_347_2(requires.length === 0))) { - _$jscoverage['/loader/data-structure.js'].lineData[348]++; - return visit410_348_1(requires || []); + _$jscoverage['/loader/data-structure.js'].lineData[384]++; + if (visit413_384_1(!requires || visit414_384_2(requires.length === 0))) { + _$jscoverage['/loader/data-structure.js'].lineData[385]++; + return visit415_385_1(requires || []); } else { - _$jscoverage['/loader/data-structure.js'].lineData[349]++; - if (visit411_349_1(!requiresWithAlias)) { - _$jscoverage['/loader/data-structure.js'].lineData[350]++; + _$jscoverage['/loader/data-structure.js'].lineData[386]++; + if (visit416_386_1(!requiresWithAlias)) { + _$jscoverage['/loader/data-structure.js'].lineData[387]++; self.requiresWithAlias = requiresWithAlias = Utils.normalizeModNamesWithAlias(self.runtime, requires, self.name); } } - _$jscoverage['/loader/data-structure.js'].lineData[353]++; + _$jscoverage['/loader/data-structure.js'].lineData[390]++; return requiresWithAlias; }, getRequiredMods: function() { - _$jscoverage['/loader/data-structure.js'].functionData[32]++; - _$jscoverage['/loader/data-structure.js'].lineData[361]++; + _$jscoverage['/loader/data-structure.js'].functionData[35]++; + _$jscoverage['/loader/data-structure.js'].lineData[398]++; var self = this, runtime = self.runtime; - _$jscoverage['/loader/data-structure.js'].lineData[363]++; + _$jscoverage['/loader/data-structure.js'].lineData[400]++; return S.map(self.getNormalizedRequires(), function(r) { - _$jscoverage['/loader/data-structure.js'].functionData[33]++; - _$jscoverage['/loader/data-structure.js'].lineData[364]++; + _$jscoverage['/loader/data-structure.js'].functionData[36]++; + _$jscoverage['/loader/data-structure.js'].lineData[401]++; return Utils.createModuleInfo(runtime, r); }); }, getNormalizedRequires: function() { - _$jscoverage['/loader/data-structure.js'].functionData[34]++; - _$jscoverage['/loader/data-structure.js'].lineData[373]++; + _$jscoverage['/loader/data-structure.js'].functionData[37]++; + _$jscoverage['/loader/data-structure.js'].lineData[410]++; var self = this, normalizedRequires, normalizedRequiresStatus = self.normalizedRequiresStatus, status = self.status, requires = self.requires; - _$jscoverage['/loader/data-structure.js'].lineData[378]++; - if (visit412_378_1(!requires || visit413_378_2(requires.length === 0))) { - _$jscoverage['/loader/data-structure.js'].lineData[379]++; - return visit414_379_1(requires || []); + _$jscoverage['/loader/data-structure.js'].lineData[415]++; + if (visit417_415_1(!requires || visit418_415_2(requires.length === 0))) { + _$jscoverage['/loader/data-structure.js'].lineData[416]++; + return visit419_416_1(requires || []); } else { - _$jscoverage['/loader/data-structure.js'].lineData[380]++; - if (visit415_380_1((normalizedRequires = self.normalizedRequires) && (visit416_382_1(normalizedRequiresStatus === status)))) { - _$jscoverage['/loader/data-structure.js'].lineData[383]++; + _$jscoverage['/loader/data-structure.js'].lineData[417]++; + if (visit420_417_1((normalizedRequires = self.normalizedRequires) && (visit421_419_1(normalizedRequiresStatus === status)))) { + _$jscoverage['/loader/data-structure.js'].lineData[420]++; return normalizedRequires; } else { - _$jscoverage['/loader/data-structure.js'].lineData[385]++; + _$jscoverage['/loader/data-structure.js'].lineData[422]++; self.normalizedRequiresStatus = status; - _$jscoverage['/loader/data-structure.js'].lineData[386]++; + _$jscoverage['/loader/data-structure.js'].lineData[423]++; self.normalizedRequires = Utils.normalizeModNames(self.runtime, requires, self.name); - _$jscoverage['/loader/data-structure.js'].lineData[387]++; + _$jscoverage['/loader/data-structure.js'].lineData[424]++; return self.normalizedRequires; } } }}; - _$jscoverage['/loader/data-structure.js'].lineData[392]++; + _$jscoverage['/loader/data-structure.js'].lineData[429]++; Loader.Module = Module; - _$jscoverage['/loader/data-structure.js'].lineData[394]++; + _$jscoverage['/loader/data-structure.js'].lineData[431]++; function defaultComponentJsName(m) { - _$jscoverage['/loader/data-structure.js'].functionData[35]++; - _$jscoverage['/loader/data-structure.js'].lineData[395]++; + _$jscoverage['/loader/data-structure.js'].functionData[38]++; + _$jscoverage['/loader/data-structure.js'].lineData[432]++; var name = m.name, extname = '.' + m.getType(), min = '-min'; - _$jscoverage['/loader/data-structure.js'].lineData[399]++; + _$jscoverage['/loader/data-structure.js'].lineData[436]++; name = Path.join(Path.dirname(name), Path.basename(name, extname)); - _$jscoverage['/loader/data-structure.js'].lineData[401]++; - if (visit417_401_1(m.getPackage().isDebug())) { - _$jscoverage['/loader/data-structure.js'].lineData[402]++; + _$jscoverage['/loader/data-structure.js'].lineData[438]++; + if (visit422_438_1(m.getPackage().isDebug())) { + _$jscoverage['/loader/data-structure.js'].lineData[439]++; min = ''; } - _$jscoverage['/loader/data-structure.js'].lineData[405]++; + _$jscoverage['/loader/data-structure.js'].lineData[442]++; return name + min + extname; } - _$jscoverage['/loader/data-structure.js'].lineData[408]++; + _$jscoverage['/loader/data-structure.js'].lineData[445]++; var systemPackage = new Package({ name: '', runtime: S}); - _$jscoverage['/loader/data-structure.js'].lineData[413]++; + _$jscoverage['/loader/data-structure.js'].lineData[450]++; function getPackage(self, modName) { - _$jscoverage['/loader/data-structure.js'].functionData[36]++; - _$jscoverage['/loader/data-structure.js'].lineData[414]++; + _$jscoverage['/loader/data-structure.js'].functionData[39]++; + _$jscoverage['/loader/data-structure.js'].lineData[451]++; var packages = self.config('packages'), modNameSlash = modName + '/', pName = '', p; - _$jscoverage['/loader/data-structure.js'].lineData[418]++; + _$jscoverage['/loader/data-structure.js'].lineData[455]++; for (p in packages) { - _$jscoverage['/loader/data-structure.js'].lineData[419]++; - if (visit418_419_1(S.startsWith(modNameSlash, p + '/') && visit419_419_2(p.length > pName.length))) { - _$jscoverage['/loader/data-structure.js'].lineData[420]++; + _$jscoverage['/loader/data-structure.js'].lineData[456]++; + if (visit423_456_1(S.startsWith(modNameSlash, p + '/') && visit424_456_2(p.length > pName.length))) { + _$jscoverage['/loader/data-structure.js'].lineData[457]++; pName = p; } } - _$jscoverage['/loader/data-structure.js'].lineData[423]++; - return visit420_423_1(packages[pName] || systemPackage); + _$jscoverage['/loader/data-structure.js'].lineData[460]++; + return visit425_460_1(packages[pName] || systemPackage); } })(KISSY); diff --git a/src/seed/coverage/src/loader/get-script-nodejs.js b/src/seed/coverage/src/loader/get-script-nodejs.js index b7677647bd..ad2edffe01 100644 --- a/src/seed/coverage/src/loader/get-script-nodejs.js +++ b/src/seed/coverage/src/loader/get-script-nodejs.js @@ -273,23 +273,23 @@ if (! _$jscoverage['/loader/get-script-nodejs.js'].branchData) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1] = new BranchData(); } _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1].init(101, 5, 'error'); -function visit425_43_1(result) { +function visit430_43_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['43'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['37'][1].init(250, 7, 'success'); -function visit424_37_1(result) { +function visit429_37_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['23'][1].init(80, 7, 'success'); -function visit423_23_1(result) { +function visit428_23_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['23'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['21'][1].init(197, 55, 'S.startsWith(S.Path.extname(url).toLowerCase(), \'.css\')'); -function visit422_21_1(result) { +function visit427_21_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['21'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].branchData['15'][1].init(33, 24, 'S.isPlainObject(success)'); -function visit421_15_1(result) { +function visit426_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].branchData['15'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script-nodejs.js'].lineData[7]++; @@ -303,7 +303,7 @@ function visit421_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[13]++; var error; _$jscoverage['/loader/get-script-nodejs.js'].lineData[15]++; - if (visit421_15_1(S.isPlainObject(success))) { + if (visit426_15_1(S.isPlainObject(success))) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[16]++; charset = success.charset; _$jscoverage['/loader/get-script-nodejs.js'].lineData[17]++; @@ -312,11 +312,11 @@ function visit421_15_1(result) { success = success.success; } _$jscoverage['/loader/get-script-nodejs.js'].lineData[21]++; - if (visit422_21_1(S.startsWith(S.Path.extname(url).toLowerCase(), '.css'))) { + if (visit427_21_1(S.startsWith(S.Path.extname(url).toLowerCase(), '.css'))) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[22]++; S.log('node js can not load css: ' + url, 'warn'); _$jscoverage['/loader/get-script-nodejs.js'].lineData[23]++; - if (visit423_23_1(success)) { + if (visit428_23_1(success)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[24]++; success(); } @@ -334,7 +334,7 @@ function visit421_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[36]++; factory(S, require); _$jscoverage['/loader/get-script-nodejs.js'].lineData[37]++; - if (visit424_37_1(success)) { + if (visit429_37_1(success)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[38]++; success(); } @@ -344,7 +344,7 @@ function visit421_15_1(result) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[42]++; S.log(e.stack, 'error'); _$jscoverage['/loader/get-script-nodejs.js'].lineData[43]++; - if (visit425_43_1(error)) { + if (visit430_43_1(error)) { _$jscoverage['/loader/get-script-nodejs.js'].lineData[44]++; error(e); } diff --git a/src/seed/coverage/src/loader/get-script.js b/src/seed/coverage/src/loader/get-script.js index 9378e7f9fb..34104b832b 100644 --- a/src/seed/coverage/src/loader/get-script.js +++ b/src/seed/coverage/src/loader/get-script.js @@ -352,91 +352,91 @@ if (! _$jscoverage['/loader/get-script.js'].branchData) { _$jscoverage['/loader/get-script.js'].branchData['161'][1] = new BranchData(); } _$jscoverage['/loader/get-script.js'].branchData['161'][1].init(3305, 3, 'css'); -function visit447_161_1(result) { +function visit452_161_1(result) { _$jscoverage['/loader/get-script.js'].branchData['161'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['158'][1].init(3230, 9, '!headNode'); -function visit446_158_1(result) { +function visit451_158_1(result) { _$jscoverage['/loader/get-script.js'].branchData['158'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['153'][1].init(3081, 7, 'timeout'); -function visit445_153_1(result) { +function visit450_153_1(result) { _$jscoverage['/loader/get-script.js'].branchData['153'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['145'][1].init(2903, 3, 'css'); -function visit444_145_1(result) { +function visit449_145_1(result) { _$jscoverage['/loader/get-script.js'].branchData['145'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['137'][1].init(2673, 9, 'useNative'); -function visit443_137_1(result) { +function visit448_137_1(result) { _$jscoverage['/loader/get-script.js'].branchData['137'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['130'][1].init(42, 25, 'readyState === \'complete\''); -function visit442_130_1(result) { +function visit447_130_1(result) { _$jscoverage['/loader/get-script.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['129'][2].init(96, 23, 'readyState === \'loaded\''); -function visit441_129_2(result) { +function visit446_129_2(result) { _$jscoverage['/loader/get-script.js'].branchData['129'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['129'][1].init(30, 68, 'readyState === \'loaded\' || readyState === \'complete\''); -function visit440_129_1(result) { +function visit445_129_1(result) { _$jscoverage['/loader/get-script.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['128'][1].init(63, 99, '!readyState || readyState === \'loaded\' || readyState === \'complete\''); -function visit439_128_1(result) { +function visit444_128_1(result) { _$jscoverage['/loader/get-script.js'].branchData['128'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['122'][2].init(2251, 25, 'forceCssPoll && useNative'); -function visit438_122_2(result) { +function visit443_122_2(result) { _$jscoverage['/loader/get-script.js'].branchData['122'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['122'][1].init(2244, 32, 'css && forceCssPoll && useNative'); -function visit437_122_1(result) { +function visit442_122_1(result) { _$jscoverage['/loader/get-script.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][3].init(2213, 15, 'UA.webkit < 536'); -function visit436_120_3(result) { +function visit441_120_3(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][3].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][2].init(2200, 28, 'UA.webkit && UA.webkit < 536'); -function visit435_120_2(result) { +function visit440_120_2(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][2].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['120'][1].init(2174, 55, 'S.Config.forceCssPoll || (UA.webkit && UA.webkit < 536)'); -function visit434_120_1(result) { +function visit439_120_1(result) { _$jscoverage['/loader/get-script.js'].branchData['120'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['92'][1].init(1269, 3, 'css'); -function visit433_92_1(result) { +function visit438_92_1(result) { _$jscoverage['/loader/get-script.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['88'][1].init(1199, 7, 'charset'); -function visit432_88_1(result) { +function visit437_88_1(result) { _$jscoverage['/loader/get-script.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['82'][1].init(1066, 5, 'attrs'); -function visit431_82_1(result) { +function visit436_82_1(result) { _$jscoverage['/loader/get-script.js'].branchData['82'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['76'][1].init(21, 5, 'timer'); -function visit430_76_1(result) { +function visit435_76_1(result) { _$jscoverage['/loader/get-script.js'].branchData['76'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['70'][1].init(744, 20, 'callbacks.length > 1'); -function visit429_70_1(result) { +function visit434_70_1(result) { _$jscoverage['/loader/get-script.js'].branchData['70'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['66'][1].init(661, 25, 'jsCssCallbacks[url] || []'); -function visit428_66_1(result) { +function visit433_66_1(result) { _$jscoverage['/loader/get-script.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['58'][1].init(399, 23, 'S.isPlainObject(config)'); -function visit427_58_1(result) { +function visit432_58_1(result) { _$jscoverage['/loader/get-script.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].branchData['54'][1].init(298, 53, 'S.startsWith(Path.extname(url).toLowerCase(), \'.css\')'); -function visit426_54_1(result) { +function visit431_54_1(result) { _$jscoverage['/loader/get-script.js'].branchData['54'][1].ranCondition(result); return result; }_$jscoverage['/loader/get-script.js'].lineData[6]++; @@ -450,12 +450,12 @@ function visit426_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[46]++; var config = success, css = 0, error, timeout, attrs, callbacks, timer; _$jscoverage['/loader/get-script.js'].lineData[54]++; - if (visit426_54_1(S.startsWith(Path.extname(url).toLowerCase(), '.css'))) { + if (visit431_54_1(S.startsWith(Path.extname(url).toLowerCase(), '.css'))) { _$jscoverage['/loader/get-script.js'].lineData[55]++; css = 1; } _$jscoverage['/loader/get-script.js'].lineData[58]++; - if (visit427_58_1(S.isPlainObject(config))) { + if (visit432_58_1(S.isPlainObject(config))) { _$jscoverage['/loader/get-script.js'].lineData[59]++; success = config.success; _$jscoverage['/loader/get-script.js'].lineData[60]++; @@ -468,11 +468,11 @@ function visit426_54_1(result) { attrs = config.attrs; } _$jscoverage['/loader/get-script.js'].lineData[66]++; - callbacks = jsCssCallbacks[url] = visit428_66_1(jsCssCallbacks[url] || []); + callbacks = jsCssCallbacks[url] = visit433_66_1(jsCssCallbacks[url] || []); _$jscoverage['/loader/get-script.js'].lineData[68]++; callbacks.push([success, error]); _$jscoverage['/loader/get-script.js'].lineData[70]++; - if (visit429_70_1(callbacks.length > 1)) { + if (visit434_70_1(callbacks.length > 1)) { _$jscoverage['/loader/get-script.js'].lineData[71]++; return callbacks.node; } @@ -480,7 +480,7 @@ function visit426_54_1(result) { var node = doc.createElement(css ? 'link' : 'script'), clearTimer = function() { _$jscoverage['/loader/get-script.js'].functionData[2]++; _$jscoverage['/loader/get-script.js'].lineData[76]++; - if (visit430_76_1(timer)) { + if (visit435_76_1(timer)) { _$jscoverage['/loader/get-script.js'].lineData[77]++; timer.cancel(); _$jscoverage['/loader/get-script.js'].lineData[78]++; @@ -488,7 +488,7 @@ function visit426_54_1(result) { } }; _$jscoverage['/loader/get-script.js'].lineData[82]++; - if (visit431_82_1(attrs)) { + if (visit436_82_1(attrs)) { _$jscoverage['/loader/get-script.js'].lineData[83]++; S.each(attrs, function(v, n) { _$jscoverage['/loader/get-script.js'].functionData[3]++; @@ -497,12 +497,12 @@ function visit426_54_1(result) { }); } _$jscoverage['/loader/get-script.js'].lineData[88]++; - if (visit432_88_1(charset)) { + if (visit437_88_1(charset)) { _$jscoverage['/loader/get-script.js'].lineData[89]++; node.charset = charset; } _$jscoverage['/loader/get-script.js'].lineData[92]++; - if (visit433_92_1(css)) { + if (visit438_92_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[93]++; node.href = url; _$jscoverage['/loader/get-script.js'].lineData[94]++; @@ -537,9 +537,9 @@ function visit426_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[114]++; var useNative = 'onload' in node; _$jscoverage['/loader/get-script.js'].lineData[120]++; - var forceCssPoll = visit434_120_1(S.Config.forceCssPoll || (visit435_120_2(UA.webkit && visit436_120_3(UA.webkit < 536)))); + var forceCssPoll = visit439_120_1(S.Config.forceCssPoll || (visit440_120_2(UA.webkit && visit441_120_3(UA.webkit < 536)))); _$jscoverage['/loader/get-script.js'].lineData[122]++; - if (visit437_122_1(css && visit438_122_2(forceCssPoll && useNative))) { + if (visit442_122_1(css && visit443_122_2(forceCssPoll && useNative))) { _$jscoverage['/loader/get-script.js'].lineData[123]++; useNative = false; } @@ -549,7 +549,7 @@ function visit426_54_1(result) { _$jscoverage['/loader/get-script.js'].lineData[127]++; var readyState = node.readyState; _$jscoverage['/loader/get-script.js'].lineData[128]++; - if (visit439_128_1(!readyState || visit440_129_1(visit441_129_2(readyState === 'loaded') || visit442_130_1(readyState === 'complete')))) { + if (visit444_128_1(!readyState || visit445_129_1(visit446_129_2(readyState === 'loaded') || visit447_130_1(readyState === 'complete')))) { _$jscoverage['/loader/get-script.js'].lineData[131]++; node.onreadystatechange = node.onload = null; _$jscoverage['/loader/get-script.js'].lineData[132]++; @@ -557,7 +557,7 @@ function visit426_54_1(result) { } } _$jscoverage['/loader/get-script.js'].lineData[137]++; - if (visit443_137_1(useNative)) { + if (visit448_137_1(useNative)) { _$jscoverage['/loader/get-script.js'].lineData[138]++; node.onload = onload; _$jscoverage['/loader/get-script.js'].lineData[139]++; @@ -570,7 +570,7 @@ function visit426_54_1(result) { }; } else { _$jscoverage['/loader/get-script.js'].lineData[145]++; - if (visit444_145_1(css)) { + if (visit449_145_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[146]++; Utils.pollCss(node, function() { _$jscoverage['/loader/get-script.js'].functionData[8]++; @@ -583,7 +583,7 @@ function visit426_54_1(result) { } } _$jscoverage['/loader/get-script.js'].lineData[153]++; - if (visit445_153_1(timeout)) { + if (visit450_153_1(timeout)) { _$jscoverage['/loader/get-script.js'].lineData[154]++; timer = S.later(function() { _$jscoverage['/loader/get-script.js'].functionData[9]++; @@ -592,12 +592,12 @@ function visit426_54_1(result) { }, timeout * MILLISECONDS_OF_SECOND); } _$jscoverage['/loader/get-script.js'].lineData[158]++; - if (visit446_158_1(!headNode)) { + if (visit451_158_1(!headNode)) { _$jscoverage['/loader/get-script.js'].lineData[159]++; headNode = Utils.docHead(); } _$jscoverage['/loader/get-script.js'].lineData[161]++; - if (visit447_161_1(css)) { + if (visit452_161_1(css)) { _$jscoverage['/loader/get-script.js'].lineData[164]++; headNode.appendChild(node); } else { diff --git a/src/seed/coverage/src/loader/init.js b/src/seed/coverage/src/loader/init.js index f87277b1b1..4cff55f66b 100644 --- a/src/seed/coverage/src/loader/init.js +++ b/src/seed/coverage/src/loader/init.js @@ -322,70 +322,70 @@ if (! _$jscoverage['/loader/init.js'].branchData) { _$jscoverage['/loader/init.js'].branchData['122'][1] = new BranchData(); } _$jscoverage['/loader/init.js'].branchData['122'][1].init(3509, 31, 'doc && doc.getElementsByTagName'); -function visit462_122_1(result) { +function visit467_122_1(result) { _$jscoverage['/loader/init.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['113'][1].init(3222, 11, 'S.UA.nodejs'); -function visit461_113_1(result) { +function visit466_113_1(result) { _$jscoverage['/loader/init.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['96'][1].init(209, 6, 'i >= 0'); -function visit460_96_1(result) { +function visit465_96_1(result) { _$jscoverage['/loader/init.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['73'][1].init(1679, 21, 'baseInfo.base || base'); -function visit459_73_1(result) { +function visit464_73_1(result) { _$jscoverage['/loader/init.js'].branchData['73'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['66'][1].init(70, 17, 'queryIndex !== -1'); -function visit458_66_1(result) { +function visit463_66_1(result) { _$jscoverage['/loader/init.js'].branchData['66'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['64'][1].init(1304, 20, '!(\'tag\' in baseInfo)'); -function visit457_64_1(result) { +function visit462_64_1(result) { _$jscoverage['/loader/init.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['56'][1].init(21, 23, 'part.match(baseTestReg)'); -function visit456_56_1(result) { +function visit461_56_1(result) { _$jscoverage['/loader/init.js'].branchData['56'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['51'][1].init(179, 36, 'base.charAt(base.length - 1) !== \'/\''); -function visit455_51_1(result) { +function visit460_51_1(result) { _$jscoverage['/loader/init.js'].branchData['51'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['45'][1].init(611, 12, 'index === -1'); -function visit454_45_1(result) { +function visit459_45_1(result) { _$jscoverage['/loader/init.js'].branchData['45'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['38'][1].init(455, 36, 'baseInfo.comboSep || defaultComboSep'); -function visit453_38_1(result) { +function visit458_38_1(result) { _$jscoverage['/loader/init.js'].branchData['38'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['37'][1].init(388, 42, 'baseInfo.comboPrefix || defaultComboPrefix'); -function visit452_37_1(result) { +function visit457_37_1(result) { _$jscoverage['/loader/init.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['31'][1].init(250, 8, 'baseInfo'); -function visit451_31_1(result) { +function visit456_31_1(result) { _$jscoverage['/loader/init.js'].branchData['31'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['25'][1].init(118, 23, '!src.match(baseTestReg)'); -function visit450_25_1(result) { +function visit455_25_1(result) { _$jscoverage['/loader/init.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['24'][1].init(88, 16, 'script.src || \'\''); -function visit449_24_1(result) { +function visit454_24_1(result) { _$jscoverage['/loader/init.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].branchData['6'][1].init(15, 33, 'S.Env.host && S.Env.host.document'); -function visit448_6_1(result) { +function visit453_6_1(result) { _$jscoverage['/loader/init.js'].branchData['6'][1].ranCondition(result); return result; }_$jscoverage['/loader/init.js'].lineData[5]++; (function(S) { _$jscoverage['/loader/init.js'].functionData[0]++; _$jscoverage['/loader/init.js'].lineData[6]++; - var doc = visit448_6_1(S.Env.host && S.Env.host.document); + var doc = visit453_6_1(S.Env.host && S.Env.host.document); _$jscoverage['/loader/init.js'].lineData[8]++; var Utils = S.Loader.Utils; _$jscoverage['/loader/init.js'].lineData[9]++; @@ -406,16 +406,16 @@ function visit448_6_1(result) { function getBaseInfoFromOneScript(script) { _$jscoverage['/loader/init.js'].functionData[2]++; _$jscoverage['/loader/init.js'].lineData[24]++; - var src = visit449_24_1(script.src || ''); + var src = visit454_24_1(script.src || ''); _$jscoverage['/loader/init.js'].lineData[25]++; - if (visit450_25_1(!src.match(baseTestReg))) { + if (visit455_25_1(!src.match(baseTestReg))) { _$jscoverage['/loader/init.js'].lineData[26]++; return 0; } _$jscoverage['/loader/init.js'].lineData[29]++; var baseInfo = script.getAttribute('data-config'); _$jscoverage['/loader/init.js'].lineData[31]++; - if (visit451_31_1(baseInfo)) { + if (visit456_31_1(baseInfo)) { _$jscoverage['/loader/init.js'].lineData[32]++; baseInfo = returnJson(baseInfo); } else { @@ -423,20 +423,20 @@ function visit448_6_1(result) { baseInfo = {}; } _$jscoverage['/loader/init.js'].lineData[37]++; - var comboPrefix = visit452_37_1(baseInfo.comboPrefix || defaultComboPrefix); + var comboPrefix = visit457_37_1(baseInfo.comboPrefix || defaultComboPrefix); _$jscoverage['/loader/init.js'].lineData[38]++; - var comboSep = visit453_38_1(baseInfo.comboSep || defaultComboSep); + var comboSep = visit458_38_1(baseInfo.comboSep || defaultComboSep); _$jscoverage['/loader/init.js'].lineData[40]++; var parts, base, index = src.indexOf(comboPrefix); _$jscoverage['/loader/init.js'].lineData[45]++; - if (visit454_45_1(index === -1)) { + if (visit459_45_1(index === -1)) { _$jscoverage['/loader/init.js'].lineData[46]++; base = src.replace(baseReg, '$1'); } else { _$jscoverage['/loader/init.js'].lineData[48]++; base = src.substring(0, index); _$jscoverage['/loader/init.js'].lineData[51]++; - if (visit455_51_1(base.charAt(base.length - 1) !== '/')) { + if (visit460_51_1(base.charAt(base.length - 1) !== '/')) { _$jscoverage['/loader/init.js'].lineData[52]++; base += '/'; } @@ -446,7 +446,7 @@ function visit448_6_1(result) { S.each(parts, function(part) { _$jscoverage['/loader/init.js'].functionData[3]++; _$jscoverage['/loader/init.js'].lineData[56]++; - if (visit456_56_1(part.match(baseTestReg))) { + if (visit461_56_1(part.match(baseTestReg))) { _$jscoverage['/loader/init.js'].lineData[57]++; base += part.replace(baseReg, '$1'); _$jscoverage['/loader/init.js'].lineData[58]++; @@ -457,11 +457,11 @@ function visit448_6_1(result) { }); } _$jscoverage['/loader/init.js'].lineData[64]++; - if (visit457_64_1(!('tag' in baseInfo))) { + if (visit462_64_1(!('tag' in baseInfo))) { _$jscoverage['/loader/init.js'].lineData[65]++; var queryIndex = src.lastIndexOf('?t='); _$jscoverage['/loader/init.js'].lineData[66]++; - if (visit458_66_1(queryIndex !== -1)) { + if (visit463_66_1(queryIndex !== -1)) { _$jscoverage['/loader/init.js'].lineData[67]++; var query = src.substring(queryIndex + 1); _$jscoverage['/loader/init.js'].lineData[69]++; @@ -469,7 +469,7 @@ function visit448_6_1(result) { } } _$jscoverage['/loader/init.js'].lineData[73]++; - baseInfo.base = visit459_73_1(baseInfo.base || base); + baseInfo.base = visit464_73_1(baseInfo.base || base); _$jscoverage['/loader/init.js'].lineData[75]++; return baseInfo; } @@ -479,7 +479,7 @@ function visit448_6_1(result) { _$jscoverage['/loader/init.js'].lineData[92]++; var scripts = doc.getElementsByTagName('script'), i, info; _$jscoverage['/loader/init.js'].lineData[96]++; - for (i = scripts.length - 1; visit460_96_1(i >= 0); i--) { + for (i = scripts.length - 1; visit465_96_1(i >= 0); i--) { _$jscoverage['/loader/init.js'].lineData[97]++; if ((info = getBaseInfoFromOneScript(scripts[i]))) { _$jscoverage['/loader/init.js'].lineData[98]++; @@ -498,14 +498,14 @@ function visit448_6_1(result) { charset: 'utf-8', lang: 'zh-cn'}); _$jscoverage['/loader/init.js'].lineData[113]++; - if (visit461_113_1(S.UA.nodejs)) { + if (visit466_113_1(S.UA.nodejs)) { _$jscoverage['/loader/init.js'].lineData[116]++; S.config({ charset: 'utf-8', base: __dirname.replace(/\\/g, '/').replace(/\/$/, '') + '/'}); } else { _$jscoverage['/loader/init.js'].lineData[122]++; - if (visit462_122_1(doc && doc.getElementsByTagName)) { + if (visit467_122_1(doc && doc.getElementsByTagName)) { _$jscoverage['/loader/init.js'].lineData[124]++; S.config(S.mix({ comboMaxUrlLength: 2000, diff --git a/src/seed/coverage/src/loader/loader.js b/src/seed/coverage/src/loader/loader.js index 2fa6252508..8a7f18144d 100644 --- a/src/seed/coverage/src/loader/loader.js +++ b/src/seed/coverage/src/loader/loader.js @@ -327,43 +327,43 @@ if (! _$jscoverage['/loader/loader.js'].branchData) { _$jscoverage['/loader/loader.js'].branchData['169'][1] = new BranchData(); } _$jscoverage['/loader/loader.js'].branchData['169'][1].init(17, 10, 'moduleName'); -function visit472_169_1(result) { +function visit477_169_1(result) { _$jscoverage['/loader/loader.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['151'][1].init(2462, 4, 'sync'); -function visit471_151_1(result) { +function visit476_151_1(result) { _$jscoverage['/loader/loader.js'].branchData['151'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['131'][1].init(29, 4, 'sync'); -function visit470_131_1(result) { +function visit475_131_1(result) { _$jscoverage['/loader/loader.js'].branchData['131'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['130'][1].init(25, 5, 'error'); -function visit469_130_1(result) { +function visit474_130_1(result) { _$jscoverage['/loader/loader.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['129'][1].init(744, 16, 'errorList.length'); -function visit468_129_1(result) { +function visit473_129_1(result) { _$jscoverage['/loader/loader.js'].branchData['129'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['122'][1].init(29, 4, 'sync'); -function visit467_122_1(result) { +function visit472_122_1(result) { _$jscoverage['/loader/loader.js'].branchData['122'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['121'][1].init(97, 7, 'success'); -function visit466_121_1(result) { +function visit471_121_1(result) { _$jscoverage['/loader/loader.js'].branchData['121'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['119'][1].init(327, 3, 'ret'); -function visit465_119_1(result) { +function visit470_119_1(result) { _$jscoverage['/loader/loader.js'].branchData['119'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['94'][1].init(247, 24, 'S.isPlainObject(success)'); -function visit464_94_1(result) { +function visit469_94_1(result) { _$jscoverage['/loader/loader.js'].branchData['94'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].branchData['28'][1].init(76, 36, 'fn && S.isEmptyObject(self.waitMods)'); -function visit463_28_1(result) { +function visit468_28_1(result) { _$jscoverage['/loader/loader.js'].branchData['28'][1].ranCondition(result); return result; }_$jscoverage['/loader/loader.js'].lineData[6]++; @@ -389,7 +389,7 @@ function visit463_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[26]++; var self = this, fn = self.fn; _$jscoverage['/loader/loader.js'].lineData[28]++; - if (visit463_28_1(fn && S.isEmptyObject(self.waitMods))) { + if (visit468_28_1(fn && S.isEmptyObject(self.waitMods))) { _$jscoverage['/loader/loader.js'].lineData[29]++; self.fn = null; _$jscoverage['/loader/loader.js'].lineData[30]++; @@ -425,7 +425,7 @@ function visit463_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[86]++; var normalizedModNames, loader, error, sync, tryCount = 0, finalSuccess, waitingModules = new WaitingModules(loadReady); _$jscoverage['/loader/loader.js'].lineData[94]++; - if (visit464_94_1(S.isPlainObject(success))) { + if (visit469_94_1(S.isPlainObject(success))) { _$jscoverage['/loader/loader.js'].lineData[96]++; sync = success.sync; _$jscoverage['/loader/loader.js'].lineData[98]++; @@ -457,13 +457,13 @@ function visit463_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[118]++; logger.debug(tryCount + ' check duration ' + (S.now() - start)); _$jscoverage['/loader/loader.js'].lineData[119]++; - if (visit465_119_1(ret)) { + if (visit470_119_1(ret)) { _$jscoverage['/loader/loader.js'].lineData[120]++; Utils.attachModsRecursively(normalizedModNames, S); _$jscoverage['/loader/loader.js'].lineData[121]++; - if (visit466_121_1(success)) { + if (visit471_121_1(success)) { _$jscoverage['/loader/loader.js'].lineData[122]++; - if (visit467_122_1(sync)) { + if (visit472_122_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[123]++; finalSuccess(); } else { @@ -473,11 +473,11 @@ function visit463_28_1(result) { } } else { _$jscoverage['/loader/loader.js'].lineData[129]++; - if (visit468_129_1(errorList.length)) { + if (visit473_129_1(errorList.length)) { _$jscoverage['/loader/loader.js'].lineData[130]++; - if (visit469_130_1(error)) { + if (visit474_130_1(error)) { _$jscoverage['/loader/loader.js'].lineData[131]++; - if (visit470_131_1(sync)) { + if (visit475_131_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[132]++; error.apply(S, errorList); } else { @@ -502,7 +502,7 @@ function visit463_28_1(result) { _$jscoverage['/loader/loader.js'].lineData[146]++; loader = new ComboLoader(S, waitingModules); _$jscoverage['/loader/loader.js'].lineData[151]++; - if (visit471_151_1(sync)) { + if (visit476_151_1(sync)) { _$jscoverage['/loader/loader.js'].lineData[152]++; waitingModules.notifyAll(); } else { @@ -519,7 +519,7 @@ function visit463_28_1(result) { require: function(moduleName, refName) { _$jscoverage['/loader/loader.js'].functionData[12]++; _$jscoverage['/loader/loader.js'].lineData[169]++; - if (visit472_169_1(moduleName)) { + if (visit477_169_1(moduleName)) { _$jscoverage['/loader/loader.js'].lineData[170]++; var moduleNames = Utils.unalias(S, Utils.normalizeModNamesWithAlias(S, [moduleName], refName)); _$jscoverage['/loader/loader.js'].lineData[171]++; diff --git a/src/seed/coverage/src/loader/utils.js b/src/seed/coverage/src/loader/utils.js index 6abf049ec7..3e6b9abbb2 100644 --- a/src/seed/coverage/src/loader/utils.js +++ b/src/seed/coverage/src/loader/utils.js @@ -524,203 +524,203 @@ if (! _$jscoverage['/loader/utils.js'].branchData) { _$jscoverage['/loader/utils.js'].branchData['472'][1] = new BranchData(); } _$jscoverage['/loader/utils.js'].branchData['472'][1].init(56, 46, '!(m = str.match(/^\\s*["\']([^\'"\\s]+)["\']\\s*$/))'); -function visit522_472_1(result) { +function visit527_472_1(result) { _$jscoverage['/loader/utils.js'].branchData['472'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['445'][1].init(85, 8, '--i > -1'); -function visit521_445_1(result) { +function visit526_445_1(result) { _$jscoverage['/loader/utils.js'].branchData['445'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][2].init(170, 28, 'module.factory !== undefined'); -function visit520_416_2(result) { +function visit525_416_2(result) { _$jscoverage['/loader/utils.js'].branchData['416'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][1].init(160, 38, 'module && module.factory !== undefined'); -function visit519_416_1(result) { +function visit524_416_1(result) { _$jscoverage['/loader/utils.js'].branchData['416'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['397'][1].init(536, 10, 'refModName'); -function visit518_397_1(result) { +function visit523_397_1(result) { _$jscoverage['/loader/utils.js'].branchData['397'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['391'][1].init(143, 11, 'modNames[i]'); -function visit517_391_1(result) { +function visit522_391_1(result) { _$jscoverage['/loader/utils.js'].branchData['391'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['388'][1].init(84, 5, 'i < l'); -function visit516_388_1(result) { +function visit521_388_1(result) { _$jscoverage['/loader/utils.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['386'][1].init(51, 8, 'modNames'); -function visit515_386_1(result) { +function visit520_386_1(result) { _$jscoverage['/loader/utils.js'].branchData['386'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['366'][1].init(34, 9, '!alias[j]'); -function visit514_366_1(result) { +function visit519_366_1(result) { _$jscoverage['/loader/utils.js'].branchData['366'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['365'][1].init(259, 6, 'j >= 0'); -function visit513_365_1(result) { +function visit518_365_1(result) { _$jscoverage['/loader/utils.js'].branchData['365'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['362'][1].init(105, 25, 'typeof alias === \'string\''); -function visit512_362_1(result) { +function visit517_362_1(result) { _$jscoverage['/loader/utils.js'].branchData['362'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['359'][1].init(27, 35, '(m = mods[ret[i]]) && (\'alias\' in m)'); -function visit511_359_1(result) { +function visit516_359_1(result) { _$jscoverage['/loader/utils.js'].branchData['359'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['358'][1].init(68, 6, 'i >= 0'); -function visit510_358_1(result) { +function visit515_358_1(result) { _$jscoverage['/loader/utils.js'].branchData['358'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['320'][1].init(18, 28, 'typeof modNames === \'string\''); -function visit509_320_1(result) { +function visit514_320_1(result) { _$jscoverage['/loader/utils.js'].branchData['320'][1].ranCondition(result); return result; -}_$jscoverage['/loader/utils.js'].branchData['302'][1].init(698, 21, 'exports !== undefined'); -function visit508_302_1(result) { +}_$jscoverage['/loader/utils.js'].branchData['302'][1].init(667, 21, 'exports !== undefined'); +function visit513_302_1(result) { _$jscoverage['/loader/utils.js'].branchData['302'][1].ranCondition(result); return result; -}_$jscoverage['/loader/utils.js'].branchData['293'][1].init(153, 41, 'module.requires && module.requires.length'); -function visit507_293_1(result) { +}_$jscoverage['/loader/utils.js'].branchData['293'][1].init(153, 10, 'module.cjs'); +function visit512_293_1(result) { _$jscoverage['/loader/utils.js'].branchData['293'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['289'][1].init(89, 29, 'typeof factory === \'function\''); -function visit506_289_1(result) { +function visit511_289_1(result) { _$jscoverage['/loader/utils.js'].branchData['289'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['271'][1].init(316, 5, 'm.cjs'); -function visit505_271_1(result) { +function visit510_271_1(result) { _$jscoverage['/loader/utils.js'].branchData['271'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['267'][1].init(201, 19, 'status >= ATTACHING'); -function visit504_267_1(result) { +function visit509_267_1(result) { _$jscoverage['/loader/utils.js'].branchData['267'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['245'][1].init(1088, 108, 'Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache)'); -function visit503_245_1(result) { +function visit508_245_1(result) { _$jscoverage['/loader/utils.js'].branchData['245'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['237'][1].init(22, 25, 'S.inArray(modName, stack)'); -function visit502_237_1(result) { +function visit507_237_1(result) { _$jscoverage['/loader/utils.js'].branchData['237'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['236'][1].init(771, 9, '\'@DEBUG@\''); -function visit501_236_1(result) { +function visit506_236_1(result) { _$jscoverage['/loader/utils.js'].branchData['236'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['232'][1].init(646, 17, 'status !== LOADED'); -function visit500_232_1(result) { +function visit505_232_1(result) { _$jscoverage['/loader/utils.js'].branchData['232'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['228'][1].init(515, 25, 'status >= READY_TO_ATTACH'); -function visit499_228_1(result) { +function visit504_228_1(result) { _$jscoverage['/loader/utils.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['223'][1].init(355, 16, 'status === ERROR'); -function visit498_223_1(result) { +function visit503_223_1(result) { _$jscoverage['/loader/utils.js'].branchData['223'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['218'][1].init(213, 2, '!m'); -function visit497_218_1(result) { +function visit502_218_1(result) { _$jscoverage['/loader/utils.js'].branchData['218'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['215'][1].init(121, 16, 'modName in cache'); -function visit496_215_1(result) { +function visit501_215_1(result) { _$jscoverage['/loader/utils.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['205'][1].init(22, 81, 's && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)'); -function visit495_205_1(result) { +function visit500_205_1(result) { _$jscoverage['/loader/utils.js'].branchData['205'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['204'][1].init(340, 5, 'i < l'); -function visit494_204_1(result) { +function visit499_204_1(result) { _$jscoverage['/loader/utils.js'].branchData['204'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['199'][1].init(176, 11, 'cache || {}'); -function visit493_199_1(result) { +function visit498_199_1(result) { _$jscoverage['/loader/utils.js'].branchData['199'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['197'][1].init(77, 11, 'stack || []'); -function visit492_197_1(result) { +function visit497_197_1(result) { _$jscoverage['/loader/utils.js'].branchData['197'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['190'][1].init(84, 5, 'i < l'); -function visit491_190_1(result) { +function visit496_190_1(result) { _$jscoverage['/loader/utils.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['169'][1].init(367, 5, 'allOk'); -function visit490_169_1(result) { +function visit495_169_1(result) { _$jscoverage['/loader/utils.js'].branchData['169'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][3].init(159, 21, 'm.status >= ATTACHING'); -function visit489_167_3(result) { +function visit494_167_3(result) { _$jscoverage['/loader/utils.js'].branchData['167'][3].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][2].init(154, 26, 'm && m.status >= ATTACHING'); -function visit488_167_2(result) { +function visit493_167_2(result) { _$jscoverage['/loader/utils.js'].branchData['167'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['167'][1].init(149, 31, 'a && m && m.status >= ATTACHING'); -function visit487_167_1(result) { +function visit492_167_1(result) { _$jscoverage['/loader/utils.js'].branchData['167'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['162'][2].init(81, 26, 'module.getType() !== \'css\''); -function visit486_162_2(result) { +function visit491_162_2(result) { _$jscoverage['/loader/utils.js'].branchData['162'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['162'][1].init(70, 37, '!module || module.getType() !== \'css\''); -function visit485_162_1(result) { +function visit490_162_1(result) { _$jscoverage['/loader/utils.js'].branchData['162'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['134'][1].init(169, 6, 'module'); -function visit484_134_1(result) { +function visit489_134_1(result) { _$jscoverage['/loader/utils.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['104'][1].init(477, 5, 'i < l'); -function visit483_104_1(result) { +function visit488_104_1(result) { _$jscoverage['/loader/utils.js'].branchData['104'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['96'][1].init(22, 55, 'startsWith(depName, \'../\') || startsWith(depName, \'./\')'); -function visit482_96_1(result) { +function visit487_96_1(result) { _$jscoverage['/loader/utils.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['95'][1].init(126, 27, 'typeof depName === \'string\''); -function visit481_95_1(result) { +function visit486_95_1(result) { _$jscoverage['/loader/utils.js'].branchData['95'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['91'][1].init(47, 8, '!depName'); -function visit480_91_1(result) { +function visit485_91_1(result) { _$jscoverage['/loader/utils.js'].branchData['91'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['79'][1].init(21, 58, 'doc.getElementsByTagName(\'head\')[0] || doc.documentElement'); -function visit479_79_1(result) { +function visit484_79_1(result) { _$jscoverage['/loader/utils.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['63'][1].init(26, 12, 'Plugin.alias'); -function visit478_63_1(result) { +function visit483_63_1(result) { _$jscoverage['/loader/utils.js'].branchData['63'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['57'][1].init(54, 12, 'index !== -1'); -function visit477_57_1(result) { +function visit482_57_1(result) { _$jscoverage['/loader/utils.js'].branchData['57'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['49'][1].init(134, 23, 'S.endsWith(name, \'.js\')'); -function visit476_49_1(result) { +function visit481_49_1(result) { _$jscoverage['/loader/utils.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['46'][1].init(40, 36, 'name.charAt(name.length - 1) === \'/\''); -function visit475_46_1(result) { +function visit480_46_1(result) { _$jscoverage['/loader/utils.js'].branchData['46'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['37'][1].init(103, 5, 'i < l'); -function visit474_37_1(result) { +function visit479_37_1(result) { _$jscoverage['/loader/utils.js'].branchData['37'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['31'][1].init(14, 21, 'typeof s === \'string\''); -function visit473_31_1(result) { +function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].branchData['31'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].lineData[6]++; @@ -732,14 +732,14 @@ function visit473_31_1(result) { function addIndexAndRemoveJsExt(s) { _$jscoverage['/loader/utils.js'].functionData[1]++; _$jscoverage['/loader/utils.js'].lineData[31]++; - if (visit473_31_1(typeof s === 'string')) { + if (visit478_31_1(typeof s === 'string')) { _$jscoverage['/loader/utils.js'].lineData[32]++; return addIndexAndRemoveJsExtFromName(s); } else { _$jscoverage['/loader/utils.js'].lineData[34]++; var ret = [], i = 0, l = s.length; _$jscoverage['/loader/utils.js'].lineData[37]++; - for (; visit474_37_1(i < l); i++) { + for (; visit479_37_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[38]++; ret[i] = addIndexAndRemoveJsExtFromName(s[i]); } @@ -751,12 +751,12 @@ function visit473_31_1(result) { function addIndexAndRemoveJsExtFromName(name) { _$jscoverage['/loader/utils.js'].functionData[2]++; _$jscoverage['/loader/utils.js'].lineData[46]++; - if (visit475_46_1(name.charAt(name.length - 1) === '/')) { + if (visit480_46_1(name.charAt(name.length - 1) === '/')) { _$jscoverage['/loader/utils.js'].lineData[47]++; name += 'index'; } _$jscoverage['/loader/utils.js'].lineData[49]++; - if (visit476_49_1(S.endsWith(name, '.js'))) { + if (visit481_49_1(S.endsWith(name, '.js'))) { _$jscoverage['/loader/utils.js'].lineData[50]++; name = name.slice(0, -3); } @@ -769,7 +769,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[56]++; var index = name.indexOf('!'); _$jscoverage['/loader/utils.js'].lineData[57]++; - if (visit477_57_1(index !== -1)) { + if (visit482_57_1(index !== -1)) { _$jscoverage['/loader/utils.js'].lineData[58]++; var pluginName = name.substring(0, index); _$jscoverage['/loader/utils.js'].lineData[59]++; @@ -780,7 +780,7 @@ function visit473_31_1(result) { success: function(S, Plugin) { _$jscoverage['/loader/utils.js'].functionData[4]++; _$jscoverage['/loader/utils.js'].lineData[63]++; - if (visit478_63_1(Plugin.alias)) { + if (visit483_63_1(Plugin.alias)) { _$jscoverage['/loader/utils.js'].lineData[65]++; name = Plugin.alias(runtime, name, pluginName); } @@ -794,21 +794,21 @@ function visit473_31_1(result) { docHead: function() { _$jscoverage['/loader/utils.js'].functionData[5]++; _$jscoverage['/loader/utils.js'].lineData[79]++; - return visit479_79_1(doc.getElementsByTagName('head')[0] || doc.documentElement); + return visit484_79_1(doc.getElementsByTagName('head')[0] || doc.documentElement); }, normalDepModuleName: function(moduleName, depName) { _$jscoverage['/loader/utils.js'].functionData[6]++; _$jscoverage['/loader/utils.js'].lineData[89]++; var i = 0, l; _$jscoverage['/loader/utils.js'].lineData[91]++; - if (visit480_91_1(!depName)) { + if (visit485_91_1(!depName)) { _$jscoverage['/loader/utils.js'].lineData[92]++; return depName; } _$jscoverage['/loader/utils.js'].lineData[95]++; - if (visit481_95_1(typeof depName === 'string')) { + if (visit486_95_1(typeof depName === 'string')) { _$jscoverage['/loader/utils.js'].lineData[96]++; - if (visit482_96_1(startsWith(depName, '../') || startsWith(depName, './'))) { + if (visit487_96_1(startsWith(depName, '../') || startsWith(depName, './'))) { _$jscoverage['/loader/utils.js'].lineData[98]++; return Path.resolve(Path.dirname(moduleName), depName); } @@ -816,7 +816,7 @@ function visit473_31_1(result) { return Path.normalize(depName); } _$jscoverage['/loader/utils.js'].lineData[104]++; - for (l = depName.length; visit483_104_1(i < l); i++) { + for (l = depName.length; visit488_104_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[105]++; depName[i] = Utils.normalDepModuleName(moduleName, depName[i]); } @@ -839,7 +839,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[131]++; var mods = runtime.Env.mods, module = mods[modName]; _$jscoverage['/loader/utils.js'].lineData[134]++; - if (visit484_134_1(module)) { + if (visit489_134_1(module)) { _$jscoverage['/loader/utils.js'].lineData[135]++; return module; } @@ -860,7 +860,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[161]++; module = runtimeMods[modName]; _$jscoverage['/loader/utils.js'].lineData[162]++; - if (visit485_162_1(!module || visit486_162_2(module.getType() !== 'css'))) { + if (visit490_162_1(!module || visit491_162_2(module.getType() !== 'css'))) { _$jscoverage['/loader/utils.js'].lineData[163]++; unalias = Utils.unalias(runtime, modName); _$jscoverage['/loader/utils.js'].lineData[164]++; @@ -869,10 +869,10 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[165]++; m = runtimeMods[n]; _$jscoverage['/loader/utils.js'].lineData[167]++; - return visit487_167_1(a && visit488_167_2(m && visit489_167_3(m.status >= ATTACHING))); + return visit492_167_1(a && visit493_167_2(m && visit494_167_3(m.status >= ATTACHING))); }, true); _$jscoverage['/loader/utils.js'].lineData[169]++; - if (visit490_169_1(allOk)) { + if (visit495_169_1(allOk)) { _$jscoverage['/loader/utils.js'].lineData[170]++; mods.push(runtimeMods[unalias[0]].exports); } else { @@ -892,7 +892,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[188]++; var i, l = modNames.length; _$jscoverage['/loader/utils.js'].lineData[190]++; - for (i = 0; visit491_190_1(i < l); i++) { + for (i = 0; visit496_190_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[191]++; Utils.attachModRecursively(modNames[i], runtime); } @@ -900,15 +900,15 @@ function visit473_31_1(result) { checkModsLoadRecursively: function(modNames, runtime, stack, errorList, cache) { _$jscoverage['/loader/utils.js'].functionData[14]++; _$jscoverage['/loader/utils.js'].lineData[197]++; - stack = visit492_197_1(stack || []); + stack = visit497_197_1(stack || []); _$jscoverage['/loader/utils.js'].lineData[199]++; - cache = visit493_199_1(cache || {}); + cache = visit498_199_1(cache || {}); _$jscoverage['/loader/utils.js'].lineData[200]++; var i, s = 1, l = modNames.length, stackDepth = stack.length; _$jscoverage['/loader/utils.js'].lineData[204]++; - for (i = 0; visit494_204_1(i < l); i++) { + for (i = 0; visit499_204_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[205]++; - s = visit495_205_1(s && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)); + s = visit500_205_1(s && Utils.checkModLoadRecursively(modNames[i], runtime, stack, errorList, cache)); _$jscoverage['/loader/utils.js'].lineData[206]++; stack.length = stackDepth; } @@ -920,12 +920,12 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[212]++; var mods = runtime.Env.mods, status, m = mods[modName]; _$jscoverage['/loader/utils.js'].lineData[215]++; - if (visit496_215_1(modName in cache)) { + if (visit501_215_1(modName in cache)) { _$jscoverage['/loader/utils.js'].lineData[216]++; return cache[modName]; } _$jscoverage['/loader/utils.js'].lineData[218]++; - if (visit497_218_1(!m)) { + if (visit502_218_1(!m)) { _$jscoverage['/loader/utils.js'].lineData[219]++; cache[modName] = FALSE; _$jscoverage['/loader/utils.js'].lineData[220]++; @@ -934,7 +934,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[222]++; status = m.status; _$jscoverage['/loader/utils.js'].lineData[223]++; - if (visit498_223_1(status === ERROR)) { + if (visit503_223_1(status === ERROR)) { _$jscoverage['/loader/utils.js'].lineData[224]++; errorList.push(m); _$jscoverage['/loader/utils.js'].lineData[225]++; @@ -943,23 +943,23 @@ function visit473_31_1(result) { return FALSE; } _$jscoverage['/loader/utils.js'].lineData[228]++; - if (visit499_228_1(status >= READY_TO_ATTACH)) { + if (visit504_228_1(status >= READY_TO_ATTACH)) { _$jscoverage['/loader/utils.js'].lineData[229]++; cache[modName] = TRUE; _$jscoverage['/loader/utils.js'].lineData[230]++; return TRUE; } _$jscoverage['/loader/utils.js'].lineData[232]++; - if (visit500_232_1(status !== LOADED)) { + if (visit505_232_1(status !== LOADED)) { _$jscoverage['/loader/utils.js'].lineData[233]++; cache[modName] = FALSE; _$jscoverage['/loader/utils.js'].lineData[234]++; return FALSE; } _$jscoverage['/loader/utils.js'].lineData[236]++; - if (visit501_236_1('@DEBUG@')) { + if (visit506_236_1('@DEBUG@')) { _$jscoverage['/loader/utils.js'].lineData[237]++; - if (visit502_237_1(S.inArray(modName, stack))) { + if (visit507_237_1(S.inArray(modName, stack))) { _$jscoverage['/loader/utils.js'].lineData[238]++; S.log('find cyclic dependency between mods: ' + stack, 'warn'); _$jscoverage['/loader/utils.js'].lineData[239]++; @@ -971,7 +971,7 @@ function visit473_31_1(result) { stack.push(modName); } _$jscoverage['/loader/utils.js'].lineData[245]++; - if (visit503_245_1(Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache))) { + if (visit508_245_1(Utils.checkModsLoadRecursively(m.getNormalizedRequires(), runtime, stack, errorList, cache))) { _$jscoverage['/loader/utils.js'].lineData[247]++; m.status = READY_TO_ATTACH; _$jscoverage['/loader/utils.js'].lineData[248]++; @@ -991,14 +991,14 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[265]++; status = m.status; _$jscoverage['/loader/utils.js'].lineData[267]++; - if (visit504_267_1(status >= ATTACHING)) { + if (visit509_267_1(status >= ATTACHING)) { _$jscoverage['/loader/utils.js'].lineData[268]++; return; } _$jscoverage['/loader/utils.js'].lineData[270]++; m.status = ATTACHING; _$jscoverage['/loader/utils.js'].lineData[271]++; - if (visit505_271_1(m.cjs)) { + if (visit510_271_1(m.cjs)) { _$jscoverage['/loader/utils.js'].lineData[273]++; Utils.attachMod(runtime, m); } else { @@ -1013,18 +1013,18 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[286]++; var factory = module.factory, exports; _$jscoverage['/loader/utils.js'].lineData[289]++; - if (visit506_289_1(typeof factory === 'function')) { + if (visit511_289_1(typeof factory === 'function')) { _$jscoverage['/loader/utils.js'].lineData[292]++; var require; _$jscoverage['/loader/utils.js'].lineData[293]++; - if (visit507_293_1(module.requires && module.requires.length)) { + if (visit512_293_1(module.cjs)) { _$jscoverage['/loader/utils.js'].lineData[294]++; require = S.bind(module.require, module); } _$jscoverage['/loader/utils.js'].lineData[299]++; exports = factory.apply(module, (module.cjs ? [runtime, require, module.exports, module] : Utils.getModules(runtime, module.getRequiresWithAlias()))); _$jscoverage['/loader/utils.js'].lineData[302]++; - if (visit508_302_1(exports !== undefined)) { + if (visit513_302_1(exports !== undefined)) { _$jscoverage['/loader/utils.js'].lineData[304]++; module.exports = exports; } @@ -1038,7 +1038,7 @@ function visit473_31_1(result) { getModNamesAsArray: function(modNames) { _$jscoverage['/loader/utils.js'].functionData[18]++; _$jscoverage['/loader/utils.js'].lineData[320]++; - if (visit509_320_1(typeof modNames === 'string')) { + if (visit514_320_1(typeof modNames === 'string')) { _$jscoverage['/loader/utils.js'].lineData[321]++; modNames = modNames.replace(/\s+/g, '').split(','); } @@ -1059,22 +1059,22 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[357]++; ok = 1; _$jscoverage['/loader/utils.js'].lineData[358]++; - for (i = ret.length - 1; visit510_358_1(i >= 0); i--) { + for (i = ret.length - 1; visit515_358_1(i >= 0); i--) { _$jscoverage['/loader/utils.js'].lineData[359]++; - if (visit511_359_1((m = mods[ret[i]]) && ('alias' in m))) { + if (visit516_359_1((m = mods[ret[i]]) && ('alias' in m))) { _$jscoverage['/loader/utils.js'].lineData[360]++; ok = 0; _$jscoverage['/loader/utils.js'].lineData[361]++; alias = m.alias; _$jscoverage['/loader/utils.js'].lineData[362]++; - if (visit512_362_1(typeof alias === 'string')) { + if (visit517_362_1(typeof alias === 'string')) { _$jscoverage['/loader/utils.js'].lineData[363]++; alias = [alias]; } _$jscoverage['/loader/utils.js'].lineData[365]++; - for (j = alias.length - 1; visit513_365_1(j >= 0); j--) { + for (j = alias.length - 1; visit518_365_1(j >= 0); j--) { _$jscoverage['/loader/utils.js'].lineData[366]++; - if (visit514_366_1(!alias[j])) { + if (visit519_366_1(!alias[j])) { _$jscoverage['/loader/utils.js'].lineData[367]++; alias.splice(j, 1); } @@ -1092,18 +1092,18 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[385]++; var ret = [], i, l; _$jscoverage['/loader/utils.js'].lineData[386]++; - if (visit515_386_1(modNames)) { + if (visit520_386_1(modNames)) { _$jscoverage['/loader/utils.js'].lineData[388]++; - for (i = 0 , l = modNames.length; visit516_388_1(i < l); i++) { + for (i = 0 , l = modNames.length; visit521_388_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[391]++; - if (visit517_391_1(modNames[i])) { + if (visit522_391_1(modNames[i])) { _$jscoverage['/loader/utils.js'].lineData[392]++; ret.push(pluginAlias(runtime, addIndexAndRemoveJsExt(modNames[i]))); } } } _$jscoverage['/loader/utils.js'].lineData[397]++; - if (visit518_397_1(refModName)) { + if (visit523_397_1(refModName)) { _$jscoverage['/loader/utils.js'].lineData[398]++; ret = Utils.normalDepModuleName(refModName, ret); } @@ -1117,7 +1117,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[413]++; var mods = runtime.Env.mods, module = mods[name]; _$jscoverage['/loader/utils.js'].lineData[416]++; - if (visit519_416_1(module && visit520_416_2(module.factory !== undefined))) { + if (visit524_416_1(module && visit525_416_2(module.factory !== undefined))) { _$jscoverage['/loader/utils.js'].lineData[417]++; S.log(name + ' is defined more than once', 'warn'); _$jscoverage['/loader/utils.js'].lineData[418]++; @@ -1140,7 +1140,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[443]++; var hash = 5381, i; _$jscoverage['/loader/utils.js'].lineData[445]++; - for (i = str.length; visit521_445_1(--i > -1); ) { + for (i = str.length; visit526_445_1(--i > -1); ) { _$jscoverage['/loader/utils.js'].lineData[446]++; hash = ((hash << 5) + hash) + str.charCodeAt(i); } @@ -1168,7 +1168,7 @@ function visit473_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[470]++; var m; _$jscoverage['/loader/utils.js'].lineData[472]++; - if (visit522_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { + if (visit527_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { _$jscoverage['/loader/utils.js'].lineData[473]++; S.error('can not find required mod in require call: ' + str); } diff --git a/src/seed/coverage/src/meta/base.js b/src/seed/coverage/src/meta/base.js index ccddd8b9c2..5b7f0383dd 100644 --- a/src/seed/coverage/src/meta/base.js +++ b/src/seed/coverage/src/meta/base.js @@ -246,7 +246,7 @@ if (! _$jscoverage['/meta/base.js'].branchData) { _$jscoverage['/meta/base.js'].branchData['21'][1] = new BranchData(); } _$jscoverage['/meta/base.js'].branchData['21'][1].init(345, 31, 'typeof location !== \'undefined\''); -function visit523_21_1(result) { +function visit528_21_1(result) { _$jscoverage['/meta/base.js'].branchData['21'][1].ranCondition(result); return result; }_$jscoverage['/meta/base.js'].lineData[6]++; @@ -262,7 +262,7 @@ function visit523_21_1(result) { 'rich-base': { alias: 'base'}}}); _$jscoverage['/meta/base.js'].lineData[21]++; - if (visit523_21_1(typeof location !== 'undefined')) { + if (visit528_21_1(typeof location !== 'undefined')) { _$jscoverage['/meta/base.js'].lineData[22]++; var https = S.startsWith(location.href, 'https'); _$jscoverage['/meta/base.js'].lineData[23]++; diff --git a/src/seed/coverage/src/meta/modules.js b/src/seed/coverage/src/meta/modules.js index 91c4dae79c..97bf4119da 100644 --- a/src/seed/coverage/src/meta/modules.js +++ b/src/seed/coverage/src/meta/modules.js @@ -327,7 +327,7 @@ _$jscoverage['/meta/modules.js'].lineData[3]++; _$jscoverage['/meta/modules.js'].lineData[21]++; config({ 'anim/transition': { - requires: ['dom', 'event/dom', 'anim/base']}}); + requires: ['dom', 'anim/base']}}); _$jscoverage['/meta/modules.js'].lineData[25]++; config({ 'attribute': { diff --git a/src/seed/coverage/src/path.js b/src/seed/coverage/src/path.js index c568dfe83c..1d7924269c 100644 --- a/src/seed/coverage/src/path.js +++ b/src/seed/coverage/src/path.js @@ -375,131 +375,131 @@ if (! _$jscoverage['/path.js'].branchData) { _$jscoverage['/path.js'].branchData['212'][2] = new BranchData(); } _$jscoverage['/path.js'].branchData['212'][2].init(21, 29, 'path.match(splitPathRe) || []'); -function visit555_212_2(result) { +function visit560_212_2(result) { _$jscoverage['/path.js'].branchData['212'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['212'][1].init(21, 39, '(path.match(splitPathRe) || [])[4] || \'\''); -function visit554_212_1(result) { +function visit559_212_1(result) { _$jscoverage['/path.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['198'][1].init(259, 3, 'dir'); -function visit553_198_1(result) { +function visit558_198_1(result) { _$jscoverage['/path.js'].branchData['198'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['193'][1].init(153, 13, '!root && !dir'); -function visit552_193_1(result) { +function visit557_193_1(result) { _$jscoverage['/path.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['191'][1].init(105, 15, 'result[2] || \'\''); -function visit551_191_1(result) { +function visit556_191_1(result) { _$jscoverage['/path.js'].branchData['191'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['190'][1].init(66, 15, 'result[1] || \'\''); -function visit550_190_1(result) { +function visit555_190_1(result) { _$jscoverage['/path.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['189'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit549_189_1(result) { +function visit554_189_1(result) { _$jscoverage['/path.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][3].init(158, 39, 'basename.slice(-1 * ext.length) === ext'); -function visit548_177_3(result) { +function visit553_177_3(result) { _$jscoverage['/path.js'].branchData['177'][3].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][2].init(146, 51, 'basename && basename.slice(-1 * ext.length) === ext'); -function visit547_177_2(result) { +function visit552_177_2(result) { _$jscoverage['/path.js'].branchData['177'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][1].init(139, 58, 'ext && basename && basename.slice(-1 * ext.length) === ext'); -function visit546_177_1(result) { +function visit551_177_1(result) { _$jscoverage['/path.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['176'][1].init(106, 15, 'result[3] || \'\''); -function visit545_176_1(result) { +function visit550_176_1(result) { _$jscoverage['/path.js'].branchData['176'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['174'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit544_174_1(result) { +function visit549_174_1(result) { _$jscoverage['/path.js'].branchData['174'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['155'][1].init(716, 28, 'sameIndex < fromParts.length'); -function visit543_155_1(result) { +function visit548_155_1(result) { _$jscoverage['/path.js'].branchData['155'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['148'][1].init(21, 43, 'fromParts[sameIndex] !== toParts[sameIndex]'); -function visit542_148_1(result) { +function visit547_148_1(result) { _$jscoverage['/path.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['147'][1].init(492, 24, 'sameIndex < commonLength'); -function visit541_147_1(result) { +function visit546_147_1(result) { _$jscoverage['/path.js'].branchData['147'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][2].init(30, 21, 'typeof p === \'string\''); -function visit540_118_2(result) { +function visit545_118_2(result) { _$jscoverage['/path.js'].branchData['118'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][1].init(24, 28, 'p && (typeof p === \'string\')'); -function visit539_118_1(result) { +function visit544_118_1(result) { _$jscoverage['/path.js'].branchData['118'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['103'][1].init(348, 21, 'path && trailingSlash'); -function visit538_103_1(result) { +function visit543_103_1(result) { _$jscoverage['/path.js'].branchData['103'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['99'][1].init(267, 18, '!path && !absolute'); -function visit537_99_1(result) { +function visit542_99_1(result) { _$jscoverage['/path.js'].branchData['99'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['93'][1].init(70, 22, 'path.slice(-1) === \'/\''); -function visit536_93_1(result) { +function visit541_93_1(result) { _$jscoverage['/path.js'].branchData['93'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['92'][1].init(28, 22, 'path.charAt(0) === \'/\''); -function visit535_92_1(result) { +function visit540_92_1(result) { _$jscoverage['/path.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['78'][1].init(686, 46, '((absolute ? \'/\' : \'\') + resolvedPathStr) || \'.\''); -function visit534_78_1(result) { +function visit539_78_1(result) { _$jscoverage['/path.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['71'][1].init(223, 22, 'path.charAt(0) === \'/\''); -function visit533_71_1(result) { +function visit538_71_1(result) { _$jscoverage['/path.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][2].init(53, 24, 'typeof path !== \'string\''); -function visit532_67_2(result) { +function visit537_67_2(result) { _$jscoverage['/path.js'].branchData['67'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][1].init(53, 33, 'typeof path !== \'string\' || !path'); -function visit531_67_1(result) { +function visit536_67_1(result) { _$jscoverage['/path.js'].branchData['67'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][2].init(215, 6, 'i >= 0'); -function visit530_65_2(result) { +function visit535_65_2(result) { _$jscoverage['/path.js'].branchData['65'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][1].init(215, 19, 'i >= 0 && !absolute'); -function visit529_65_1(result) { +function visit534_65_1(result) { _$jscoverage['/path.js'].branchData['65'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['36'][1].init(591, 14, 'allowAboveRoot'); -function visit528_36_1(result) { +function visit533_36_1(result) { _$jscoverage['/path.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['27'][1].init(92, 2, 'up'); -function visit527_27_1(result) { +function visit532_27_1(result) { _$jscoverage['/path.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['25'][1].init(21, 13, 'last === \'..\''); -function visit526_25_1(result) { +function visit531_25_1(result) { _$jscoverage['/path.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['24'][1].init(46, 12, 'last !== \'.\''); -function visit525_24_1(result) { +function visit530_24_1(result) { _$jscoverage['/path.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['22'][1].init(213, 6, 'i >= 0'); -function visit524_22_1(result) { +function visit529_22_1(result) { _$jscoverage['/path.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].lineData[7]++; @@ -513,18 +513,18 @@ function visit524_22_1(result) { _$jscoverage['/path.js'].lineData[15]++; var up = 0, i = parts.length - 1, newParts = [], last; _$jscoverage['/path.js'].lineData[22]++; - for (; visit524_22_1(i >= 0); i--) { + for (; visit529_22_1(i >= 0); i--) { _$jscoverage['/path.js'].lineData[23]++; last = parts[i]; _$jscoverage['/path.js'].lineData[24]++; - if (visit525_24_1(last !== '.')) { + if (visit530_24_1(last !== '.')) { _$jscoverage['/path.js'].lineData[25]++; - if (visit526_25_1(last === '..')) { + if (visit531_25_1(last === '..')) { _$jscoverage['/path.js'].lineData[26]++; up++; } else { _$jscoverage['/path.js'].lineData[27]++; - if (visit527_27_1(up)) { + if (visit532_27_1(up)) { _$jscoverage['/path.js'].lineData[28]++; up--; } else { @@ -535,7 +535,7 @@ function visit524_22_1(result) { } } _$jscoverage['/path.js'].lineData[36]++; - if (visit528_36_1(allowAboveRoot)) { + if (visit533_36_1(allowAboveRoot)) { _$jscoverage['/path.js'].lineData[37]++; for (; up--; up) { _$jscoverage['/path.js'].lineData[38]++; @@ -554,18 +554,18 @@ function visit524_22_1(result) { _$jscoverage['/path.js'].lineData[58]++; var resolvedPath = '', resolvedPathStr, i, args = (arguments), path, absolute = 0; _$jscoverage['/path.js'].lineData[65]++; - for (i = args.length - 1; visit529_65_1(visit530_65_2(i >= 0) && !absolute); i--) { + for (i = args.length - 1; visit534_65_1(visit535_65_2(i >= 0) && !absolute); i--) { _$jscoverage['/path.js'].lineData[66]++; path = args[i]; _$jscoverage['/path.js'].lineData[67]++; - if (visit531_67_1(visit532_67_2(typeof path !== 'string') || !path)) { + if (visit536_67_1(visit537_67_2(typeof path !== 'string') || !path)) { _$jscoverage['/path.js'].lineData[68]++; continue; } _$jscoverage['/path.js'].lineData[70]++; resolvedPath = path + '/' + resolvedPath; _$jscoverage['/path.js'].lineData[71]++; - absolute = visit533_71_1(path.charAt(0) === '/'); + absolute = visit538_71_1(path.charAt(0) === '/'); } _$jscoverage['/path.js'].lineData[74]++; resolvedPathStr = normalizeArray(S.filter(resolvedPath.split('/'), function(p) { @@ -574,12 +574,12 @@ function visit524_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[78]++; - return visit534_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); + return visit539_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); }, normalize: function(path) { _$jscoverage['/path.js'].functionData[4]++; _$jscoverage['/path.js'].lineData[92]++; - var absolute = visit535_92_1(path.charAt(0) === '/'), trailingSlash = visit536_93_1(path.slice(-1) === '/'); + var absolute = visit540_92_1(path.charAt(0) === '/'), trailingSlash = visit541_93_1(path.slice(-1) === '/'); _$jscoverage['/path.js'].lineData[95]++; path = normalizeArray(S.filter(path.split('/'), function(p) { _$jscoverage['/path.js'].functionData[5]++; @@ -587,12 +587,12 @@ function visit524_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[99]++; - if (visit537_99_1(!path && !absolute)) { + if (visit542_99_1(!path && !absolute)) { _$jscoverage['/path.js'].lineData[100]++; path = '.'; } _$jscoverage['/path.js'].lineData[103]++; - if (visit538_103_1(path && trailingSlash)) { + if (visit543_103_1(path && trailingSlash)) { _$jscoverage['/path.js'].lineData[104]++; path += '/'; } @@ -607,7 +607,7 @@ function visit524_22_1(result) { return Path.normalize(S.filter(args, function(p) { _$jscoverage['/path.js'].functionData[7]++; _$jscoverage['/path.js'].lineData[118]++; - return visit539_118_1(p && (visit540_118_2(typeof p === 'string'))); + return visit544_118_1(p && (visit545_118_2(typeof p === 'string'))); }).join('/')); }, relative: function(from, to) { @@ -627,9 +627,9 @@ function visit524_22_1(result) { return !!p; }), commonLength = Math.min(fromParts.length, toParts.length); _$jscoverage['/path.js'].lineData[147]++; - for (sameIndex = 0; visit541_147_1(sameIndex < commonLength); sameIndex++) { + for (sameIndex = 0; visit546_147_1(sameIndex < commonLength); sameIndex++) { _$jscoverage['/path.js'].lineData[148]++; - if (visit542_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { + if (visit547_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { _$jscoverage['/path.js'].lineData[149]++; break; } @@ -637,7 +637,7 @@ function visit524_22_1(result) { _$jscoverage['/path.js'].lineData[153]++; sameIndex2 = sameIndex; _$jscoverage['/path.js'].lineData[155]++; - while (visit543_155_1(sameIndex < fromParts.length)) { + while (visit548_155_1(sameIndex < fromParts.length)) { _$jscoverage['/path.js'].lineData[156]++; path.push('..'); _$jscoverage['/path.js'].lineData[157]++; @@ -653,11 +653,11 @@ function visit524_22_1(result) { basename: function(path, ext) { _$jscoverage['/path.js'].functionData[11]++; _$jscoverage['/path.js'].lineData[174]++; - var result = visit544_174_1(path.match(splitPathRe) || []), basename; + var result = visit549_174_1(path.match(splitPathRe) || []), basename; _$jscoverage['/path.js'].lineData[176]++; - basename = visit545_176_1(result[3] || ''); + basename = visit550_176_1(result[3] || ''); _$jscoverage['/path.js'].lineData[177]++; - if (visit546_177_1(ext && visit547_177_2(basename && visit548_177_3(basename.slice(-1 * ext.length) === ext)))) { + if (visit551_177_1(ext && visit552_177_2(basename && visit553_177_3(basename.slice(-1 * ext.length) === ext)))) { _$jscoverage['/path.js'].lineData[178]++; basename = basename.slice(0, -1 * ext.length); } @@ -667,14 +667,14 @@ function visit524_22_1(result) { dirname: function(path) { _$jscoverage['/path.js'].functionData[12]++; _$jscoverage['/path.js'].lineData[189]++; - var result = visit549_189_1(path.match(splitPathRe) || []), root = visit550_190_1(result[1] || ''), dir = visit551_191_1(result[2] || ''); + var result = visit554_189_1(path.match(splitPathRe) || []), root = visit555_190_1(result[1] || ''), dir = visit556_191_1(result[2] || ''); _$jscoverage['/path.js'].lineData[193]++; - if (visit552_193_1(!root && !dir)) { + if (visit557_193_1(!root && !dir)) { _$jscoverage['/path.js'].lineData[195]++; return '.'; } _$jscoverage['/path.js'].lineData[198]++; - if (visit553_198_1(dir)) { + if (visit558_198_1(dir)) { _$jscoverage['/path.js'].lineData[200]++; dir = dir.substring(0, dir.length - 1); } @@ -684,6 +684,6 @@ function visit524_22_1(result) { extname: function(path) { _$jscoverage['/path.js'].functionData[13]++; _$jscoverage['/path.js'].lineData[212]++; - return visit554_212_1((visit555_212_2(path.match(splitPathRe) || []))[4] || ''); + return visit559_212_1((visit560_212_2(path.match(splitPathRe) || []))[4] || ''); }}; })(KISSY); diff --git a/src/seed/coverage/src/ua.js b/src/seed/coverage/src/ua.js index f54288e3bb..1673853348 100644 --- a/src/seed/coverage/src/ua.js +++ b/src/seed/coverage/src/ua.js @@ -442,190 +442,190 @@ if (! _$jscoverage['/ua.js'].branchData) { _$jscoverage['/ua.js'].branchData['388'][1] = new BranchData(); } _$jscoverage['/ua.js'].branchData['388'][1].init(238, 17, 'S.trim(className)'); -function visit600_388_1(result) { +function visit605_388_1(result) { _$jscoverage['/ua.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['383'][1].init(46, 1, 'v'); -function visit599_383_1(result) { +function visit604_383_1(result) { _$jscoverage['/ua.js'].branchData['383'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['380'][1].init(12088, 15, 'documentElement'); -function visit598_380_1(result) { +function visit603_380_1(result) { _$jscoverage['/ua.js'].branchData['380'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['378'][1].init(307, 26, 'doc && doc.documentElement'); -function visit597_378_1(result) { +function visit602_378_1(result) { _$jscoverage['/ua.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['356'][1].init(50, 61, '(versions = process.versions) && (nodeVersion = versions.node)'); -function visit596_356_1(result) { +function visit601_356_1(result) { _$jscoverage['/ua.js'].branchData['356'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['353'][1].init(11364, 27, 'typeof process === \'object\''); -function visit595_353_1(result) { +function visit600_353_1(result) { _$jscoverage['/ua.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][2].init(10247, 25, 'UA.ie && doc.documentMode'); -function visit594_345_2(result) { +function visit599_345_2(result) { _$jscoverage['/ua.js'].branchData['345'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][1].init(10247, 34, 'UA.ie && doc.documentMode || UA.ie'); -function visit593_345_1(result) { +function visit598_345_1(result) { _$jscoverage['/ua.js'].branchData['345'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['343'][1].init(10184, 15, 'UA.core || core'); -function visit592_343_1(result) { +function visit597_343_1(result) { _$jscoverage['/ua.js'].branchData['343'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['337'][1].init(279, 18, '(/rhino/i).test(ua)'); -function visit591_337_1(result) { +function visit596_337_1(result) { _$jscoverage['/ua.js'].branchData['337'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['335'][1].init(202, 18, '(/linux/i).test(ua)'); -function visit590_335_1(result) { +function visit595_335_1(result) { _$jscoverage['/ua.js'].branchData['335'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['333'][1].init(105, 34, '(/macintosh|mac_powerpc/i).test(ua)'); -function visit589_333_1(result) { +function visit594_333_1(result) { _$jscoverage['/ua.js'].branchData['333'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['331'][1].init(18, 26, '(/windows|win32/i).test(ua)'); -function visit588_331_1(result) { +function visit593_331_1(result) { _$jscoverage['/ua.js'].branchData['331'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['330'][1].init(9787, 3, '!os'); -function visit587_330_1(result) { +function visit592_330_1(result) { _$jscoverage['/ua.js'].branchData['330'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['321'][1].init(484, 42, '(m = ua.match(/Firefox\\/([\\d.]*)/)) && m[1]'); -function visit586_321_1(result) { +function visit591_321_1(result) { _$jscoverage['/ua.js'].branchData['321'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['316'][1].init(97, 24, '/Mobile|Tablet/.test(ua)'); -function visit585_316_1(result) { +function visit590_316_1(result) { _$jscoverage['/ua.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['314'][1].init(125, 36, '(m = ua.match(/rv:([\\d.]*)/)) && m[1]'); -function visit584_314_1(result) { +function visit589_314_1(result) { _$jscoverage['/ua.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['296'][1].init(787, 37, '(m = ua.match(/Opera Mobi[^;]*/)) && m'); -function visit583_296_1(result) { +function visit588_296_1(result) { _$jscoverage['/ua.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['290'][1].init(338, 37, '(m = ua.match(/Opera Mini[^;]*/)) && m'); -function visit582_290_1(result) { +function visit587_290_1(result) { _$jscoverage['/ua.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['285'][1].init(131, 52, '(m = ua.match(/Opera\\/.* Version\\/([\\d.]*)/)) && m[1]'); -function visit581_285_1(result) { +function visit586_285_1(result) { _$jscoverage['/ua.js'].branchData['285'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['282'][1].init(115, 40, '(m = ua.match(/Opera\\/([\\d.]*)/)) && m[1]'); -function visit580_282_1(result) { +function visit585_282_1(result) { _$jscoverage['/ua.js'].branchData['282'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['278'][1].init(129, 41, '(m = ua.match(/Presto\\/([\\d.]*)/)) && m[1]'); -function visit579_278_1(result) { +function visit584_278_1(result) { _$jscoverage['/ua.js'].branchData['278'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['270'][1].init(1741, 44, '(m = ua.match(/PhantomJS\\/([^\\s]*)/)) && m[1]'); -function visit578_270_1(result) { +function visit583_270_1(result) { _$jscoverage['/ua.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['261'][1].init(199, 9, 'm && m[1]'); -function visit577_261_1(result) { +function visit582_261_1(result) { _$jscoverage['/ua.js'].branchData['261'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['257'][1].init(25, 17, '/Mobile/.test(ua)'); -function visit576_257_1(result) { +function visit581_257_1(result) { _$jscoverage['/ua.js'].branchData['257'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['256'][1].init(1137, 20, '/ Android/i.test(ua)'); -function visit575_256_1(result) { +function visit580_256_1(result) { _$jscoverage['/ua.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['253'][1].init(359, 9, 'm && m[0]'); -function visit574_253_1(result) { +function visit579_253_1(result) { _$jscoverage['/ua.js'].branchData['253'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['248'][1].init(146, 9, 'm && m[1]'); -function visit573_248_1(result) { +function visit578_248_1(result) { _$jscoverage['/ua.js'].branchData['248'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['244'][1].init(603, 52, '/ Mobile\\//.test(ua) && ua.match(/iPad|iPod|iPhone/)'); -function visit572_244_1(result) { +function visit577_244_1(result) { _$jscoverage['/ua.js'].branchData['244'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['239'][1].init(428, 42, '(m = ua.match(/\\/([\\d.]*) Safari/)) && m[1]'); -function visit571_239_1(result) { +function visit576_239_1(result) { _$jscoverage['/ua.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['235'][1].init(252, 41, '(m = ua.match(/Chrome\\/([\\d.]*)/)) && m[1]'); -function visit570_235_1(result) { +function visit575_235_1(result) { _$jscoverage['/ua.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['231'][1].init(78, 40, '(m = ua.match(/OPR\\/(\\d+\\.\\d+)/)) && m[1]'); -function visit569_231_1(result) { +function visit574_231_1(result) { _$jscoverage['/ua.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['228'][1].init(40, 46, '(m = ua.match(/AppleWebKit\\/([\\d.]*)/)) && m[1]'); -function visit568_228_1(result) { +function visit573_228_1(result) { _$jscoverage['/ua.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['222'][1].init(745, 40, '!UA.ie && (ieVersion = getIEVersion(ua))'); -function visit567_222_1(result) { +function visit572_222_1(result) { _$jscoverage['/ua.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['214'][1].init(100, 12, 's.length > 0'); -function visit566_214_1(result) { +function visit571_214_1(result) { _$jscoverage['/ua.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['212'][1].init(404, 8, 'v <= end'); -function visit565_212_1(result) { +function visit570_212_1(result) { _$jscoverage['/ua.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['202'][1].init(4366, 12, 's.length > 0'); -function visit564_202_1(result) { +function visit569_202_1(result) { _$jscoverage['/ua.js'].branchData['202'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['195'][1].init(3982, 31, 'div && div.getElementsByTagName'); -function visit563_195_1(result) { +function visit568_195_1(result) { _$jscoverage['/ua.js'].branchData['195'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['53'][1].init(343, 31, 'doc && doc.createElement(\'div\')'); -function visit562_53_1(result) { +function visit567_53_1(result) { _$jscoverage['/ua.js'].branchData['53'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['36'][1].init(82, 12, 'm[1] || m[2]'); -function visit561_36_1(result) { +function visit566_36_1(result) { _$jscoverage['/ua.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['35'][1].init(32, 97, '(m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\\s|:)?([0-9.]+)/)) && (v = (m[1] || m[2]))'); -function visit560_35_1(result) { +function visit565_35_1(result) { _$jscoverage['/ua.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['26'][1].init(157, 42, '(m = ua.match(/Trident\\/([\\d.]*)/)) && m[1]'); -function visit559_26_1(result) { +function visit564_26_1(result) { _$jscoverage['/ua.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['17'][1].init(21, 9, 'c++ === 0'); -function visit558_17_1(result) { +function visit563_17_1(result) { _$jscoverage['/ua.js'].branchData['17'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][2].init(97, 32, 'navigator && navigator.userAgent'); -function visit557_11_2(result) { +function visit562_11_2(result) { _$jscoverage['/ua.js'].branchData['11'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][1].init(97, 38, 'navigator && navigator.userAgent || \'\''); -function visit556_11_1(result) { +function visit561_11_1(result) { _$jscoverage['/ua.js'].branchData['11'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].lineData[5]++; (function(S, undefined) { _$jscoverage['/ua.js'].functionData[0]++; _$jscoverage['/ua.js'].lineData[8]++; - var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit556_11_1(visit557_11_2(navigator && navigator.userAgent) || ''); + var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit561_11_1(visit562_11_2(navigator && navigator.userAgent) || ''); _$jscoverage['/ua.js'].lineData[13]++; function numberify(s) { _$jscoverage['/ua.js'].functionData[1]++; @@ -635,7 +635,7 @@ function visit556_11_1(result) { return parseFloat(s.replace(/\./g, function() { _$jscoverage['/ua.js'].functionData[2]++; _$jscoverage['/ua.js'].lineData[17]++; - return (visit558_17_1(c++ === 0)) ? '.' : ''; + return (visit563_17_1(c++ === 0)) ? '.' : ''; })); } _$jscoverage['/ua.js'].lineData[21]++; @@ -646,7 +646,7 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[23]++; UA[core = 'trident'] = 0.1; _$jscoverage['/ua.js'].lineData[26]++; - if (visit559_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { + if (visit564_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[27]++; UA[core] = numberify(m[1]); } @@ -659,7 +659,7 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[34]++; var m, v; _$jscoverage['/ua.js'].lineData[35]++; - if (visit560_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit561_36_1(m[1] || m[2]))))) { + if (visit565_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit566_36_1(m[1] || m[2]))))) { _$jscoverage['/ua.js'].lineData[37]++; return numberify(v); } @@ -670,7 +670,7 @@ function visit556_11_1(result) { function getDescriptorFromUserAgent(ua) { _$jscoverage['/ua.js'].functionData[5]++; _$jscoverage['/ua.js'].lineData[43]++; - var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit562_53_1(doc && doc.createElement('div')), s = []; + var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit567_53_1(doc && doc.createElement('div')), s = []; _$jscoverage['/ua.js'].lineData[60]++; var UA = { webkit: undefined, @@ -695,22 +695,22 @@ function visit556_11_1(result) { android: undefined, nodejs: undefined}; _$jscoverage['/ua.js'].lineData[195]++; - if (visit563_195_1(div && div.getElementsByTagName)) { + if (visit568_195_1(div && div.getElementsByTagName)) { _$jscoverage['/ua.js'].lineData[198]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, ''); _$jscoverage['/ua.js'].lineData[199]++; s = div.getElementsByTagName('s'); } _$jscoverage['/ua.js'].lineData[202]++; - if (visit564_202_1(s.length > 0)) { + if (visit569_202_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[204]++; setTridentVersion(ua, UA); _$jscoverage['/ua.js'].lineData[212]++; - for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit565_212_1(v <= end); v++) { + for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit570_212_1(v <= end); v++) { _$jscoverage['/ua.js'].lineData[213]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, v); _$jscoverage['/ua.js'].lineData[214]++; - if (visit566_214_1(s.length > 0)) { + if (visit571_214_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[215]++; UA[shell = 'ie'] = v; _$jscoverage['/ua.js'].lineData[216]++; @@ -718,40 +718,40 @@ function visit556_11_1(result) { } } _$jscoverage['/ua.js'].lineData[222]++; - if (visit567_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { + if (visit572_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { _$jscoverage['/ua.js'].lineData[223]++; UA[shell = 'ie'] = ieVersion; } } else { _$jscoverage['/ua.js'].lineData[228]++; - if (visit568_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { + if (visit573_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[229]++; UA[core = 'webkit'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[231]++; - if (visit569_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { + if (visit574_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[232]++; UA[shell = 'opera'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[235]++; - if (visit570_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { + if (visit575_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[236]++; UA[shell = 'chrome'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[239]++; - if (visit571_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { + if (visit576_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { _$jscoverage['/ua.js'].lineData[240]++; UA[shell = 'safari'] = numberify(m[1]); } } } _$jscoverage['/ua.js'].lineData[244]++; - if (visit572_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { + if (visit577_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { _$jscoverage['/ua.js'].lineData[245]++; UA.mobile = 'apple'; _$jscoverage['/ua.js'].lineData[247]++; m = ua.match(/OS ([^\s]*)/); _$jscoverage['/ua.js'].lineData[248]++; - if (visit573_248_1(m && m[1])) { + if (visit578_248_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[249]++; UA.ios = numberify(m[1].replace('_', '.')); } @@ -760,22 +760,22 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[252]++; m = ua.match(/iPad|iPod|iPhone/); _$jscoverage['/ua.js'].lineData[253]++; - if (visit574_253_1(m && m[0])) { + if (visit579_253_1(m && m[0])) { _$jscoverage['/ua.js'].lineData[254]++; UA[m[0].toLowerCase()] = UA.ios; } } else { _$jscoverage['/ua.js'].lineData[256]++; - if (visit575_256_1(/ Android/i.test(ua))) { + if (visit580_256_1(/ Android/i.test(ua))) { _$jscoverage['/ua.js'].lineData[257]++; - if (visit576_257_1(/Mobile/.test(ua))) { + if (visit581_257_1(/Mobile/.test(ua))) { _$jscoverage['/ua.js'].lineData[258]++; os = UA.mobile = 'android'; } _$jscoverage['/ua.js'].lineData[260]++; m = ua.match(/Android ([^\s]*);/); _$jscoverage['/ua.js'].lineData[261]++; - if (visit577_261_1(m && m[1])) { + if (visit582_261_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[262]++; UA.android = numberify(m[1]); } @@ -788,31 +788,31 @@ function visit556_11_1(result) { } } _$jscoverage['/ua.js'].lineData[270]++; - if (visit578_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { + if (visit583_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[271]++; UA.phantomjs = numberify(m[1]); } } else { _$jscoverage['/ua.js'].lineData[278]++; - if (visit579_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { + if (visit584_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[279]++; UA[core = 'presto'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[282]++; - if (visit580_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { + if (visit585_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[283]++; UA[shell = 'opera'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[285]++; - if (visit581_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { + if (visit586_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[286]++; UA[shell] = numberify(m[1]); } _$jscoverage['/ua.js'].lineData[290]++; - if (visit582_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { + if (visit587_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[291]++; UA.mobile = m[0].toLowerCase(); } else { _$jscoverage['/ua.js'].lineData[296]++; - if (visit583_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { + if (visit588_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[297]++; UA.mobile = m[0]; } @@ -831,17 +831,17 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[313]++; UA[core = 'gecko'] = 0.1; _$jscoverage['/ua.js'].lineData[314]++; - if (visit584_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { + if (visit589_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[315]++; UA[core] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[316]++; - if (visit585_316_1(/Mobile|Tablet/.test(ua))) { + if (visit590_316_1(/Mobile|Tablet/.test(ua))) { _$jscoverage['/ua.js'].lineData[317]++; UA.mobile = 'firefox'; } } _$jscoverage['/ua.js'].lineData[321]++; - if (visit586_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { + if (visit591_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[322]++; UA[shell = 'firefox'] = numberify(m[1]); } @@ -851,24 +851,24 @@ function visit556_11_1(result) { } } _$jscoverage['/ua.js'].lineData[330]++; - if (visit587_330_1(!os)) { + if (visit592_330_1(!os)) { _$jscoverage['/ua.js'].lineData[331]++; - if (visit588_331_1((/windows|win32/i).test(ua))) { + if (visit593_331_1((/windows|win32/i).test(ua))) { _$jscoverage['/ua.js'].lineData[332]++; os = 'windows'; } else { _$jscoverage['/ua.js'].lineData[333]++; - if (visit589_333_1((/macintosh|mac_powerpc/i).test(ua))) { + if (visit594_333_1((/macintosh|mac_powerpc/i).test(ua))) { _$jscoverage['/ua.js'].lineData[334]++; os = 'macintosh'; } else { _$jscoverage['/ua.js'].lineData[335]++; - if (visit590_335_1((/linux/i).test(ua))) { + if (visit595_335_1((/linux/i).test(ua))) { _$jscoverage['/ua.js'].lineData[336]++; os = 'linux'; } else { _$jscoverage['/ua.js'].lineData[337]++; - if (visit591_337_1((/rhino/i).test(ua))) { + if (visit596_337_1((/rhino/i).test(ua))) { _$jscoverage['/ua.js'].lineData[338]++; os = 'rhino'; } @@ -879,22 +879,22 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[342]++; UA.os = os; _$jscoverage['/ua.js'].lineData[343]++; - UA.core = visit592_343_1(UA.core || core); + UA.core = visit597_343_1(UA.core || core); _$jscoverage['/ua.js'].lineData[344]++; UA.shell = shell; _$jscoverage['/ua.js'].lineData[345]++; - UA.ieMode = visit593_345_1(visit594_345_2(UA.ie && doc.documentMode) || UA.ie); + UA.ieMode = visit598_345_1(visit599_345_2(UA.ie && doc.documentMode) || UA.ie); _$jscoverage['/ua.js'].lineData[347]++; return UA; } _$jscoverage['/ua.js'].lineData[350]++; var UA = KISSY.UA = getDescriptorFromUserAgent(ua); _$jscoverage['/ua.js'].lineData[353]++; - if (visit595_353_1(typeof process === 'object')) { + if (visit600_353_1(typeof process === 'object')) { _$jscoverage['/ua.js'].lineData[354]++; var versions, nodeVersion; _$jscoverage['/ua.js'].lineData[356]++; - if (visit596_356_1((versions = process.versions) && (nodeVersion = versions.node))) { + if (visit601_356_1((versions = process.versions) && (nodeVersion = versions.node))) { _$jscoverage['/ua.js'].lineData[357]++; UA.os = process.platform; _$jscoverage['/ua.js'].lineData[358]++; @@ -904,16 +904,16 @@ function visit556_11_1(result) { _$jscoverage['/ua.js'].lineData[363]++; UA.getDescriptorFromUserAgent = getDescriptorFromUserAgent; _$jscoverage['/ua.js'].lineData[365]++; - var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit597_378_1(doc && doc.documentElement), className = ''; + var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit602_378_1(doc && doc.documentElement), className = ''; _$jscoverage['/ua.js'].lineData[380]++; - if (visit598_380_1(documentElement)) { + if (visit603_380_1(documentElement)) { _$jscoverage['/ua.js'].lineData[381]++; S.each(browsers, function(key) { _$jscoverage['/ua.js'].functionData[6]++; _$jscoverage['/ua.js'].lineData[382]++; var v = UA[key]; _$jscoverage['/ua.js'].lineData[383]++; - if (visit599_383_1(v)) { + if (visit604_383_1(v)) { _$jscoverage['/ua.js'].lineData[384]++; className += ' ks-' + key + (parseInt(v) + ''); _$jscoverage['/ua.js'].lineData[385]++; @@ -921,7 +921,7 @@ function visit556_11_1(result) { } }); _$jscoverage['/ua.js'].lineData[388]++; - if (visit600_388_1(S.trim(className))) { + if (visit605_388_1(S.trim(className))) { _$jscoverage['/ua.js'].lineData[389]++; documentElement.className = S.trim(documentElement.className + className); } diff --git a/src/seed/coverage/src/uri.js b/src/seed/coverage/src/uri.js index 8ad47081d0..97255d0415 100644 --- a/src/seed/coverage/src/uri.js +++ b/src/seed/coverage/src/uri.js @@ -538,147 +538,147 @@ if (! _$jscoverage['/uri.js'].branchData) { _$jscoverage['/uri.js'].branchData['659'][1] = new BranchData(); } _$jscoverage['/uri.js'].branchData['659'][1].init(42, 30, 'url.match(URI_SPLIT_REG) || []'); -function visit636_659_1(result) { +function visit641_659_1(result) { _$jscoverage['/uri.js'].branchData['659'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['658'][1].init(15, 9, 'url || \'\''); -function visit635_658_1(result) { +function visit640_658_1(result) { _$jscoverage['/uri.js'].branchData['658'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['634'][1].init(21, 36, 'hostname && !S.startsWith(path, \'/\')'); -function visit634_634_1(result) { +function visit639_634_1(result) { _$jscoverage['/uri.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['589'][1].init(66, 102, 'equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit633_589_1(result) { +function visit638_589_1(result) { _$jscoverage['/uri.js'].branchData['589'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['588'][1].init(97, 169, 'equalsIgnoreCase(self.hostname, other.hostname) && equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit632_588_1(result) { +function visit637_588_1(result) { _$jscoverage['/uri.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['573'][1].init(46, 27, 'S.startsWith(fragment, \'#\')'); -function visit631_573_1(result) { +function visit636_573_1(result) { _$jscoverage['/uri.js'].branchData['573'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['541'][1].init(21, 24, 'S.startsWith(query, \'?\')'); -function visit630_541_1(result) { +function visit635_541_1(result) { _$jscoverage['/uri.js'].branchData['541'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['540'][1].init(17, 25, 'typeof query === \'string\''); -function visit629_540_1(result) { +function visit634_540_1(result) { _$jscoverage['/uri.js'].branchData['540'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['435'][1].init(1637, 26, 'override || relativeUri[o]'); -function visit628_435_1(result) { +function visit633_435_1(result) { _$jscoverage['/uri.js'].branchData['435'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['431'][1].init(25, 40, 'override || relativeUri.query.toString()'); -function visit627_431_1(result) { +function visit632_431_1(result) { _$jscoverage['/uri.js'].branchData['431'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['430'][1].init(1398, 13, 'o === \'query\''); -function visit626_430_1(result) { +function visit631_430_1(result) { _$jscoverage['/uri.js'].branchData['430'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['421'][1].init(195, 21, 'lastSlashIndex !== -1'); -function visit625_421_1(result) { +function visit630_421_1(result) { _$jscoverage['/uri.js'].branchData['421'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['418'][1].init(242, 11, 'target.path'); -function visit624_418_1(result) { +function visit629_418_1(result) { _$jscoverage['/uri.js'].branchData['418'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['415'][1].init(37, 31, 'target.hostname && !target.path'); -function visit623_415_1(result) { +function visit628_415_1(result) { _$jscoverage['/uri.js'].branchData['415'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['414'][1].init(154, 24, '!S.startsWith(path, \'/\')'); -function visit622_414_1(result) { +function visit627_414_1(result) { _$jscoverage['/uri.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['411'][1].init(82, 4, 'path'); -function visit621_411_1(result) { +function visit626_411_1(result) { _$jscoverage['/uri.js'].branchData['411'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['407'][1].init(107, 8, 'override'); -function visit620_407_1(result) { +function visit625_407_1(result) { _$jscoverage['/uri.js'].branchData['407'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['405'][1].init(21, 12, 'o === \'path\''); -function visit619_405_1(result) { +function visit624_405_1(result) { _$jscoverage['/uri.js'].branchData['405'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['394'][1].init(18, 31, 'typeof relativeUri === \'string\''); -function visit618_394_1(result) { +function visit623_394_1(result) { _$jscoverage['/uri.js'].branchData['394'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['340'][1].init(42, 15, 'key === \'query\''); -function visit617_340_1(result) { +function visit622_340_1(result) { _$jscoverage['/uri.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['339'][1].init(17, 7, 'v || \'\''); -function visit616_339_1(result) { +function visit621_339_1(result) { _$jscoverage['/uri.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['292'][1].init(14, 22, 'uriStr instanceof Uri'); -function visit615_292_1(result) { +function visit620_292_1(result) { _$jscoverage['/uri.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['268'][1].init(16, 41, 'str1.toLowerCase() === str2.toLowerCase()'); -function visit614_268_1(result) { +function visit619_268_1(result) { _$jscoverage['/uri.js'].branchData['268'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['264'][1].init(16, 16, 'str.length === 1'); -function visit613_264_1(result) { +function visit618_264_1(result) { _$jscoverage['/uri.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['241'][1].init(21, 20, 'key instanceof Query'); -function visit612_241_1(result) { +function visit617_241_1(result) { _$jscoverage['/uri.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['234'][1].init(146, 26, 'currentValue === undefined'); -function visit611_234_1(result) { +function visit616_234_1(result) { _$jscoverage['/uri.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['230'][1].init(103, 23, 'typeof key === \'string\''); -function visit610_230_1(result) { +function visit615_230_1(result) { _$jscoverage['/uri.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['211'][1].init(76, 3, 'key'); -function visit609_211_1(result) { +function visit614_211_1(result) { _$jscoverage['/uri.js'].branchData['211'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['193'][1].init(21, 20, 'key instanceof Query'); -function visit608_193_1(result) { +function visit613_193_1(result) { _$jscoverage['/uri.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['190'][1].init(127, 23, 'typeof key === \'string\''); -function visit607_190_1(result) { +function visit612_190_1(result) { _$jscoverage['/uri.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['163'][1].init(127, 3, 'key'); -function visit606_163_1(result) { +function visit611_163_1(result) { _$jscoverage['/uri.js'].branchData['163'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['148'][1].init(127, 3, 'key'); -function visit605_148_1(result) { +function visit610_148_1(result) { _$jscoverage['/uri.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['130'][1].init(22, 23, 'S.isArray(_queryMap[k])'); -function visit604_130_1(result) { +function visit609_130_1(result) { _$jscoverage['/uri.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['112'][1].init(56, 11, 'query || \'\''); -function visit603_112_1(result) { +function visit608_112_1(result) { _$jscoverage['/uri.js'].branchData['112'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['90'][1].init(23, 11, 'query || \'\''); -function visit602_90_1(result) { +function visit607_90_1(result) { _$jscoverage['/uri.js'].branchData['90'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['79'][1].init(13, 15, '!self._queryMap'); -function visit601_79_1(result) { +function visit606_79_1(result) { _$jscoverage['/uri.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].lineData[6]++; @@ -699,7 +699,7 @@ function visit601_79_1(result) { function parseQuery(self) { _$jscoverage['/uri.js'].functionData[1]++; _$jscoverage['/uri.js'].lineData[79]++; - if (visit601_79_1(!self._queryMap)) { + if (visit606_79_1(!self._queryMap)) { _$jscoverage['/uri.js'].lineData[80]++; self._queryMap = S.unparam(self._query); } @@ -708,7 +708,7 @@ function visit601_79_1(result) { function Query(query) { _$jscoverage['/uri.js'].functionData[2]++; _$jscoverage['/uri.js'].lineData[90]++; - this._query = visit602_90_1(query || ''); + this._query = visit607_90_1(query || ''); } _$jscoverage['/uri.js'].lineData[93]++; Query.prototype = { @@ -723,7 +723,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[111]++; var self = this; _$jscoverage['/uri.js'].lineData[112]++; - self._query = visit603_112_1(query || ''); + self._query = visit608_112_1(query || ''); _$jscoverage['/uri.js'].lineData[113]++; self._queryMap = null; _$jscoverage['/uri.js'].lineData[114]++; @@ -740,7 +740,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[128]++; for (k in _queryMap) { _$jscoverage['/uri.js'].lineData[130]++; - if (visit604_130_1(S.isArray(_queryMap[k]))) { + if (visit609_130_1(S.isArray(_queryMap[k]))) { _$jscoverage['/uri.js'].lineData[131]++; count += _queryMap[k].length; } else { @@ -760,7 +760,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[147]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[148]++; - if (visit605_148_1(key)) { + if (visit610_148_1(key)) { _$jscoverage['/uri.js'].lineData[149]++; return key in _queryMap; } else { @@ -777,7 +777,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[162]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[163]++; - if (visit606_163_1(key)) { + if (visit611_163_1(key)) { _$jscoverage['/uri.js'].lineData[164]++; return _queryMap[key]; } else { @@ -803,12 +803,12 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[189]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[190]++; - if (visit607_190_1(typeof key === 'string')) { + if (visit612_190_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[191]++; self._queryMap[key] = value; } else { _$jscoverage['/uri.js'].lineData[193]++; - if (visit608_193_1(key instanceof Query)) { + if (visit613_193_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[194]++; key = key.get(); } @@ -829,7 +829,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[210]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[211]++; - if (visit609_211_1(key)) { + if (visit614_211_1(key)) { _$jscoverage['/uri.js'].lineData[212]++; delete self._queryMap[key]; } else { @@ -844,7 +844,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[227]++; var self = this, _queryMap, currentValue; _$jscoverage['/uri.js'].lineData[230]++; - if (visit610_230_1(typeof key === 'string')) { + if (visit615_230_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[231]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[232]++; @@ -852,7 +852,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[233]++; currentValue = _queryMap[key]; _$jscoverage['/uri.js'].lineData[234]++; - if (visit611_234_1(currentValue === undefined)) { + if (visit616_234_1(currentValue === undefined)) { _$jscoverage['/uri.js'].lineData[235]++; currentValue = value; } else { @@ -863,7 +863,7 @@ function visit601_79_1(result) { _queryMap[key] = currentValue; } else { _$jscoverage['/uri.js'].lineData[241]++; - if (visit612_241_1(key instanceof Query)) { + if (visit617_241_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[242]++; key = key.get(); } @@ -889,13 +889,13 @@ function visit601_79_1(result) { function padding2(str) { _$jscoverage['/uri.js'].functionData[14]++; _$jscoverage['/uri.js'].lineData[264]++; - return visit613_264_1(str.length === 1) ? '0' + str : str; + return visit618_264_1(str.length === 1) ? '0' + str : str; } _$jscoverage['/uri.js'].lineData[267]++; function equalsIgnoreCase(str1, str2) { _$jscoverage['/uri.js'].functionData[15]++; _$jscoverage['/uri.js'].lineData[268]++; - return visit614_268_1(str1.toLowerCase() === str2.toLowerCase()); + return visit619_268_1(str1.toLowerCase() === str2.toLowerCase()); } _$jscoverage['/uri.js'].lineData[274]++; function encodeSpecialChars(str, specialCharsReg) { @@ -911,7 +911,7 @@ function visit601_79_1(result) { function Uri(uriStr) { _$jscoverage['/uri.js'].functionData[18]++; _$jscoverage['/uri.js'].lineData[292]++; - if (visit615_292_1(uriStr instanceof Uri)) { + if (visit620_292_1(uriStr instanceof Uri)) { _$jscoverage['/uri.js'].lineData[293]++; return uriStr.clone(); } @@ -932,9 +932,9 @@ function visit601_79_1(result) { S.each(components, function(v, key) { _$jscoverage['/uri.js'].functionData[19]++; _$jscoverage['/uri.js'].lineData[339]++; - v = visit616_339_1(v || ''); + v = visit621_339_1(v || ''); _$jscoverage['/uri.js'].lineData[340]++; - if (visit617_340_1(key === 'query')) { + if (visit622_340_1(key === 'query')) { _$jscoverage['/uri.js'].lineData[342]++; self.query = new Query(v); } else { @@ -974,7 +974,7 @@ function visit601_79_1(result) { resolve: function(relativeUri) { _$jscoverage['/uri.js'].functionData[22]++; _$jscoverage['/uri.js'].lineData[394]++; - if (visit618_394_1(typeof relativeUri === 'string')) { + if (visit623_394_1(typeof relativeUri === 'string')) { _$jscoverage['/uri.js'].lineData[395]++; relativeUri = new Uri(relativeUri); } @@ -984,31 +984,31 @@ function visit601_79_1(result) { S.each(order, function(o) { _$jscoverage['/uri.js'].functionData[23]++; _$jscoverage['/uri.js'].lineData[405]++; - if (visit619_405_1(o === 'path')) { + if (visit624_405_1(o === 'path')) { _$jscoverage['/uri.js'].lineData[407]++; - if (visit620_407_1(override)) { + if (visit625_407_1(override)) { _$jscoverage['/uri.js'].lineData[408]++; target[o] = relativeUri[o]; } else { _$jscoverage['/uri.js'].lineData[410]++; var path = relativeUri.path; _$jscoverage['/uri.js'].lineData[411]++; - if (visit621_411_1(path)) { + if (visit626_411_1(path)) { _$jscoverage['/uri.js'].lineData[413]++; override = 1; _$jscoverage['/uri.js'].lineData[414]++; - if (visit622_414_1(!S.startsWith(path, '/'))) { + if (visit627_414_1(!S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[415]++; - if (visit623_415_1(target.hostname && !target.path)) { + if (visit628_415_1(target.hostname && !target.path)) { _$jscoverage['/uri.js'].lineData[417]++; path = '/' + path; } else { _$jscoverage['/uri.js'].lineData[418]++; - if (visit624_418_1(target.path)) { + if (visit629_418_1(target.path)) { _$jscoverage['/uri.js'].lineData[420]++; lastSlashIndex = target.path.lastIndexOf('/'); _$jscoverage['/uri.js'].lineData[421]++; - if (visit625_421_1(lastSlashIndex !== -1)) { + if (visit630_421_1(lastSlashIndex !== -1)) { _$jscoverage['/uri.js'].lineData[422]++; path = target.path.slice(0, lastSlashIndex + 1) + path; } @@ -1021,9 +1021,9 @@ function visit601_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[430]++; - if (visit626_430_1(o === 'query')) { + if (visit631_430_1(o === 'query')) { _$jscoverage['/uri.js'].lineData[431]++; - if (visit627_431_1(override || relativeUri.query.toString())) { + if (visit632_431_1(override || relativeUri.query.toString())) { _$jscoverage['/uri.js'].lineData[432]++; target.query = relativeUri.query.clone(); _$jscoverage['/uri.js'].lineData[433]++; @@ -1031,7 +1031,7 @@ function visit601_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[435]++; - if (visit628_435_1(override || relativeUri[o])) { + if (visit633_435_1(override || relativeUri[o])) { _$jscoverage['/uri.js'].lineData[436]++; target[o] = relativeUri[o]; _$jscoverage['/uri.js'].lineData[437]++; @@ -1106,9 +1106,9 @@ function visit601_79_1(result) { 'setQuery': function(query) { _$jscoverage['/uri.js'].functionData[34]++; _$jscoverage['/uri.js'].lineData[540]++; - if (visit629_540_1(typeof query === 'string')) { + if (visit634_540_1(typeof query === 'string')) { _$jscoverage['/uri.js'].lineData[541]++; - if (visit630_541_1(S.startsWith(query, '?'))) { + if (visit635_541_1(S.startsWith(query, '?'))) { _$jscoverage['/uri.js'].lineData[542]++; query = query.slice(1); } @@ -1135,7 +1135,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[572]++; var self = this; _$jscoverage['/uri.js'].lineData[573]++; - if (visit631_573_1(S.startsWith(fragment, '#'))) { + if (visit636_573_1(S.startsWith(fragment, '#'))) { _$jscoverage['/uri.js'].lineData[574]++; fragment = fragment.slice(1); } @@ -1149,7 +1149,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[586]++; var self = this; _$jscoverage['/uri.js'].lineData[588]++; - return visit632_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit633_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); + return visit637_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit638_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); }, toString: function(serializeArray) { _$jscoverage['/uri.js'].functionData[39]++; @@ -1186,7 +1186,7 @@ function visit601_79_1(result) { _$jscoverage['/uri.js'].lineData[633]++; if ((path = self.path)) { _$jscoverage['/uri.js'].lineData[634]++; - if (visit634_634_1(hostname && !S.startsWith(path, '/'))) { + if (visit639_634_1(hostname && !S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[635]++; path = '/' + path; } @@ -1218,9 +1218,9 @@ function visit601_79_1(result) { Uri.getComponents = function(url) { _$jscoverage['/uri.js'].functionData[40]++; _$jscoverage['/uri.js'].lineData[658]++; - url = visit635_658_1(url || ''); + url = visit640_658_1(url || ''); _$jscoverage['/uri.js'].lineData[659]++; - var m = visit636_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; + var m = visit641_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; _$jscoverage['/uri.js'].lineData[661]++; S.each(REG_INFO, function(index, key) { _$jscoverage['/uri.js'].functionData[41]++; diff --git a/src/seed/coverage/src/web.js b/src/seed/coverage/src/web.js index a07306fd85..17b2de5693 100644 --- a/src/seed/coverage/src/web.js +++ b/src/seed/coverage/src/web.js @@ -401,123 +401,123 @@ if (! _$jscoverage['/web.js'].branchData) { _$jscoverage['/web.js'].branchData['241'][1] = new BranchData(); } _$jscoverage['/web.js'].branchData['241'][1].init(7665, 5, 'UA.ie'); -function visit666_241_1(result) { +function visit671_241_1(result) { _$jscoverage['/web.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][3].init(7384, 24, 'location.search || EMPTY'); -function visit665_231_3(result) { +function visit670_231_3(result) { _$jscoverage['/web.js'].branchData['231'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][2].init(7384, 52, '(location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit664_231_2(result) { +function visit669_231_2(result) { _$jscoverage['/web.js'].branchData['231'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][1].init(7371, 65, 'location && (location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit663_231_1(result) { +function visit668_231_1(result) { _$jscoverage['/web.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['215'][1].init(907, 20, 'doScroll && notframe'); -function visit662_215_1(result) { +function visit667_215_1(result) { _$jscoverage['/web.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['209'][1].init(29, 25, 'win.frameElement === null'); -function visit661_209_1(result) { +function visit666_209_1(result) { _$jscoverage['/web.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['206'][1].init(40, 27, 'docElem && docElem.doScroll'); -function visit660_206_1(result) { +function visit665_206_1(result) { _$jscoverage['/web.js'].branchData['206'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['193'][1].init(21, 27, 'doc.readyState === COMPLETE'); -function visit659_193_1(result) { +function visit664_193_1(result) { _$jscoverage['/web.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['182'][1].init(361, 18, 'standardEventModel'); -function visit658_182_1(result) { +function visit663_182_1(result) { _$jscoverage['/web.js'].branchData['182'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][2].init(125, 27, 'doc.readyState === COMPLETE'); -function visit657_173_2(result) { +function visit662_173_2(result) { _$jscoverage['/web.js'].branchData['173'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][1].init(117, 35, '!doc || doc.readyState === COMPLETE'); -function visit656_173_1(result) { +function visit661_173_1(result) { _$jscoverage['/web.js'].branchData['173'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['160'][1].init(23, 12, 'e.stack || e'); -function visit655_160_1(result) { +function visit660_160_1(result) { _$jscoverage['/web.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['156'][1].init(223, 20, 'i < callbacks.length'); -function visit654_156_1(result) { +function visit659_156_1(result) { _$jscoverage['/web.js'].branchData['156'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['152'][1].init(85, 17, 'doc && !UA.nodejs'); -function visit653_152_1(result) { +function visit658_152_1(result) { _$jscoverage['/web.js'].branchData['152'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['148'][1].init(13, 8, 'domReady'); -function visit652_148_1(result) { +function visit657_148_1(result) { _$jscoverage['/web.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['139'][1].init(205, 4, 'node'); -function visit651_139_1(result) { +function visit656_139_1(result) { _$jscoverage['/web.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['134'][1].init(21, 27, '++retryCount > POLL_RETIRES'); -function visit650_134_1(result) { +function visit655_134_1(result) { _$jscoverage['/web.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['113'][1].init(27, 12, 'e.stack || e'); -function visit649_113_1(result) { +function visit654_113_1(result) { _$jscoverage['/web.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['109'][1].init(17, 8, 'domReady'); -function visit648_109_1(result) { +function visit653_109_1(result) { _$jscoverage['/web.js'].branchData['109'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['92'][1].init(269, 14, 'win.execScript'); -function visit647_92_1(result) { +function visit652_92_1(result) { _$jscoverage['/web.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['88'][1].init(17, 36, 'data && RE_NOT_WHITESPACE.test(data)'); -function visit646_88_1(result) { +function visit651_88_1(result) { _$jscoverage['/web.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][2].init(711, 70, '!xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit645_77_2(result) { +function visit650_77_2(result) { _$jscoverage['/web.js'].branchData['77'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][1].init(703, 78, '!xml || !xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit644_77_1(result) { +function visit649_77_1(result) { _$jscoverage['/web.js'].branchData['77'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['64'][1].init(49, 13, 'win.DOMParser'); -function visit643_64_1(result) { +function visit648_64_1(result) { _$jscoverage['/web.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['58'][1].init(46, 20, 'data.documentElement'); -function visit642_58_1(result) { +function visit647_58_1(result) { _$jscoverage['/web.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][3].init(106, 17, 'obj == obj.window'); -function visit641_48_3(result) { +function visit646_48_3(result) { _$jscoverage['/web.js'].branchData['48'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][2].init(91, 11, 'obj != null'); -function visit640_48_2(result) { +function visit645_48_2(result) { _$jscoverage['/web.js'].branchData['48'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][1].init(91, 32, 'obj != null && obj == obj.window'); -function visit639_48_1(result) { +function visit644_48_1(result) { _$jscoverage['/web.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['24'][1].init(464, 27, 'doc && doc.addEventListener'); -function visit638_24_1(result) { +function visit643_24_1(result) { _$jscoverage['/web.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['12'][1].init(87, 26, 'doc && doc.documentElement'); -function visit637_12_1(result) { +function visit642_12_1(result) { _$jscoverage['/web.js'].branchData['12'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].lineData[6]++; @@ -526,7 +526,7 @@ function visit637_12_1(result) { _$jscoverage['/web.js'].lineData[7]++; var logger = S.getLogger('s/web'); _$jscoverage['/web.js'].lineData[8]++; - var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit637_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit638_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { + var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit642_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit643_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { _$jscoverage['/web.js'].functionData[1]++; _$jscoverage['/web.js'].lineData[30]++; el.addEventListener(type, fn, false); @@ -548,12 +548,12 @@ function visit637_12_1(result) { isWindow: function(obj) { _$jscoverage['/web.js'].functionData[5]++; _$jscoverage['/web.js'].lineData[48]++; - return visit639_48_1(visit640_48_2(obj != null) && visit641_48_3(obj == obj.window)); + return visit644_48_1(visit645_48_2(obj != null) && visit646_48_3(obj == obj.window)); }, parseXML: function(data) { _$jscoverage['/web.js'].functionData[6]++; _$jscoverage['/web.js'].lineData[58]++; - if (visit642_58_1(data.documentElement)) { + if (visit647_58_1(data.documentElement)) { _$jscoverage['/web.js'].lineData[59]++; return data; } @@ -562,7 +562,7 @@ function visit637_12_1(result) { _$jscoverage['/web.js'].lineData[62]++; try { _$jscoverage['/web.js'].lineData[64]++; - if (visit643_64_1(win.DOMParser)) { + if (visit648_64_1(win.DOMParser)) { _$jscoverage['/web.js'].lineData[65]++; xml = new DOMParser().parseFromString(data, 'text/xml'); } else { @@ -582,7 +582,7 @@ function visit637_12_1(result) { xml = undefined; } _$jscoverage['/web.js'].lineData[77]++; - if (visit644_77_1(!xml || visit645_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { + if (visit649_77_1(!xml || visit650_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { _$jscoverage['/web.js'].lineData[78]++; S.error('Invalid XML: ' + data); } @@ -592,9 +592,9 @@ function visit637_12_1(result) { globalEval: function(data) { _$jscoverage['/web.js'].functionData[7]++; _$jscoverage['/web.js'].lineData[88]++; - if (visit646_88_1(data && RE_NOT_WHITESPACE.test(data))) { + if (visit651_88_1(data && RE_NOT_WHITESPACE.test(data))) { _$jscoverage['/web.js'].lineData[92]++; - if (visit647_92_1(win.execScript)) { + if (visit652_92_1(win.execScript)) { _$jscoverage['/web.js'].lineData[93]++; win.execScript(data); } else { @@ -610,14 +610,14 @@ function visit637_12_1(result) { ready: function(fn) { _$jscoverage['/web.js'].functionData[9]++; _$jscoverage['/web.js'].lineData[109]++; - if (visit648_109_1(domReady)) { + if (visit653_109_1(domReady)) { _$jscoverage['/web.js'].lineData[110]++; try { _$jscoverage['/web.js'].lineData[111]++; fn(S); } catch (e) { _$jscoverage['/web.js'].lineData[113]++; - S.log(visit649_113_1(e.stack || e), 'error'); + S.log(visit654_113_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[114]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[10]++; @@ -642,7 +642,7 @@ function visit637_12_1(result) { var timer = S.later(function() { _$jscoverage['/web.js'].functionData[12]++; _$jscoverage['/web.js'].lineData[134]++; - if (visit650_134_1(++retryCount > POLL_RETIRES)) { + if (visit655_134_1(++retryCount > POLL_RETIRES)) { _$jscoverage['/web.js'].lineData[135]++; timer.cancel(); _$jscoverage['/web.js'].lineData[136]++; @@ -651,7 +651,7 @@ function visit637_12_1(result) { _$jscoverage['/web.js'].lineData[138]++; var node = doc.getElementById(id); _$jscoverage['/web.js'].lineData[139]++; - if (visit651_139_1(node)) { + if (visit656_139_1(node)) { _$jscoverage['/web.js'].lineData[140]++; fn(node); _$jscoverage['/web.js'].lineData[141]++; @@ -663,26 +663,26 @@ function visit637_12_1(result) { function fireReady() { _$jscoverage['/web.js'].functionData[13]++; _$jscoverage['/web.js'].lineData[148]++; - if (visit652_148_1(domReady)) { + if (visit657_148_1(domReady)) { _$jscoverage['/web.js'].lineData[149]++; return; } _$jscoverage['/web.js'].lineData[152]++; - if (visit653_152_1(doc && !UA.nodejs)) { + if (visit658_152_1(doc && !UA.nodejs)) { _$jscoverage['/web.js'].lineData[153]++; removeEventListener(win, LOAD_EVENT, fireReady); } _$jscoverage['/web.js'].lineData[155]++; domReady = 1; _$jscoverage['/web.js'].lineData[156]++; - for (var i = 0; visit654_156_1(i < callbacks.length); i++) { + for (var i = 0; visit659_156_1(i < callbacks.length); i++) { _$jscoverage['/web.js'].lineData[157]++; try { _$jscoverage['/web.js'].lineData[158]++; callbacks[i](S); } catch (e) { _$jscoverage['/web.js'].lineData[160]++; - S.log(visit655_160_1(e.stack || e), 'error'); + S.log(visit660_160_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[162]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[14]++; @@ -696,7 +696,7 @@ function visit637_12_1(result) { function bindReady() { _$jscoverage['/web.js'].functionData[15]++; _$jscoverage['/web.js'].lineData[173]++; - if (visit656_173_1(!doc || visit657_173_2(doc.readyState === COMPLETE))) { + if (visit661_173_1(!doc || visit662_173_2(doc.readyState === COMPLETE))) { _$jscoverage['/web.js'].lineData[174]++; fireReady(); _$jscoverage['/web.js'].lineData[175]++; @@ -705,7 +705,7 @@ function visit637_12_1(result) { _$jscoverage['/web.js'].lineData[179]++; addEventListener(win, LOAD_EVENT, fireReady); _$jscoverage['/web.js'].lineData[182]++; - if (visit658_182_1(standardEventModel)) { + if (visit663_182_1(standardEventModel)) { _$jscoverage['/web.js'].lineData[183]++; var domReady = function() { _$jscoverage['/web.js'].functionData[16]++; @@ -721,7 +721,7 @@ function visit637_12_1(result) { var stateChange = function() { _$jscoverage['/web.js'].functionData[17]++; _$jscoverage['/web.js'].lineData[193]++; - if (visit659_193_1(doc.readyState === COMPLETE)) { + if (visit664_193_1(doc.readyState === COMPLETE)) { _$jscoverage['/web.js'].lineData[194]++; removeEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[195]++; @@ -731,17 +731,17 @@ function visit637_12_1(result) { _$jscoverage['/web.js'].lineData[201]++; addEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[205]++; - var notframe, doScroll = visit660_206_1(docElem && docElem.doScroll); + var notframe, doScroll = visit665_206_1(docElem && docElem.doScroll); _$jscoverage['/web.js'].lineData[208]++; try { _$jscoverage['/web.js'].lineData[209]++; - notframe = (visit661_209_1(win.frameElement === null)); + notframe = (visit666_209_1(win.frameElement === null)); } catch (e) { _$jscoverage['/web.js'].lineData[211]++; notframe = false; } _$jscoverage['/web.js'].lineData[215]++; - if (visit662_215_1(doScroll && notframe)) { + if (visit667_215_1(doScroll && notframe)) { _$jscoverage['/web.js'].lineData[216]++; var readyScroll = function() { _$jscoverage['/web.js'].functionData[18]++; @@ -762,14 +762,14 @@ function visit637_12_1(result) { } } _$jscoverage['/web.js'].lineData[231]++; - if (visit663_231_1(location && visit664_231_2((visit665_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { + if (visit668_231_1(location && visit669_231_2((visit670_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { _$jscoverage['/web.js'].lineData[232]++; S.Config.debug = true; } _$jscoverage['/web.js'].lineData[239]++; bindReady(); _$jscoverage['/web.js'].lineData[241]++; - if (visit666_241_1(UA.ie)) { + if (visit671_241_1(UA.ie)) { _$jscoverage['/web.js'].lineData[242]++; try { _$jscoverage['/web.js'].lineData[243]++; diff --git a/src/seed/src/loader/data-structure.js b/src/seed/src/loader/data-structure.js index 176aebb1d0..93ccc2093d 100644 --- a/src/seed/src/loader/data-structure.js +++ b/src/seed/src/loader/data-structure.js @@ -60,9 +60,9 @@ var self = this, packageName = self.name; return self.getBase() + ( - packageName && !self.isIgnorePackageNameInUri() ? - (packageName + '/') : - '' + packageName && !self.isIgnorePackageNameInUri() ? + (packageName + '/') : + '' ); }, @@ -159,6 +159,30 @@ module.waitedCallbacks = []; } + function makeArray(arr) { + var ret = []; + for (var i = 0; i < arr.length; i++) { + ret[i] = arr[i]; + } + return ret; + } + + function wrapUse(fn) { + if (typeof fn === 'function') { + fn = { + success: fn + }; + } + if (fn && fn.success) { + var original = fn.success; + fn.success = function () { + original.apply(this, makeArray(arguments).slice(1)); + }; + fn.sync = 1; + return fn; + } + } + Module.prototype = { kissy: 1, @@ -195,7 +219,20 @@ * @returns {*} required module exports */ require: function (moduleName) { - return S.require(moduleName, this.name); + var self = this; + if (typeof moduleName === 'string') { + return S.require(moduleName, this.name); + } else { + var mods = moduleName; + for (var i = 0; i < mods.length; i++) { + mods[i] = self.resolveByName(mods[i]); + } + var args = makeArray(arguments); + args[0] = mods; + args[1] = wrapUse(args[1]); + S.use.apply(S, args); + } + }, wait: function (callback) { diff --git a/src/seed/src/loader/utils.js b/src/seed/src/loader/utils.js index 2c884f4fc4..fb47814f82 100644 --- a/src/seed/src/loader/utils.js +++ b/src/seed/src/loader/utils.js @@ -290,7 +290,7 @@ // compatible and efficiency // KISSY.add(function(S,undefined){}) var require; - if (module.requires && module.requires.length) { + if (module.cjs) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 From f35e49cf6fa6c6287fb28a361985b2a5b293da7a Mon Sep 17 00:00:00 2001 From: yiminghe Date: Thu, 28 Aug 2014 13:17:48 +0800 Subject: [PATCH 71/80] 1.4.8 --- build/dom/selector-min.js | 44 ++--- build/dom/selector.js | 4 +- build/json-min.js | 36 ++-- build/json.js | 4 +- build/kissy-nodejs-min.js | 12 +- build/kissy-nodejs.js | 10 +- build/seed-min.js | 12 +- build/seed.js | 10 +- build/xtemplate/compiler-min.js | 92 ++++----- build/xtemplate/compiler.js | 4 +- .../selector/coverage/src/selector/parser.js | 72 ++++---- .../selector/src/selector/parser.js | 2 +- src/json/coverage/src/json/parser.js | 74 ++++---- src/json/src/json/parser.js | 2 +- .../coverage/src/loader/data-structure.js | 62 +++---- src/seed/coverage/src/loader/utils.js | 69 +++---- src/seed/coverage/src/meta/base.js | 4 +- src/seed/coverage/src/path.js | 110 +++++------ src/seed/coverage/src/ua.js | 174 +++++++++--------- src/seed/coverage/src/uri.js | 142 +++++++------- src/seed/coverage/src/web.js | 106 +++++------ src/seed/src/loader/utils.js | 2 +- .../compiler/coverage/src/compiler/parser.js | 88 ++++----- .../compiler/src/compiler/parser.js | 2 +- 24 files changed, 572 insertions(+), 565 deletions(-) diff --git a/build/dom/selector-min.js b/build/dom/selector-min.js index dd3daed5fd..d9240c2795 100644 --- a/build/dom/selector-min.js +++ b/build/dom/selector-min.js @@ -1,17 +1,17 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: May 22 12:19 +build time: Aug 28 13:16 */ -KISSY.add("dom/selector/parser",[],function(C,v){var m={},q=KISSY,j=function(f){this.rules=[];q.mix(this,f);this.resetInput(this.input)};j.prototype={constructor:function(f){this.rules=[];q.mix(this,f);this.resetInput(this.input)},resetInput:function(f){q.mix(this,{input:f,matched:"",stateStack:[j.STATIC.INITIAL],match:"",text:"",firstLine:1,lineNumber:1,lastLine:1,firstColumn:1,lastColumn:1})},getCurrentRules:function(){var f=this.stateStack[this.stateStack.length-1],d=[],f=this.mapState(f);q.each(this.rules, -function(e){var h=e.state||e[3];h?q.inArray(f,h)&&d.push(e):f===j.STATIC.INITIAL&&d.push(e)});return d},pushState:function(f){this.stateStack.push(f)},popState:function(){return this.stateStack.pop()},getStateStack:function(){return this.stateStack},showDebugInfo:function(){var f=j.STATIC.DEBUG_CONTEXT_LIMIT,d=this.matched,e=this.match,h=this.input,d=d.slice(0,d.length-e.length),d=(d.length>f?"...":"")+d.slice(-f).replace(/\n/," "),e=e+h,e=e.slice(0,f)+(e.length>f?"...":"");return d+e+"\n"+Array(d.length+ -1).join("-")+"^"},mapSymbol:function(f){var d=this.symbolMap;return!d?f:d[f]||(d[f]=++this.symbolId)},mapReverseSymbol:function(f){var d=this.symbolMap,e,h=this.reverseSymbolMap;if(!h&&d)for(e in h=this.reverseSymbolMap={},d)h[d[e]]=e;return h?h[f]:f},mapState:function(f){var d=this.stateMap;return!d?f:d[f]||(d[f]=++this.stateId)},lex:function(){var f=this.input,d,e,h,k=this.getCurrentRules();this.match=this.text="";if(!f)return this.mapSymbol(j.STATIC.END_TAG);for(d=0;df?"...":"")+d.slice(-f).replace(/\n/," "),e=e+g,e=e.slice(0,f)+(e.length>f?"...":"");return d+e+"\n"+Array(d.length+ +1).join("-")+"^"},mapSymbol:function(f){var d=this.symbolMap;return!d?f:d[f]||(d[f]=++this.symbolId)},mapReverseSymbol:function(f){var d=this.symbolMap,e,g=this.reverseSymbolMap;if(!g&&d)for(e in g=this.reverseSymbolMap={},d)g[d[e]]=e;return g?g[f]:f},mapState:function(f){var d=this.stateMap;return!d?f:d[f]||(d[f]=++this.stateId)},lex:function(){var f=this.input,d,e,g,l=this.getCurrentRules();this.match=this.text="";if(!f)return this.mapSymbol(o.STATIC.END_TAG);for(d=0;d(?:[\t\r\n\f\x20]*)/,function(){this.text=KISSY.trim(this.text)}],[22,/^(?:[\t\r\n\f\x20]*)~(?:[\t\r\n\f\x20]*)/, -function(){this.text=KISSY.trim(this.text)}],[23,/^\*/,0],[24,/^(?:[\t\r\n\f\x20]+)/,0],[25,/^./,0]]});m.lexer=o;o.symbolMap={$EOF:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,INCLUDES:4,DASH_MATCH:5,PREFIX_MATCH:6,SUFFIX_MATCH:7,SUBSTRING_MATCH:8,ALL_MATCH:9,FUNCTION:10,PARAMETER:11,RIGHT_PARENTHESES:12,NOT:13,IDENT:14,STRING:15,HASH:16,CLASS:17,COMMA:18,COLON:19,PLUS:20,GREATER:21,TILDE:22,UNIVERSAL:23,S:24,INVALID:25,$START:26,selectors_group:27,selector:28,simple_selector_sequence:29,combinator:30,type_selector:31, +function(){this.text=KISSY.trim(this.text)}],[23,/^\*/,0],[24,/^(?:[\t\r\n\f\x20]+)/,0],[25,/^./,0]]});m.lexer=s;s.symbolMap={$EOF:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,INCLUDES:4,DASH_MATCH:5,PREFIX_MATCH:6,SUFFIX_MATCH:7,SUBSTRING_MATCH:8,ALL_MATCH:9,FUNCTION:10,PARAMETER:11,RIGHT_PARENTHESES:12,NOT:13,IDENT:14,STRING:15,HASH:16,CLASS:17,COMMA:18,COLON:19,PLUS:20,GREATER:21,TILDE:22,UNIVERSAL:23,S:24,INVALID:25,$START:26,selectors_group:27,selector:28,simple_selector_sequence:29,combinator:30,type_selector:31, id_selector:32,class_selector:33,attrib_match:34,attrib:35,attrib_val:36,pseudo:37,negation:38,negation_arg:39,suffix_selector:40,suffix_selectors:41};m.productions=[[26,[27]],[27,[28],function(){return[this.$1]}],[27,[27,18,28],function(){this.$1.push(this.$3)}],[28,[29]],[28,[28,30,29],function(){this.$1.nextCombinator=this.$3.prevCombinator=this.$2;this.$3.order=(this.$1.order=this.$1.order||0)+1;this.$3.prev=this.$1;return this.$1.next=this.$3}],[30,[20]],[30,[21]],[30,[22]],[30,[24],function(){return" "}], [31,[14],function(){return{t:"tag",value:this.$1}}],[31,[23],function(){return{t:"tag",value:this.$1}}],[32,[16],function(){return{t:"id",value:this.$1}}],[33,[17],function(){return{t:"cls",value:this.$1}}],[34,[6]],[34,[7]],[34,[8]],[34,[9]],[34,[4]],[34,[5]],[35,[2,14,3],function(){return{t:"attrib",value:{ident:this.$2}}}],[36,[14]],[36,[15]],[35,[2,14,34,36,3],function(){return{t:"attrib",value:{ident:this.$2,match:this.$3,value:this.$4}}}],[37,[19,10,11,12],function(){return{t:"pseudo",value:{fn:this.$2.toLowerCase(), param:this.$3}}}],[37,[19,14],function(){return{t:"pseudo",value:{ident:this.$2.toLowerCase()}}}],[38,[13,39,12],function(){return{t:"pseudo",value:{fn:"not",param:this.$2}}}],[39,[31]],[39,[32]],[39,[33]],[39,[35]],[39,[37]],[40,[32]],[40,[33]],[40,[35]],[40,[37]],[40,[38]],[41,[40],function(){return[this.$1]}],[41,[41,40],function(){this.$1.push(this.$2)}],[29,[31]],[29,[41],function(){return{suffix:this.$1}}],[29,[31,41],function(){return{t:"tag",value:this.$1.value,suffix:this.$2}}]];m.table= @@ -24,18 +24,18 @@ param:this.$3}}}],[37,[19,14],function(){return{t:"pseudo",value:{ident:this.$2. 6,0]},31:{2:[2,7,0],13:[2,7,0],14:[2,7,0],16:[2,7,0],17:[2,7,0],19:[2,7,0],23:[2,7,0]},32:{2:[2,8,0],13:[2,8,0],14:[2,8,0],16:[2,8,0],17:[2,8,0],19:[2,8,0],23:[2,8,0]},33:{2:[1,0,1],13:[1,0,2],14:[1,0,3],16:[1,0,4],17:[1,0,5],19:[1,0,6],23:[1,0,7]},34:{1:[2,40,0],2:[1,0,1],13:[1,0,2],16:[1,0,4],17:[1,0,5],18:[2,40,0],19:[1,0,6],20:[2,40,0],21:[2,40,0],22:[2,40,0],24:[2,40,0]},35:{1:[2,37,0],2:[2,37,0],13:[2,37,0],16:[2,37,0],17:[2,37,0],18:[2,37,0],19:[2,37,0],20:[2,37,0],21:[2,37,0],22:[2,37,0], 24:[2,37,0]},36:{1:[2,19,0],2:[2,19,0],12:[2,19,0],13:[2,19,0],16:[2,19,0],17:[2,19,0],18:[2,19,0],19:[2,19,0],20:[2,19,0],21:[2,19,0],22:[2,19,0],24:[2,19,0]},37:{14:[2,17,0],15:[2,17,0]},38:{14:[2,18,0],15:[2,18,0]},39:{14:[2,13,0],15:[2,13,0]},40:{14:[2,14,0],15:[2,14,0]},41:{14:[2,15,0],15:[2,15,0]},42:{14:[2,16,0],15:[2,16,0]},43:{14:[1,0,48],15:[1,0,49]},44:{1:[2,25,0],2:[2,25,0],13:[2,25,0],16:[2,25,0],17:[2,25,0],18:[2,25,0],19:[2,25,0],20:[2,25,0],21:[2,25,0],22:[2,25,0],24:[2,25,0]},45:{12:[1, 0,51]},46:{1:[2,2,0],18:[2,2,0],20:[1,0,29],21:[1,0,30],22:[1,0,31],24:[1,0,32]},47:{1:[2,4,0],18:[2,4,0],20:[2,4,0],21:[2,4,0],22:[2,4,0],24:[2,4,0]},48:{3:[2,20,0]},49:{3:[2,21,0]},50:{3:[1,0,52]},51:{1:[2,23,0],2:[2,23,0],12:[2,23,0],13:[2,23,0],16:[2,23,0],17:[2,23,0],18:[2,23,0],19:[2,23,0],20:[2,23,0],21:[2,23,0],22:[2,23,0],24:[2,23,0]},52:{1:[2,22,0],2:[2,22,0],12:[2,22,0],13:[2,22,0],16:[2,22,0],17:[2,22,0],18:[2,22,0],19:[2,22,0],20:[2,22,0],21:[2,22,0],22:[2,22,0],24:[2,22,0]}}};m.parse= -function(f){var d=this,e=d.lexer,h,k,j=d.table,m=j.gotos,j=j.action,p=d.productions,r=[null],g=[0];for(e.resetInput(f);;){f=g[g.length-1];h||(h=e.lex());if(!h)return!1;k=j[f]&&j[f][h];if(!k){var o=[];j[f]&&q.each(j[f],function(f,e){o.push(d.lexer.mapReverseSymbol(e))});e.showDebugInfo();o.join(", ");return!1}switch(k[0]){case 1:g.push(h);r.push(e.text);g.push(k[2]);h=null;break;case 2:var n=p[k[1]],f=n.symbol||n[0];k=n.action||n[2];var w=(n.rhs||n[1]).length,t=0,u,n=r[r.length-w];u=v;for(d.$$=n;t< -w;t++)d["$"+(w-t)]=r[r.length-1-t];k&&(u=k.call(d));n=u!==v?u:d.$$;w&&(g=g.slice(0,-2*w),r=r.slice(0,-1*w));g.push(f);r.push(n);g.push(m[g[g.length-2]][g[g.length-1]]);break;case 0:return n}}return v};return m}); -KISSY.add("dom/selector",["./selector/parser","dom/basic"],function(C,v){function m(a){return a.replace(J,K)}function q(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}function j(a){var b=0,c=0;if("number"===typeof a)c=a;else if("odd"===a)b=2,c=1;else if("even"===a)b=2,c=0;else if(a=a.replace(/\s/g,"").match(L))a[1]?(b=parseInt(a[2]),isNaN(b)&&(b="-"===a[2]?-1:1)):b=0,c=parseInt(a[3])||0;return{a:b,b:c}}function o(a,b,c,d){if(0===b){if(a===c)return d}else if(0<=(a-c)/b&&0===(a-c)%b&&d)return 1}function f(a, -b){return p._selectInternal(a,null,b)}function d(a,b){if(!b)return!0;if(!a||9===a.nodeType)return!1;var c=1,d=b.suffix,f,e;"tag"===b.t&&(c&=E.tag(a,b.value));if(c&&d){f=d.length;for(e=0;c&&ec?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,c&1023|56320)};F.lexer.yy={unEscape:m,unEscapeStr:function(a){return this.unEscape(a.slice(1,-1))}};var B={"nth-child":function(a,b){var c=j(b),d=c.a,c=c.b;if(0===d&&0===c)return 0;var f=0,e=a.parentNode;if(e)for(var e=e.childNodes,h=0,g,i=e.length;h":{dir:"parentNode",immediate:1}," ":{dir:"parentNode"},"+":{dir:"previousSibling",immediate:1},"~":{dir:"previousSibling"}};"sourceIndex"in r.documentElement&& -(p._compareNodeOrder=function(a,b){return a.sourceIndex-b.sourceIndex});p._matchesInternal=f;p._selectInternal=D;return{parse:function(a){return F.parse(a)},select:D,matches:f}}); +function(f){var d=this,e=d.lexer,g,l,q=d.table,o=q.gotos,q=q.action,m=d.productions,r=[null],i=[0];for(e.resetInput(f);;){f=i[i.length-1];g||(g=e.lex());if(!g)return!1;l=q[f]&&q[f][g];if(!l){var s=[];q[f]&&p.each(q[f],function(f,e){s.push(d.lexer.mapReverseSymbol(e))});e.showDebugInfo();s.join(", ");return!1}switch(l[0]){case 1:i.push(g);r.push(e.text);i.push(l[2]);g=null;break;case 2:var h=m[l[1]],f=h.symbol||h[0];l=h.action||h[2];var u=(h.rhs||h[1]).length,t=0,v,h=r[r.length-u];v=void 0;for(d.$$= +h;tc?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,c&1023|56320)};r.lexer.yy={unEscape:o,unEscapeStr:function(a){return this.unEscape(a.slice(1,-1))}};var B={"nth-child":function(a,b){var c=f(b),e=c.a,c=c.b;if(0===e&&0===c)return 0;var g=0,h=a.parentNode;if(h)for(var h=h.childNodes,i=0,k,j=h.length;i":{dir:"parentNode",immediate:1}," ":{dir:"parentNode"},"+":{dir:"previousSibling",immediate:1},"~":{dir:"previousSibling"}};"sourceIndex"in E.documentElement&& +(i._compareNodeOrder=function(a,b){return a.sourceIndex-b.sourceIndex});i._matchesInternal=e;i._selectInternal=D;return{parse:function(a){return r.parse(a)},select:D,matches:e}}); diff --git a/build/dom/selector.js b/build/dom/selector.js index 3474bf2075..526ebff75a 100644 --- a/build/dom/selector.js +++ b/build/dom/selector.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: May 22 12:19 +build time: Aug 28 13:16 */ /* Combined processedModules by KISSY Module Compiler: @@ -10,7 +10,7 @@ build time: May 22 12:19 dom/selector */ -KISSY.add("dom/selector/parser", [], function(_, undefined) { +KISSY.add("dom/selector/parser", [], function() { var parser = {}, S = KISSY, GrammarConst = {SHIFT_TYPE:1, REDUCE_TYPE:2, ACCEPT_TYPE:0, TYPE_INDEX:0, PRODUCTION_INDEX:1, TO_INDEX:2}; var Lexer = function(cfg) { var self = this; diff --git a/build/json-min.js b/build/json-min.js index d37a1076ba..d089c67e00 100644 --- a/build/json-min.js +++ b/build/json-min.js @@ -1,23 +1,23 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 18 12:24 +build time: Aug 28 13:16 */ -KISSY.add("json/quote",[],function(l){var i={"":"\\b"," ":"\\f","\n":"\\n","\r":"\\r","\t":"\\t",'"':'\\"'},h={},j=/["\b\f\n\r\t\x00-\x1f]/g,n=/\\\\|\\\/|\\b|\\f|\\n|\\r|\\t|\\"|\\u[0-9a-zA-Z]{4}/g;l.each(i,function(f,b){h[f]=b});h["\\/"]="/";h["\\\\"]="\\";return{quote:function(f){return'"'+f.replace(j,function(b){var a;if(!(a=i[b]))a="\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4);return a})+'"'},unQuote:function(f){return f.slice(1,f.length-1).replace(n,function(b){var a;if(!(a=h[b]))a= -String.fromCharCode(parseInt(b.slice(2),16));return a})}}}); -KISSY.add("json/stringify",["./quote"],function(l,i){function h(f){return 10>f?"0"+f:f}function j(f,b,a,c,e,r,g){var d=b[f];if(d&&"object"===typeof d)if("function"===typeof d.toJSON)d=d.toJSON(f);else if(d instanceof Date)d=isFinite(d.valueOf())?d.getUTCFullYear()+"-"+h(d.getUTCMonth()+1)+"-"+h(d.getUTCDate())+"T"+h(d.getUTCHours())+":"+h(d.getUTCMinutes())+":"+h(d.getUTCSeconds())+"Z":null;else if(d instanceof String||d instanceof Number||d instanceof Boolean)d=d.valueOf();void 0!==a&&(d=a.call(b, -f,d));switch(typeof d){case "number":return isFinite(d)?""+d:"null";case "string":return n.quote(d);case "boolean":return""+d;case "object":if(d)if(l.isArray(d)){for(var f=d,b=g,g=g+e,d=[],i=f.length,o=0;ob?"...":"")+a.slice(-b).replace(/\n/," "),c=c+e,c=c.slice(0,b)+(c.length>b?"...":"");return a+c+"\n"+Array(a.length+ -1).join("-")+"^"},mapSymbol:function(b){var a=this.symbolMap;return!a?b:a[b]||(a[b]=++this.symbolId)},mapReverseSymbol:function(b){var a=this.symbolMap,c,e=this.reverseSymbolMap;if(!e&&a)for(c in e=this.reverseSymbolMap={},a)e[a[c]]=c;return e?e[b]:b},mapState:function(b){var a=this.stateMap;return!a?b:a[b]||(a[b]=++this.stateId)},lex:function(){var b=this.input,a,c,e,f=this.getCurrentRules();this.match=this.text="";if(!b)return this.mapSymbol(n.STATIC.END_TAG);for(a=0;aa?"0"+a:a}function j(a,e,b,o,h,g,k){var d=e[a];if(d&&"object"===typeof d)if("function"===typeof d.toJSON)d=d.toJSON(a);else if(d instanceof Date)d=isFinite(d.valueOf())?d.getUTCFullYear()+"-"+f(d.getUTCMonth()+1)+"-"+f(d.getUTCDate())+"T"+f(d.getUTCHours())+":"+f(d.getUTCMinutes())+":"+f(d.getUTCSeconds())+"Z":null;else if(d instanceof String||d instanceof Number||d instanceof Boolean)d=d.valueOf();void 0!==b&&(d=b.call(e, +a,d));switch(typeof d){case "number":return isFinite(d)?""+d:"null";case "string":return c.quote(d);case "boolean":return""+d;case "object":if(d)if(m.isArray(d)){for(var a=d,e=k,k=k+h,d=[],l=a.length,p=0;pc?"...":"")+a.slice(-c).replace(/\n/," "),e=e+b,e=e.slice(0,c)+(e.length>c?"...":"");return a+e+"\n"+Array(a.length+ +1).join("-")+"^"},mapSymbol:function(c){var a=this.symbolMap;return!a?c:a[c]||(a[c]=++this.symbolId)},mapReverseSymbol:function(c){var a=this.symbolMap,e,b=this.reverseSymbolMap;if(!b&&a)for(e in b=this.reverseSymbolMap={},a)b[a[e]]=e;return b?b[c]:c},mapState:function(c){var a=this.stateMap;return!a?c:a[c]||(a[c]=++this.stateId)},lex:function(){var c=this.input,a,e,b,o=this.getCurrentRules();this.match=this.text="";if(!c)return this.mapSymbol(f.STATIC.END_TAG);for(a=0;a=r},!0))?d.push(h[e[0]].exports):d.push(null)):d.push(void 0)});return d},attachModsRecursively:function(a,c){var b,d=a.length;for(b=0;b=c?g[a]=!0:h!==f?g[a]=!1:p.checkModsLoadRecursively(j.getNormalizedRequires(),b,d,e,g)?(j.status=c,g[a]=!0):g[a]=!1},attachModRecursively:function(a,c){var b=c.Env.mods[a];b.status>=r||(b.status=r,b.cjs||p.attachModsRecursively(b.getNormalizedRequires(), -c),p.attachMod(c,b))},attachMod:function(c,b){var d=b.factory;if("function"===typeof d){var f;b.cjs&&(f=a.bind(b.require,b));d=d.apply(b,b.cjs?[c,f,b.exports,b]:p.getModules(c,b.getRequiresWithAlias()));void 0!==d&&(b.exports=d)}else b.exports=d;b.status=g},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,c,b){return p.unalias(a,p.normalizeModNamesWithAlias(a,c,b))},unalias:function(a,c){for(var b=[].concat(c),d,f,g,i=0, -h,j=a.Env.mods;!i;){i=1;for(d=b.length-1;0<=d;d--)if((f=j[b[d]])&&"alias"in f){i=0;g=f.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);b.splice.apply(b,[d,1].concat(e(g)))}}return b},normalizeModNamesWithAlias:function(a,c,b){var d=[],f,g;if(c){f=0;for(g=c.length;f 1) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 @@ -5499,7 +5499,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140828130018'; + var TIMESTAMP = '20140828131714'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/build/seed-min.js b/build/seed-min.js index c7831277a4..1f7812531d 100644 --- a/build/seed-min.js +++ b/build/seed-min.js @@ -1,9 +1,9 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Aug 28 13:00 +build time: Aug 28 13:17 */ -var KISSY=function(a){function f(a){var k={},f;for(f in m)(function(b,g){b[g]=function(d){return h.log(d,g,a)}})(k,f);return k}var h,l=0,m={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140828130018",Env:{host:this},Config:{debug:"",fns:{}},version:"1.47",config:function(c,f){var j,b,g=this,d,e=h.Config,s=e.fns;h.isObject(c)?h.each(c,function(a,n){(d=s[n])?d.call(g,a):e[n]=a}):(j=s[c],f===a?b=j?j.call(g):e[c]:j?b=j.call(g,f):e[c]=f);return b},log:function(){return a},getLogger:function(a){return f(a)}, +var KISSY=function(a){function f(a){var k={},f;for(f in m)(function(b,g){b[g]=function(d){return h.log(d,g,a)}})(k,f);return k}var h,l=0,m={debug:10,info:20,warn:30,error:40};h={__BUILD_TIME:"20140828131714",Env:{host:this},Config:{debug:"",fns:{}},version:"1.47",config:function(c,f){var j,b,g=this,d,e=h.Config,s=e.fns;h.isObject(c)?h.each(c,function(a,n){(d=s[n])?d.call(g,a):e[n]=a}):(j=s[c],f===a?b=j?j.call(g):e[c]:j?b=j.call(g,f):e[c]=f);return b},log:function(){return a},getLogger:function(a){return f(a)}, error:function(){},guid:function(a){return(a||"")+l++},Logger:{}};h.Logger.Level={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};return h}(); (function(a,f){function h(){}function l(g,i,e,d,b,k){if(!i||!g)return g;var t,q,u,p;i[c]=g;k.push(i);u=a.keys(i);p=u.length;for(t=0;t=s},!0))?e.push(h[g[0]].exports):e.push(null)):e.push(void 0)});return e},attachModsRecursively:function(a,d){var b,e=a.length;for(b=0;b=d?f[a]=!0:h!==e?f[a]=!1:n.checkModsLoadRecursively(k.getNormalizedRequires(),b,c,g,f)?(k.status=d,f[a]=!0):f[a]=!1},attachModRecursively:function(a,d){var b=d.Env.mods[a];b.status>=s||(b.status=s,b.cjs||n.attachModsRecursively(b.getNormalizedRequires(), -d),n.attachMod(d,b))},attachMod:function(d,b){var e=b.factory;if("function"===typeof e){var c;b.cjs&&(c=a.bind(b.require,b));e=e.apply(b,b.cjs?[d,c,b.exports,b]:n.getModules(d,b.getRequiresWithAlias()));void 0!==e&&(b.exports=e)}else b.exports=e;b.status=g},getModNamesAsArray:function(a){"string"===typeof a&&(a=a.replace(/\s+/g,"").split(","));return a},normalizeModNames:function(a,d,b){return n.unalias(a,n.normalizeModNamesWithAlias(a,d,b))},unalias:function(a,d){for(var b=[].concat(d),e,c,g,i=0, -h,k=a.Env.mods;!i;){i=1;for(e=b.length-1;0<=e;e--)if((c=k[b[e]])&&"alias"in c){i=0;g=c.alias;"string"===typeof g&&(g=[g]);for(h=g.length-1;0<=h;h--)g[h]||g.splice(h,1);b.splice.apply(b,[e,1].concat(f(g)))}}return b},normalizeModNamesWithAlias:function(a,d,b){var e=[],c,g;if(d){c=0;for(g=d.length;c 1) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 @@ -5631,7 +5631,7 @@ var KISSY = (function (undefined) { var doc = S.Env.host && S.Env.host.document; // var logger = S.getLogger('s/loader'); var Utils = S.Loader.Utils; - var TIMESTAMP = '20140828130018'; + var TIMESTAMP = '20140828131714'; var defaultComboPrefix = '??'; var defaultComboSep = ','; diff --git a/build/xtemplate/compiler-min.js b/build/xtemplate/compiler-min.js index 14c6dc8619..d1214dadb1 100644 --- a/build/xtemplate/compiler-min.js +++ b/build/xtemplate/compiler-min.js @@ -1,58 +1,60 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: May 22 12:31 +build time: Aug 28 13:16 */ -KISSY.add("xtemplate/compiler/parser",[],function(l,a){var c={},b=KISSY,e=function(a){this.rules=[];b.mix(this,a);this.resetInput(this.input)};e.prototype={constructor:function(a){this.rules=[];b.mix(this,a);this.resetInput(this.input)},resetInput:function(a){b.mix(this,{input:a,matched:"",stateStack:[e.STATIC.INITIAL],match:"",text:"",firstLine:1,lineNumber:1,lastLine:1,firstColumn:1,lastColumn:1})},genShortId:function(a){a+="__gen";a in this||(this[a]=-1);var a=this[a]+=1,d="";do d=String.fromCharCode(97+ -a%26)+d,a=Math.floor(a/26)-1;while(0<=a);return d},getCurrentRules:function(){var a=this.stateStack[this.stateStack.length-1],d=[],a=this.mapState(a);b.each(this.rules,function(i){var c=i.state||i[3];c?b.inArray(a,c)&&d.push(i):a===e.STATIC.INITIAL&&d.push(i)});return d},pushState:function(a){this.stateStack.push(a)},popState:function(){return this.stateStack.pop()},getStateStack:function(){return this.stateStack},showDebugInfo:function(){var a=e.STATIC.DEBUG_CONTEXT_LIMIT,d=this.matched,c=this.match, -b=this.input,d=d.slice(0,d.length-c.length),d=(d.length>a?"...":"")+d.slice(-a).replace(/\n/," "),c=c+b,c=c.slice(0,a)+(c.length>a?"...":"");return d+c+"\n"+Array(d.length+1).join("-")+"^"},mapSymbol:function(a){var c=this.symbolMap;return!c?a:c[a]||(c[a]=this.genShortId("symbol"))},mapReverseSymbol:function(a){var c=this.symbolMap,e,b=this.reverseSymbolMap;if(!b&&c)for(e in b=this.reverseSymbolMap={},c)b[c[e]]=e;return b?b[a]:a},mapState:function(a){var c=this.stateMap;return!c?a:c[a]||(c[a]=this.genShortId("state"))}, -lex:function(){var c=this.input,d,i,m,g=this.getCurrentRules();this.match=this.text="";if(!c)return this.mapSymbol(e.STATIC.END_TAG);for(d=0;dc?"...":"")+d.slice(-c).replace(/\n/," "),e=e+a,e=e.slice(0,c)+(e.length>c?"...":"");return d+e+"\n"+Array(d.length+1).join("-")+"^"},mapSymbol:function(c){var d=this.symbolMap;return!d?c:d[c]||(d[c]=this.genShortId("symbol"))},mapReverseSymbol:function(c){var d=this.symbolMap,e,a=this.reverseSymbolMap;if(!a&&d)for(e in a=this.reverseSymbolMap={},d)a[d[e]]=e;return a?a[c]:c},mapState:function(c){var d=this.stateMap;return!d?c:d[c]||(d[c]=this.genShortId("state"))}, +lex:function(){var c=this.input,d,e,b,k=this.getCurrentRules();this.match=this.text="";if(!c)return this.mapSymbol(f.STATIC.END_TAG);for(d=0;d=/,0,["t"]],["p",/^<=/,0,["t"]],["q",/^>/,0,["t"]],["r",/^",this.$3)}],["ay",["ay","p","az"],function(){return new this.yy.RelationalExpression(this.$1,"<=",this.$3)}],["ay",["ay","o","az"],function(){return new this.yy.RelationalExpression(this.$1,">=",this.$3)}],["az",["ba"]],["az",["az","s","ba"],function(){return new this.yy.AdditiveExpression(this.$1,"+",this.$3)}],["az",["az","t","ba"],function(){return new this.yy.AdditiveExpression(this.$1,"-",this.$3)}], ["ba",["bb"]],["ba",["ba","u","bb"],function(){return new this.yy.MultiplicativeExpression(this.$1,"*",this.$3)}],["ba",["ba","v","bb"],function(){return new this.yy.MultiplicativeExpression(this.$1,"/",this.$3)}],["ba",["ba","w","bb"],function(){return new this.yy.MultiplicativeExpression(this.$1,"%",this.$3)}],["bb",["x","bb"],function(){return new this.yy.UnaryExpression(this.$1,this.$2)}],["bb",["t","bb"],function(){return new this.yy.UnaryExpression(this.$1,this.$2)}],["bb",["bc"]],["bc",["y"], function(){return new this.yy.StringNode(this.lexer.lineNumber,this.$1)}],["bc",["aa"],function(){return new this.yy.NumberNode(this.lexer.lineNumber,this.$1)}],["bc",["z"],function(){return new this.yy.BooleanNode(this.lexer.lineNumber,this.$1)}],["bc",["ap"]],["bc",["i","ar","j"],function(){return this.$2}],["at",["bd"],function(){return new this.yy.HashNode(this.lexer.lineNumber,this.$1)}],["bd",["bd","g","be"],function(){this.$1.push(this.$3)}],["bd",["be"],function(){return[this.$1]}],["be", -["ac","ab","ar"],function(){return[this.$1,this.$3]}],["ap",["bf"],function(){return new this.yy.IdNode(this.lexer.lineNumber,this.$1)}],["bf",["bf","ad","ac"],function(){this.$1.push(this.$3)}],["bf",["bf","ae","ar","af"],function(){this.$1.push(this.$3)}],["bf",["bf","ad","aa"],function(){this.$1.push(this.$3)}],["bf",["ac"],function(){return[this.$1]}]];c.table={gotos:{"0":{ai:4,aj:5,ak:6,al:7,an:8},2:{ao:10,aq:11,ap:12,bf:13},3:{aq:20,ar:21,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,ap:30, +["ac","ab","ar"],function(){return[this.$1,this.$3]}],["ap",["bf"],function(){return new this.yy.IdNode(this.lexer.lineNumber,this.$1)}],["bf",["bf","ad","ac"],function(){this.$1.push(this.$3)}],["bf",["bf","ae","ar","af"],function(){this.$1.push(this.$3)}],["bf",["bf","ad","aa"],function(){this.$1.push(this.$3)}],["bf",["ac"],function(){return[this.$1]}]];k.table={gotos:{"0":{ai:4,aj:5,ak:6,al:7,an:8},2:{ao:10,aq:11,ap:12,bf:13},3:{aq:20,ar:21,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,ap:30, bf:13},5:{ak:32,al:7,an:8},7:{ai:33,aj:5,ak:6,al:7,an:8},14:{ar:38,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,ap:39,bf:13},15:{bb:40,bc:29,ap:39,bf:13},16:{bb:41,bc:29,ap:39,bf:13},31:{aj:57,ak:6,al:7,an:8},33:{am:59},35:{as:61,au:62,ar:63,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,at:64,bd:65,be:66,ap:39,bf:13},37:{ar:69,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,ap:39,bf:13},44:{aw:71,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,ap:39,bf:13},45:{ax:72,ay:25,az:26,ba:27,bb:28,bc:29,ap:39,bf:13}, 46:{ay:73,az:26,ba:27,bb:28,bc:29,ap:39,bf:13},47:{ay:74,az:26,ba:27,bb:28,bc:29,ap:39,bf:13},48:{az:75,ba:27,bb:28,bc:29,ap:39,bf:13},49:{az:76,ba:27,bb:28,bc:29,ap:39,bf:13},50:{az:77,ba:27,bb:28,bc:29,ap:39,bf:13},51:{az:78,ba:27,bb:28,bc:29,ap:39,bf:13},52:{ba:79,bb:28,bc:29,ap:39,bf:13},53:{ba:80,bb:28,bc:29,ap:39,bf:13},54:{bb:81,bc:29,ap:39,bf:13},55:{bb:82,bc:29,ap:39,bf:13},56:{bb:83,bc:29,ap:39,bf:13},57:{ak:32,al:7,an:8},58:{ap:84,bf:13},85:{ar:90,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28, -bc:29,ap:39,bf:13},86:{au:91,ar:63,av:22,aw:23,ax:24,ay:25,az:26,ba:27,bb:28,bc:29,at:92,bd:65,be:66,ap:39,bf:13},87:{be:94}},action:{"0":{b:[1,a,1],c:[1,a,2],f:[1,a,3]},1:{a:[2,7],e:[2,7],c:[2,7],f:[2,7],b:[2,7],d:[2,7]},2:{ac:[1,a,9]},3:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},4:{a:[0]},5:{a:[2,2],d:[2,2],b:[1,a,1],c:[1,a,2],e:[1,a,31],f:[1,a,3]},6:{a:[2,3],e:[2,3],c:[2,3],f:[2,3],b:[2,3],d:[2,3]},7:{b:[1,a,1],c:[1,a,2],f:[1,a,3]},8:{a:[2,6],e:[2,6],c:[2,6], -f:[2,6],b:[2,6],d:[2,6]},9:{h:[2,56],g:[2,56],ad:[2,56],ae:[2,56],k:[2,56],l:[2,56],m:[2,56],n:[2,56],o:[2,56],p:[2,56],q:[2,56],r:[2,56],s:[2,56],t:[2,56],u:[2,56],v:[2,56],w:[2,56],j:[2,56],af:[2,56]},10:{h:[1,a,34]},11:{h:[2,9]},12:{h:[2,8],g:[1,a,35]},13:{h:[2,52],g:[2,52],k:[2,52],l:[2,52],m:[2,52],n:[2,52],o:[2,52],p:[2,52],q:[2,52],r:[2,52],s:[2,52],t:[2,52],u:[2,52],v:[2,52],w:[2,52],j:[2,52],af:[2,52],ad:[1,a,36],ae:[1,a,37]},14:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1, -a,19],ac:[1,a,9]},15:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},16:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},17:{h:[2,43],k:[2,43],l:[2,43],m:[2,43],n:[2,43],o:[2,43],p:[2,43],q:[2,43],r:[2,43],s:[2,43],t:[2,43],u:[2,43],v:[2,43],w:[2,43],j:[2,43],g:[2,43],af:[2,43]},18:{h:[2,45],k:[2,45],l:[2,45],m:[2,45],n:[2,45],o:[2,45],p:[2,45],q:[2,45],r:[2,45],s:[2,45],t:[2,45],u:[2,45],v:[2,45],w:[2,45],j:[2,45],g:[2,45],af:[2,45]}, -19:{h:[2,44],k:[2,44],l:[2,44],m:[2,44],n:[2,44],o:[2,44],p:[2,44],q:[2,44],r:[2,44],s:[2,44],t:[2,44],u:[2,44],v:[2,44],w:[2,44],j:[2,44],g:[2,44],af:[2,44]},20:{h:[1,a,42]},21:{h:[1,a,43]},22:{h:[2,20],j:[2,20],g:[2,20],af:[2,20],k:[1,a,44]},23:{h:[2,21],k:[2,21],j:[2,21],g:[2,21],af:[2,21],l:[1,a,45]},24:{h:[2,23],k:[2,23],l:[2,23],j:[2,23],g:[2,23],af:[2,23],m:[1,a,46],n:[1,a,47]},25:{h:[2,25],k:[2,25],l:[2,25],m:[2,25],n:[2,25],j:[2,25],g:[2,25],af:[2,25],o:[1,a,48],p:[1,a,49],q:[1,a,50],r:[1, -a,51]},26:{h:[2,28],k:[2,28],l:[2,28],m:[2,28],n:[2,28],o:[2,28],p:[2,28],q:[2,28],r:[2,28],j:[2,28],g:[2,28],af:[2,28],s:[1,a,52],t:[1,a,53]},27:{h:[2,33],k:[2,33],l:[2,33],m:[2,33],n:[2,33],o:[2,33],p:[2,33],q:[2,33],r:[2,33],s:[2,33],t:[2,33],j:[2,33],g:[2,33],af:[2,33],u:[1,a,54],v:[1,a,55],w:[1,a,56]},28:{h:[2,36],k:[2,36],l:[2,36],m:[2,36],n:[2,36],o:[2,36],p:[2,36],q:[2,36],r:[2,36],s:[2,36],t:[2,36],u:[2,36],v:[2,36],w:[2,36],j:[2,36],g:[2,36],af:[2,36]},29:{h:[2,42],k:[2,42],l:[2,42],m:[2, -42],n:[2,42],o:[2,42],p:[2,42],q:[2,42],r:[2,42],s:[2,42],t:[2,42],u:[2,42],v:[2,42],w:[2,42],j:[2,42],g:[2,42],af:[2,42]},30:{h:[2,46],k:[2,46],l:[2,46],m:[2,46],n:[2,46],o:[2,46],p:[2,46],q:[2,46],r:[2,46],s:[2,46],t:[2,46],u:[2,46],v:[2,46],w:[2,46],g:[1,a,35]},31:{b:[1,a,1],c:[1,a,2],f:[1,a,3]},32:{a:[2,4],e:[2,4],c:[2,4],f:[2,4],b:[2,4],d:[2,4]},33:{d:[1,a,58]},34:{c:[2,10],f:[2,10],b:[2,10]},35:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,60]},36:{aa:[1,a,67], -ac:[1,a,68]},37:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},38:{j:[1,a,70]},39:{j:[2,46],k:[2,46],l:[2,46],m:[2,46],n:[2,46],o:[2,46],p:[2,46],q:[2,46],r:[2,46],s:[2,46],t:[2,46],u:[2,46],v:[2,46],w:[2,46],h:[2,46],g:[2,46],af:[2,46]},40:{h:[2,41],k:[2,41],l:[2,41],m:[2,41],n:[2,41],o:[2,41],p:[2,41],q:[2,41],r:[2,41],s:[2,41],t:[2,41],u:[2,41],v:[2,41],w:[2,41],j:[2,41],g:[2,41],af:[2,41]},41:{h:[2,40],k:[2,40],l:[2,40],m:[2,40],n:[2,40],o:[2,40],p:[2,40],q:[2, -40],r:[2,40],s:[2,40],t:[2,40],u:[2,40],v:[2,40],w:[2,40],j:[2,40],g:[2,40],af:[2,40]},42:{a:[2,12],e:[2,12],c:[2,12],f:[2,12],b:[2,12],d:[2,12]},43:{a:[2,13],e:[2,13],c:[2,13],f:[2,13],b:[2,13],d:[2,13]},44:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},45:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},46:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},47:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17], -z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},48:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},49:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},50:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},51:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},52:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},53:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1, -a,18],aa:[1,a,19],ac:[1,a,9]},54:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},55:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},56:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},57:{a:[2,1],d:[2,1],b:[1,a,1],c:[1,a,2],f:[1,a,3]},58:{ac:[1,a,9]},59:{a:[2,5],e:[2,5],c:[2,5],f:[2,5],b:[2,5],d:[2,5]},60:{h:[2,56],g:[2,56],k:[2,56],l:[2,56],m:[2,56],n:[2,56],o:[2,56],p:[2,56],q:[2,56],r:[2,56],s:[2,56], -t:[2,56],u:[2,56],v:[2,56],w:[2,56],ad:[2,56],ae:[2,56],ab:[1,a,85]},61:{h:[2,15],g:[1,a,86]},62:{h:[2,18],g:[2,18]},63:{h:[2,19],g:[2,19]},64:{h:[2,16]},65:{h:[2,48],g:[1,a,87]},66:{h:[2,50],g:[2,50]},67:{h:[2,55],g:[2,55],ad:[2,55],ae:[2,55],k:[2,55],l:[2,55],m:[2,55],n:[2,55],o:[2,55],p:[2,55],q:[2,55],r:[2,55],s:[2,55],t:[2,55],u:[2,55],v:[2,55],w:[2,55],j:[2,55],af:[2,55]},68:{h:[2,53],g:[2,53],ad:[2,53],ae:[2,53],k:[2,53],l:[2,53],m:[2,53],n:[2,53],o:[2,53],p:[2,53],q:[2,53],r:[2,53],s:[2,53], -t:[2,53],u:[2,53],v:[2,53],w:[2,53],j:[2,53],af:[2,53]},69:{af:[1,a,88]},70:{h:[2,47],k:[2,47],l:[2,47],m:[2,47],n:[2,47],o:[2,47],p:[2,47],q:[2,47],r:[2,47],s:[2,47],t:[2,47],u:[2,47],v:[2,47],w:[2,47],j:[2,47],g:[2,47],af:[2,47]},71:{h:[2,22],k:[2,22],j:[2,22],g:[2,22],af:[2,22],l:[1,a,45]},72:{h:[2,24],k:[2,24],l:[2,24],j:[2,24],g:[2,24],af:[2,24],m:[1,a,46],n:[1,a,47]},73:{h:[2,26],k:[2,26],l:[2,26],m:[2,26],n:[2,26],j:[2,26],g:[2,26],af:[2,26],o:[1,a,48],p:[1,a,49],q:[1,a,50],r:[1,a,51]},74:{h:[2, -27],k:[2,27],l:[2,27],m:[2,27],n:[2,27],j:[2,27],g:[2,27],af:[2,27],o:[1,a,48],p:[1,a,49],q:[1,a,50],r:[1,a,51]},75:{h:[2,32],k:[2,32],l:[2,32],m:[2,32],n:[2,32],o:[2,32],p:[2,32],q:[2,32],r:[2,32],j:[2,32],g:[2,32],af:[2,32],s:[1,a,52],t:[1,a,53]},76:{h:[2,31],k:[2,31],l:[2,31],m:[2,31],n:[2,31],o:[2,31],p:[2,31],q:[2,31],r:[2,31],j:[2,31],g:[2,31],af:[2,31],s:[1,a,52],t:[1,a,53]},77:{h:[2,30],k:[2,30],l:[2,30],m:[2,30],n:[2,30],o:[2,30],p:[2,30],q:[2,30],r:[2,30],j:[2,30],g:[2,30],af:[2,30],s:[1, -a,52],t:[1,a,53]},78:{h:[2,29],k:[2,29],l:[2,29],m:[2,29],n:[2,29],o:[2,29],p:[2,29],q:[2,29],r:[2,29],j:[2,29],g:[2,29],af:[2,29],s:[1,a,52],t:[1,a,53]},79:{h:[2,34],k:[2,34],l:[2,34],m:[2,34],n:[2,34],o:[2,34],p:[2,34],q:[2,34],r:[2,34],s:[2,34],t:[2,34],j:[2,34],g:[2,34],af:[2,34],u:[1,a,54],v:[1,a,55],w:[1,a,56]},80:{h:[2,35],k:[2,35],l:[2,35],m:[2,35],n:[2,35],o:[2,35],p:[2,35],q:[2,35],r:[2,35],s:[2,35],t:[2,35],j:[2,35],g:[2,35],af:[2,35],u:[1,a,54],v:[1,a,55],w:[1,a,56]},81:{h:[2,37],k:[2, -37],l:[2,37],m:[2,37],n:[2,37],o:[2,37],p:[2,37],q:[2,37],r:[2,37],s:[2,37],t:[2,37],u:[2,37],v:[2,37],w:[2,37],j:[2,37],g:[2,37],af:[2,37]},82:{h:[2,38],k:[2,38],l:[2,38],m:[2,38],n:[2,38],o:[2,38],p:[2,38],q:[2,38],r:[2,38],s:[2,38],t:[2,38],u:[2,38],v:[2,38],w:[2,38],j:[2,38],g:[2,38],af:[2,38]},83:{h:[2,39],k:[2,39],l:[2,39],m:[2,39],n:[2,39],o:[2,39],p:[2,39],q:[2,39],r:[2,39],s:[2,39],t:[2,39],u:[2,39],v:[2,39],w:[2,39],j:[2,39],g:[2,39],af:[2,39]},84:{h:[1,a,89]},85:{i:[1,a,14],t:[1,a,15], -x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,9]},86:{i:[1,a,14],t:[1,a,15],x:[1,a,16],y:[1,a,17],z:[1,a,18],aa:[1,a,19],ac:[1,a,60]},87:{ac:[1,a,93]},88:{h:[2,54],g:[2,54],ad:[2,54],ae:[2,54],k:[2,54],l:[2,54],m:[2,54],n:[2,54],o:[2,54],p:[2,54],q:[2,54],r:[2,54],s:[2,54],t:[2,54],u:[2,54],v:[2,54],w:[2,54],j:[2,54],af:[2,54]},89:{a:[2,11],e:[2,11],c:[2,11],f:[2,11],b:[2,11],d:[2,11]},90:{h:[2,51],g:[2,51]},91:{h:[2,17],g:[2,17]},92:{h:[2,14]},93:{ab:[1,a,85]},94:{h:[2,49],g:[2,49]}}};c.parse= -function(c){var e=this.lexer,b,g,o=this.table,n=o.gotos,o=o.action,l=this.productions,p=[null],k=[0];for(e.resetInput(c);;){c=k[k.length-1];b||(b=e.lex());if(!b)return!1;g=o[c]&&o[c][b];if(!g){b=[];if(o[c])for(var q in o[c])b.push(this.lexer.mapReverseSymbol(q));e.showDebugInfo();b.join(", ");return!1}switch(g[0]){case 1:k.push(b);p.push(e.text);k.push(g[2]);b=null;break;case 2:var h=l[g[1]],c=h.symbol||h[0];g=h.action||h[2];var f=(h.rhs||h[1]).length,j=0,r,h=p[p.length-f];r=a;for(this.$$=h;j DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/selector/parser.js'].branchData['125'][1].init(522, 33, 'next.length > DEBUG_CONTEXT_LIMIT'); function visit6_125_1(result) { _$jscoverage['/selector/parser.js'].branchData['125'][1].ranCondition(result); return result; -}_$jscoverage['/selector/parser.js'].branchData['123'][1].init(309, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/selector/parser.js'].branchData['123'][1].init(316, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); function visit5_123_1(result) { _$jscoverage['/selector/parser.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/selector/parser.js'].branchData['101'][1].init(230, 30, 'S.inArray(currentState, state)'); +}_$jscoverage['/selector/parser.js'].branchData['101'][1].init(236, 30, 'S.inArray(currentState, state)'); function visit4_101_1(result) { _$jscoverage['/selector/parser.js'].branchData['101'][1].ranCondition(result); return result; -}_$jscoverage['/selector/parser.js'].branchData['98'][1].init(25, 37, 'currentState === Lexer.STATIC.INITIAL'); +}_$jscoverage['/selector/parser.js'].branchData['98'][1].init(26, 37, 'currentState === Lexer.STATIC.INITIAL'); function visit3_98_1(result) { _$jscoverage['/selector/parser.js'].branchData['98'][1].ranCondition(result); return result; -}_$jscoverage['/selector/parser.js'].branchData['97'][1].init(66, 6, '!state'); +}_$jscoverage['/selector/parser.js'].branchData['97'][1].init(68, 6, '!state'); function visit2_97_1(result) { _$jscoverage['/selector/parser.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/selector/parser.js'].branchData['96'][1].init(29, 15, 'r.state || r[3]'); +}_$jscoverage['/selector/parser.js'].branchData['96'][1].init(30, 15, 'r.state || r[3]'); function visit1_96_1(result) { _$jscoverage['/selector/parser.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/selector/parser.js'].lineData[4]++; -KISSY.add(function(_, undefined) { +KISSY.add(function() { _$jscoverage['/selector/parser.js'].functionData[0]++; _$jscoverage['/selector/parser.js'].lineData[6]++; var parser = {}, S = KISSY, GrammarConst = { diff --git a/src/dom/sub-modules/selector/src/selector/parser.js b/src/dom/sub-modules/selector/src/selector/parser.js index fcd4a52a1a..249e1f3662 100644 --- a/src/dom/sub-modules/selector/src/selector/parser.js +++ b/src/dom/sub-modules/selector/src/selector/parser.js @@ -1,7 +1,7 @@ /* Generated by kissy-kison.*/ /*jshint quotmark:false, loopfunc:true*/ -KISSY.add(function (_, undefined) { +KISSY.add(function () { /* Generated by kison from KISSY */ var parser = {}, S = KISSY, GrammarConst = { diff --git a/src/json/coverage/src/json/parser.js b/src/json/coverage/src/json/parser.js index fa7b35bb85..62c61de6ee 100644 --- a/src/json/coverage/src/json/parser.js +++ b/src/json/coverage/src/json/parser.js @@ -486,152 +486,152 @@ if (! _$jscoverage['/json/parser.js'].branchData) { _$jscoverage['/json/parser.js'].branchData['589'] = []; _$jscoverage['/json/parser.js'].branchData['589'][1] = new BranchData(); } -_$jscoverage['/json/parser.js'].branchData['589'][1].init(1079, 3, 'len'); +_$jscoverage['/json/parser.js'].branchData['589'][1].init(1108, 3, 'len'); function visit43_589_1(result) { _$jscoverage['/json/parser.js'].branchData['589'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['583'][1].init(910, 17, 'ret !== undefined'); +}_$jscoverage['/json/parser.js'].branchData['583'][1].init(933, 17, 'ret !== undefined'); function visit42_583_1(result) { _$jscoverage['/json/parser.js'].branchData['583'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['579'][1].init(790, 13, 'reducedAction'); +}_$jscoverage['/json/parser.js'].branchData['579'][1].init(809, 13, 'reducedAction'); function visit41_579_1(result) { _$jscoverage['/json/parser.js'].branchData['579'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['575'][1].init(640, 7, 'i < len'); +}_$jscoverage['/json/parser.js'].branchData['575'][1].init(655, 7, 'i < len'); function visit40_575_1(result) { _$jscoverage['/json/parser.js'].branchData['575'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['565'][1].init(257, 31, 'production.rhs || production[1]'); +}_$jscoverage['/json/parser.js'].branchData['565'][1].init(260, 31, 'production.rhs || production[1]'); function visit39_565_1(result) { _$jscoverage['/json/parser.js'].branchData['565'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['564'][1].init(184, 34, 'production.action || production[2]'); +}_$jscoverage['/json/parser.js'].branchData['564'][1].init(186, 34, 'production.action || production[2]'); function visit38_564_1(result) { _$jscoverage['/json/parser.js'].branchData['564'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['563'][1].init(108, 34, 'production.symbol || production[0]'); +}_$jscoverage['/json/parser.js'].branchData['563'][1].init(109, 34, 'production.symbol || production[0]'); function visit37_563_1(result) { _$jscoverage['/json/parser.js'].branchData['563'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['534'][1].init(83, 18, 'tableAction[state]'); +}_$jscoverage['/json/parser.js'].branchData['534'][1].init(86, 18, 'tableAction[state]'); function visit36_534_1(result) { _$jscoverage['/json/parser.js'].branchData['534'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['531'][1].init(472, 7, '!action'); +}_$jscoverage['/json/parser.js'].branchData['531'][1].init(488, 7, '!action'); function visit35_531_1(result) { _$jscoverage['/json/parser.js'].branchData['531'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['529'][1].init(405, 48, 'tableAction[state] && tableAction[state][symbol]'); +}_$jscoverage['/json/parser.js'].branchData['529'][1].init(419, 48, 'tableAction[state] && tableAction[state][symbol]'); function visit34_529_1(result) { _$jscoverage['/json/parser.js'].branchData['529'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['523'][1].init(198, 7, '!symbol'); +}_$jscoverage['/json/parser.js'].branchData['523'][1].init(206, 7, '!symbol'); function visit33_523_1(result) { _$jscoverage['/json/parser.js'].branchData['523'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['519'][1].init(118, 7, '!symbol'); +}_$jscoverage['/json/parser.js'].branchData['519'][1].init(122, 7, '!symbol'); function visit32_519_1(result) { _$jscoverage['/json/parser.js'].branchData['519'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['287'][1].init(20, 18, 'this.$1 === \'true\''); +}_$jscoverage['/json/parser.js'].branchData['287'][1].init(21, 18, 'this.$1 === \'true\''); function visit31_287_1(result) { _$jscoverage['/json/parser.js'].branchData['287'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['212'][1].init(1214, 3, 'ret'); +}_$jscoverage['/json/parser.js'].branchData['212'][1].init(1244, 3, 'ret'); function visit30_212_1(result) { _$jscoverage['/json/parser.js'].branchData['212'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['204'][1].init(934, 17, 'ret === undefined'); +}_$jscoverage['/json/parser.js'].branchData['204'][1].init(956, 17, 'ret === undefined'); function visit29_204_1(result) { _$jscoverage['/json/parser.js'].branchData['204'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['203'][1].init(881, 27, 'action && action.call(self)'); +}_$jscoverage['/json/parser.js'].branchData['203'][1].init(902, 27, 'action && action.call(self)'); function visit28_203_1(result) { _$jscoverage['/json/parser.js'].branchData['203'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['184'][1].init(74, 5, 'lines'); +}_$jscoverage['/json/parser.js'].branchData['184'][1].init(76, 5, 'lines'); function visit27_184_1(result) { _$jscoverage['/json/parser.js'].branchData['184'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['182'][1].init(224, 23, 'm = input.match(regexp)'); +}_$jscoverage['/json/parser.js'].branchData['182'][1].init(229, 23, 'm = input.match(regexp)'); function visit26_182_1(result) { _$jscoverage['/json/parser.js'].branchData['182'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['181'][2].init(131, 20, 'rule[2] || undefined'); +}_$jscoverage['/json/parser.js'].branchData['181'][2].init(133, 20, 'rule[2] || undefined'); function visit25_181_2(result) { _$jscoverage['/json/parser.js'].branchData['181'][2].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['181'][1].init(116, 35, 'rule.action || rule[2] || undefined'); +}_$jscoverage['/json/parser.js'].branchData['181'][1].init(118, 35, 'rule.action || rule[2] || undefined'); function visit24_181_1(result) { _$jscoverage['/json/parser.js'].branchData['181'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['180'][1].init(64, 21, 'rule.token || rule[0]'); +}_$jscoverage['/json/parser.js'].branchData['180'][1].init(65, 21, 'rule.token || rule[0]'); function visit23_180_1(result) { _$jscoverage['/json/parser.js'].branchData['180'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['179'][1].init(63, 22, 'rule.regexp || rule[1]'); +}_$jscoverage['/json/parser.js'].branchData['179'][1].init(65, 22, 'rule.regexp || rule[1]'); function visit22_179_1(result) { _$jscoverage['/json/parser.js'].branchData['179'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['177'][1].init(387, 16, 'i < rules.length'); +}_$jscoverage['/json/parser.js'].branchData['177'][1].init(403, 16, 'i < rules.length'); function visit21_177_1(result) { _$jscoverage['/json/parser.js'].branchData['177'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['173'][1].init(277, 6, '!input'); +}_$jscoverage['/json/parser.js'].branchData['173'][1].init(289, 6, '!input'); function visit20_173_1(result) { _$jscoverage['/json/parser.js'].branchData['173'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['159'][1].init(160, 47, 'stateMap[s] || (stateMap[s] = (++self.stateId))'); +}_$jscoverage['/json/parser.js'].branchData['159'][1].init(166, 47, 'stateMap[s] || (stateMap[s] = (++self.stateId))'); function visit19_159_1(result) { _$jscoverage['/json/parser.js'].branchData['159'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['156'][1].init(88, 9, '!stateMap'); +}_$jscoverage['/json/parser.js'].branchData['156'][1].init(91, 9, '!stateMap'); function visit18_156_1(result) { _$jscoverage['/json/parser.js'].branchData['156'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['147'][1].init(407, 16, 'reverseSymbolMap'); +}_$jscoverage['/json/parser.js'].branchData['147'][1].init(418, 16, 'reverseSymbolMap'); function visit17_147_1(result) { _$jscoverage['/json/parser.js'].branchData['147'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['141'][1].init(167, 30, '!reverseSymbolMap && symbolMap'); +}_$jscoverage['/json/parser.js'].branchData['141'][1].init(172, 30, '!reverseSymbolMap && symbolMap'); function visit16_141_1(result) { _$jscoverage['/json/parser.js'].branchData['141'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['134'][1].init(163, 50, 'symbolMap[t] || (symbolMap[t] = (++self.symbolId))'); +}_$jscoverage['/json/parser.js'].branchData['134'][1].init(169, 50, 'symbolMap[t] || (symbolMap[t] = (++self.symbolId))'); function visit15_134_1(result) { _$jscoverage['/json/parser.js'].branchData['134'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['131'][1].init(90, 10, '!symbolMap'); +}_$jscoverage['/json/parser.js'].branchData['131'][1].init(93, 10, '!symbolMap'); function visit14_131_1(result) { _$jscoverage['/json/parser.js'].branchData['131'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['125'][1].init(513, 33, 'next.length > DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/json/parser.js'].branchData['125'][1].init(522, 33, 'next.length > DEBUG_CONTEXT_LIMIT'); function visit13_125_1(result) { _$jscoverage['/json/parser.js'].branchData['125'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['123'][1].init(309, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/json/parser.js'].branchData['123'][1].init(316, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); function visit12_123_1(result) { _$jscoverage['/json/parser.js'].branchData['123'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['101'][1].init(229, 30, 'S.inArray(currentState, state)'); +}_$jscoverage['/json/parser.js'].branchData['101'][1].init(235, 30, 'S.inArray(currentState, state)'); function visit11_101_1(result) { _$jscoverage['/json/parser.js'].branchData['101'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['98'][1].init(25, 36, 'currentState == Lexer.STATIC.INITIAL'); +}_$jscoverage['/json/parser.js'].branchData['98'][1].init(26, 36, 'currentState == Lexer.STATIC.INITIAL'); function visit10_98_1(result) { _$jscoverage['/json/parser.js'].branchData['98'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['97'][1].init(66, 6, '!state'); +}_$jscoverage['/json/parser.js'].branchData['97'][1].init(68, 6, '!state'); function visit9_97_1(result) { _$jscoverage['/json/parser.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/json/parser.js'].branchData['96'][1].init(29, 15, 'r.state || r[3]'); +}_$jscoverage['/json/parser.js'].branchData['96'][1].init(30, 15, 'r.state || r[3]'); function visit8_96_1(result) { _$jscoverage['/json/parser.js'].branchData['96'][1].ranCondition(result); return result; }_$jscoverage['/json/parser.js'].lineData[4]++; -KISSY.add(function(_, undefined) { +KISSY.add(function() { _$jscoverage['/json/parser.js'].functionData[0]++; _$jscoverage['/json/parser.js'].lineData[6]++; var parser = {}, S = KISSY, GrammarConst = { diff --git a/src/json/src/json/parser.js b/src/json/src/json/parser.js index 6a3ffda985..d261f47dfd 100644 --- a/src/json/src/json/parser.js +++ b/src/json/src/json/parser.js @@ -1,7 +1,7 @@ /* Generated by kissy-kison.*/ /*jshint quotmark:false, loopfunc:true, eqeqeq:false, boss:true*/ -KISSY.add(function (_, undefined) { +KISSY.add(function () { /* Generated by kison from KISSY */ var parser = {}, S = KISSY, GrammarConst = { diff --git a/src/seed/coverage/src/loader/data-structure.js b/src/seed/coverage/src/loader/data-structure.js index 52379ee90e..3d9c359098 100644 --- a/src/seed/coverage/src/loader/data-structure.js +++ b/src/seed/coverage/src/loader/data-structure.js @@ -477,127 +477,127 @@ if (! _$jscoverage['/loader/data-structure.js'].branchData) { _$jscoverage['/loader/data-structure.js'].branchData['460'] = []; _$jscoverage['/loader/data-structure.js'].branchData['460'][1] = new BranchData(); } -_$jscoverage['/loader/data-structure.js'].branchData['460'][1].init(308, 32, 'packages[pName] || systemPackage'); +_$jscoverage['/loader/data-structure.js'].branchData['460'][1].init(318, 32, 'packages[pName] || systemPackage'); function visit425_460_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['460'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['456'][2].init(56, 23, 'p.length > pName.length'); +}_$jscoverage['/loader/data-structure.js'].branchData['456'][2].init(57, 23, 'p.length > pName.length'); function visit424_456_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['456'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['456'][1].init(17, 62, 'S.startsWith(modNameSlash, p + \'/\') && p.length > pName.length'); +}_$jscoverage['/loader/data-structure.js'].branchData['456'][1].init(18, 62, 'S.startsWith(modNameSlash, p + \'/\') && p.length > pName.length'); function visit423_456_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['456'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['438'][1].init(185, 24, 'm.getPackage().isDebug()'); +}_$jscoverage['/loader/data-structure.js'].branchData['438'][1].init(192, 24, 'm.getPackage().isDebug()'); function visit422_438_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['438'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['419'][1].init(112, 35, 'normalizedRequiresStatus === status'); +}_$jscoverage['/loader/data-structure.js'].branchData['419'][1].init(114, 35, 'normalizedRequiresStatus === status'); function visit421_419_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['419'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['417'][1].init(338, 149, '(normalizedRequires = self.normalizedRequires) && (normalizedRequiresStatus === status)'); +}_$jscoverage['/loader/data-structure.js'].branchData['417'][1].init(346, 151, '(normalizedRequires = self.normalizedRequires) && (normalizedRequiresStatus === status)'); function visit420_417_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['417'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['416'][1].init(24, 14, 'requires || []'); +}_$jscoverage['/loader/data-structure.js'].branchData['416'][1].init(25, 14, 'requires || []'); function visit419_416_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['416'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['415'][2].init(249, 21, 'requires.length === 0'); +}_$jscoverage['/loader/data-structure.js'].branchData['415'][2].init(255, 21, 'requires.length === 0'); function visit418_415_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['415'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['415'][1].init(236, 34, '!requires || requires.length === 0'); +}_$jscoverage['/loader/data-structure.js'].branchData['415'][1].init(242, 34, '!requires || requires.length === 0'); function visit417_415_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['415'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['386'][1].init(249, 18, '!requiresWithAlias'); +}_$jscoverage['/loader/data-structure.js'].branchData['386'][1].init(255, 18, '!requiresWithAlias'); function visit416_386_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['386'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['385'][1].init(24, 14, 'requires || []'); +}_$jscoverage['/loader/data-structure.js'].branchData['385'][1].init(25, 14, 'requires || []'); function visit415_385_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['385'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['384'][2].init(161, 21, 'requires.length === 0'); +}_$jscoverage['/loader/data-structure.js'].branchData['384'][2].init(165, 21, 'requires.length === 0'); function visit414_384_2(result) { _$jscoverage['/loader/data-structure.js'].branchData['384'][2].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['384'][1].init(148, 34, '!requires || requires.length === 0'); +}_$jscoverage['/loader/data-structure.js'].branchData['384'][1].init(152, 34, '!requires || requires.length === 0'); function visit413_384_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['384'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['373'][1].init(49, 46, 'self.charset || self.getPackage().getCharset()'); +}_$jscoverage['/loader/data-structure.js'].branchData['373'][1].init(51, 46, 'self.charset || self.getPackage().getCharset()'); function visit412_373_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['373'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['364'][1].init(49, 38, 'self.tag || self.getPackage().getTag()'); +}_$jscoverage['/loader/data-structure.js'].branchData['364'][1].init(51, 38, 'self.tag || self.getPackage().getTag()'); function visit411_364_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['364'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['353'][1].init(49, 92, 'self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))'); +}_$jscoverage['/loader/data-structure.js'].branchData['353'][1].init(51, 93, 'self.packageInfo || (self.packageInfo = getPackage(self.runtime, self.name))'); function visit410_353_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['353'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['336'][1].init(49, 55, 'self.path || (self.path = defaultComponentJsName(self))'); +}_$jscoverage['/loader/data-structure.js'].branchData['336'][1].init(51, 55, 'self.path || (self.path = defaultComponentJsName(self))'); function visit409_336_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['336'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['323'][1].init(75, 14, '!self.fullpath'); +}_$jscoverage['/loader/data-structure.js'].branchData['323'][1].init(78, 14, '!self.fullpath'); function visit408_323_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['323'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['300'][1].init(212, 171, 'packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name)'); +}_$jscoverage['/loader/data-structure.js'].branchData['300'][1].init(217, 173, 'packageInfo.isIgnorePackageNameInUri() && (packageName = packageInfo.name)'); function visit407_300_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['300'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['293'][1].init(66, 13, 'self.fullpath'); +}_$jscoverage['/loader/data-structure.js'].branchData['293'][1].init(68, 13, 'self.fullpath'); function visit406_293_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['293'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['291'][1].init(206, 17, '!self.fullPathUri'); +}_$jscoverage['/loader/data-structure.js'].branchData['291'][1].init(214, 17, '!self.fullPathUri'); function visit405_291_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['291'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['269'][1].init(21, 48, 'Path.extname(self.name).toLowerCase() === \'.css\''); +}_$jscoverage['/loader/data-structure.js'].branchData['269'][1].init(22, 48, 'Path.extname(self.name).toLowerCase() === \'.css\''); function visit404_269_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['269'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['268'][1].init(77, 2, '!v'); +}_$jscoverage['/loader/data-structure.js'].branchData['268'][1].init(80, 2, '!v'); function visit403_268_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['268'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['251'][1].init(27, 12, 'e.stack || e'); +}_$jscoverage['/loader/data-structure.js'].branchData['251'][1].init(28, 12, 'e.stack || e'); function visit402_251_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['251'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['246'][1].init(120, 7, 'i < len'); +}_$jscoverage['/loader/data-structure.js'].branchData['246'][1].init(124, 7, 'i < len'); function visit401_246_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['246'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['227'][1].init(72, 15, 'i < mods.length'); +}_$jscoverage['/loader/data-structure.js'].branchData['227'][1].init(74, 15, 'i < mods.length'); function visit400_227_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['227'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['223'][1].init(46, 30, 'typeof moduleName === \'string\''); +}_$jscoverage['/loader/data-structure.js'].branchData['223'][1].init(48, 30, 'typeof moduleName === \'string\''); function visit399_223_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['223'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['176'][1].init(125, 16, 'fn && fn.success'); +}_$jscoverage['/loader/data-structure.js'].branchData['176'][1].init(131, 16, 'fn && fn.success'); function visit398_176_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['176'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['171'][1].init(13, 24, 'typeof fn === \'function\''); +}_$jscoverage['/loader/data-structure.js'].branchData['171'][1].init(14, 24, 'typeof fn === \'function\''); function visit397_171_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['171'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['164'][1].init(47, 14, 'i < arr.length'); +}_$jscoverage['/loader/data-structure.js'].branchData['164'][1].init(49, 14, 'i < arr.length'); function visit396_164_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['164'][1].ranCondition(result); return result; -}_$jscoverage['/loader/data-structure.js'].branchData['74'][1].init(46, 16, '!self.packageUri'); +}_$jscoverage['/loader/data-structure.js'].branchData['74'][1].init(48, 16, '!self.packageUri'); function visit395_74_1(result) { _$jscoverage['/loader/data-structure.js'].branchData['74'][1].ranCondition(result); return result; diff --git a/src/seed/coverage/src/loader/utils.js b/src/seed/coverage/src/loader/utils.js index 3e6b9abbb2..7b4f506f6f 100644 --- a/src/seed/coverage/src/loader/utils.js +++ b/src/seed/coverage/src/loader/utils.js @@ -493,6 +493,7 @@ if (! _$jscoverage['/loader/utils.js'].branchData) { _$jscoverage['/loader/utils.js'].branchData['289'][1] = new BranchData(); _$jscoverage['/loader/utils.js'].branchData['293'] = []; _$jscoverage['/loader/utils.js'].branchData['293'][1] = new BranchData(); + _$jscoverage['/loader/utils.js'].branchData['293'][2] = new BranchData(); _$jscoverage['/loader/utils.js'].branchData['302'] = []; _$jscoverage['/loader/utils.js'].branchData['302'][1] = new BranchData(); _$jscoverage['/loader/utils.js'].branchData['320'] = []; @@ -524,66 +525,70 @@ if (! _$jscoverage['/loader/utils.js'].branchData) { _$jscoverage['/loader/utils.js'].branchData['472'][1] = new BranchData(); } _$jscoverage['/loader/utils.js'].branchData['472'][1].init(56, 46, '!(m = str.match(/^\\s*["\']([^\'"\\s]+)["\']\\s*$/))'); -function visit527_472_1(result) { +function visit528_472_1(result) { _$jscoverage['/loader/utils.js'].branchData['472'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['445'][1].init(85, 8, '--i > -1'); -function visit526_445_1(result) { +function visit527_445_1(result) { _$jscoverage['/loader/utils.js'].branchData['445'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][2].init(170, 28, 'module.factory !== undefined'); -function visit525_416_2(result) { +function visit526_416_2(result) { _$jscoverage['/loader/utils.js'].branchData['416'][2].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['416'][1].init(160, 38, 'module && module.factory !== undefined'); -function visit524_416_1(result) { +function visit525_416_1(result) { _$jscoverage['/loader/utils.js'].branchData['416'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['397'][1].init(536, 10, 'refModName'); -function visit523_397_1(result) { +function visit524_397_1(result) { _$jscoverage['/loader/utils.js'].branchData['397'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['391'][1].init(143, 11, 'modNames[i]'); -function visit522_391_1(result) { +function visit523_391_1(result) { _$jscoverage['/loader/utils.js'].branchData['391'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['388'][1].init(84, 5, 'i < l'); -function visit521_388_1(result) { +function visit522_388_1(result) { _$jscoverage['/loader/utils.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['386'][1].init(51, 8, 'modNames'); -function visit520_386_1(result) { +function visit521_386_1(result) { _$jscoverage['/loader/utils.js'].branchData['386'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['366'][1].init(34, 9, '!alias[j]'); -function visit519_366_1(result) { +function visit520_366_1(result) { _$jscoverage['/loader/utils.js'].branchData['366'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['365'][1].init(259, 6, 'j >= 0'); -function visit518_365_1(result) { +function visit519_365_1(result) { _$jscoverage['/loader/utils.js'].branchData['365'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['362'][1].init(105, 25, 'typeof alias === \'string\''); -function visit517_362_1(result) { +function visit518_362_1(result) { _$jscoverage['/loader/utils.js'].branchData['362'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['359'][1].init(27, 35, '(m = mods[ret[i]]) && (\'alias\' in m)'); -function visit516_359_1(result) { +function visit517_359_1(result) { _$jscoverage['/loader/utils.js'].branchData['359'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['358'][1].init(68, 6, 'i >= 0'); -function visit515_358_1(result) { +function visit516_358_1(result) { _$jscoverage['/loader/utils.js'].branchData['358'][1].ranCondition(result); return result; }_$jscoverage['/loader/utils.js'].branchData['320'][1].init(18, 28, 'typeof modNames === \'string\''); -function visit514_320_1(result) { +function visit515_320_1(result) { _$jscoverage['/loader/utils.js'].branchData['320'][1].ranCondition(result); return result; -}_$jscoverage['/loader/utils.js'].branchData['302'][1].init(667, 21, 'exports !== undefined'); -function visit513_302_1(result) { +}_$jscoverage['/loader/utils.js'].branchData['302'][1].init(689, 21, 'exports !== undefined'); +function visit514_302_1(result) { _$jscoverage['/loader/utils.js'].branchData['302'][1].ranCondition(result); return result; -}_$jscoverage['/loader/utils.js'].branchData['293'][1].init(153, 10, 'module.cjs'); +}_$jscoverage['/loader/utils.js'].branchData['293'][2].init(167, 18, 'factory.length > 1'); +function visit513_293_2(result) { + _$jscoverage['/loader/utils.js'].branchData['293'][2].ranCondition(result); + return result; +}_$jscoverage['/loader/utils.js'].branchData['293'][1].init(153, 32, 'module.cjs && factory.length > 1'); function visit512_293_1(result) { _$jscoverage['/loader/utils.js'].branchData['293'][1].ranCondition(result); return result; @@ -1017,14 +1022,14 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[292]++; var require; _$jscoverage['/loader/utils.js'].lineData[293]++; - if (visit512_293_1(module.cjs)) { + if (visit512_293_1(module.cjs && visit513_293_2(factory.length > 1))) { _$jscoverage['/loader/utils.js'].lineData[294]++; require = S.bind(module.require, module); } _$jscoverage['/loader/utils.js'].lineData[299]++; exports = factory.apply(module, (module.cjs ? [runtime, require, module.exports, module] : Utils.getModules(runtime, module.getRequiresWithAlias()))); _$jscoverage['/loader/utils.js'].lineData[302]++; - if (visit513_302_1(exports !== undefined)) { + if (visit514_302_1(exports !== undefined)) { _$jscoverage['/loader/utils.js'].lineData[304]++; module.exports = exports; } @@ -1038,7 +1043,7 @@ function visit478_31_1(result) { getModNamesAsArray: function(modNames) { _$jscoverage['/loader/utils.js'].functionData[18]++; _$jscoverage['/loader/utils.js'].lineData[320]++; - if (visit514_320_1(typeof modNames === 'string')) { + if (visit515_320_1(typeof modNames === 'string')) { _$jscoverage['/loader/utils.js'].lineData[321]++; modNames = modNames.replace(/\s+/g, '').split(','); } @@ -1059,22 +1064,22 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[357]++; ok = 1; _$jscoverage['/loader/utils.js'].lineData[358]++; - for (i = ret.length - 1; visit515_358_1(i >= 0); i--) { + for (i = ret.length - 1; visit516_358_1(i >= 0); i--) { _$jscoverage['/loader/utils.js'].lineData[359]++; - if (visit516_359_1((m = mods[ret[i]]) && ('alias' in m))) { + if (visit517_359_1((m = mods[ret[i]]) && ('alias' in m))) { _$jscoverage['/loader/utils.js'].lineData[360]++; ok = 0; _$jscoverage['/loader/utils.js'].lineData[361]++; alias = m.alias; _$jscoverage['/loader/utils.js'].lineData[362]++; - if (visit517_362_1(typeof alias === 'string')) { + if (visit518_362_1(typeof alias === 'string')) { _$jscoverage['/loader/utils.js'].lineData[363]++; alias = [alias]; } _$jscoverage['/loader/utils.js'].lineData[365]++; - for (j = alias.length - 1; visit518_365_1(j >= 0); j--) { + for (j = alias.length - 1; visit519_365_1(j >= 0); j--) { _$jscoverage['/loader/utils.js'].lineData[366]++; - if (visit519_366_1(!alias[j])) { + if (visit520_366_1(!alias[j])) { _$jscoverage['/loader/utils.js'].lineData[367]++; alias.splice(j, 1); } @@ -1092,18 +1097,18 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[385]++; var ret = [], i, l; _$jscoverage['/loader/utils.js'].lineData[386]++; - if (visit520_386_1(modNames)) { + if (visit521_386_1(modNames)) { _$jscoverage['/loader/utils.js'].lineData[388]++; - for (i = 0 , l = modNames.length; visit521_388_1(i < l); i++) { + for (i = 0 , l = modNames.length; visit522_388_1(i < l); i++) { _$jscoverage['/loader/utils.js'].lineData[391]++; - if (visit522_391_1(modNames[i])) { + if (visit523_391_1(modNames[i])) { _$jscoverage['/loader/utils.js'].lineData[392]++; ret.push(pluginAlias(runtime, addIndexAndRemoveJsExt(modNames[i]))); } } } _$jscoverage['/loader/utils.js'].lineData[397]++; - if (visit523_397_1(refModName)) { + if (visit524_397_1(refModName)) { _$jscoverage['/loader/utils.js'].lineData[398]++; ret = Utils.normalDepModuleName(refModName, ret); } @@ -1117,7 +1122,7 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[413]++; var mods = runtime.Env.mods, module = mods[name]; _$jscoverage['/loader/utils.js'].lineData[416]++; - if (visit524_416_1(module && visit525_416_2(module.factory !== undefined))) { + if (visit525_416_1(module && visit526_416_2(module.factory !== undefined))) { _$jscoverage['/loader/utils.js'].lineData[417]++; S.log(name + ' is defined more than once', 'warn'); _$jscoverage['/loader/utils.js'].lineData[418]++; @@ -1140,7 +1145,7 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[443]++; var hash = 5381, i; _$jscoverage['/loader/utils.js'].lineData[445]++; - for (i = str.length; visit526_445_1(--i > -1); ) { + for (i = str.length; visit527_445_1(--i > -1); ) { _$jscoverage['/loader/utils.js'].lineData[446]++; hash = ((hash << 5) + hash) + str.charCodeAt(i); } @@ -1168,7 +1173,7 @@ function visit478_31_1(result) { _$jscoverage['/loader/utils.js'].lineData[470]++; var m; _$jscoverage['/loader/utils.js'].lineData[472]++; - if (visit527_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { + if (visit528_472_1(!(m = str.match(/^\s*["']([^'"\s]+)["']\s*$/)))) { _$jscoverage['/loader/utils.js'].lineData[473]++; S.error('can not find required mod in require call: ' + str); } diff --git a/src/seed/coverage/src/meta/base.js b/src/seed/coverage/src/meta/base.js index 5b7f0383dd..afdde9ee57 100644 --- a/src/seed/coverage/src/meta/base.js +++ b/src/seed/coverage/src/meta/base.js @@ -246,7 +246,7 @@ if (! _$jscoverage['/meta/base.js'].branchData) { _$jscoverage['/meta/base.js'].branchData['21'][1] = new BranchData(); } _$jscoverage['/meta/base.js'].branchData['21'][1].init(345, 31, 'typeof location !== \'undefined\''); -function visit528_21_1(result) { +function visit529_21_1(result) { _$jscoverage['/meta/base.js'].branchData['21'][1].ranCondition(result); return result; }_$jscoverage['/meta/base.js'].lineData[6]++; @@ -262,7 +262,7 @@ function visit528_21_1(result) { 'rich-base': { alias: 'base'}}}); _$jscoverage['/meta/base.js'].lineData[21]++; - if (visit528_21_1(typeof location !== 'undefined')) { + if (visit529_21_1(typeof location !== 'undefined')) { _$jscoverage['/meta/base.js'].lineData[22]++; var https = S.startsWith(location.href, 'https'); _$jscoverage['/meta/base.js'].lineData[23]++; diff --git a/src/seed/coverage/src/path.js b/src/seed/coverage/src/path.js index 1d7924269c..a395fca0e0 100644 --- a/src/seed/coverage/src/path.js +++ b/src/seed/coverage/src/path.js @@ -375,131 +375,131 @@ if (! _$jscoverage['/path.js'].branchData) { _$jscoverage['/path.js'].branchData['212'][2] = new BranchData(); } _$jscoverage['/path.js'].branchData['212'][2].init(21, 29, 'path.match(splitPathRe) || []'); -function visit560_212_2(result) { +function visit561_212_2(result) { _$jscoverage['/path.js'].branchData['212'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['212'][1].init(21, 39, '(path.match(splitPathRe) || [])[4] || \'\''); -function visit559_212_1(result) { +function visit560_212_1(result) { _$jscoverage['/path.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['198'][1].init(259, 3, 'dir'); -function visit558_198_1(result) { +function visit559_198_1(result) { _$jscoverage['/path.js'].branchData['198'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['193'][1].init(153, 13, '!root && !dir'); -function visit557_193_1(result) { +function visit558_193_1(result) { _$jscoverage['/path.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['191'][1].init(105, 15, 'result[2] || \'\''); -function visit556_191_1(result) { +function visit557_191_1(result) { _$jscoverage['/path.js'].branchData['191'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['190'][1].init(66, 15, 'result[1] || \'\''); -function visit555_190_1(result) { +function visit556_190_1(result) { _$jscoverage['/path.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['189'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit554_189_1(result) { +function visit555_189_1(result) { _$jscoverage['/path.js'].branchData['189'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][3].init(158, 39, 'basename.slice(-1 * ext.length) === ext'); -function visit553_177_3(result) { +function visit554_177_3(result) { _$jscoverage['/path.js'].branchData['177'][3].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][2].init(146, 51, 'basename && basename.slice(-1 * ext.length) === ext'); -function visit552_177_2(result) { +function visit553_177_2(result) { _$jscoverage['/path.js'].branchData['177'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['177'][1].init(139, 58, 'ext && basename && basename.slice(-1 * ext.length) === ext'); -function visit551_177_1(result) { +function visit552_177_1(result) { _$jscoverage['/path.js'].branchData['177'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['176'][1].init(106, 15, 'result[3] || \'\''); -function visit550_176_1(result) { +function visit551_176_1(result) { _$jscoverage['/path.js'].branchData['176'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['174'][1].init(26, 29, 'path.match(splitPathRe) || []'); -function visit549_174_1(result) { +function visit550_174_1(result) { _$jscoverage['/path.js'].branchData['174'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['155'][1].init(716, 28, 'sameIndex < fromParts.length'); -function visit548_155_1(result) { +function visit549_155_1(result) { _$jscoverage['/path.js'].branchData['155'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['148'][1].init(21, 43, 'fromParts[sameIndex] !== toParts[sameIndex]'); -function visit547_148_1(result) { +function visit548_148_1(result) { _$jscoverage['/path.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['147'][1].init(492, 24, 'sameIndex < commonLength'); -function visit546_147_1(result) { +function visit547_147_1(result) { _$jscoverage['/path.js'].branchData['147'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][2].init(30, 21, 'typeof p === \'string\''); -function visit545_118_2(result) { +function visit546_118_2(result) { _$jscoverage['/path.js'].branchData['118'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['118'][1].init(24, 28, 'p && (typeof p === \'string\')'); -function visit544_118_1(result) { +function visit545_118_1(result) { _$jscoverage['/path.js'].branchData['118'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['103'][1].init(348, 21, 'path && trailingSlash'); -function visit543_103_1(result) { +function visit544_103_1(result) { _$jscoverage['/path.js'].branchData['103'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['99'][1].init(267, 18, '!path && !absolute'); -function visit542_99_1(result) { +function visit543_99_1(result) { _$jscoverage['/path.js'].branchData['99'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['93'][1].init(70, 22, 'path.slice(-1) === \'/\''); -function visit541_93_1(result) { +function visit542_93_1(result) { _$jscoverage['/path.js'].branchData['93'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['92'][1].init(28, 22, 'path.charAt(0) === \'/\''); -function visit540_92_1(result) { +function visit541_92_1(result) { _$jscoverage['/path.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['78'][1].init(686, 46, '((absolute ? \'/\' : \'\') + resolvedPathStr) || \'.\''); -function visit539_78_1(result) { +function visit540_78_1(result) { _$jscoverage['/path.js'].branchData['78'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['71'][1].init(223, 22, 'path.charAt(0) === \'/\''); -function visit538_71_1(result) { +function visit539_71_1(result) { _$jscoverage['/path.js'].branchData['71'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][2].init(53, 24, 'typeof path !== \'string\''); -function visit537_67_2(result) { +function visit538_67_2(result) { _$jscoverage['/path.js'].branchData['67'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['67'][1].init(53, 33, 'typeof path !== \'string\' || !path'); -function visit536_67_1(result) { +function visit537_67_1(result) { _$jscoverage['/path.js'].branchData['67'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][2].init(215, 6, 'i >= 0'); -function visit535_65_2(result) { +function visit536_65_2(result) { _$jscoverage['/path.js'].branchData['65'][2].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['65'][1].init(215, 19, 'i >= 0 && !absolute'); -function visit534_65_1(result) { +function visit535_65_1(result) { _$jscoverage['/path.js'].branchData['65'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['36'][1].init(591, 14, 'allowAboveRoot'); -function visit533_36_1(result) { +function visit534_36_1(result) { _$jscoverage['/path.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['27'][1].init(92, 2, 'up'); -function visit532_27_1(result) { +function visit533_27_1(result) { _$jscoverage['/path.js'].branchData['27'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['25'][1].init(21, 13, 'last === \'..\''); -function visit531_25_1(result) { +function visit532_25_1(result) { _$jscoverage['/path.js'].branchData['25'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['24'][1].init(46, 12, 'last !== \'.\''); -function visit530_24_1(result) { +function visit531_24_1(result) { _$jscoverage['/path.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].branchData['22'][1].init(213, 6, 'i >= 0'); -function visit529_22_1(result) { +function visit530_22_1(result) { _$jscoverage['/path.js'].branchData['22'][1].ranCondition(result); return result; }_$jscoverage['/path.js'].lineData[7]++; @@ -513,18 +513,18 @@ function visit529_22_1(result) { _$jscoverage['/path.js'].lineData[15]++; var up = 0, i = parts.length - 1, newParts = [], last; _$jscoverage['/path.js'].lineData[22]++; - for (; visit529_22_1(i >= 0); i--) { + for (; visit530_22_1(i >= 0); i--) { _$jscoverage['/path.js'].lineData[23]++; last = parts[i]; _$jscoverage['/path.js'].lineData[24]++; - if (visit530_24_1(last !== '.')) { + if (visit531_24_1(last !== '.')) { _$jscoverage['/path.js'].lineData[25]++; - if (visit531_25_1(last === '..')) { + if (visit532_25_1(last === '..')) { _$jscoverage['/path.js'].lineData[26]++; up++; } else { _$jscoverage['/path.js'].lineData[27]++; - if (visit532_27_1(up)) { + if (visit533_27_1(up)) { _$jscoverage['/path.js'].lineData[28]++; up--; } else { @@ -535,7 +535,7 @@ function visit529_22_1(result) { } } _$jscoverage['/path.js'].lineData[36]++; - if (visit533_36_1(allowAboveRoot)) { + if (visit534_36_1(allowAboveRoot)) { _$jscoverage['/path.js'].lineData[37]++; for (; up--; up) { _$jscoverage['/path.js'].lineData[38]++; @@ -554,18 +554,18 @@ function visit529_22_1(result) { _$jscoverage['/path.js'].lineData[58]++; var resolvedPath = '', resolvedPathStr, i, args = (arguments), path, absolute = 0; _$jscoverage['/path.js'].lineData[65]++; - for (i = args.length - 1; visit534_65_1(visit535_65_2(i >= 0) && !absolute); i--) { + for (i = args.length - 1; visit535_65_1(visit536_65_2(i >= 0) && !absolute); i--) { _$jscoverage['/path.js'].lineData[66]++; path = args[i]; _$jscoverage['/path.js'].lineData[67]++; - if (visit536_67_1(visit537_67_2(typeof path !== 'string') || !path)) { + if (visit537_67_1(visit538_67_2(typeof path !== 'string') || !path)) { _$jscoverage['/path.js'].lineData[68]++; continue; } _$jscoverage['/path.js'].lineData[70]++; resolvedPath = path + '/' + resolvedPath; _$jscoverage['/path.js'].lineData[71]++; - absolute = visit538_71_1(path.charAt(0) === '/'); + absolute = visit539_71_1(path.charAt(0) === '/'); } _$jscoverage['/path.js'].lineData[74]++; resolvedPathStr = normalizeArray(S.filter(resolvedPath.split('/'), function(p) { @@ -574,12 +574,12 @@ function visit529_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[78]++; - return visit539_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); + return visit540_78_1(((absolute ? '/' : '') + resolvedPathStr) || '.'); }, normalize: function(path) { _$jscoverage['/path.js'].functionData[4]++; _$jscoverage['/path.js'].lineData[92]++; - var absolute = visit540_92_1(path.charAt(0) === '/'), trailingSlash = visit541_93_1(path.slice(-1) === '/'); + var absolute = visit541_92_1(path.charAt(0) === '/'), trailingSlash = visit542_93_1(path.slice(-1) === '/'); _$jscoverage['/path.js'].lineData[95]++; path = normalizeArray(S.filter(path.split('/'), function(p) { _$jscoverage['/path.js'].functionData[5]++; @@ -587,12 +587,12 @@ function visit529_22_1(result) { return !!p; }), !absolute).join('/'); _$jscoverage['/path.js'].lineData[99]++; - if (visit542_99_1(!path && !absolute)) { + if (visit543_99_1(!path && !absolute)) { _$jscoverage['/path.js'].lineData[100]++; path = '.'; } _$jscoverage['/path.js'].lineData[103]++; - if (visit543_103_1(path && trailingSlash)) { + if (visit544_103_1(path && trailingSlash)) { _$jscoverage['/path.js'].lineData[104]++; path += '/'; } @@ -607,7 +607,7 @@ function visit529_22_1(result) { return Path.normalize(S.filter(args, function(p) { _$jscoverage['/path.js'].functionData[7]++; _$jscoverage['/path.js'].lineData[118]++; - return visit544_118_1(p && (visit545_118_2(typeof p === 'string'))); + return visit545_118_1(p && (visit546_118_2(typeof p === 'string'))); }).join('/')); }, relative: function(from, to) { @@ -627,9 +627,9 @@ function visit529_22_1(result) { return !!p; }), commonLength = Math.min(fromParts.length, toParts.length); _$jscoverage['/path.js'].lineData[147]++; - for (sameIndex = 0; visit546_147_1(sameIndex < commonLength); sameIndex++) { + for (sameIndex = 0; visit547_147_1(sameIndex < commonLength); sameIndex++) { _$jscoverage['/path.js'].lineData[148]++; - if (visit547_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { + if (visit548_148_1(fromParts[sameIndex] !== toParts[sameIndex])) { _$jscoverage['/path.js'].lineData[149]++; break; } @@ -637,7 +637,7 @@ function visit529_22_1(result) { _$jscoverage['/path.js'].lineData[153]++; sameIndex2 = sameIndex; _$jscoverage['/path.js'].lineData[155]++; - while (visit548_155_1(sameIndex < fromParts.length)) { + while (visit549_155_1(sameIndex < fromParts.length)) { _$jscoverage['/path.js'].lineData[156]++; path.push('..'); _$jscoverage['/path.js'].lineData[157]++; @@ -653,11 +653,11 @@ function visit529_22_1(result) { basename: function(path, ext) { _$jscoverage['/path.js'].functionData[11]++; _$jscoverage['/path.js'].lineData[174]++; - var result = visit549_174_1(path.match(splitPathRe) || []), basename; + var result = visit550_174_1(path.match(splitPathRe) || []), basename; _$jscoverage['/path.js'].lineData[176]++; - basename = visit550_176_1(result[3] || ''); + basename = visit551_176_1(result[3] || ''); _$jscoverage['/path.js'].lineData[177]++; - if (visit551_177_1(ext && visit552_177_2(basename && visit553_177_3(basename.slice(-1 * ext.length) === ext)))) { + if (visit552_177_1(ext && visit553_177_2(basename && visit554_177_3(basename.slice(-1 * ext.length) === ext)))) { _$jscoverage['/path.js'].lineData[178]++; basename = basename.slice(0, -1 * ext.length); } @@ -667,14 +667,14 @@ function visit529_22_1(result) { dirname: function(path) { _$jscoverage['/path.js'].functionData[12]++; _$jscoverage['/path.js'].lineData[189]++; - var result = visit554_189_1(path.match(splitPathRe) || []), root = visit555_190_1(result[1] || ''), dir = visit556_191_1(result[2] || ''); + var result = visit555_189_1(path.match(splitPathRe) || []), root = visit556_190_1(result[1] || ''), dir = visit557_191_1(result[2] || ''); _$jscoverage['/path.js'].lineData[193]++; - if (visit557_193_1(!root && !dir)) { + if (visit558_193_1(!root && !dir)) { _$jscoverage['/path.js'].lineData[195]++; return '.'; } _$jscoverage['/path.js'].lineData[198]++; - if (visit558_198_1(dir)) { + if (visit559_198_1(dir)) { _$jscoverage['/path.js'].lineData[200]++; dir = dir.substring(0, dir.length - 1); } @@ -684,6 +684,6 @@ function visit529_22_1(result) { extname: function(path) { _$jscoverage['/path.js'].functionData[13]++; _$jscoverage['/path.js'].lineData[212]++; - return visit559_212_1((visit560_212_2(path.match(splitPathRe) || []))[4] || ''); + return visit560_212_1((visit561_212_2(path.match(splitPathRe) || []))[4] || ''); }}; })(KISSY); diff --git a/src/seed/coverage/src/ua.js b/src/seed/coverage/src/ua.js index 1673853348..280dd184d0 100644 --- a/src/seed/coverage/src/ua.js +++ b/src/seed/coverage/src/ua.js @@ -442,190 +442,190 @@ if (! _$jscoverage['/ua.js'].branchData) { _$jscoverage['/ua.js'].branchData['388'][1] = new BranchData(); } _$jscoverage['/ua.js'].branchData['388'][1].init(238, 17, 'S.trim(className)'); -function visit605_388_1(result) { +function visit606_388_1(result) { _$jscoverage['/ua.js'].branchData['388'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['383'][1].init(46, 1, 'v'); -function visit604_383_1(result) { +function visit605_383_1(result) { _$jscoverage['/ua.js'].branchData['383'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['380'][1].init(12088, 15, 'documentElement'); -function visit603_380_1(result) { +function visit604_380_1(result) { _$jscoverage['/ua.js'].branchData['380'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['378'][1].init(307, 26, 'doc && doc.documentElement'); -function visit602_378_1(result) { +function visit603_378_1(result) { _$jscoverage['/ua.js'].branchData['378'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['356'][1].init(50, 61, '(versions = process.versions) && (nodeVersion = versions.node)'); -function visit601_356_1(result) { +function visit602_356_1(result) { _$jscoverage['/ua.js'].branchData['356'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['353'][1].init(11364, 27, 'typeof process === \'object\''); -function visit600_353_1(result) { +function visit601_353_1(result) { _$jscoverage['/ua.js'].branchData['353'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][2].init(10247, 25, 'UA.ie && doc.documentMode'); -function visit599_345_2(result) { +function visit600_345_2(result) { _$jscoverage['/ua.js'].branchData['345'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['345'][1].init(10247, 34, 'UA.ie && doc.documentMode || UA.ie'); -function visit598_345_1(result) { +function visit599_345_1(result) { _$jscoverage['/ua.js'].branchData['345'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['343'][1].init(10184, 15, 'UA.core || core'); -function visit597_343_1(result) { +function visit598_343_1(result) { _$jscoverage['/ua.js'].branchData['343'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['337'][1].init(279, 18, '(/rhino/i).test(ua)'); -function visit596_337_1(result) { +function visit597_337_1(result) { _$jscoverage['/ua.js'].branchData['337'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['335'][1].init(202, 18, '(/linux/i).test(ua)'); -function visit595_335_1(result) { +function visit596_335_1(result) { _$jscoverage['/ua.js'].branchData['335'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['333'][1].init(105, 34, '(/macintosh|mac_powerpc/i).test(ua)'); -function visit594_333_1(result) { +function visit595_333_1(result) { _$jscoverage['/ua.js'].branchData['333'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['331'][1].init(18, 26, '(/windows|win32/i).test(ua)'); -function visit593_331_1(result) { +function visit594_331_1(result) { _$jscoverage['/ua.js'].branchData['331'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['330'][1].init(9787, 3, '!os'); -function visit592_330_1(result) { +function visit593_330_1(result) { _$jscoverage['/ua.js'].branchData['330'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['321'][1].init(484, 42, '(m = ua.match(/Firefox\\/([\\d.]*)/)) && m[1]'); -function visit591_321_1(result) { +function visit592_321_1(result) { _$jscoverage['/ua.js'].branchData['321'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['316'][1].init(97, 24, '/Mobile|Tablet/.test(ua)'); -function visit590_316_1(result) { +function visit591_316_1(result) { _$jscoverage['/ua.js'].branchData['316'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['314'][1].init(125, 36, '(m = ua.match(/rv:([\\d.]*)/)) && m[1]'); -function visit589_314_1(result) { +function visit590_314_1(result) { _$jscoverage['/ua.js'].branchData['314'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['296'][1].init(787, 37, '(m = ua.match(/Opera Mobi[^;]*/)) && m'); -function visit588_296_1(result) { +function visit589_296_1(result) { _$jscoverage['/ua.js'].branchData['296'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['290'][1].init(338, 37, '(m = ua.match(/Opera Mini[^;]*/)) && m'); -function visit587_290_1(result) { +function visit588_290_1(result) { _$jscoverage['/ua.js'].branchData['290'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['285'][1].init(131, 52, '(m = ua.match(/Opera\\/.* Version\\/([\\d.]*)/)) && m[1]'); -function visit586_285_1(result) { +function visit587_285_1(result) { _$jscoverage['/ua.js'].branchData['285'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['282'][1].init(115, 40, '(m = ua.match(/Opera\\/([\\d.]*)/)) && m[1]'); -function visit585_282_1(result) { +function visit586_282_1(result) { _$jscoverage['/ua.js'].branchData['282'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['278'][1].init(129, 41, '(m = ua.match(/Presto\\/([\\d.]*)/)) && m[1]'); -function visit584_278_1(result) { +function visit585_278_1(result) { _$jscoverage['/ua.js'].branchData['278'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['270'][1].init(1741, 44, '(m = ua.match(/PhantomJS\\/([^\\s]*)/)) && m[1]'); -function visit583_270_1(result) { +function visit584_270_1(result) { _$jscoverage['/ua.js'].branchData['270'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['261'][1].init(199, 9, 'm && m[1]'); -function visit582_261_1(result) { +function visit583_261_1(result) { _$jscoverage['/ua.js'].branchData['261'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['257'][1].init(25, 17, '/Mobile/.test(ua)'); -function visit581_257_1(result) { +function visit582_257_1(result) { _$jscoverage['/ua.js'].branchData['257'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['256'][1].init(1137, 20, '/ Android/i.test(ua)'); -function visit580_256_1(result) { +function visit581_256_1(result) { _$jscoverage['/ua.js'].branchData['256'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['253'][1].init(359, 9, 'm && m[0]'); -function visit579_253_1(result) { +function visit580_253_1(result) { _$jscoverage['/ua.js'].branchData['253'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['248'][1].init(146, 9, 'm && m[1]'); -function visit578_248_1(result) { +function visit579_248_1(result) { _$jscoverage['/ua.js'].branchData['248'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['244'][1].init(603, 52, '/ Mobile\\//.test(ua) && ua.match(/iPad|iPod|iPhone/)'); -function visit577_244_1(result) { +function visit578_244_1(result) { _$jscoverage['/ua.js'].branchData['244'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['239'][1].init(428, 42, '(m = ua.match(/\\/([\\d.]*) Safari/)) && m[1]'); -function visit576_239_1(result) { +function visit577_239_1(result) { _$jscoverage['/ua.js'].branchData['239'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['235'][1].init(252, 41, '(m = ua.match(/Chrome\\/([\\d.]*)/)) && m[1]'); -function visit575_235_1(result) { +function visit576_235_1(result) { _$jscoverage['/ua.js'].branchData['235'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['231'][1].init(78, 40, '(m = ua.match(/OPR\\/(\\d+\\.\\d+)/)) && m[1]'); -function visit574_231_1(result) { +function visit575_231_1(result) { _$jscoverage['/ua.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['228'][1].init(40, 46, '(m = ua.match(/AppleWebKit\\/([\\d.]*)/)) && m[1]'); -function visit573_228_1(result) { +function visit574_228_1(result) { _$jscoverage['/ua.js'].branchData['228'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['222'][1].init(745, 40, '!UA.ie && (ieVersion = getIEVersion(ua))'); -function visit572_222_1(result) { +function visit573_222_1(result) { _$jscoverage['/ua.js'].branchData['222'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['214'][1].init(100, 12, 's.length > 0'); -function visit571_214_1(result) { +function visit572_214_1(result) { _$jscoverage['/ua.js'].branchData['214'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['212'][1].init(404, 8, 'v <= end'); -function visit570_212_1(result) { +function visit571_212_1(result) { _$jscoverage['/ua.js'].branchData['212'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['202'][1].init(4366, 12, 's.length > 0'); -function visit569_202_1(result) { +function visit570_202_1(result) { _$jscoverage['/ua.js'].branchData['202'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['195'][1].init(3982, 31, 'div && div.getElementsByTagName'); -function visit568_195_1(result) { +function visit569_195_1(result) { _$jscoverage['/ua.js'].branchData['195'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['53'][1].init(343, 31, 'doc && doc.createElement(\'div\')'); -function visit567_53_1(result) { +function visit568_53_1(result) { _$jscoverage['/ua.js'].branchData['53'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['36'][1].init(82, 12, 'm[1] || m[2]'); -function visit566_36_1(result) { +function visit567_36_1(result) { _$jscoverage['/ua.js'].branchData['36'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['35'][1].init(32, 97, '(m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\\s|:)?([0-9.]+)/)) && (v = (m[1] || m[2]))'); -function visit565_35_1(result) { +function visit566_35_1(result) { _$jscoverage['/ua.js'].branchData['35'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['26'][1].init(157, 42, '(m = ua.match(/Trident\\/([\\d.]*)/)) && m[1]'); -function visit564_26_1(result) { +function visit565_26_1(result) { _$jscoverage['/ua.js'].branchData['26'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['17'][1].init(21, 9, 'c++ === 0'); -function visit563_17_1(result) { +function visit564_17_1(result) { _$jscoverage['/ua.js'].branchData['17'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][2].init(97, 32, 'navigator && navigator.userAgent'); -function visit562_11_2(result) { +function visit563_11_2(result) { _$jscoverage['/ua.js'].branchData['11'][2].ranCondition(result); return result; }_$jscoverage['/ua.js'].branchData['11'][1].init(97, 38, 'navigator && navigator.userAgent || \'\''); -function visit561_11_1(result) { +function visit562_11_1(result) { _$jscoverage['/ua.js'].branchData['11'][1].ranCondition(result); return result; }_$jscoverage['/ua.js'].lineData[5]++; (function(S, undefined) { _$jscoverage['/ua.js'].functionData[0]++; _$jscoverage['/ua.js'].lineData[8]++; - var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit561_11_1(visit562_11_2(navigator && navigator.userAgent) || ''); + var win = S.Env.host, doc = win.document, navigator = win.navigator, ua = visit562_11_1(visit563_11_2(navigator && navigator.userAgent) || ''); _$jscoverage['/ua.js'].lineData[13]++; function numberify(s) { _$jscoverage['/ua.js'].functionData[1]++; @@ -635,7 +635,7 @@ function visit561_11_1(result) { return parseFloat(s.replace(/\./g, function() { _$jscoverage['/ua.js'].functionData[2]++; _$jscoverage['/ua.js'].lineData[17]++; - return (visit563_17_1(c++ === 0)) ? '.' : ''; + return (visit564_17_1(c++ === 0)) ? '.' : ''; })); } _$jscoverage['/ua.js'].lineData[21]++; @@ -646,7 +646,7 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[23]++; UA[core = 'trident'] = 0.1; _$jscoverage['/ua.js'].lineData[26]++; - if (visit564_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { + if (visit565_26_1((m = ua.match(/Trident\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[27]++; UA[core] = numberify(m[1]); } @@ -659,7 +659,7 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[34]++; var m, v; _$jscoverage['/ua.js'].lineData[35]++; - if (visit565_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit566_36_1(m[1] || m[2]))))) { + if (visit566_35_1((m = ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/)) && (v = (visit567_36_1(m[1] || m[2]))))) { _$jscoverage['/ua.js'].lineData[37]++; return numberify(v); } @@ -670,7 +670,7 @@ function visit561_11_1(result) { function getDescriptorFromUserAgent(ua) { _$jscoverage['/ua.js'].functionData[5]++; _$jscoverage['/ua.js'].lineData[43]++; - var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit567_53_1(doc && doc.createElement('div')), s = []; + var EMPTY = '', os, core = EMPTY, shell = EMPTY, m, IE_DETECT_RANGE = [6, 9], ieVersion, v, end, VERSION_PLACEHOLDER = '{{version}}', IE_DETECT_TPL = '', div = visit568_53_1(doc && doc.createElement('div')), s = []; _$jscoverage['/ua.js'].lineData[60]++; var UA = { webkit: undefined, @@ -695,22 +695,22 @@ function visit561_11_1(result) { android: undefined, nodejs: undefined}; _$jscoverage['/ua.js'].lineData[195]++; - if (visit568_195_1(div && div.getElementsByTagName)) { + if (visit569_195_1(div && div.getElementsByTagName)) { _$jscoverage['/ua.js'].lineData[198]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, ''); _$jscoverage['/ua.js'].lineData[199]++; s = div.getElementsByTagName('s'); } _$jscoverage['/ua.js'].lineData[202]++; - if (visit569_202_1(s.length > 0)) { + if (visit570_202_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[204]++; setTridentVersion(ua, UA); _$jscoverage['/ua.js'].lineData[212]++; - for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit570_212_1(v <= end); v++) { + for (v = IE_DETECT_RANGE[0] , end = IE_DETECT_RANGE[1]; visit571_212_1(v <= end); v++) { _$jscoverage['/ua.js'].lineData[213]++; div.innerHTML = IE_DETECT_TPL.replace(VERSION_PLACEHOLDER, v); _$jscoverage['/ua.js'].lineData[214]++; - if (visit571_214_1(s.length > 0)) { + if (visit572_214_1(s.length > 0)) { _$jscoverage['/ua.js'].lineData[215]++; UA[shell = 'ie'] = v; _$jscoverage['/ua.js'].lineData[216]++; @@ -718,40 +718,40 @@ function visit561_11_1(result) { } } _$jscoverage['/ua.js'].lineData[222]++; - if (visit572_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { + if (visit573_222_1(!UA.ie && (ieVersion = getIEVersion(ua)))) { _$jscoverage['/ua.js'].lineData[223]++; UA[shell = 'ie'] = ieVersion; } } else { _$jscoverage['/ua.js'].lineData[228]++; - if (visit573_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { + if (visit574_228_1((m = ua.match(/AppleWebKit\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[229]++; UA[core = 'webkit'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[231]++; - if (visit574_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { + if (visit575_231_1((m = ua.match(/OPR\/(\d+\.\d+)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[232]++; UA[shell = 'opera'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[235]++; - if (visit575_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { + if (visit576_235_1((m = ua.match(/Chrome\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[236]++; UA[shell = 'chrome'] = numberify(m[1]); } else { _$jscoverage['/ua.js'].lineData[239]++; - if (visit576_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { + if (visit577_239_1((m = ua.match(/\/([\d.]*) Safari/)) && m[1])) { _$jscoverage['/ua.js'].lineData[240]++; UA[shell = 'safari'] = numberify(m[1]); } } } _$jscoverage['/ua.js'].lineData[244]++; - if (visit577_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { + if (visit578_244_1(/ Mobile\//.test(ua) && ua.match(/iPad|iPod|iPhone/))) { _$jscoverage['/ua.js'].lineData[245]++; UA.mobile = 'apple'; _$jscoverage['/ua.js'].lineData[247]++; m = ua.match(/OS ([^\s]*)/); _$jscoverage['/ua.js'].lineData[248]++; - if (visit578_248_1(m && m[1])) { + if (visit579_248_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[249]++; UA.ios = numberify(m[1].replace('_', '.')); } @@ -760,22 +760,22 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[252]++; m = ua.match(/iPad|iPod|iPhone/); _$jscoverage['/ua.js'].lineData[253]++; - if (visit579_253_1(m && m[0])) { + if (visit580_253_1(m && m[0])) { _$jscoverage['/ua.js'].lineData[254]++; UA[m[0].toLowerCase()] = UA.ios; } } else { _$jscoverage['/ua.js'].lineData[256]++; - if (visit580_256_1(/ Android/i.test(ua))) { + if (visit581_256_1(/ Android/i.test(ua))) { _$jscoverage['/ua.js'].lineData[257]++; - if (visit581_257_1(/Mobile/.test(ua))) { + if (visit582_257_1(/Mobile/.test(ua))) { _$jscoverage['/ua.js'].lineData[258]++; os = UA.mobile = 'android'; } _$jscoverage['/ua.js'].lineData[260]++; m = ua.match(/Android ([^\s]*);/); _$jscoverage['/ua.js'].lineData[261]++; - if (visit582_261_1(m && m[1])) { + if (visit583_261_1(m && m[1])) { _$jscoverage['/ua.js'].lineData[262]++; UA.android = numberify(m[1]); } @@ -788,31 +788,31 @@ function visit561_11_1(result) { } } _$jscoverage['/ua.js'].lineData[270]++; - if (visit583_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { + if (visit584_270_1((m = ua.match(/PhantomJS\/([^\s]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[271]++; UA.phantomjs = numberify(m[1]); } } else { _$jscoverage['/ua.js'].lineData[278]++; - if (visit584_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { + if (visit585_278_1((m = ua.match(/Presto\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[279]++; UA[core = 'presto'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[282]++; - if (visit585_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { + if (visit586_282_1((m = ua.match(/Opera\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[283]++; UA[shell = 'opera'] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[285]++; - if (visit586_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { + if (visit587_285_1((m = ua.match(/Opera\/.* Version\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[286]++; UA[shell] = numberify(m[1]); } _$jscoverage['/ua.js'].lineData[290]++; - if (visit587_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { + if (visit588_290_1((m = ua.match(/Opera Mini[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[291]++; UA.mobile = m[0].toLowerCase(); } else { _$jscoverage['/ua.js'].lineData[296]++; - if (visit588_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { + if (visit589_296_1((m = ua.match(/Opera Mobi[^;]*/)) && m)) { _$jscoverage['/ua.js'].lineData[297]++; UA.mobile = m[0]; } @@ -831,17 +831,17 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[313]++; UA[core = 'gecko'] = 0.1; _$jscoverage['/ua.js'].lineData[314]++; - if (visit589_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { + if (visit590_314_1((m = ua.match(/rv:([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[315]++; UA[core] = numberify(m[1]); _$jscoverage['/ua.js'].lineData[316]++; - if (visit590_316_1(/Mobile|Tablet/.test(ua))) { + if (visit591_316_1(/Mobile|Tablet/.test(ua))) { _$jscoverage['/ua.js'].lineData[317]++; UA.mobile = 'firefox'; } } _$jscoverage['/ua.js'].lineData[321]++; - if (visit591_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { + if (visit592_321_1((m = ua.match(/Firefox\/([\d.]*)/)) && m[1])) { _$jscoverage['/ua.js'].lineData[322]++; UA[shell = 'firefox'] = numberify(m[1]); } @@ -851,24 +851,24 @@ function visit561_11_1(result) { } } _$jscoverage['/ua.js'].lineData[330]++; - if (visit592_330_1(!os)) { + if (visit593_330_1(!os)) { _$jscoverage['/ua.js'].lineData[331]++; - if (visit593_331_1((/windows|win32/i).test(ua))) { + if (visit594_331_1((/windows|win32/i).test(ua))) { _$jscoverage['/ua.js'].lineData[332]++; os = 'windows'; } else { _$jscoverage['/ua.js'].lineData[333]++; - if (visit594_333_1((/macintosh|mac_powerpc/i).test(ua))) { + if (visit595_333_1((/macintosh|mac_powerpc/i).test(ua))) { _$jscoverage['/ua.js'].lineData[334]++; os = 'macintosh'; } else { _$jscoverage['/ua.js'].lineData[335]++; - if (visit595_335_1((/linux/i).test(ua))) { + if (visit596_335_1((/linux/i).test(ua))) { _$jscoverage['/ua.js'].lineData[336]++; os = 'linux'; } else { _$jscoverage['/ua.js'].lineData[337]++; - if (visit596_337_1((/rhino/i).test(ua))) { + if (visit597_337_1((/rhino/i).test(ua))) { _$jscoverage['/ua.js'].lineData[338]++; os = 'rhino'; } @@ -879,22 +879,22 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[342]++; UA.os = os; _$jscoverage['/ua.js'].lineData[343]++; - UA.core = visit597_343_1(UA.core || core); + UA.core = visit598_343_1(UA.core || core); _$jscoverage['/ua.js'].lineData[344]++; UA.shell = shell; _$jscoverage['/ua.js'].lineData[345]++; - UA.ieMode = visit598_345_1(visit599_345_2(UA.ie && doc.documentMode) || UA.ie); + UA.ieMode = visit599_345_1(visit600_345_2(UA.ie && doc.documentMode) || UA.ie); _$jscoverage['/ua.js'].lineData[347]++; return UA; } _$jscoverage['/ua.js'].lineData[350]++; var UA = KISSY.UA = getDescriptorFromUserAgent(ua); _$jscoverage['/ua.js'].lineData[353]++; - if (visit600_353_1(typeof process === 'object')) { + if (visit601_353_1(typeof process === 'object')) { _$jscoverage['/ua.js'].lineData[354]++; var versions, nodeVersion; _$jscoverage['/ua.js'].lineData[356]++; - if (visit601_356_1((versions = process.versions) && (nodeVersion = versions.node))) { + if (visit602_356_1((versions = process.versions) && (nodeVersion = versions.node))) { _$jscoverage['/ua.js'].lineData[357]++; UA.os = process.platform; _$jscoverage['/ua.js'].lineData[358]++; @@ -904,16 +904,16 @@ function visit561_11_1(result) { _$jscoverage['/ua.js'].lineData[363]++; UA.getDescriptorFromUserAgent = getDescriptorFromUserAgent; _$jscoverage['/ua.js'].lineData[365]++; - var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit602_378_1(doc && doc.documentElement), className = ''; + var browsers = ['webkit', 'trident', 'gecko', 'presto', 'chrome', 'safari', 'firefox', 'ie', 'opera'], documentElement = visit603_378_1(doc && doc.documentElement), className = ''; _$jscoverage['/ua.js'].lineData[380]++; - if (visit603_380_1(documentElement)) { + if (visit604_380_1(documentElement)) { _$jscoverage['/ua.js'].lineData[381]++; S.each(browsers, function(key) { _$jscoverage['/ua.js'].functionData[6]++; _$jscoverage['/ua.js'].lineData[382]++; var v = UA[key]; _$jscoverage['/ua.js'].lineData[383]++; - if (visit604_383_1(v)) { + if (visit605_383_1(v)) { _$jscoverage['/ua.js'].lineData[384]++; className += ' ks-' + key + (parseInt(v) + ''); _$jscoverage['/ua.js'].lineData[385]++; @@ -921,7 +921,7 @@ function visit561_11_1(result) { } }); _$jscoverage['/ua.js'].lineData[388]++; - if (visit605_388_1(S.trim(className))) { + if (visit606_388_1(S.trim(className))) { _$jscoverage['/ua.js'].lineData[389]++; documentElement.className = S.trim(documentElement.className + className); } diff --git a/src/seed/coverage/src/uri.js b/src/seed/coverage/src/uri.js index 97255d0415..effb83fb4a 100644 --- a/src/seed/coverage/src/uri.js +++ b/src/seed/coverage/src/uri.js @@ -538,147 +538,147 @@ if (! _$jscoverage['/uri.js'].branchData) { _$jscoverage['/uri.js'].branchData['659'][1] = new BranchData(); } _$jscoverage['/uri.js'].branchData['659'][1].init(42, 30, 'url.match(URI_SPLIT_REG) || []'); -function visit641_659_1(result) { +function visit642_659_1(result) { _$jscoverage['/uri.js'].branchData['659'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['658'][1].init(15, 9, 'url || \'\''); -function visit640_658_1(result) { +function visit641_658_1(result) { _$jscoverage['/uri.js'].branchData['658'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['634'][1].init(21, 36, 'hostname && !S.startsWith(path, \'/\')'); -function visit639_634_1(result) { +function visit640_634_1(result) { _$jscoverage['/uri.js'].branchData['634'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['589'][1].init(66, 102, 'equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit638_589_1(result) { +function visit639_589_1(result) { _$jscoverage['/uri.js'].branchData['589'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['588'][1].init(97, 169, 'equalsIgnoreCase(self.hostname, other.hostname) && equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port)'); -function visit637_588_1(result) { +function visit638_588_1(result) { _$jscoverage['/uri.js'].branchData['588'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['573'][1].init(46, 27, 'S.startsWith(fragment, \'#\')'); -function visit636_573_1(result) { +function visit637_573_1(result) { _$jscoverage['/uri.js'].branchData['573'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['541'][1].init(21, 24, 'S.startsWith(query, \'?\')'); -function visit635_541_1(result) { +function visit636_541_1(result) { _$jscoverage['/uri.js'].branchData['541'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['540'][1].init(17, 25, 'typeof query === \'string\''); -function visit634_540_1(result) { +function visit635_540_1(result) { _$jscoverage['/uri.js'].branchData['540'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['435'][1].init(1637, 26, 'override || relativeUri[o]'); -function visit633_435_1(result) { +function visit634_435_1(result) { _$jscoverage['/uri.js'].branchData['435'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['431'][1].init(25, 40, 'override || relativeUri.query.toString()'); -function visit632_431_1(result) { +function visit633_431_1(result) { _$jscoverage['/uri.js'].branchData['431'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['430'][1].init(1398, 13, 'o === \'query\''); -function visit631_430_1(result) { +function visit632_430_1(result) { _$jscoverage['/uri.js'].branchData['430'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['421'][1].init(195, 21, 'lastSlashIndex !== -1'); -function visit630_421_1(result) { +function visit631_421_1(result) { _$jscoverage['/uri.js'].branchData['421'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['418'][1].init(242, 11, 'target.path'); -function visit629_418_1(result) { +function visit630_418_1(result) { _$jscoverage['/uri.js'].branchData['418'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['415'][1].init(37, 31, 'target.hostname && !target.path'); -function visit628_415_1(result) { +function visit629_415_1(result) { _$jscoverage['/uri.js'].branchData['415'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['414'][1].init(154, 24, '!S.startsWith(path, \'/\')'); -function visit627_414_1(result) { +function visit628_414_1(result) { _$jscoverage['/uri.js'].branchData['414'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['411'][1].init(82, 4, 'path'); -function visit626_411_1(result) { +function visit627_411_1(result) { _$jscoverage['/uri.js'].branchData['411'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['407'][1].init(107, 8, 'override'); -function visit625_407_1(result) { +function visit626_407_1(result) { _$jscoverage['/uri.js'].branchData['407'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['405'][1].init(21, 12, 'o === \'path\''); -function visit624_405_1(result) { +function visit625_405_1(result) { _$jscoverage['/uri.js'].branchData['405'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['394'][1].init(18, 31, 'typeof relativeUri === \'string\''); -function visit623_394_1(result) { +function visit624_394_1(result) { _$jscoverage['/uri.js'].branchData['394'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['340'][1].init(42, 15, 'key === \'query\''); -function visit622_340_1(result) { +function visit623_340_1(result) { _$jscoverage['/uri.js'].branchData['340'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['339'][1].init(17, 7, 'v || \'\''); -function visit621_339_1(result) { +function visit622_339_1(result) { _$jscoverage['/uri.js'].branchData['339'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['292'][1].init(14, 22, 'uriStr instanceof Uri'); -function visit620_292_1(result) { +function visit621_292_1(result) { _$jscoverage['/uri.js'].branchData['292'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['268'][1].init(16, 41, 'str1.toLowerCase() === str2.toLowerCase()'); -function visit619_268_1(result) { +function visit620_268_1(result) { _$jscoverage['/uri.js'].branchData['268'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['264'][1].init(16, 16, 'str.length === 1'); -function visit618_264_1(result) { +function visit619_264_1(result) { _$jscoverage['/uri.js'].branchData['264'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['241'][1].init(21, 20, 'key instanceof Query'); -function visit617_241_1(result) { +function visit618_241_1(result) { _$jscoverage['/uri.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['234'][1].init(146, 26, 'currentValue === undefined'); -function visit616_234_1(result) { +function visit617_234_1(result) { _$jscoverage['/uri.js'].branchData['234'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['230'][1].init(103, 23, 'typeof key === \'string\''); -function visit615_230_1(result) { +function visit616_230_1(result) { _$jscoverage['/uri.js'].branchData['230'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['211'][1].init(76, 3, 'key'); -function visit614_211_1(result) { +function visit615_211_1(result) { _$jscoverage['/uri.js'].branchData['211'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['193'][1].init(21, 20, 'key instanceof Query'); -function visit613_193_1(result) { +function visit614_193_1(result) { _$jscoverage['/uri.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['190'][1].init(127, 23, 'typeof key === \'string\''); -function visit612_190_1(result) { +function visit613_190_1(result) { _$jscoverage['/uri.js'].branchData['190'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['163'][1].init(127, 3, 'key'); -function visit611_163_1(result) { +function visit612_163_1(result) { _$jscoverage['/uri.js'].branchData['163'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['148'][1].init(127, 3, 'key'); -function visit610_148_1(result) { +function visit611_148_1(result) { _$jscoverage['/uri.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['130'][1].init(22, 23, 'S.isArray(_queryMap[k])'); -function visit609_130_1(result) { +function visit610_130_1(result) { _$jscoverage['/uri.js'].branchData['130'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['112'][1].init(56, 11, 'query || \'\''); -function visit608_112_1(result) { +function visit609_112_1(result) { _$jscoverage['/uri.js'].branchData['112'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['90'][1].init(23, 11, 'query || \'\''); -function visit607_90_1(result) { +function visit608_90_1(result) { _$jscoverage['/uri.js'].branchData['90'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].branchData['79'][1].init(13, 15, '!self._queryMap'); -function visit606_79_1(result) { +function visit607_79_1(result) { _$jscoverage['/uri.js'].branchData['79'][1].ranCondition(result); return result; }_$jscoverage['/uri.js'].lineData[6]++; @@ -699,7 +699,7 @@ function visit606_79_1(result) { function parseQuery(self) { _$jscoverage['/uri.js'].functionData[1]++; _$jscoverage['/uri.js'].lineData[79]++; - if (visit606_79_1(!self._queryMap)) { + if (visit607_79_1(!self._queryMap)) { _$jscoverage['/uri.js'].lineData[80]++; self._queryMap = S.unparam(self._query); } @@ -708,7 +708,7 @@ function visit606_79_1(result) { function Query(query) { _$jscoverage['/uri.js'].functionData[2]++; _$jscoverage['/uri.js'].lineData[90]++; - this._query = visit607_90_1(query || ''); + this._query = visit608_90_1(query || ''); } _$jscoverage['/uri.js'].lineData[93]++; Query.prototype = { @@ -723,7 +723,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[111]++; var self = this; _$jscoverage['/uri.js'].lineData[112]++; - self._query = visit608_112_1(query || ''); + self._query = visit609_112_1(query || ''); _$jscoverage['/uri.js'].lineData[113]++; self._queryMap = null; _$jscoverage['/uri.js'].lineData[114]++; @@ -740,7 +740,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[128]++; for (k in _queryMap) { _$jscoverage['/uri.js'].lineData[130]++; - if (visit609_130_1(S.isArray(_queryMap[k]))) { + if (visit610_130_1(S.isArray(_queryMap[k]))) { _$jscoverage['/uri.js'].lineData[131]++; count += _queryMap[k].length; } else { @@ -760,7 +760,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[147]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[148]++; - if (visit610_148_1(key)) { + if (visit611_148_1(key)) { _$jscoverage['/uri.js'].lineData[149]++; return key in _queryMap; } else { @@ -777,7 +777,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[162]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[163]++; - if (visit611_163_1(key)) { + if (visit612_163_1(key)) { _$jscoverage['/uri.js'].lineData[164]++; return _queryMap[key]; } else { @@ -803,12 +803,12 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[189]++; _queryMap = self._queryMap; _$jscoverage['/uri.js'].lineData[190]++; - if (visit612_190_1(typeof key === 'string')) { + if (visit613_190_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[191]++; self._queryMap[key] = value; } else { _$jscoverage['/uri.js'].lineData[193]++; - if (visit613_193_1(key instanceof Query)) { + if (visit614_193_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[194]++; key = key.get(); } @@ -829,7 +829,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[210]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[211]++; - if (visit614_211_1(key)) { + if (visit615_211_1(key)) { _$jscoverage['/uri.js'].lineData[212]++; delete self._queryMap[key]; } else { @@ -844,7 +844,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[227]++; var self = this, _queryMap, currentValue; _$jscoverage['/uri.js'].lineData[230]++; - if (visit615_230_1(typeof key === 'string')) { + if (visit616_230_1(typeof key === 'string')) { _$jscoverage['/uri.js'].lineData[231]++; parseQuery(self); _$jscoverage['/uri.js'].lineData[232]++; @@ -852,7 +852,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[233]++; currentValue = _queryMap[key]; _$jscoverage['/uri.js'].lineData[234]++; - if (visit616_234_1(currentValue === undefined)) { + if (visit617_234_1(currentValue === undefined)) { _$jscoverage['/uri.js'].lineData[235]++; currentValue = value; } else { @@ -863,7 +863,7 @@ function visit606_79_1(result) { _queryMap[key] = currentValue; } else { _$jscoverage['/uri.js'].lineData[241]++; - if (visit617_241_1(key instanceof Query)) { + if (visit618_241_1(key instanceof Query)) { _$jscoverage['/uri.js'].lineData[242]++; key = key.get(); } @@ -889,13 +889,13 @@ function visit606_79_1(result) { function padding2(str) { _$jscoverage['/uri.js'].functionData[14]++; _$jscoverage['/uri.js'].lineData[264]++; - return visit618_264_1(str.length === 1) ? '0' + str : str; + return visit619_264_1(str.length === 1) ? '0' + str : str; } _$jscoverage['/uri.js'].lineData[267]++; function equalsIgnoreCase(str1, str2) { _$jscoverage['/uri.js'].functionData[15]++; _$jscoverage['/uri.js'].lineData[268]++; - return visit619_268_1(str1.toLowerCase() === str2.toLowerCase()); + return visit620_268_1(str1.toLowerCase() === str2.toLowerCase()); } _$jscoverage['/uri.js'].lineData[274]++; function encodeSpecialChars(str, specialCharsReg) { @@ -911,7 +911,7 @@ function visit606_79_1(result) { function Uri(uriStr) { _$jscoverage['/uri.js'].functionData[18]++; _$jscoverage['/uri.js'].lineData[292]++; - if (visit620_292_1(uriStr instanceof Uri)) { + if (visit621_292_1(uriStr instanceof Uri)) { _$jscoverage['/uri.js'].lineData[293]++; return uriStr.clone(); } @@ -932,9 +932,9 @@ function visit606_79_1(result) { S.each(components, function(v, key) { _$jscoverage['/uri.js'].functionData[19]++; _$jscoverage['/uri.js'].lineData[339]++; - v = visit621_339_1(v || ''); + v = visit622_339_1(v || ''); _$jscoverage['/uri.js'].lineData[340]++; - if (visit622_340_1(key === 'query')) { + if (visit623_340_1(key === 'query')) { _$jscoverage['/uri.js'].lineData[342]++; self.query = new Query(v); } else { @@ -974,7 +974,7 @@ function visit606_79_1(result) { resolve: function(relativeUri) { _$jscoverage['/uri.js'].functionData[22]++; _$jscoverage['/uri.js'].lineData[394]++; - if (visit623_394_1(typeof relativeUri === 'string')) { + if (visit624_394_1(typeof relativeUri === 'string')) { _$jscoverage['/uri.js'].lineData[395]++; relativeUri = new Uri(relativeUri); } @@ -984,31 +984,31 @@ function visit606_79_1(result) { S.each(order, function(o) { _$jscoverage['/uri.js'].functionData[23]++; _$jscoverage['/uri.js'].lineData[405]++; - if (visit624_405_1(o === 'path')) { + if (visit625_405_1(o === 'path')) { _$jscoverage['/uri.js'].lineData[407]++; - if (visit625_407_1(override)) { + if (visit626_407_1(override)) { _$jscoverage['/uri.js'].lineData[408]++; target[o] = relativeUri[o]; } else { _$jscoverage['/uri.js'].lineData[410]++; var path = relativeUri.path; _$jscoverage['/uri.js'].lineData[411]++; - if (visit626_411_1(path)) { + if (visit627_411_1(path)) { _$jscoverage['/uri.js'].lineData[413]++; override = 1; _$jscoverage['/uri.js'].lineData[414]++; - if (visit627_414_1(!S.startsWith(path, '/'))) { + if (visit628_414_1(!S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[415]++; - if (visit628_415_1(target.hostname && !target.path)) { + if (visit629_415_1(target.hostname && !target.path)) { _$jscoverage['/uri.js'].lineData[417]++; path = '/' + path; } else { _$jscoverage['/uri.js'].lineData[418]++; - if (visit629_418_1(target.path)) { + if (visit630_418_1(target.path)) { _$jscoverage['/uri.js'].lineData[420]++; lastSlashIndex = target.path.lastIndexOf('/'); _$jscoverage['/uri.js'].lineData[421]++; - if (visit630_421_1(lastSlashIndex !== -1)) { + if (visit631_421_1(lastSlashIndex !== -1)) { _$jscoverage['/uri.js'].lineData[422]++; path = target.path.slice(0, lastSlashIndex + 1) + path; } @@ -1021,9 +1021,9 @@ function visit606_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[430]++; - if (visit631_430_1(o === 'query')) { + if (visit632_430_1(o === 'query')) { _$jscoverage['/uri.js'].lineData[431]++; - if (visit632_431_1(override || relativeUri.query.toString())) { + if (visit633_431_1(override || relativeUri.query.toString())) { _$jscoverage['/uri.js'].lineData[432]++; target.query = relativeUri.query.clone(); _$jscoverage['/uri.js'].lineData[433]++; @@ -1031,7 +1031,7 @@ function visit606_79_1(result) { } } else { _$jscoverage['/uri.js'].lineData[435]++; - if (visit633_435_1(override || relativeUri[o])) { + if (visit634_435_1(override || relativeUri[o])) { _$jscoverage['/uri.js'].lineData[436]++; target[o] = relativeUri[o]; _$jscoverage['/uri.js'].lineData[437]++; @@ -1106,9 +1106,9 @@ function visit606_79_1(result) { 'setQuery': function(query) { _$jscoverage['/uri.js'].functionData[34]++; _$jscoverage['/uri.js'].lineData[540]++; - if (visit634_540_1(typeof query === 'string')) { + if (visit635_540_1(typeof query === 'string')) { _$jscoverage['/uri.js'].lineData[541]++; - if (visit635_541_1(S.startsWith(query, '?'))) { + if (visit636_541_1(S.startsWith(query, '?'))) { _$jscoverage['/uri.js'].lineData[542]++; query = query.slice(1); } @@ -1135,7 +1135,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[572]++; var self = this; _$jscoverage['/uri.js'].lineData[573]++; - if (visit636_573_1(S.startsWith(fragment, '#'))) { + if (visit637_573_1(S.startsWith(fragment, '#'))) { _$jscoverage['/uri.js'].lineData[574]++; fragment = fragment.slice(1); } @@ -1149,7 +1149,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[586]++; var self = this; _$jscoverage['/uri.js'].lineData[588]++; - return visit637_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit638_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); + return visit638_588_1(equalsIgnoreCase(self.hostname, other.hostname) && visit639_589_1(equalsIgnoreCase(self.scheme, other.scheme) && equalsIgnoreCase(self.port, other.port))); }, toString: function(serializeArray) { _$jscoverage['/uri.js'].functionData[39]++; @@ -1186,7 +1186,7 @@ function visit606_79_1(result) { _$jscoverage['/uri.js'].lineData[633]++; if ((path = self.path)) { _$jscoverage['/uri.js'].lineData[634]++; - if (visit639_634_1(hostname && !S.startsWith(path, '/'))) { + if (visit640_634_1(hostname && !S.startsWith(path, '/'))) { _$jscoverage['/uri.js'].lineData[635]++; path = '/' + path; } @@ -1218,9 +1218,9 @@ function visit606_79_1(result) { Uri.getComponents = function(url) { _$jscoverage['/uri.js'].functionData[40]++; _$jscoverage['/uri.js'].lineData[658]++; - url = visit640_658_1(url || ''); + url = visit641_658_1(url || ''); _$jscoverage['/uri.js'].lineData[659]++; - var m = visit641_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; + var m = visit642_659_1(url.match(URI_SPLIT_REG) || []), ret = {}; _$jscoverage['/uri.js'].lineData[661]++; S.each(REG_INFO, function(index, key) { _$jscoverage['/uri.js'].functionData[41]++; diff --git a/src/seed/coverage/src/web.js b/src/seed/coverage/src/web.js index 17b2de5693..fc43e9e9f3 100644 --- a/src/seed/coverage/src/web.js +++ b/src/seed/coverage/src/web.js @@ -401,123 +401,123 @@ if (! _$jscoverage['/web.js'].branchData) { _$jscoverage['/web.js'].branchData['241'][1] = new BranchData(); } _$jscoverage['/web.js'].branchData['241'][1].init(7665, 5, 'UA.ie'); -function visit671_241_1(result) { +function visit672_241_1(result) { _$jscoverage['/web.js'].branchData['241'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][3].init(7384, 24, 'location.search || EMPTY'); -function visit670_231_3(result) { +function visit671_231_3(result) { _$jscoverage['/web.js'].branchData['231'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][2].init(7384, 52, '(location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit669_231_2(result) { +function visit670_231_2(result) { _$jscoverage['/web.js'].branchData['231'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['231'][1].init(7371, 65, 'location && (location.search || EMPTY).indexOf(\'ks-debug\') !== -1'); -function visit668_231_1(result) { +function visit669_231_1(result) { _$jscoverage['/web.js'].branchData['231'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['215'][1].init(907, 20, 'doScroll && notframe'); -function visit667_215_1(result) { +function visit668_215_1(result) { _$jscoverage['/web.js'].branchData['215'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['209'][1].init(29, 25, 'win.frameElement === null'); -function visit666_209_1(result) { +function visit667_209_1(result) { _$jscoverage['/web.js'].branchData['209'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['206'][1].init(40, 27, 'docElem && docElem.doScroll'); -function visit665_206_1(result) { +function visit666_206_1(result) { _$jscoverage['/web.js'].branchData['206'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['193'][1].init(21, 27, 'doc.readyState === COMPLETE'); -function visit664_193_1(result) { +function visit665_193_1(result) { _$jscoverage['/web.js'].branchData['193'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['182'][1].init(361, 18, 'standardEventModel'); -function visit663_182_1(result) { +function visit664_182_1(result) { _$jscoverage['/web.js'].branchData['182'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][2].init(125, 27, 'doc.readyState === COMPLETE'); -function visit662_173_2(result) { +function visit663_173_2(result) { _$jscoverage['/web.js'].branchData['173'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['173'][1].init(117, 35, '!doc || doc.readyState === COMPLETE'); -function visit661_173_1(result) { +function visit662_173_1(result) { _$jscoverage['/web.js'].branchData['173'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['160'][1].init(23, 12, 'e.stack || e'); -function visit660_160_1(result) { +function visit661_160_1(result) { _$jscoverage['/web.js'].branchData['160'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['156'][1].init(223, 20, 'i < callbacks.length'); -function visit659_156_1(result) { +function visit660_156_1(result) { _$jscoverage['/web.js'].branchData['156'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['152'][1].init(85, 17, 'doc && !UA.nodejs'); -function visit658_152_1(result) { +function visit659_152_1(result) { _$jscoverage['/web.js'].branchData['152'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['148'][1].init(13, 8, 'domReady'); -function visit657_148_1(result) { +function visit658_148_1(result) { _$jscoverage['/web.js'].branchData['148'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['139'][1].init(205, 4, 'node'); -function visit656_139_1(result) { +function visit657_139_1(result) { _$jscoverage['/web.js'].branchData['139'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['134'][1].init(21, 27, '++retryCount > POLL_RETIRES'); -function visit655_134_1(result) { +function visit656_134_1(result) { _$jscoverage['/web.js'].branchData['134'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['113'][1].init(27, 12, 'e.stack || e'); -function visit654_113_1(result) { +function visit655_113_1(result) { _$jscoverage['/web.js'].branchData['113'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['109'][1].init(17, 8, 'domReady'); -function visit653_109_1(result) { +function visit654_109_1(result) { _$jscoverage['/web.js'].branchData['109'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['92'][1].init(269, 14, 'win.execScript'); -function visit652_92_1(result) { +function visit653_92_1(result) { _$jscoverage['/web.js'].branchData['92'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['88'][1].init(17, 36, 'data && RE_NOT_WHITESPACE.test(data)'); -function visit651_88_1(result) { +function visit652_88_1(result) { _$jscoverage['/web.js'].branchData['88'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][2].init(711, 70, '!xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit650_77_2(result) { +function visit651_77_2(result) { _$jscoverage['/web.js'].branchData['77'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['77'][1].init(703, 78, '!xml || !xml.documentElement || xml.getElementsByTagName(\'parsererror\').length'); -function visit649_77_1(result) { +function visit650_77_1(result) { _$jscoverage['/web.js'].branchData['77'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['64'][1].init(49, 13, 'win.DOMParser'); -function visit648_64_1(result) { +function visit649_64_1(result) { _$jscoverage['/web.js'].branchData['64'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['58'][1].init(46, 20, 'data.documentElement'); -function visit647_58_1(result) { +function visit648_58_1(result) { _$jscoverage['/web.js'].branchData['58'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][3].init(106, 17, 'obj == obj.window'); -function visit646_48_3(result) { +function visit647_48_3(result) { _$jscoverage['/web.js'].branchData['48'][3].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][2].init(91, 11, 'obj != null'); -function visit645_48_2(result) { +function visit646_48_2(result) { _$jscoverage['/web.js'].branchData['48'][2].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['48'][1].init(91, 32, 'obj != null && obj == obj.window'); -function visit644_48_1(result) { +function visit645_48_1(result) { _$jscoverage['/web.js'].branchData['48'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['24'][1].init(464, 27, 'doc && doc.addEventListener'); -function visit643_24_1(result) { +function visit644_24_1(result) { _$jscoverage['/web.js'].branchData['24'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].branchData['12'][1].init(87, 26, 'doc && doc.documentElement'); -function visit642_12_1(result) { +function visit643_12_1(result) { _$jscoverage['/web.js'].branchData['12'][1].ranCondition(result); return result; }_$jscoverage['/web.js'].lineData[6]++; @@ -526,7 +526,7 @@ function visit642_12_1(result) { _$jscoverage['/web.js'].lineData[7]++; var logger = S.getLogger('s/web'); _$jscoverage['/web.js'].lineData[8]++; - var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit642_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit643_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { + var win = S.Env.host, UA = S.UA, doc = win.document, docElem = visit643_12_1(doc && doc.documentElement), location = win.location, EMPTY = '', domReady = 0, callbacks = [], POLL_RETIRES = 500, POLL_INTERVAL = 40, RE_ID_STR = /^#?([\w-]+)$/, RE_NOT_WHITESPACE = /\S/, standardEventModel = !!(visit644_24_1(doc && doc.addEventListener)), DOM_READY_EVENT = 'DOMContentLoaded', READY_STATE_CHANGE_EVENT = 'readystatechange', LOAD_EVENT = 'load', COMPLETE = 'complete', addEventListener = standardEventModel ? function(el, type, fn) { _$jscoverage['/web.js'].functionData[1]++; _$jscoverage['/web.js'].lineData[30]++; el.addEventListener(type, fn, false); @@ -548,12 +548,12 @@ function visit642_12_1(result) { isWindow: function(obj) { _$jscoverage['/web.js'].functionData[5]++; _$jscoverage['/web.js'].lineData[48]++; - return visit644_48_1(visit645_48_2(obj != null) && visit646_48_3(obj == obj.window)); + return visit645_48_1(visit646_48_2(obj != null) && visit647_48_3(obj == obj.window)); }, parseXML: function(data) { _$jscoverage['/web.js'].functionData[6]++; _$jscoverage['/web.js'].lineData[58]++; - if (visit647_58_1(data.documentElement)) { + if (visit648_58_1(data.documentElement)) { _$jscoverage['/web.js'].lineData[59]++; return data; } @@ -562,7 +562,7 @@ function visit642_12_1(result) { _$jscoverage['/web.js'].lineData[62]++; try { _$jscoverage['/web.js'].lineData[64]++; - if (visit648_64_1(win.DOMParser)) { + if (visit649_64_1(win.DOMParser)) { _$jscoverage['/web.js'].lineData[65]++; xml = new DOMParser().parseFromString(data, 'text/xml'); } else { @@ -582,7 +582,7 @@ function visit642_12_1(result) { xml = undefined; } _$jscoverage['/web.js'].lineData[77]++; - if (visit649_77_1(!xml || visit650_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { + if (visit650_77_1(!xml || visit651_77_2(!xml.documentElement || xml.getElementsByTagName('parsererror').length))) { _$jscoverage['/web.js'].lineData[78]++; S.error('Invalid XML: ' + data); } @@ -592,9 +592,9 @@ function visit642_12_1(result) { globalEval: function(data) { _$jscoverage['/web.js'].functionData[7]++; _$jscoverage['/web.js'].lineData[88]++; - if (visit651_88_1(data && RE_NOT_WHITESPACE.test(data))) { + if (visit652_88_1(data && RE_NOT_WHITESPACE.test(data))) { _$jscoverage['/web.js'].lineData[92]++; - if (visit652_92_1(win.execScript)) { + if (visit653_92_1(win.execScript)) { _$jscoverage['/web.js'].lineData[93]++; win.execScript(data); } else { @@ -610,14 +610,14 @@ function visit642_12_1(result) { ready: function(fn) { _$jscoverage['/web.js'].functionData[9]++; _$jscoverage['/web.js'].lineData[109]++; - if (visit653_109_1(domReady)) { + if (visit654_109_1(domReady)) { _$jscoverage['/web.js'].lineData[110]++; try { _$jscoverage['/web.js'].lineData[111]++; fn(S); } catch (e) { _$jscoverage['/web.js'].lineData[113]++; - S.log(visit654_113_1(e.stack || e), 'error'); + S.log(visit655_113_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[114]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[10]++; @@ -642,7 +642,7 @@ function visit642_12_1(result) { var timer = S.later(function() { _$jscoverage['/web.js'].functionData[12]++; _$jscoverage['/web.js'].lineData[134]++; - if (visit655_134_1(++retryCount > POLL_RETIRES)) { + if (visit656_134_1(++retryCount > POLL_RETIRES)) { _$jscoverage['/web.js'].lineData[135]++; timer.cancel(); _$jscoverage['/web.js'].lineData[136]++; @@ -651,7 +651,7 @@ function visit642_12_1(result) { _$jscoverage['/web.js'].lineData[138]++; var node = doc.getElementById(id); _$jscoverage['/web.js'].lineData[139]++; - if (visit656_139_1(node)) { + if (visit657_139_1(node)) { _$jscoverage['/web.js'].lineData[140]++; fn(node); _$jscoverage['/web.js'].lineData[141]++; @@ -663,26 +663,26 @@ function visit642_12_1(result) { function fireReady() { _$jscoverage['/web.js'].functionData[13]++; _$jscoverage['/web.js'].lineData[148]++; - if (visit657_148_1(domReady)) { + if (visit658_148_1(domReady)) { _$jscoverage['/web.js'].lineData[149]++; return; } _$jscoverage['/web.js'].lineData[152]++; - if (visit658_152_1(doc && !UA.nodejs)) { + if (visit659_152_1(doc && !UA.nodejs)) { _$jscoverage['/web.js'].lineData[153]++; removeEventListener(win, LOAD_EVENT, fireReady); } _$jscoverage['/web.js'].lineData[155]++; domReady = 1; _$jscoverage['/web.js'].lineData[156]++; - for (var i = 0; visit659_156_1(i < callbacks.length); i++) { + for (var i = 0; visit660_156_1(i < callbacks.length); i++) { _$jscoverage['/web.js'].lineData[157]++; try { _$jscoverage['/web.js'].lineData[158]++; callbacks[i](S); } catch (e) { _$jscoverage['/web.js'].lineData[160]++; - S.log(visit660_160_1(e.stack || e), 'error'); + S.log(visit661_160_1(e.stack || e), 'error'); _$jscoverage['/web.js'].lineData[162]++; setTimeout(function() { _$jscoverage['/web.js'].functionData[14]++; @@ -696,7 +696,7 @@ function visit642_12_1(result) { function bindReady() { _$jscoverage['/web.js'].functionData[15]++; _$jscoverage['/web.js'].lineData[173]++; - if (visit661_173_1(!doc || visit662_173_2(doc.readyState === COMPLETE))) { + if (visit662_173_1(!doc || visit663_173_2(doc.readyState === COMPLETE))) { _$jscoverage['/web.js'].lineData[174]++; fireReady(); _$jscoverage['/web.js'].lineData[175]++; @@ -705,7 +705,7 @@ function visit642_12_1(result) { _$jscoverage['/web.js'].lineData[179]++; addEventListener(win, LOAD_EVENT, fireReady); _$jscoverage['/web.js'].lineData[182]++; - if (visit663_182_1(standardEventModel)) { + if (visit664_182_1(standardEventModel)) { _$jscoverage['/web.js'].lineData[183]++; var domReady = function() { _$jscoverage['/web.js'].functionData[16]++; @@ -721,7 +721,7 @@ function visit642_12_1(result) { var stateChange = function() { _$jscoverage['/web.js'].functionData[17]++; _$jscoverage['/web.js'].lineData[193]++; - if (visit664_193_1(doc.readyState === COMPLETE)) { + if (visit665_193_1(doc.readyState === COMPLETE)) { _$jscoverage['/web.js'].lineData[194]++; removeEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[195]++; @@ -731,17 +731,17 @@ function visit642_12_1(result) { _$jscoverage['/web.js'].lineData[201]++; addEventListener(doc, READY_STATE_CHANGE_EVENT, stateChange); _$jscoverage['/web.js'].lineData[205]++; - var notframe, doScroll = visit665_206_1(docElem && docElem.doScroll); + var notframe, doScroll = visit666_206_1(docElem && docElem.doScroll); _$jscoverage['/web.js'].lineData[208]++; try { _$jscoverage['/web.js'].lineData[209]++; - notframe = (visit666_209_1(win.frameElement === null)); + notframe = (visit667_209_1(win.frameElement === null)); } catch (e) { _$jscoverage['/web.js'].lineData[211]++; notframe = false; } _$jscoverage['/web.js'].lineData[215]++; - if (visit667_215_1(doScroll && notframe)) { + if (visit668_215_1(doScroll && notframe)) { _$jscoverage['/web.js'].lineData[216]++; var readyScroll = function() { _$jscoverage['/web.js'].functionData[18]++; @@ -762,14 +762,14 @@ function visit642_12_1(result) { } } _$jscoverage['/web.js'].lineData[231]++; - if (visit668_231_1(location && visit669_231_2((visit670_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { + if (visit669_231_1(location && visit670_231_2((visit671_231_3(location.search || EMPTY)).indexOf('ks-debug') !== -1))) { _$jscoverage['/web.js'].lineData[232]++; S.Config.debug = true; } _$jscoverage['/web.js'].lineData[239]++; bindReady(); _$jscoverage['/web.js'].lineData[241]++; - if (visit671_241_1(UA.ie)) { + if (visit672_241_1(UA.ie)) { _$jscoverage['/web.js'].lineData[242]++; try { _$jscoverage['/web.js'].lineData[243]++; diff --git a/src/seed/src/loader/utils.js b/src/seed/src/loader/utils.js index fb47814f82..f54d7e6b11 100644 --- a/src/seed/src/loader/utils.js +++ b/src/seed/src/loader/utils.js @@ -290,7 +290,7 @@ // compatible and efficiency // KISSY.add(function(S,undefined){}) var require; - if (module.cjs) { + if (module.cjs && factory.length > 1) { require = S.bind(module.require, module); } // 需要解开 index,相对路径 diff --git a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js index 8005875309..bd51e616b0 100644 --- a/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js +++ b/src/xtemplate/sub-modules/compiler/coverage/src/compiler/parser.js @@ -603,180 +603,180 @@ if (! _$jscoverage['/compiler/parser.js'].branchData) { _$jscoverage['/compiler/parser.js'].branchData['1891'] = []; _$jscoverage['/compiler/parser.js'].branchData['1891'][1] = new BranchData(); } -_$jscoverage['/compiler/parser.js'].branchData['1891'][1].init(1022, 3, 'len'); +_$jscoverage['/compiler/parser.js'].branchData['1891'][1].init(1043, 3, 'len'); function visit45_1891_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1891'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1886'][1].init(856, 17, 'ret !== undefined'); +}_$jscoverage['/compiler/parser.js'].branchData['1886'][1].init(872, 17, 'ret !== undefined'); function visit44_1886_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1886'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1883'][1].init(738, 13, 'reducedAction'); +}_$jscoverage['/compiler/parser.js'].branchData['1883'][1].init(751, 13, 'reducedAction'); function visit43_1883_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1883'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1880'][1].init(590, 7, 'i < len'); +}_$jscoverage['/compiler/parser.js'].branchData['1880'][1].init(600, 7, 'i < len'); function visit42_1880_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1880'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1874'][1].init(257, 31, 'production.rhs || production[1]'); +}_$jscoverage['/compiler/parser.js'].branchData['1874'][1].init(260, 31, 'production.rhs || production[1]'); function visit41_1874_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1874'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1873'][1].init(184, 34, 'production.action || production[2]'); +}_$jscoverage['/compiler/parser.js'].branchData['1873'][1].init(186, 34, 'production.action || production[2]'); function visit40_1873_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1873'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1872'][1].init(108, 34, 'production.symbol || production[0]'); +}_$jscoverage['/compiler/parser.js'].branchData['1872'][1].init(109, 34, 'production.symbol || production[0]'); function visit39_1872_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1872'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1854'][1].init(83, 18, 'tableAction[state]'); +}_$jscoverage['/compiler/parser.js'].branchData['1854'][1].init(86, 18, 'tableAction[state]'); function visit38_1854_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1854'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1851'][1].init(350, 7, '!action'); +}_$jscoverage['/compiler/parser.js'].branchData['1851'][1].init(360, 7, '!action'); function visit37_1851_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1851'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1850'][1].init(284, 48, 'tableAction[state] && tableAction[state][symbol]'); +}_$jscoverage['/compiler/parser.js'].branchData['1850'][1].init(293, 48, 'tableAction[state] && tableAction[state][symbol]'); function visit36_1850_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1850'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1846'][1].init(140, 7, '!symbol'); +}_$jscoverage['/compiler/parser.js'].branchData['1846'][1].init(145, 7, '!symbol'); function visit35_1846_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1846'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['1843'][1].init(62, 7, '!symbol'); +}_$jscoverage['/compiler/parser.js'].branchData['1843'][1].init(64, 7, '!symbol'); function visit34_1843_1(result) { _$jscoverage['/compiler/parser.js'].branchData['1843'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['429'][1].init(130, 20, 'this.$1.length === 3'); +}_$jscoverage['/compiler/parser.js'].branchData['429'][1].init(133, 20, 'this.$1.length === 3'); function visit33_429_1(result) { _$jscoverage['/compiler/parser.js'].branchData['429'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['419'][1].init(21, 20, 'this.$1.length === 3'); +}_$jscoverage['/compiler/parser.js'].branchData['419'][1].init(22, 20, 'this.$1.length === 3'); function visit32_419_1(result) { _$jscoverage['/compiler/parser.js'].branchData['419'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['406'][1].init(21, 42, 'this.$1.charAt(this.$1.length - 1) === \'^\''); +}_$jscoverage['/compiler/parser.js'].branchData['406'][1].init(22, 42, 'this.$1.charAt(this.$1.length - 1) === \'^\''); function visit31_406_1(result) { _$jscoverage['/compiler/parser.js'].branchData['406'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['238'][1].init(79, 21, 'this.matches[1] || \'\''); +}_$jscoverage['/compiler/parser.js'].branchData['238'][1].init(81, 21, 'this.matches[1] || \'\''); function visit30_238_1(result) { _$jscoverage['/compiler/parser.js'].branchData['238'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['203'][1].init(503, 1, 'n'); +}_$jscoverage['/compiler/parser.js'].branchData['203'][1].init(518, 1, 'n'); function visit29_203_1(result) { _$jscoverage['/compiler/parser.js'].branchData['203'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['197'][1].init(278, 5, 'n % 2'); +}_$jscoverage['/compiler/parser.js'].branchData['197'][1].init(287, 5, 'n % 2'); function visit28_197_1(result) { _$jscoverage['/compiler/parser.js'].branchData['197'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['169'][1].init(1043, 3, 'ret'); +}_$jscoverage['/compiler/parser.js'].branchData['169'][1].init(1067, 3, 'ret'); function visit27_169_1(result) { _$jscoverage['/compiler/parser.js'].branchData['169'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['162'][1].init(766, 17, 'ret === undefined'); +}_$jscoverage['/compiler/parser.js'].branchData['162'][1].init(783, 17, 'ret === undefined'); function visit26_162_1(result) { _$jscoverage['/compiler/parser.js'].branchData['162'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['161'][1].init(713, 27, 'action && action.call(self)'); +}_$jscoverage['/compiler/parser.js'].branchData['161'][1].init(729, 27, 'action && action.call(self)'); function visit25_161_1(result) { _$jscoverage['/compiler/parser.js'].branchData['161'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['147'][1].init(74, 5, 'lines'); +}_$jscoverage['/compiler/parser.js'].branchData['147'][1].init(76, 5, 'lines'); function visit24_147_1(result) { _$jscoverage['/compiler/parser.js'].branchData['147'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['145'][1].init(224, 23, 'm = input.match(regexp)'); +}_$jscoverage['/compiler/parser.js'].branchData['145'][1].init(229, 23, 'm = input.match(regexp)'); function visit23_145_1(result) { _$jscoverage['/compiler/parser.js'].branchData['145'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['144'][2].init(131, 20, 'rule[2] || undefined'); +}_$jscoverage['/compiler/parser.js'].branchData['144'][2].init(133, 20, 'rule[2] || undefined'); function visit22_144_2(result) { _$jscoverage['/compiler/parser.js'].branchData['144'][2].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['144'][1].init(116, 35, 'rule.action || rule[2] || undefined'); +}_$jscoverage['/compiler/parser.js'].branchData['144'][1].init(118, 35, 'rule.action || rule[2] || undefined'); function visit21_144_1(result) { _$jscoverage['/compiler/parser.js'].branchData['144'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['143'][1].init(64, 21, 'rule.token || rule[0]'); +}_$jscoverage['/compiler/parser.js'].branchData['143'][1].init(65, 21, 'rule.token || rule[0]'); function visit20_143_1(result) { _$jscoverage['/compiler/parser.js'].branchData['143'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['142'][1].init(63, 22, 'rule.regexp || rule[1]'); +}_$jscoverage['/compiler/parser.js'].branchData['142'][1].init(65, 22, 'rule.regexp || rule[1]'); function visit19_142_1(result) { _$jscoverage['/compiler/parser.js'].branchData['142'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['140'][1].init(303, 16, 'i < rules.length'); +}_$jscoverage['/compiler/parser.js'].branchData['140'][1].init(311, 16, 'i < rules.length'); function visit18_140_1(result) { _$jscoverage['/compiler/parser.js'].branchData['140'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['137'][1].init(195, 6, '!input'); +}_$jscoverage['/compiler/parser.js'].branchData['137'][1].init(200, 6, '!input'); function visit17_137_1(result) { _$jscoverage['/compiler/parser.js'].branchData['137'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['130'][1].init(159, 55, 'stateMap[s] || (stateMap[s] = self.genShortId("state"))'); +}_$jscoverage['/compiler/parser.js'].branchData['130'][1].init(165, 55, 'stateMap[s] || (stateMap[s] = self.genShortId("state"))'); function visit16_130_1(result) { _$jscoverage['/compiler/parser.js'].branchData['130'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['127'][1].init(88, 9, '!stateMap'); +}_$jscoverage['/compiler/parser.js'].branchData['127'][1].init(91, 9, '!stateMap'); function visit15_127_1(result) { _$jscoverage['/compiler/parser.js'].branchData['127'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['118'][1].init(390, 16, 'reverseSymbolMap'); +}_$jscoverage['/compiler/parser.js'].branchData['118'][1].init(400, 16, 'reverseSymbolMap'); function visit14_118_1(result) { _$jscoverage['/compiler/parser.js'].branchData['118'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['112'][1].init(151, 30, '!reverseSymbolMap && symbolMap'); +}_$jscoverage['/compiler/parser.js'].branchData['112'][1].init(155, 30, '!reverseSymbolMap && symbolMap'); function visit13_112_1(result) { _$jscoverage['/compiler/parser.js'].branchData['112'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['106'][1].init(162, 58, 'symbolMap[t] || (symbolMap[t] = self.genShortId("symbol"))'); +}_$jscoverage['/compiler/parser.js'].branchData['106'][1].init(168, 58, 'symbolMap[t] || (symbolMap[t] = self.genShortId("symbol"))'); function visit12_106_1(result) { _$jscoverage['/compiler/parser.js'].branchData['106'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['103'][1].init(90, 10, '!symbolMap'); +}_$jscoverage['/compiler/parser.js'].branchData['103'][1].init(93, 10, '!symbolMap'); function visit11_103_1(result) { _$jscoverage['/compiler/parser.js'].branchData['103'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['97'][1].init(513, 33, 'next.length > DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/compiler/parser.js'].branchData['97'][1].init(522, 33, 'next.length > DEBUG_CONTEXT_LIMIT'); function visit10_97_1(result) { _$jscoverage['/compiler/parser.js'].branchData['97'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['95'][1].init(309, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); +}_$jscoverage['/compiler/parser.js'].branchData['95'][1].init(316, 36, 'matched.length > DEBUG_CONTEXT_LIMIT'); function visit9_95_1(result) { _$jscoverage['/compiler/parser.js'].branchData['95'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['72'][1].init(25, 30, 'S.inArray(currentState, state)'); +}_$jscoverage['/compiler/parser.js'].branchData['72'][1].init(26, 30, 'S.inArray(currentState, state)'); function visit8_72_1(result) { _$jscoverage['/compiler/parser.js'].branchData['72'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['68'][1].init(25, 37, 'currentState === Lexer.STATIC.INITIAL'); +}_$jscoverage['/compiler/parser.js'].branchData['68'][1].init(26, 37, 'currentState === Lexer.STATIC.INITIAL'); function visit7_68_1(result) { _$jscoverage['/compiler/parser.js'].branchData['68'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['67'][1].init(66, 6, '!state'); +}_$jscoverage['/compiler/parser.js'].branchData['67'][1].init(68, 6, '!state'); function visit6_67_1(result) { _$jscoverage['/compiler/parser.js'].branchData['67'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['66'][1].init(29, 15, 'r.state || r[3]'); +}_$jscoverage['/compiler/parser.js'].branchData['66'][1].init(30, 15, 'r.state || r[3]'); function visit5_66_1(result) { _$jscoverage['/compiler/parser.js'].branchData['66'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['57'][1].init(156, 10, 'index >= 0'); +}_$jscoverage['/compiler/parser.js'].branchData['57'][1].init(159, 10, 'index >= 0'); function visit4_57_1(result) { _$jscoverage['/compiler/parser.js'].branchData['57'][1].ranCondition(result); return result; -}_$jscoverage['/compiler/parser.js'].branchData['49'][1].init(173, 16, '!(field in self)'); +}_$jscoverage['/compiler/parser.js'].branchData['49'][1].init(179, 16, '!(field in self)'); function visit3_49_1(result) { _$jscoverage['/compiler/parser.js'].branchData['49'][1].ranCondition(result); return result; }_$jscoverage['/compiler/parser.js'].lineData[3]++; -KISSY.add(function(_, undefined) { +KISSY.add(function() { _$jscoverage['/compiler/parser.js'].functionData[0]++; _$jscoverage['/compiler/parser.js'].lineData[6]++; var parser = {}, S = KISSY, GrammarConst = { diff --git a/src/xtemplate/sub-modules/compiler/src/compiler/parser.js b/src/xtemplate/sub-modules/compiler/src/compiler/parser.js index 7641fa86bd..c435607368 100644 --- a/src/xtemplate/sub-modules/compiler/src/compiler/parser.js +++ b/src/xtemplate/sub-modules/compiler/src/compiler/parser.js @@ -1,6 +1,6 @@ /* Generated by kissy-kison.*/ -KISSY.add(function (_, undefined) { +KISSY.add(function () { /*jshint quotmark:false, loopfunc:true, indent:false, asi:true, boss:true*/ /* Generated by kison from KISSY */ var parser = {}, S = KISSY, From b8325cfec7d28db63f776969f8e3e73ad81189d5 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Thu, 28 Aug 2014 13:27:09 +0800 Subject: [PATCH 72/80] update #677 --- build/dom/base-min.js | 17 +- build/dom/base.js | 27 +- .../base/coverage/src/base/selector.js | 1330 +++++++++-------- .../base/coverage/src/base/style.js | 444 +++--- .../base/coverage/src/base/traversal.js | 166 +- src/dom/sub-modules/base/src/base/selector.js | 25 +- 6 files changed, 1048 insertions(+), 961 deletions(-) diff --git a/build/dom/base-min.js b/build/dom/base-min.js index 3843367c64..99413dbac1 100644 --- a/build/dom/base-min.js +++ b/build/dom/base-min.js @@ -1,7 +1,7 @@ /* Copyright 2014, KISSY v1.47 MIT Licensed -build time: Jul 23 14:31 +build time: Aug 28 13:26 */ KISSY.add("dom/base/api",[],function(i){var m=i.Env.host||{},n=m.document,q=i.UA,d={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e={isCustomDomain:function(d){var d=d||m,d=e.get(d),h=d.document.domain,d=d.location.hostname;return h!==d&&h!=="["+d+"]"},getEmptyIframeSrc:function(d){d=d||m;d=e.get(d);return q.ie&&e.isCustomDomain(d)? "javascript:void(function(){"+encodeURIComponent('document.open();document.domain="'+d.document.domain+'";document.close();')+"}())":""},NodeType:d,getWindow:function(j){if(!j)return m;j=e.get(j);if(i.isWindow(j))return j;var h=j;h.nodeType!==d.DOCUMENT_NODE&&(h=j.ownerDocument);return h.defaultView||h.parentWindow},getDocument:function(j){if(!j)return n;j=e.get(j);return i.isWindow(j)?j.document:j.nodeType===d.DOCUMENT_NODE?j:j.ownerDocument},isDomNodeList:function(d){return d&&!d.nodeType&&d.item&& @@ -55,13 +55,14 @@ H)))d=a.get("#"+e,b);d||(d=a.create("