├── src ├── formValidator │ ├── README.md │ ├── demo.gif │ ├── readme │ │ ├── formValidator.png │ │ └── formValidator.vsdx │ └── formValidator.css ├── _lib │ ├── README.md │ ├── fonts │ │ └── glyphicons-halflings-regular.woff │ └── jquery.cookie.min.js ├── upload │ ├── run.cmd │ ├── demo.gif │ ├── demo.html │ ├── package.json │ ├── app.js │ ├── public │ │ ├── ajaxUpload-single.js │ │ ├── ajaxUpload-single.test.js │ │ └── ajaxUpload-single.css │ └── README.md ├── _fixDesktop │ ├── AJAX.json │ ├── AJAX.js │ ├── HTMLElement.js │ ├── onended.html │ ├── README.md │ ├── Console.js │ ├── Event.html │ ├── EventPath.js │ ├── AJAX.html │ ├── onended.js │ ├── _fixCSS.html │ └── Event.js ├── baseUtils │ ├── _grunt-demo-how-to │ │ ├── css │ │ │ ├── a.css │ │ │ ├── b.css │ │ │ ├── app.js │ │ │ ├── package.json │ │ │ └── Gruntfile.js │ │ └── js │ │ │ ├── a.js │ │ │ ├── b.js │ │ │ ├── requirejs.config.js │ │ │ └── package.json │ ├── index.html │ └── dateFormater.js ├── views │ ├── run.cmd │ ├── steps.png │ └── .babelrc ├── webcom │ ├── demo.css │ ├── demo.js │ ├── demo.png │ ├── list.html │ ├── README.md │ └── demo.html ├── editor │ ├── ueditor │ │ ├── public │ │ │ └── ueditor │ │ │ │ ├── themes │ │ │ │ ├── iframe.css │ │ │ │ └── default │ │ │ │ │ └── images │ │ │ │ │ ├── anchor.gif │ │ │ │ │ ├── arrow.png │ │ │ │ │ ├── charts.png │ │ │ │ │ ├── icons.gif │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── lock.gif │ │ │ │ │ ├── scale.png │ │ │ │ │ ├── spacer.gif │ │ │ │ │ ├── upload.png │ │ │ │ │ ├── word.gif │ │ │ │ │ ├── arrow_up.png │ │ │ │ │ ├── cursor_h.gif │ │ │ │ │ ├── cursor_h.png │ │ │ │ │ ├── cursor_v.gif │ │ │ │ │ ├── cursor_v.png │ │ │ │ │ ├── filescan.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── sortable.png │ │ │ │ │ ├── arrow_down.png │ │ │ │ │ ├── button-bg.gif │ │ │ │ │ ├── highlighted.gif │ │ │ │ │ ├── icons-all.gif │ │ │ │ │ ├── loaderror.png │ │ │ │ │ ├── pagebreak.gif │ │ │ │ │ ├── sparator_v.png │ │ │ │ │ ├── toolbar_bg.png │ │ │ │ │ ├── videologo.gif │ │ │ │ │ ├── wordpaste.png │ │ │ │ │ ├── cancelbutton.gif │ │ │ │ │ ├── unhighlighted.gif │ │ │ │ │ ├── dialog-title-bg.png │ │ │ │ │ ├── neweditor-tab-bg.png │ │ │ │ │ ├── table-cell-align.png │ │ │ │ │ └── tangram-colorpicker.png │ │ │ │ ├── lang │ │ │ │ ├── en │ │ │ │ │ └── images │ │ │ │ │ │ ├── copy.png │ │ │ │ │ │ ├── music.png │ │ │ │ │ │ ├── addimage.png │ │ │ │ │ │ ├── button.png │ │ │ │ │ │ ├── upload.png │ │ │ │ │ │ ├── background.png │ │ │ │ │ │ ├── localimage.png │ │ │ │ │ │ ├── deletedisable.png │ │ │ │ │ │ ├── deleteenable.png │ │ │ │ │ │ ├── listbackground.png │ │ │ │ │ │ ├── alldeletebtnupskin.png │ │ │ │ │ │ ├── rotateleftdisable.png │ │ │ │ │ │ ├── rotateleftenable.png │ │ │ │ │ │ ├── rotaterightdisable.png │ │ │ │ │ │ ├── rotaterightenable.png │ │ │ │ │ │ └── alldeletebtnhoverskin.png │ │ │ │ └── zh-cn │ │ │ │ │ └── images │ │ │ │ │ ├── copy.png │ │ │ │ │ ├── music.png │ │ │ │ │ ├── upload.png │ │ │ │ │ └── localimage.png │ │ │ │ ├── dialogs │ │ │ │ ├── image │ │ │ │ │ └── images │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ ├── icons.gif │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── image.png │ │ │ │ │ │ ├── success.gif │ │ │ │ │ │ ├── success.png │ │ │ │ │ │ ├── alignicon.jpg │ │ │ │ │ │ └── progress.png │ │ │ │ ├── table │ │ │ │ │ ├── dragicon.png │ │ │ │ │ ├── edittip.html │ │ │ │ │ └── edittable.css │ │ │ │ ├── video │ │ │ │ │ └── images │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ ├── icons.gif │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── image.png │ │ │ │ │ │ ├── success.gif │ │ │ │ │ │ ├── success.png │ │ │ │ │ │ ├── progress.png │ │ │ │ │ │ ├── center_focus.jpg │ │ │ │ │ │ ├── file-icons.gif │ │ │ │ │ │ ├── file-icons.png │ │ │ │ │ │ ├── left_focus.jpg │ │ │ │ │ │ ├── none_focus.jpg │ │ │ │ │ │ └── right_focus.jpg │ │ │ │ ├── emotion │ │ │ │ │ └── images │ │ │ │ │ │ ├── 0.gif │ │ │ │ │ │ ├── bface.gif │ │ │ │ │ │ ├── cface.gif │ │ │ │ │ │ ├── fface.gif │ │ │ │ │ │ ├── tface.gif │ │ │ │ │ │ ├── wface.gif │ │ │ │ │ │ ├── yface.gif │ │ │ │ │ │ ├── jxface2.gif │ │ │ │ │ │ └── neweditor-tab-bg.png │ │ │ │ ├── attachment │ │ │ │ │ ├── images │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ ├── icons.gif │ │ │ │ │ │ ├── icons.png │ │ │ │ │ │ ├── image.png │ │ │ │ │ │ ├── success.gif │ │ │ │ │ │ ├── success.png │ │ │ │ │ │ ├── alignicon.gif │ │ │ │ │ │ ├── alignicon.png │ │ │ │ │ │ ├── progress.png │ │ │ │ │ │ ├── file-icons.gif │ │ │ │ │ │ └── file-icons.png │ │ │ │ │ └── fileTypeImages │ │ │ │ │ │ ├── icon_chm.gif │ │ │ │ │ │ ├── icon_doc.gif │ │ │ │ │ │ ├── icon_exe.gif │ │ │ │ │ │ ├── icon_jpg.gif │ │ │ │ │ │ ├── icon_mp3.gif │ │ │ │ │ │ ├── icon_mv.gif │ │ │ │ │ │ ├── icon_pdf.gif │ │ │ │ │ │ ├── icon_ppt.gif │ │ │ │ │ │ ├── icon_psd.gif │ │ │ │ │ │ ├── icon_rar.gif │ │ │ │ │ │ ├── icon_txt.gif │ │ │ │ │ │ ├── icon_xls.gif │ │ │ │ │ │ └── icon_default.png │ │ │ │ ├── background │ │ │ │ │ └── images │ │ │ │ │ │ ├── bg.png │ │ │ │ │ │ └── success.png │ │ │ │ ├── scrawl │ │ │ │ │ └── images │ │ │ │ │ │ ├── addimg.png │ │ │ │ │ │ ├── brush.png │ │ │ │ │ │ ├── delimg.png │ │ │ │ │ │ ├── empty.png │ │ │ │ │ │ ├── emptyH.png │ │ │ │ │ │ ├── eraser.png │ │ │ │ │ │ ├── redo.png │ │ │ │ │ │ ├── redoH.png │ │ │ │ │ │ ├── scale.png │ │ │ │ │ │ ├── scaleH.png │ │ │ │ │ │ ├── size.png │ │ │ │ │ │ ├── undo.png │ │ │ │ │ │ ├── undoH.png │ │ │ │ │ │ └── delimgH.png │ │ │ │ ├── template │ │ │ │ │ ├── images │ │ │ │ │ │ ├── bg.gif │ │ │ │ │ │ ├── pre0.png │ │ │ │ │ │ ├── pre1.png │ │ │ │ │ │ ├── pre2.png │ │ │ │ │ │ ├── pre3.png │ │ │ │ │ │ └── pre4.png │ │ │ │ │ ├── template.html │ │ │ │ │ └── template.css │ │ │ │ ├── charts │ │ │ │ │ └── images │ │ │ │ │ │ ├── charts0.png │ │ │ │ │ │ ├── charts1.png │ │ │ │ │ │ ├── charts2.png │ │ │ │ │ │ ├── charts3.png │ │ │ │ │ │ ├── charts4.png │ │ │ │ │ │ └── charts5.png │ │ │ │ ├── wordimage │ │ │ │ │ ├── imageUploader.swf │ │ │ │ │ └── fClipboard_ueditor.swf │ │ │ │ ├── help │ │ │ │ │ └── help.css │ │ │ │ ├── spechars │ │ │ │ │ └── spechars.html │ │ │ │ ├── music │ │ │ │ │ └── music.html │ │ │ │ └── preview │ │ │ │ │ └── preview.html │ │ │ │ ├── third-party │ │ │ │ ├── video-js │ │ │ │ │ ├── font │ │ │ │ │ │ ├── vjs.eot │ │ │ │ │ │ ├── vjs.ttf │ │ │ │ │ │ └── vjs.woff │ │ │ │ │ └── video-js.swf │ │ │ │ ├── webuploader │ │ │ │ │ ├── Uploader.swf │ │ │ │ │ └── webuploader.css │ │ │ │ ├── zeroclipboard │ │ │ │ │ └── ZeroClipboard.swf │ │ │ │ └── highcharts │ │ │ │ │ └── modules │ │ │ │ │ ├── heatmap.js │ │ │ │ │ ├── heatmap.src.js │ │ │ │ │ └── no-data-to-display.js │ │ │ │ └── php │ │ │ │ └── action_crawler.php │ │ ├── demo.gif │ │ ├── README.md │ │ ├── package.json │ │ ├── app.js │ │ ├── ueditor-local.js │ │ └── ueditor-proxy.js │ ├── level2 │ │ ├── icons │ │ │ ├── cut.gif │ │ │ ├── bold.gif │ │ │ ├── clean.gif │ │ │ ├── copy.gif │ │ │ ├── paste.gif │ │ │ ├── print.png │ │ │ ├── quote.gif │ │ │ ├── redo.gif │ │ │ ├── undo.gif │ │ │ ├── format.png │ │ │ ├── indent.gif │ │ │ ├── italic.gif │ │ │ ├── outdent.gif │ │ │ ├── dottedlist.gif │ │ │ ├── hyperlink.gif │ │ │ ├── underline.gif │ │ │ ├── justifycenter.gif │ │ │ ├── justifyleft.gif │ │ │ ├── justifyright.gif │ │ │ └── numberedlist.gif │ │ ├── rich-text-editor.css │ │ └── rich-text-editor_example.html │ └── demo.html ├── alert │ ├── demo.gif │ ├── demo.html │ ├── alert.css.map │ ├── alert.js │ └── alert.scss ├── pull │ ├── demo.gif │ ├── loading.gif │ └── scroll-down.png ├── tabs │ ├── demo.gif │ ├── tabs.css │ ├── tabs-1.css │ └── demo.html ├── toast │ ├── demo.gif │ ├── toast.css │ └── demo.html ├── confirm │ ├── demo.gif │ ├── demo.html │ ├── confirm.css.map │ └── confirm.js ├── datetime │ ├── demo.png │ ├── demo.html │ └── index.js ├── events │ ├── demo.gif │ └── demo.html ├── formJSON │ └── demo.png ├── lazyload │ ├── demo.gif │ ├── demo.html │ ├── demo4.html │ ├── demo3.html │ └── demo2.html ├── loadpage │ ├── abc.jpg │ ├── demo.gif │ ├── demo.js │ └── demo2.html ├── paging │ ├── demo.gif │ ├── demo.html │ ├── paging.css │ └── paging.scss ├── prompt │ ├── demo.gif │ ├── demo.html │ ├── prompt.css.map │ └── prompt.js ├── pull-v2 │ ├── demo.gif │ └── pullUp.js ├── tooltip │ ├── demo.gif │ └── demo.html ├── ui-input │ └── demo.gif ├── ui-like │ ├── demo.gif │ └── index.html ├── citySelect │ ├── demo.gif │ └── demo.html ├── clearable │ ├── demo.gif │ ├── demo.html │ └── clearable.css ├── deletable │ ├── demo.gif │ ├── deletable.css │ └── demo.html ├── imageView │ ├── demo.gif │ └── demo.html ├── CSS-Controls │ ├── like │ │ ├── demo.gif │ │ ├── icon.png │ │ ├── demo.html │ │ └── test-perspective.html │ ├── radio │ │ ├── demo.png │ │ ├── demo.html │ │ └── ui-radio.css │ ├── switch │ │ ├── demo.gif │ │ └── demo.html │ ├── checkbox │ │ ├── demo.gif │ │ └── demo.html │ └── demo.html ├── baseCSS │ ├── README.md │ ├── bootstrap │ │ ├── less │ │ │ ├── mixins │ │ │ │ ├── center-block.less │ │ │ │ ├── text-emphasis.less │ │ │ │ ├── size.less │ │ │ │ ├── background-variant.less │ │ │ │ ├── opacity.less │ │ │ │ ├── text-overflow.less │ │ │ │ ├── tab-focus.less │ │ │ │ ├── labels.less │ │ │ │ ├── resize.less │ │ │ │ ├── progress-bar.less │ │ │ │ ├── nav-divider.less │ │ │ │ ├── reset-filter.less │ │ │ │ ├── alerts.less │ │ │ │ ├── nav-vertical-align.less │ │ │ │ ├── responsive-visibility.less │ │ │ │ ├── pagination.less │ │ │ │ ├── border-radius.less │ │ │ │ ├── panels.less │ │ │ │ ├── list-group.less │ │ │ │ ├── hide-text.less │ │ │ │ ├── clearfix.less │ │ │ │ ├── table-row.less │ │ │ │ ├── image.less │ │ │ │ └── buttons.less │ │ │ ├── .csslintrc │ │ │ ├── wells.less │ │ │ ├── breadcrumbs.less │ │ │ ├── responsive-embed.less │ │ │ ├── component-animations.less │ │ │ ├── close.less │ │ │ ├── thumbnails.less │ │ │ ├── utilities.less │ │ │ ├── media.less │ │ │ ├── pager.less │ │ │ ├── jumbotron.less │ │ │ ├── mixins.less │ │ │ ├── bootstrap.less │ │ │ ├── labels.less │ │ │ └── badges.less │ │ └── bootstrap-core.less │ ├── base.css │ ├── bootstrap-extend.css │ └── bootstrap-sass │ │ └── buttons.scss ├── menu │ ├── menu.css │ ├── demo2.html │ └── demo.html ├── panel │ ├── panel.js │ └── demo.html ├── _fixMobile │ ├── README.md │ ├── HTMLElement.js │ └── EventPath.js ├── shareWX │ └── demo.html ├── sort │ └── demo.html ├── template │ ├── README.md │ └── demo.html ├── loadingPage │ ├── demo.html │ └── loadingPage.js ├── popup │ ├── popup.css │ ├── demo.html │ └── popup.js ├── preview │ ├── demo.html │ └── preview.js └── infiniteScroll │ └── infiniteScroll.js ├── run.cmd ├── index.html ├── test ├── lib │ └── jasmine-2.3.4 │ │ └── jasmine_favicon.png ├── src │ ├── Song.js │ └── Player.js ├── spec │ └── SpecHelper.js └── SpecRunner.html ├── _config.yml ├── .editorconfig ├── .jshintrc ├── .gitignore ├── package.json ├── .eslintrc ├── optimizer.js └── LICENSE /src/formValidator/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /run.cmd: -------------------------------------------------------------------------------- 1 | supervisor app.js 2 | -------------------------------------------------------------------------------- /src/_lib/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | * 第三方库 3 | -------------------------------------------------------------------------------- /src/upload/run.cmd: -------------------------------------------------------------------------------- 1 | supervisor app.js 2 | -------------------------------------------------------------------------------- /src/_fixDesktop/AJAX.json: -------------------------------------------------------------------------------- 1 | {"a":"abc","b":"bbc"} 2 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/css/a.css: -------------------------------------------------------------------------------- 1 | body{ 2 | color:#fff; 3 | } -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/css/b.css: -------------------------------------------------------------------------------- 1 | body{ 2 | color:#f0f; 3 | } -------------------------------------------------------------------------------- /src/views/run.cmd: -------------------------------------------------------------------------------- 1 | babel views.es6.js --watch --out-file views.js 2 | -------------------------------------------------------------------------------- /src/webcom/demo.css: -------------------------------------------------------------------------------- 1 | .list li { 2 | background-color: #FDFFC7; 3 | } 4 | -------------------------------------------------------------------------------- /src/webcom/demo.js: -------------------------------------------------------------------------------- 1 | console.log('This message comes from demo.js.') 2 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/iframe.css: -------------------------------------------------------------------------------- 1 | /*可以在这里添加你自己的css*/ 2 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/alert/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/alert/demo.gif -------------------------------------------------------------------------------- /src/pull/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/pull/demo.gif -------------------------------------------------------------------------------- /src/tabs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/tabs/demo.gif -------------------------------------------------------------------------------- /src/toast/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/toast/demo.gif -------------------------------------------------------------------------------- /src/confirm/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/confirm/demo.gif -------------------------------------------------------------------------------- /src/datetime/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/datetime/demo.png -------------------------------------------------------------------------------- /src/events/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/events/demo.gif -------------------------------------------------------------------------------- /src/formJSON/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/formJSON/demo.png -------------------------------------------------------------------------------- /src/lazyload/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/lazyload/demo.gif -------------------------------------------------------------------------------- /src/loadpage/abc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/loadpage/abc.jpg -------------------------------------------------------------------------------- /src/loadpage/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/loadpage/demo.gif -------------------------------------------------------------------------------- /src/paging/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/paging/demo.gif -------------------------------------------------------------------------------- /src/prompt/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/prompt/demo.gif -------------------------------------------------------------------------------- /src/pull-v2/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/pull-v2/demo.gif -------------------------------------------------------------------------------- /src/pull/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/pull/loading.gif -------------------------------------------------------------------------------- /src/tooltip/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/tooltip/demo.gif -------------------------------------------------------------------------------- /src/ui-input/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/ui-input/demo.gif -------------------------------------------------------------------------------- /src/ui-like/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/ui-like/demo.gif -------------------------------------------------------------------------------- /src/upload/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/upload/demo.gif -------------------------------------------------------------------------------- /src/views/steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/views/steps.png -------------------------------------------------------------------------------- /src/webcom/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/webcom/demo.png -------------------------------------------------------------------------------- /src/citySelect/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/citySelect/demo.gif -------------------------------------------------------------------------------- /src/clearable/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/clearable/demo.gif -------------------------------------------------------------------------------- /src/deletable/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/deletable/demo.gif -------------------------------------------------------------------------------- /src/imageView/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/imageView/demo.gif -------------------------------------------------------------------------------- /src/formValidator/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/formValidator/demo.gif -------------------------------------------------------------------------------- /src/pull/scroll-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/pull/scroll-down.png -------------------------------------------------------------------------------- /src/editor/ueditor/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/demo.gif -------------------------------------------------------------------------------- /src/CSS-Controls/like/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/CSS-Controls/like/demo.gif -------------------------------------------------------------------------------- /src/CSS-Controls/like/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/CSS-Controls/like/icon.png -------------------------------------------------------------------------------- /src/CSS-Controls/radio/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/CSS-Controls/radio/demo.png -------------------------------------------------------------------------------- /src/editor/level2/icons/cut.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/cut.gif -------------------------------------------------------------------------------- /src/CSS-Controls/switch/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/CSS-Controls/switch/demo.gif -------------------------------------------------------------------------------- /src/baseCSS/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | * base.css 基础公共样式 3 | * bootstrap-extend.css bootstrap的扩展样式 4 | * row-fluid.css 简单删格样式 5 | -------------------------------------------------------------------------------- /src/editor/level2/icons/bold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/bold.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/clean.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/clean.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/copy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/copy.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/paste.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/paste.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/print.png -------------------------------------------------------------------------------- /src/editor/level2/icons/quote.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/quote.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/redo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/redo.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/undo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/undo.gif -------------------------------------------------------------------------------- /src/CSS-Controls/checkbox/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/CSS-Controls/checkbox/demo.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/format.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/format.png -------------------------------------------------------------------------------- /src/editor/level2/icons/indent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/indent.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/italic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/italic.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/outdent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/outdent.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/dottedlist.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/dottedlist.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/hyperlink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/hyperlink.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/underline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/underline.gif -------------------------------------------------------------------------------- /src/menu/menu.css: -------------------------------------------------------------------------------- 1 | nav .sub-nav.collapse { 2 | display: none; 3 | } 4 | 5 | nav li.active { 6 | background-color: #f00; 7 | } 8 | -------------------------------------------------------------------------------- /src/editor/level2/icons/justifycenter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/justifycenter.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/justifyleft.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/justifyleft.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/justifyright.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/justifyright.gif -------------------------------------------------------------------------------- /src/editor/level2/icons/numberedlist.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/level2/icons/numberedlist.gif -------------------------------------------------------------------------------- /src/views/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-arrow-functions", "babel-plugin-transform-es2015-template-literals"] 3 | } 4 | -------------------------------------------------------------------------------- /src/formValidator/readme/formValidator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/formValidator/readme/formValidator.png -------------------------------------------------------------------------------- /src/formValidator/readme/formValidator.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/formValidator/readme/formValidator.vsdx -------------------------------------------------------------------------------- /test/lib/jasmine-2.3.4/jasmine_favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/test/lib/jasmine-2.3.4/jasmine_favicon.png -------------------------------------------------------------------------------- /src/_lib/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/_lib/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/js/a.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var helloGrunt = "Hello Grunt!(From a.js)"; 3 | console.log(helloGrunt); 4 | })(); -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/js/b.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var helloGrunt = "Hello Grunt!(From b.js)"; 3 | console.log(helloGrunt); 4 | })(); -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/copy.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/music.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/table/dragicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/table/dragicon.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/addimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/addimage.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/button.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/upload.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/zh-cn/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/zh-cn/images/copy.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/zh-cn/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/zh-cn/images/music.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/0.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/background.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/localimage.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/zh-cn/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/zh-cn/images/upload.png -------------------------------------------------------------------------------- /src/_fixDesktop/AJAX.js: -------------------------------------------------------------------------------- 1 | 2 | if (!window.XMLHttpRequest) { 3 | 4 | window.XMLHttpRequest = function() { 5 | return new ActiveXObject('Microsoft.XMLHTTP'); 6 | } 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/background/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/background/images/bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/bface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/bface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/cface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/cface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/fface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/fface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/tface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/tface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/wface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/wface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/yface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/yface.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/image.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/success.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/success.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/addimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/addimg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/brush.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/delimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/delimg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/empty.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/emptyH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/emptyH.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/eraser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/eraser.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/redo.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/redoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/redoH.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/scale.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/scaleH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/scaleH.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/size.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/undo.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/undoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/undoH.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/bg.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/pre0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/pre0.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/pre1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/pre1.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/pre2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/pre2.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/pre3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/pre3.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/images/pre4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/template/images/pre4.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/image.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/success.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/success.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/deletedisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/deletedisable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/deleteenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/deleteenable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/zh-cn/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/zh-cn/images/localimage.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/anchor.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/arrow.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/charts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/charts.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/lock.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/scale.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/spacer.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/upload.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/word.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts0.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts1.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts2.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts3.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts4.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/charts/images/charts5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/charts/images/charts5.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/jxface2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/jxface2.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/alignicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/alignicon.jpg -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/image/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/image/images/progress.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/scrawl/images/delimgH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/scrawl/images/delimgH.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/progress.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/listbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/listbackground.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/arrow_up.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/cursor_h.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/cursor_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/cursor_h.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/cursor_v.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/cursor_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/cursor_v.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/filescan.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/loading.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/sortable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.eot -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.ttf -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/video-js/font/vjs.woff -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/video-js/video-js.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/video-js/video-js.swf -------------------------------------------------------------------------------- /test/src/Song.js: -------------------------------------------------------------------------------- 1 | function Song() { 2 | } 3 | 4 | Song.prototype.persistFavoriteStatus = function(value) { 5 | // something complicated 6 | throw new Error("not yet implemented"); 7 | }; -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/image.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/success.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/success.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/background/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/background/images/success.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/center_focus.jpg -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/file-icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/file-icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/file-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/file-icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/left_focus.jpg -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/none_focus.jpg -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/video/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/video/images/right_focus.jpg -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/wordimage/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/wordimage/imageUploader.swf -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/alldeletebtnupskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/alldeletebtnupskin.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/rotateleftdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/rotateleftdisable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/rotateleftenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/rotateleftenable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/rotaterightdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/rotaterightdisable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/rotaterightenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/rotaterightenable.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/arrow_down.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/button-bg.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/highlighted.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/icons-all.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/loaderror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/loaderror.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/pagebreak.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/sparator_v.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/toolbar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/toolbar_bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/videologo.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/wordpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/wordpaste.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/webuploader/Uploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/webuploader/Uploader.swf -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/center-block.less: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | .center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/text-emphasis.less: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | .text-emphasis-variant(@color) { 4 | color: @color; 5 | a&:hover { 6 | color: darken(@color, 10%); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/js/requirejs.config.js: -------------------------------------------------------------------------------- 1 | require.config({ 2 | paths: { 3 | a: "a", 4 | bb: "b" 5 | }, 6 | shim: { 7 | a: { 8 | deps: ["bb"] 9 | } 10 | } 11 | }); -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/alignicon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/alignicon.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/alignicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/alignicon.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/progress.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/cancelbutton.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/unhighlighted.gif -------------------------------------------------------------------------------- /src/editor/ueditor/README.md: -------------------------------------------------------------------------------- 1 | * Run command `node app.js` 2 | * Open browser & visit `localhost:3000` 3 | * Demo is in `public` directory 4 | 5 | * 打开cmd命令,运行命令`node app.js` 6 | * 打开游览器,访问`localhost:3000` 7 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/file-icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/file-icons.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/images/file-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/images/file-icons.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/wordimage/fClipboard_ueditor.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/wordimage/fClipboard_ueditor.swf -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/lang/en/images/alldeletebtnhoverskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/lang/en/images/alldeletebtnhoverskin.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/table-cell-align.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/table-cell-align.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/emotion/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/emotion/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/zeroclipboard/ZeroClipboard.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/third-party/zeroclipboard/ZeroClipboard.swf -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/themes/default/images/tangram-colorpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/themes/default/images/tangram-colorpicker.png -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/size.less: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | .size(@width; @height) { 4 | width: @width; 5 | height: @height; 6 | } 7 | 8 | .square(@size) { 9 | .size(@size; @size); 10 | } 11 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/background-variant.less: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | .bg-variant(@color) { 4 | background-color: @color; 5 | a&:hover { 6 | background-color: darken(@color, 10%); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/opacity.less: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | .opacity(@opacity) { 4 | opacity: @opacity; 5 | // IE8 filter 6 | @opacity-ie: (@opacity * 100); 7 | filter: ~"alpha(opacity=@{opacity-ie})"; 8 | } 9 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhoukekestar/modules/HEAD/src/editor/ueditor/public/ueditor/dialogs/attachment/fileTypeImages/icon_default.png -------------------------------------------------------------------------------- /src/upload/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | upload module 6 | 7 | 8 |

需要启动该目录下app.js

9 | 10 | 11 | -------------------------------------------------------------------------------- /src/_fixDesktop/HTMLElement.js: -------------------------------------------------------------------------------- 1 | // For IE 11 2 | // Element has no remove but removeNode method. 3 | if (HTMLElement && HTMLElement.prototype.removeNode) { 4 | HTMLElement.prototype.remove = HTMLElement.prototype.removeNode; 5 | } 6 | -------------------------------------------------------------------------------- /src/upload/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zhoukekestar", 3 | "decription": "nodejs upload", 4 | "version": "0.1.0", 5 | "dependencies": { 6 | "express" : "^4.12.2", 7 | "connect-multiparty": "2.0.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/text-overflow.less: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | .text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /src/panel/panel.js: -------------------------------------------------------------------------------- 1 | (function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define("panel", [ "jquery" ], factory); 4 | } else { 5 | factory(jQuery); 6 | } 7 | }(function($) { 8 | 9 | 10 | 11 | })); -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/tab-focus.less: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | .tab-focus() { 4 | // Default 5 | outline: thin dotted; 6 | // WebKit 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /src/editor/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | editor 6 | 7 | 8 |

如需查看ueditor效果,需要进入ueditor目录,运行app.js,并访问

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/labels.less: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | .label-variant(@color) { 4 | background-color: @color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken(@color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/resize.less: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | .resizable(@direction) { 4 | resize: @direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /src/_fixMobile/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | | 文件名 | 说明 | 3 | | ----- | ----- | 4 | | CustomEvent.js | 自定义事件的兼容修复: Event对象和webkitAnimationEnd事件 | 5 | | EventPath.js | event中的path属性兼容修复 | 6 | | HTMLElement.js | remove方法的修复及click事件的兼容修复 | 7 | | XMLHttpRequest.js | XMLHttpRequest对象修复 | 8 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/progress-bar.less: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | .progress-bar-variant(@color) { 4 | background-color: @color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | #gradient > .striped(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | 2 | # Install Ruby. Steps for Windows. 3 | # 1、gem install jekyll // v3.2.0 4 | # 2、gem install bundler 5 | # 3、bundle install 6 | # 4、Copy Ruby23-x64/lib/ruby/gems/2.3.0/gems/minima-1.0.1/_layouts/*.html TO Curent dir 7 | # 5、jekyll serve 8 | 9 | include: [_fixDesktop, _fixMobile, _lib] 10 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | #example################################# 2 | # editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | charset = utf-8 8 | end_of_line = lf 9 | indent_size = 2 10 | indent_style = space 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | 14 | [*.py] 15 | indent_size = 4 16 | -------------------------------------------------------------------------------- /src/editor/ueditor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zhoukekestar", 3 | "decription": "nodejs for ueditor", 4 | "version": "0.1.0", 5 | "dependencies": { 6 | "express" : "^4.12.2", 7 | "connect-multiparty": "2.0.0", 8 | "body-parser" : "~1.12.0", 9 | "request" : "^2.60.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/upload/app.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var path = require('path'); 3 | var app = express(); 4 | 5 | app.use(express.static(path.join(__dirname, 'public'))); 6 | require('./local.js')(app); 7 | 8 | app.listen(3000); 9 | console.log('Listen on 3000. Visit it by: http://localhost:3000') 10 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/nav-divider.less: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | .nav-divider(@color: #e5e5e5) { 6 | height: 1px; 7 | margin: ((@line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: @color; 10 | } 11 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/reset-filter.less: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | .reset-filter() { 7 | filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)")); 8 | } 9 | -------------------------------------------------------------------------------- /src/_fixDesktop/onended.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | onended.js 5 | 6 | 7 |
onended
8 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/css/app.js: -------------------------------------------------------------------------------- 1 | var grunt = require('grunt') 2 | console.log('begin...') 3 | var child = grunt.util.spawn({ grunt: true, args: ['default'] }, function() { 4 | 5 | console.log('done....') 6 | }) 7 | child.stdout.pipe(process.stdout); 8 | child.stderr.pipe(process.stderr); 9 | 10 | console.log('end..') 11 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/css/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "css", 3 | "version": "1.0.0", 4 | "license": "MIT", 5 | "scripts": { 6 | "grunt": "node -e \"require('grunt').tasks(['default']);\"" 7 | }, 8 | "devDependencies": { 9 | "grunt": "~0.4.5", 10 | "grunt-contrib-cssmin": "~0.12.2" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/_fixDesktop/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | | 文件名 | 说明 | 3 | | ----- | ----- | 4 | | _fixCSS.html | css样式hack样例 | 5 | | AJAX.js | ajax的兼容修复 | 6 | | console.js | console的兼容修复 | 7 | | Event.js | addEventListener接口的兼容修复 | 8 | | HTMLElement.js | remove接口的兼容修复 | 9 | | onended.js | onended属性的兼容修复 | 10 | | XMLHttpRequest.js | XMLHttpRequest对象的兼容修复 | 11 | -------------------------------------------------------------------------------- /src/editor/ueditor/app.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var path = require('path'); 3 | var app = express(); 4 | 5 | 6 | app.use(express.static(path.join(__dirname, 'public'))); 7 | 8 | require('./ueditor-local.js')(app); 9 | //require('./ueditor-proxy.js')(app); 10 | 11 | app.listen(3000); 12 | console.log('listen on 3000.') 13 | -------------------------------------------------------------------------------- /src/datetime/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/_fixDesktop/Console.js: -------------------------------------------------------------------------------- 1 | 2 | // For some IE that have no console object. 3 | if (!window.console) { 4 | window.console = {}; 5 | window.console.debug = function() {} 6 | window.console.log = function() {} 7 | window.console.info = function() {} 8 | window.console.warn = function() {} 9 | window.console.error = function() {} 10 | } 11 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/alerts.less: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | .alert-variant(@background; @border; @text-color) { 4 | background-color: @background; 5 | border-color: @border; 6 | color: @text-color; 7 | 8 | hr { 9 | border-top-color: darken(@border, 5%); 10 | } 11 | .alert-link { 12 | color: darken(@text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi" : true, 3 | "browser" : true, 4 | "eqeqeq" : true, 5 | "eqnull" : true, 6 | "es3" : true, 7 | "expr" : true, 8 | "jquery" : true, 9 | "latedef" : true, 10 | "laxbreak" : true, 11 | "nonbsp" : true, 12 | "strict" : true, 13 | "undef" : true, 14 | "unused" : true, 15 | "node" : true, 16 | "strict" : false 17 | } 18 | -------------------------------------------------------------------------------- /src/_fixDesktop/Event.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Event 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /test/spec/SpecHelper.js: -------------------------------------------------------------------------------- 1 | beforeEach(function () { 2 | jasmine.addMatchers({ 3 | toBePlaying: function () { 4 | return { 5 | compare: function (actual, expected) { 6 | var player = actual; 7 | 8 | return { 9 | pass: player.currentlyPlayingSong === expected && player.isPlaying 10 | }; 11 | } 12 | }; 13 | } 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /src/_fixMobile/HTMLElement.js: -------------------------------------------------------------------------------- 1 | 2 | // For android 4.4- 3 | if (HTMLElement && !HTMLElement.prototype.remove) { 4 | HTMLElement.prototype.remove = function() { 5 | this.parentNode.removeChild(this); 6 | }; 7 | } 8 | 9 | if (HTMLElement && !HTMLElement.prototype.click) { 10 | HTMLElement.prototype.click = function() { 11 | this.dispatchEvent(new Event('click', {bubbles: true})); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "js", 3 | "version": "1.0.0", 4 | "description": "", 5 | "devDependencies": { 6 | "grunt": "~0.4.5", 7 | "grunt-contrib-clean": "^0.5.0", 8 | "grunt-contrib-jshint": "^0.9.2", 9 | "grunt-contrib-nodeunit": "^0.3.3", 10 | "grunt-contrib-requirejs": "~0.4.0", 11 | "grunt-contrib-uglify": "~0.2.2" 12 | }, 13 | "license": "MIT" 14 | } 15 | -------------------------------------------------------------------------------- /src/CSS-Controls/switch/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/nav-vertical-align.less: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | .navbar-vertical-align(@element-height) { 7 | margin-top: ((@navbar-height - @element-height) / 2); 8 | margin-bottom: ((@navbar-height - @element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/help/help.css: -------------------------------------------------------------------------------- 1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;} 2 | .tabbody{height: 360px;} 3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;} 4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;} 5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;} 6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;} 7 | .tabbody table thead{font-weight: bold;line-height: 25px;} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | .idea 3 | 4 | # Mobile Tools for Java (J2ME) 5 | .mtj.tmp/ 6 | 7 | # Package Files # 8 | *.jar 9 | *.war 10 | *.ear 11 | 12 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 13 | hs_err_pid* 14 | /.settings 15 | /.git 16 | /build 17 | /target 18 | node_modules/ 19 | 20 | #output 21 | #build 22 | #grunt-www.js 23 | #grunt-mobile.js 24 | #run-www.cmd 25 | #run-admin.cmd 26 | #run-mobile.cmd 27 | -------------------------------------------------------------------------------- /src/clearable/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

指定input的clearable为true即可

10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/responsive-visibility.less: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | .responsive-visibility() { 6 | display: block !important; 7 | table& { display: table; } 8 | tr& { display: table-row !important; } 9 | th&, 10 | td& { display: table-cell !important; } 11 | } 12 | 13 | .responsive-invisibility() { 14 | display: none !important; 15 | } 16 | -------------------------------------------------------------------------------- /src/shareWX/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

访问//m.toomao.com/square可查看样例

9 |
10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/CSS-Controls/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CSS-Controls 6 | 12 | 13 | 14 | checkbox 15 | like 16 | radio 17 | switch 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/CSS-Controls/radio/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 13 | 17 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/sort/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/tooltip/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 16 | 17 | 18 | 19 |
tooltip
20 |
looooooooooong
21 |
empty
22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/toast/toast.css: -------------------------------------------------------------------------------- 1 | .toast { 2 | color: rgb(255, 255, 255); 3 | font-size: 18px; 4 | border-radius: 10px; 5 | box-sizing: border-box; 6 | text-align: center; 7 | z-index: 99999; 8 | word-break: break-word; 9 | padding: 12px; 10 | position: fixed; 11 | left: 50%; 12 | top: 50%; 13 | text-shadow: none; 14 | width: 160px; 15 | margin-left: -80px; 16 | opacity: 0; 17 | transition: all 1s; 18 | margin-top: 20px; 19 | background-color: rgba(0, 0, 0, 0.8); 20 | display: none; 21 | line-height: 1.3em; 22 | } 23 | -------------------------------------------------------------------------------- /src/baseCSS/base.css: -------------------------------------------------------------------------------- 1 | *, *:before, *:after { 2 | box-sizing: border-box; 3 | } 4 | html, body { 5 | font-family: '方正正纤黑简体', 'FZLTXHJW--GB1-0', 'Microsoft YaHei', sans-serif; 6 | } 7 | body { 8 | margin: 0; 9 | background-color: #F4F4F4 10 | } 11 | h1, h2, h3, h4, h5, h6, p, a, img { 12 | -webkit-touch-callout: none; 13 | -webkit-user-select: none; 14 | -moz-user-select: none; 15 | -ms-user-select: none; 16 | user-select: none 17 | } 18 | a { 19 | -webkit-tap-highlight-color: transparent 20 | } 21 | img { 22 | max-width: 100%; 23 | } 24 | -------------------------------------------------------------------------------- /test/src/Player.js: -------------------------------------------------------------------------------- 1 | function Player() { 2 | } 3 | Player.prototype.play = function(song) { 4 | this.currentlyPlayingSong = song; 5 | this.isPlaying = true; 6 | }; 7 | 8 | Player.prototype.pause = function() { 9 | this.isPlaying = false; 10 | }; 11 | 12 | Player.prototype.resume = function() { 13 | if (this.isPlaying) { 14 | throw new Error("song is already playing"); 15 | } 16 | 17 | this.isPlaying = true; 18 | }; 19 | 20 | Player.prototype.makeFavorite = function() { 21 | this.currentlyPlayingSong.persistFavoriteStatus(true); 22 | }; -------------------------------------------------------------------------------- /src/baseUtils/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

打开控制台,点击下面按钮后。有错误信息输出,并有一个用于记录错误的请求发出

10 | 11 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/loadpage/demo.js: -------------------------------------------------------------------------------- 1 | require.config({ 2 | baseUrl: '../', 3 | paths: { 4 | jquery: 'http://cdn.bootcss.com/jquery/2.1.3/jquery.min', 5 | alertMsg: 'alertMsg/alertMsg.jquery', 6 | loadingPage: 'loadingPage/loadingPage', 7 | loadpage: 'loadpage/loadpage' 8 | } 9 | }); 10 | 11 | require(['loadingPage','jquery', 'loadpage'], function (l, $, load) { 12 | l.loaded(); 13 | 14 | load.afterLoadPage = function() { 15 | console.log('after') 16 | } 17 | load.beforeLoadPage = function() { 18 | console.log('before') 19 | } 20 | }); 21 | -------------------------------------------------------------------------------- /src/deletable/deletable.css: -------------------------------------------------------------------------------- 1 | .deletable.deletable-show { 2 | transition: transform .5s; 3 | transform: translateX(-60px); 4 | -webkit-transform: translateX(-60px); 5 | } 6 | .deletable .deletable-btn { 7 | position: absolute; 8 | right: -60px; 9 | width: 60px; 10 | height: 100%; 11 | background-color: #f00; 12 | top: 0; 13 | color: #fff; 14 | } 15 | .deletable .deletable-btn:after { 16 | content: '删除'; 17 | position: absolute; 18 | top: 50%; 19 | left: 50%; 20 | margin-top: -.5em; 21 | margin-left: -1em; 22 | font-size: 14px; 23 | } 24 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/.csslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "adjoining-classes": false, 3 | "box-sizing": false, 4 | "box-model": false, 5 | "compatible-vendor-prefixes": false, 6 | "floats": false, 7 | "font-sizes": false, 8 | "gradients": false, 9 | "important": false, 10 | "known-properties": false, 11 | "outline-none": false, 12 | "qualified-headings": false, 13 | "regex-selectors": false, 14 | "shorthand": false, 15 | "text-indent": false, 16 | "unique-headings": false, 17 | "universal-selector": false, 18 | "unqualified-attributes": false 19 | } 20 | -------------------------------------------------------------------------------- /src/confirm/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

API这样设计的原因,请查看alert模块

10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/pagination.less: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | .pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: @padding-vertical @padding-horizontal; 8 | font-size: @font-size; 9 | } 10 | &:first-child { 11 | > a, 12 | > span { 13 | .border-left-radius(@border-radius); 14 | } 15 | } 16 | &:last-child { 17 | > a, 18 | > span { 19 | .border-right-radius(@border-radius); 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/CSS-Controls/checkbox/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/border-radius.less: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | .border-top-radius(@radius) { 4 | border-top-right-radius: @radius; 5 | border-top-left-radius: @radius; 6 | } 7 | .border-right-radius(@radius) { 8 | border-bottom-right-radius: @radius; 9 | border-top-right-radius: @radius; 10 | } 11 | .border-bottom-radius(@radius) { 12 | border-bottom-right-radius: @radius; 13 | border-bottom-left-radius: @radius; 14 | } 15 | .border-left-radius(@radius) { 16 | border-bottom-left-radius: @radius; 17 | border-top-left-radius: @radius; 18 | } 19 | -------------------------------------------------------------------------------- /src/upload/public/ajaxUpload-single.js: -------------------------------------------------------------------------------- 1 | !( function( factory ) { 2 | if ( typeof define === "function" && define.amd ) { 3 | define( factory ); 4 | } else { 5 | factory( ); 6 | } 7 | }( function(){ 8 | 9 | var onended = function(d) { 10 | var url = d.results[0].url; 11 | this.style.backgroundImage = 'url(' + url + ')'; 12 | this.querySelector('input').value = url; 13 | } 14 | 15 | Array.prototype.slice.apply(document.querySelectorAll('[data-ajaxUpload-plugin=single]')).forEach(function(ele) { 16 | ele.onended = onended.bind(ele); 17 | }) 18 | 19 | })); 20 | -------------------------------------------------------------------------------- /src/upload/public/ajaxUpload-single.test.js: -------------------------------------------------------------------------------- 1 | !( function( factory ) { 2 | if ( typeof define === "function" && define.amd ) { 3 | define( factory ); 4 | } else { 5 | factory( ); 6 | } 7 | }( function(){ 8 | 9 | var onended = function(d) { 10 | var url = d[0].url; 11 | this.style.backgroundImage = 'url(' + url + ')'; 12 | this.querySelector('input').value = url; 13 | } 14 | 15 | Array.prototype.slice.apply(document.querySelectorAll('[data-ajaxUpload-plugin=single]')).forEach(function(ele) { 16 | ele.onended = onended.bind(ele); 17 | }) 18 | 19 | })); 20 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/highcharts/modules/heatmap.js: -------------------------------------------------------------------------------- 1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

API这样设计的原因,请查看alert模块

10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/menu/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/panels.less: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | .panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) { 4 | border-color: @border; 5 | 6 | & > .panel-heading { 7 | color: @heading-text-color; 8 | background-color: @heading-bg-color; 9 | border-color: @heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: @border; 13 | } 14 | .badge { 15 | color: @heading-bg-color; 16 | background-color: @heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: @border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/wells.less: -------------------------------------------------------------------------------- 1 | // 2 | // Wells 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .well { 8 | min-height: 20px; 9 | padding: 19px; 10 | margin-bottom: 20px; 11 | background-color: @well-bg; 12 | border: 1px solid @well-border; 13 | border-radius: @border-radius-base; 14 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.05)); 15 | blockquote { 16 | border-color: #ddd; 17 | border-color: rgba(0,0,0,.15); 18 | } 19 | } 20 | 21 | // Sizes 22 | .well-lg { 23 | padding: 24px; 24 | border-radius: @border-radius-large; 25 | } 26 | .well-sm { 27 | padding: 9px; 28 | border-radius: @border-radius-small; 29 | } 30 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/bootstrap-core.less: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "less/variables.less"; 3 | @import "less/mixins.less"; 4 | 5 | // Reset and dependencies 6 | @import "less/normalize.less"; 7 | // @import "less/print.less"; 8 | // @import "less/glyphicons.less"; 9 | 10 | // Core CSS 11 | // @import "less/scaffolding.less"; 12 | @import "less/type.less"; 13 | // @import "less/code.less"; 14 | @import "less/grid.less"; 15 | @import "less/tables.less"; 16 | @import "less/forms.less"; 17 | @import "less/buttons.less"; 18 | 19 | // Utility classes 20 | @import "less/utilities.less"; 21 | @import "less/responsive-utilities.less"; 22 | 23 | @import "less/input-groups.less"; 24 | 25 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/list-group.less: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | .list-group-item-variant(@state; @background; @color) { 4 | .list-group-item-@{state} { 5 | color: @color; 6 | background-color: @background; 7 | 8 | a& { 9 | color: @color; 10 | 11 | .list-group-item-heading { 12 | color: inherit; 13 | } 14 | 15 | &:hover, 16 | &:focus { 17 | color: @color; 18 | background-color: darken(@background, 5%); 19 | } 20 | &.active, 21 | &.active:hover, 22 | &.active:focus { 23 | color: #fff; 24 | background-color: @color; 25 | border-color: @color; 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/hide-text.less: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (will be removed in v4) 10 | .hide-text() { 11 | font: ~"0/0" a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | .text-hide() { 20 | .hide-text(); 21 | } 22 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /src/template/README.md: -------------------------------------------------------------------------------- 1 | ## 代码块与取值 2 | * `<% console.log('code'); %>` 使用`<%`和`%>`将js代码包裹,类似EJS 3 | * `<%="code"%>` 使用`<%=%>`将值输出 4 | 5 | ## 注释 6 | * 使用``注释 7 | * 使用`/* */`注释 8 | 9 | ## 引用根对象 10 | * `obj` 使用`obj`引用当前传入对象 11 | 12 | ## _updateBy(data) 13 | 用于更新指定位置的html 14 | 15 | ## _appendBy(data) 16 | 用于指定位置后添加相应的html 17 | 18 | ## _htmlBy(data) 19 | 用于直接输出模板html 20 | 21 | ## `data-holder`及`_holder` 22 | * `data-holder` 指定元素data-holder属性(元素选择器),来指定模板生成后的插入位置 23 | * `_holder` 对元素的_holder赋值元素,来指定模板生成后的插入位置 24 | 25 | ## 事件监听 26 | * `reload` 重新初始化所有template元素,已初始化完成将跳过 27 | * `template-reload` 重新初始化所有template元素,已初始化完成将跳过 28 | * `template-reload-it` 在template元素上分发`template-reload-it`事件,将重新初始化该元素 29 | -------------------------------------------------------------------------------- /src/_fixDesktop/EventPath.js: -------------------------------------------------------------------------------- 1 | !(function(global) { 2 | 3 | // For Android 4.3- (included) 4 | var pathFill = function() { 5 | var e = arguments[0]; 6 | 7 | if (!e.path) { 8 | 9 | e.path = []; 10 | var t = e.target; 11 | while (t !== document) { 12 | e.path.push(t); 13 | t = t.parentNode; 14 | } 15 | e.path.push(document); 16 | e.path.push(window); 17 | } 18 | } 19 | 20 | var events = ['click', 'taphold', 'swipeleft', 'swiperight', 'submit']; 21 | events.forEach(function(event) { 22 | 23 | document.body.addEventListener(event, pathFill) 24 | document.body.addEventListener(event, pathFill, true) 25 | 26 | }) 27 | 28 | })(window); 29 | -------------------------------------------------------------------------------- /src/editor/level2/rich-text-editor.css: -------------------------------------------------------------------------------- 1 | img.rte-button { 2 | cursor: pointer; 3 | border: 0; 4 | } 5 | 6 | div.rich-text-editor { 7 | display: inline-block; 8 | padding: 3px; 9 | } 10 | 11 | div.rte-menus select { font-size:10px; } 12 | 13 | div.rte-editbox { 14 | min-height: 100px; 15 | max-height: 200px; 16 | border: 1px #aaaaaa solid; 17 | padding: 6px; 18 | overflow: scroll; 19 | } 20 | 21 | div.rte-editbox p { 22 | margin: 0; 23 | } 24 | 25 | div.rte-editbox > pre.rte-sourcetext { 26 | padding: 0; 27 | margin: 0; 28 | } 29 | 30 | div.rte-switchmode { 31 | font-size: 12px; 32 | text-align: right; 33 | padding: 2px 0 0 2px; 34 | } 35 | 36 | div.rte-switchmode > label { 37 | cursor: pointer; 38 | } -------------------------------------------------------------------------------- /src/_fixMobile/EventPath.js: -------------------------------------------------------------------------------- 1 | !(function(global) { 2 | 3 | // For Android 4.3- (included) 4 | var pathFill = function() { 5 | var e = arguments[0]; 6 | 7 | if (!e.path) { 8 | 9 | e.path = []; 10 | var t = e.target; 11 | while (t !== document) { 12 | e.path.push(t); 13 | t = t.parentNode; 14 | } 15 | e.path.push(document); 16 | e.path.push(window); 17 | } 18 | } 19 | 20 | var events = ['click', 'taphold', 'swipeleft', 'swiperight', 'submit']; 21 | events.forEach(function(event) { 22 | 23 | document.body.addEventListener(event, pathFill) 24 | document.body.addEventListener(event, pathFill, true) 25 | 26 | }) 27 | 28 | })(window); 29 | 30 | -------------------------------------------------------------------------------- /src/upload/public/ajaxUpload-single.css: -------------------------------------------------------------------------------- 1 | [data-ajaxUpload-plugin=single] { 2 | height: 80px; 3 | width: 80px; 4 | border: solid 1px #ccc; 5 | border-radius: 4px; 6 | background-size: cover; 7 | background-position: center; 8 | position: relative; 9 | cursor: pointer; 10 | display: inline-block; 11 | } 12 | [data-ajaxUpload-plugin=single]:after { 13 | content: '上传图片'; 14 | font-size: .8em; 15 | background-color: rgba(0,0,0,.43); 16 | color: #fff; 17 | position: absolute; 18 | top: 50%; 19 | left: 50%; 20 | opacity: 0; 21 | width: 4.5em; 22 | text-align: center; 23 | margin-left: -2.5em; 24 | margin-top: -.5em; 25 | 26 | } 27 | [data-ajaxUpload-plugin=single]:hover:after { 28 | opacity: 1; 29 | } 30 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/clearfix.less: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | .clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/webcom/list.html: -------------------------------------------------------------------------------- 1 |
2 | 9 | 14 | 15 | 18 | 22 | 23 |
24 |
25 |

26 | hello list2! 27 |

28 |
29 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/breadcrumbs.less: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal; 8 | margin-bottom: @line-height-computed; 9 | list-style: none; 10 | background-color: @breadcrumb-bg; 11 | border-radius: @border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: @breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: @breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/responsive-embed.less: -------------------------------------------------------------------------------- 1 | // Embeds responsive 2 | // 3 | // Credit: Nicolas Gallagher and SUIT CSS. 4 | 5 | .embed-responsive { 6 | position: relative; 7 | display: block; 8 | height: 0; 9 | padding: 0; 10 | overflow: hidden; 11 | 12 | .embed-responsive-item, 13 | iframe, 14 | embed, 15 | object, 16 | video { 17 | position: absolute; 18 | top: 0; 19 | left: 0; 20 | bottom: 0; 21 | height: 100%; 22 | width: 100%; 23 | border: 0; 24 | } 25 | } 26 | 27 | // Modifier class for 16:9 aspect ratio 28 | .embed-responsive-16by9 { 29 | padding-bottom: 56.25%; 30 | } 31 | 32 | // Modifier class for 4:3 aspect ratio 33 | .embed-responsive-4by3 { 34 | padding-bottom: 75%; 35 | } 36 | -------------------------------------------------------------------------------- /src/_fixDesktop/AJAX.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AJAX 5 | 6 | 7 | 8 | 9 | 10 | 11 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/citySelect/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 |
16 | 17 | 18 | 19 |
20 | 21 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/CSS-Controls/radio/ui-radio.css: -------------------------------------------------------------------------------- 1 | .ui-radio { 2 | transition: all .5s; 3 | height: 1em; 4 | width: 1em; 5 | background-image: none; 6 | display: inline-block; 7 | background-color: transparent; 8 | -webkit-appearance: none; 9 | appearance: none; 10 | border: solid .2em #ccc; 11 | border-radius: 50%; 12 | outline: none !important; 13 | position: relative; 14 | box-sizing: content-box; 15 | margin: 3px; 16 | } 17 | .ui-radio:checked { 18 | border: solid .2em #34b93d; 19 | } 20 | .ui-radio:before { 21 | transition: all .5s; 22 | content: ""; 23 | position: absolute; 24 | height: 50%; 25 | width: 50%; 26 | display: block; 27 | border-radius: 100%; 28 | left: 25%; 29 | top: 25%; 30 | } 31 | .ui-radio:checked:before { 32 | background-color: #34b93d; 33 | } 34 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "modules-js", 3 | "version": "1.0.0", 4 | "description": "", 5 | "scripts": { 6 | "grunt": "node -e \"require('grunt').tasks(['default']);\"" 7 | }, 8 | "dependencies": { 9 | "clean-css": "^3.4.10", 10 | "express": "~4.12.2", 11 | "requirejs": "^2.1.22" 12 | }, 13 | "devDependencies": { 14 | "grunt": "~0.4.5", 15 | "grunt-contrib-clean": "^0.5.0", 16 | "grunt-contrib-jshint": "^0.9.2", 17 | "grunt-contrib-nodeunit": "^0.3.3", 18 | "grunt-contrib-requirejs": "~0.4.0", 19 | "grunt-contrib-uglify": "^0.9.1", 20 | "grunt-contrib-copy": "~0.8.0", 21 | "grunt-banner": "~0.3.1", 22 | "grunt-contrib-concat": "^0.5.1", 23 | "grunt-contrib-less": "~1.0.0", 24 | "grunt-contrib-cssmin": "~0.12.2" 25 | }, 26 | "license": "MIT" 27 | } 28 | -------------------------------------------------------------------------------- /src/_fixDesktop/onended.js: -------------------------------------------------------------------------------- 1 | !(function () { 2 | 3 | var init = function () { 4 | var hasOnendedElements = document.querySelectorAll('[onended]') 5 | for (var i = 0; i < hasOnendedElements.length; i++) { 6 | if (!hasOnendedElements[i].onended) { 7 | hasOnendedElements[i].onended = new Function(hasOnendedElements[i].getAttribute('onended')); 8 | } 9 | } 10 | } 11 | 12 | if (document.readyState === 'complete' || document.readyState === 'interactive') { 13 | init() 14 | } else { 15 | document.addEventListener('readystatechange', function(e) { 16 | if (document.readyState === 'interactive') { 17 | init(); 18 | } 19 | }) 20 | } 21 | 22 | document.body.addEventListener('click', init); 23 | document.body.addEventListener('touchend', init); 24 | 25 | })(); 26 | -------------------------------------------------------------------------------- /test/SpecRunner.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Jasmine Spec Runner v2.3.4 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/component-animations.less: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | .transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | 21 | &.in { display: block; } 22 | tr&.in { display: table-row; } 23 | tbody&.in { display: table-row-group; } 24 | } 25 | 26 | .collapsing { 27 | position: relative; 28 | height: 0; 29 | overflow: hidden; 30 | .transition-property(~"height, visibility"); 31 | .transition-duration(.35s); 32 | .transition-timing-function(ease); 33 | } 34 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/table-row.less: -------------------------------------------------------------------------------- 1 | // Tables 2 | 3 | .table-row-variant(@state; @background) { 4 | // Exact selectors below required to override `.table-striped` and prevent 5 | // inheritance to nested tables. 6 | .table > thead > tr, 7 | .table > tbody > tr, 8 | .table > tfoot > tr { 9 | > td.@{state}, 10 | > th.@{state}, 11 | &.@{state} > td, 12 | &.@{state} > th { 13 | background-color: @background; 14 | } 15 | } 16 | 17 | // Hover states for `.table-hover` 18 | // Note: this is not available for cells or rows within `thead` or `tfoot`. 19 | .table-hover > tbody > tr { 20 | > td.@{state}:hover, 21 | > th.@{state}:hover, 22 | &.@{state}:hover > td, 23 | &:hover > .@{state}, 24 | &.@{state}:hover > th { 25 | background-color: darken(@background, 5%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/loadingPage/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | demo 5 | 6 | 7 | 13 | 14 | 15 | 16 |

该插件使用window.loadingPage全局对象,也可通过模块加载引用

17 |

loadingPage.loading() 显示正在加载的画面

18 |

loadingPage.loaded() 隐藏加载画面

19 | 20 | 21 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/loadpage/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |

demo2

17 | Back 18 | demo1 19 | 20 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /src/popup/popup.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | .page-popup{ 3 | position: fixed; 4 | width: 100%; 5 | height: 100%; 6 | background-color: rgba(0, 0, 0, 0.8); 7 | z-index: 101; 8 | color: #fff; 9 | /*transition: left .5s;*/ 10 | overflow-y: scroll; 11 | top: 0; 12 | left: 0; 13 | } 14 | .popup-close{ 15 | text-align: right; 16 | padding: 1em; 17 | margin: 0; 18 | font-size: 1.2em; 19 | } 20 | .popup-list{ 21 | margin: 0; 22 | list-style: none; 23 | padding: 0; 24 | } 25 | .popup-list li{ 26 | display: block; 27 | width: 12em; 28 | margin: auto; 29 | position: relative; 30 | padding: .5em 1em .5em 4em; 31 | } 32 | .popup-list li + li{ 33 | border-top: solid 1px #fff; 34 | } 35 | .popup-list img{ 36 | position: absolute; 37 | width: 2em; 38 | height: 2em; 39 | left: 1em; 40 | top: 1em; 41 | } 42 | .popup-list a{ 43 | display: block; 44 | margin: 1em 0; 45 | color: #fff; 46 | text-decoration: none; 47 | } -------------------------------------------------------------------------------- /src/preview/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/tabs/tabs.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | .tabs-list { 3 | margin: 0; 4 | padding: 0; 5 | list-style: none; 6 | background-color: #fff; 7 | } 8 | .tabs-list:after { 9 | content: ""; 10 | display: table; 11 | clear: both; 12 | } 13 | .tabs-list li { 14 | float: left; 15 | text-align: center; 16 | padding: .5em 0; 17 | cursor: pointer; 18 | } 19 | .tabs-list li.active { 20 | color: #B41800; 21 | } 22 | .tabs-nav { 23 | position: relative; 24 | } 25 | .tabs-nav .line { 26 | width: 100%; 27 | position: absolute; 28 | height: 2px; 29 | bottom: 3px; 30 | } 31 | .tabs-nav .line span { 32 | width: 4em; 33 | height: 100%; 34 | position: absolute; 35 | left: 39px; 36 | transition: all .5s; 37 | } 38 | .tabs-nav .line span:after { 39 | content: ''; 40 | width: 5em; 41 | display: block; 42 | background-color: #B41800; 43 | height: 100%; 44 | margin: auto; 45 | } 46 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true, 5 | "commonjs": true, 6 | "es6": true 7 | }, 8 | 9 | "globals": { 10 | "jQuery": true, 11 | "define": true 12 | }, 13 | 14 | "extends": "eslint:recommended", 15 | 16 | "parserOptions": { 17 | "sourceType": "module" 18 | }, 19 | 20 | "rules": { 21 | "indent": [2, 2, { "SwitchCase": 1 }], 22 | "no-console": 0, 23 | "quotes": 0, 24 | "semi": 0, 25 | "no-spaced-func": 2, 26 | "no-trailing-spaces": 2, 27 | "no-whitespace-before-property": 2, 28 | "space-before-blocks": [2, "always"], 29 | 30 | "space-in-parens": [2, "never"], 31 | "space-infix-ops": 2, 32 | "space-unary-ops": [2, { "words": true, "nonwords": false }], 33 | "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }], 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap-extend.css: -------------------------------------------------------------------------------- 1 | /*input success&error css for toomao*/ 2 | 3 | .has-success.form-control{ 4 | border-color: #3c763d; 5 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 6 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 7 | } 8 | .has-success.form-control:focus { 9 | border-color: #2b542c; 10 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; 11 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; 12 | } 13 | 14 | .has-error.form-control { 15 | border-color: #a94442; 16 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 17 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 18 | } 19 | .has-error.form-control:focus { 20 | border-color: #843534; 21 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; 22 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; 23 | } 24 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/close.less: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: (@font-size-base * 1.5); 9 | font-weight: @close-font-weight; 10 | line-height: 1; 11 | color: @close-color; 12 | text-shadow: @close-text-shadow; 13 | .opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: @close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | .opacity(.5); 21 | } 22 | 23 | // Additional properties for button version 24 | // iOS requires the button element instead of an anchor tag. 25 | // If you want the anchor version, it requires `href="#"`. 26 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 27 | button& { 28 | padding: 0; 29 | cursor: pointer; 30 | background: transparent; 31 | border: 0; 32 | -webkit-appearance: none; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/thumbnails.less: -------------------------------------------------------------------------------- 1 | // 2 | // Thumbnails 3 | // -------------------------------------------------- 4 | 5 | 6 | // Mixin and adjust the regular image class 7 | .thumbnail { 8 | display: block; 9 | padding: @thumbnail-padding; 10 | margin-bottom: @line-height-computed; 11 | line-height: @line-height-base; 12 | background-color: @thumbnail-bg; 13 | border: 1px solid @thumbnail-border; 14 | border-radius: @thumbnail-border-radius; 15 | .transition(border .2s ease-in-out); 16 | 17 | > img, 18 | a > img { 19 | &:extend(.img-responsive); 20 | margin-left: auto; 21 | margin-right: auto; 22 | } 23 | 24 | // Add a hover state for linked versions only 25 | a&:hover, 26 | a&:focus, 27 | a&.active { 28 | border-color: @link-color; 29 | } 30 | 31 | // Image captions 32 | .caption { 33 | padding: @thumbnail-caption-padding; 34 | color: @thumbnail-caption-color; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/popup/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 18 | 19 | 20 | 24 | 28 | abc 29 | abc2 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/upload/README.md: -------------------------------------------------------------------------------- 1 | ## HOW-TO 2 | * Run command `node app.js` 3 | * Open browser & visit `localhost:3000` 4 | * Demo is in `public` directory 5 | 6 | ## 开始 7 | * 打开cmd命令,运行命令`node app.js` 8 | * 打开游览器,访问`localhost:3000` 9 | 10 | ## ajaxUpload.v2.js(样例请看`./public/index.v2.html`) 11 | * data-height 指定图片高度,如:data-height='100',指定data-height或data-width后,data-max-height、data-min-width等指定范围的参数将失效 12 | * data-width 指定图片宽度 13 | 14 | * data-max-height 指定最大图片高度,如:data-max-height='100' 15 | * data-min-height 指定最小图片高度 16 | * data-max-width 指定最大图片宽度 17 | * data-min-width 指定最小图片宽度 18 | 19 | * data-max-size 指定最大文件大小(支持K和M),如:data-max-size='1M'、data-max-size='100K' 20 | * data-min-size 指定最小文件大小 21 | * data-accept 指定文件类型,如:data-accept='image/gif,image/jpeg' 22 | * data-multiple 指定是否支持多图上传 23 | 24 | * onFileSizeError方法,文件大小不符合时将调用,`onFileSizeError = function(name, size, minSize, maxSize)` 25 | * onImageSizeError方法,图片尺寸不符合时将调用,`onImageSizeError = function(name, width, height)` 26 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/spechars/spechars.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /src/imageView/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | demo 5 | 6 | 7 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/_fixDesktop/_fixCSS.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 19 | 20 | 21 |

在含有IE 5, 7, 8, 9, 10, 11下的测试结果,游览器内核为 IE 11

22 |

css hacker:

23 | 30 |

background-size:

31 |

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='/images/home/down.png', sizingMethod='scale');

32 | 33 | 34 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/utilities.less: -------------------------------------------------------------------------------- 1 | // 2 | // Utility classes 3 | // -------------------------------------------------- 4 | 5 | 6 | // Floats 7 | // ------------------------- 8 | 9 | .clearfix { 10 | .clearfix(); 11 | } 12 | .center-block { 13 | .center-block(); 14 | } 15 | .pull-right { 16 | float: right !important; 17 | } 18 | .pull-left { 19 | float: left !important; 20 | } 21 | 22 | 23 | // Toggling content 24 | // ------------------------- 25 | 26 | // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1 27 | .hide { 28 | display: none !important; 29 | } 30 | .show { 31 | display: block !important; 32 | } 33 | .invisible { 34 | visibility: hidden; 35 | } 36 | .text-hide { 37 | .text-hide(); 38 | } 39 | 40 | 41 | // Hide from screenreaders and browsers 42 | // 43 | // Credit: HTML5 Boilerplate 44 | 45 | .hidden { 46 | display: none !important; 47 | } 48 | 49 | 50 | // For Affix plugin 51 | // ------------------------- 52 | 53 | .affix { 54 | position: fixed; 55 | } 56 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/table/edittip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 表格删除提示 5 | 6 | 17 | 18 | 19 |
20 |
21 | 22 |
23 |
24 | 25 |
26 |
27 | 32 | 33 | -------------------------------------------------------------------------------- /src/toast/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

当body背景色在toast弹出时变色时,请尝试将body指定颜色

15 | 16 | 17 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/ui-like/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ui-like 6 | 7 | 21 | 22 | 23 |

From: http://codepen.io/thebabydino/pen/RRRRZE, https://github.com/you-dont-need/You-Dont-Need-Javascript

24 |
25 | 26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /src/paging/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /optimizer.js: -------------------------------------------------------------------------------- 1 | var requirejs = require('requirejs'); 2 | var config = require('./config.requirejs.js'); 3 | 4 | var results = ''; 5 | var currentContent; 6 | var currentModules; 7 | 8 | config.out = function(c) { 9 | currentContent = c; 10 | } 11 | config.baseUrl = __dirname + '/' + config.baseUrl; 12 | config.optimize = 'none'; 13 | 14 | var optimizeModules = function(index, callback) { 15 | 16 | if (index >= currentModules.length) { 17 | return callback(null, results); 18 | } 19 | config.name = currentModules[index]; 20 | // console.log(config.name + ' is optimizing...'); 21 | requirejs.optimize(config, function (buildResponse) { 22 | results += currentContent; 23 | return optimizeModules(index + 1, callback); 24 | }, function(err) { 25 | callback(err) 26 | }); 27 | } 28 | 29 | 30 | module.exports = function(modules, callback) { 31 | currentModules = modules; 32 | optimizeModules(0, function(err, content) { 33 | results = ''; 34 | currentModules = []; 35 | currentContent = ''; 36 | callback(err, content) 37 | }) 38 | } 39 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 | 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/alert/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

由于:

10 | 16 |

所以:

17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/media.less: -------------------------------------------------------------------------------- 1 | .media { 2 | // Proper spacing between instances of .media 3 | margin-top: 15px; 4 | 5 | &:first-child { 6 | margin-top: 0; 7 | } 8 | } 9 | 10 | .media, 11 | .media-body { 12 | zoom: 1; 13 | overflow: hidden; 14 | } 15 | 16 | .media-body { 17 | width: 10000px; 18 | } 19 | 20 | .media-object { 21 | display: block; 22 | } 23 | 24 | .media-right, 25 | .media > .pull-right { 26 | padding-left: 10px; 27 | } 28 | 29 | .media-left, 30 | .media > .pull-left { 31 | padding-right: 10px; 32 | } 33 | 34 | .media-left, 35 | .media-right, 36 | .media-body { 37 | display: table-cell; 38 | vertical-align: top; 39 | } 40 | 41 | .media-middle { 42 | vertical-align: middle; 43 | } 44 | 45 | .media-bottom { 46 | vertical-align: bottom; 47 | } 48 | 49 | // Reset margins on headings for tighter default spacing 50 | .media-heading { 51 | margin-top: 0; 52 | margin-bottom: 5px; 53 | } 54 | 55 | // Media list variation 56 | // 57 | // Undo default ul/ol styles 58 | .media-list { 59 | padding-left: 0; 60 | list-style: none; 61 | } 62 | -------------------------------------------------------------------------------- /src/tabs/tabs-1.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | 3 | .tabs-list { 4 | margin: 0; 5 | padding: 0; 6 | list-style: none; 7 | } 8 | 9 | .tabs-list:after { 10 | content: ""; 11 | display: table; 12 | clear: both; 13 | } 14 | 15 | .tabs-list li { 16 | display: block; 17 | width: 50%; 18 | float: left; 19 | text-align: center; 20 | border-bottom: solid 1px #EA6644; 21 | box-sizing: border-box; 22 | position: relative; 23 | padding: .5em 0; 24 | cursor: pointer; 25 | } 26 | 27 | .tabs-list li.active { 28 | color: #EA6644; 29 | border-bottom: solid 1px #EA6644; 30 | } 31 | 32 | .tabs-list li.active:before { 33 | content: ""; 34 | display: block; 35 | position: absolute; 36 | margin-left: -5px; 37 | left: 50%; 38 | bottom: -9px; 39 | border: solid 5px; 40 | border-color: #fff transparent transparent !important; 41 | z-index: 3; 42 | } 43 | 44 | .tabs-list li.active:after { 45 | content: ""; 46 | display: block; 47 | position: absolute; 48 | margin-left: -5px; 49 | left: 50%; 50 | bottom: -10px; 51 | border: solid 5px; 52 | border-color: #EA6644 transparent transparent; 53 | } 54 | -------------------------------------------------------------------------------- /src/webcom/README.md: -------------------------------------------------------------------------------- 1 | # Attention! 2 | 请使用[riot](http://riotjs.com/)代替。 3 | 4 | ## 使用组件时可配置属性 5 | * `data-is` 指定使用的组件名称 6 | * `data-bind` 指定组件绑定数据 7 | * `data-bind-show` 时候显示绑定的数据,默认为false,绑定数据的将会被`data-was-hidden-by-webcom`代替 8 | 9 | ## 创建webcom组件 10 | * `data-register='list'` 在webcom指定注册的名字 11 | * `data-run='template-updated'` 在模板更新后执行的script 12 | 13 | ```html 14 |
15 | 22 | 27 | 28 | 31 | 35 | 36 |
37 |
38 |

39 | hello list2! 40 |

41 |
42 | ``` 43 | -------------------------------------------------------------------------------- /src/template/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | demo 5 | 6 | 7 | 8 |
9 | 10 | 23 | 24 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/music/music.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 插入音乐 6 | 7 | 8 | 9 | 10 |
11 | 15 |
16 | 17 |
18 |
19 |
20 |
21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /src/pull-v2/pullUp.js: -------------------------------------------------------------------------------- 1 | // 2 | (function(factory) { 3 | if (typeof define === "function" && define.amd) { 4 | define([ "jquery" ], factory); 5 | } else { 6 | factory(jQuery); 7 | } 8 | }(function($) { 9 | 10 | $.fn.pullUp = function(callback) { 11 | var eleH = $(this)[0].offsetTop, 12 | winH = $(window).height(), 13 | loading = false, 14 | $this = $(this); 15 | 16 | // 监听滚动事件 17 | $(window).scroll(function() { 18 | 19 | if ($(window).scrollTop() + winH >= eleH && loading == false) 20 | { 21 | loading = true; 22 | callback($this, function() { 23 | loading = false; 24 | eleH = $this[0].offsetTop; 25 | }); 26 | } 27 | }); 28 | 29 | // 但正在加载,却没有加载成功的时候,可以通过定时函数来保证再次加载 30 | setInterval(function() { 31 | 32 | if ($(window).scrollTop() + winH >= eleH && loading == false) 33 | { 34 | loading = true; 35 | callback($this, function() { 36 | loading = false; 37 | eleH = $this[0].offsetTop; 38 | }); 39 | } 40 | 41 | }, 500); 42 | } 43 | 44 | return $; 45 | })); -------------------------------------------------------------------------------- /src/baseUtils/dateFormater.js: -------------------------------------------------------------------------------- 1 | (function(global) { 2 | 3 | global.Date.prototype.format = function (str) { 4 | var d = this; 5 | if (!(d instanceof Date)) { 6 | return 'Date-error'; 7 | } 8 | var res = str + '', 9 | year = d.getFullYear(), // yyyy yy 10 | month = d.getMonth() + 1, // MM M 11 | day = d.getDate(), // dd d 12 | hour = d.getHours(), // hh h 13 | minite = d.getMinutes(), // mm m 14 | second = d.getSeconds(); // ss s 15 | 16 | res = res 17 | .replace(/yyyy/, year) 18 | .replace(/yy/, (year + '').substr(2, 2)) 19 | .replace(/MM/, (month > 9 ? month + '' : '0' + month)) 20 | .replace(/M/, month) 21 | .replace(/dd/, (day > 9 ? day + '' : '0' + day)) 22 | .replace(/d/, day) 23 | .replace(/hh/, (hour > 9 ? hour + '' : '0' + hour)) 24 | .replace(/h/, hour) 25 | .replace(/mm/, (minite > 9 ? minite + '' : '0' + minite)) 26 | .replace(/m/, minite) 27 | .replace(/ss/, (second > 9 ? second + '' : '0' + second)) 28 | .replace(/s/, second); 29 | return res; 30 | } 31 | 32 | })(window); 33 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/pager.less: -------------------------------------------------------------------------------- 1 | // 2 | // Pager pagination 3 | // -------------------------------------------------- 4 | 5 | 6 | .pager { 7 | padding-left: 0; 8 | margin: @line-height-computed 0; 9 | list-style: none; 10 | text-align: center; 11 | &:extend(.clearfix all); 12 | li { 13 | display: inline; 14 | > a, 15 | > span { 16 | display: inline-block; 17 | padding: 5px 14px; 18 | background-color: @pager-bg; 19 | border: 1px solid @pager-border; 20 | border-radius: @pager-border-radius; 21 | } 22 | 23 | > a:hover, 24 | > a:focus { 25 | text-decoration: none; 26 | background-color: @pager-hover-bg; 27 | } 28 | } 29 | 30 | .next { 31 | > a, 32 | > span { 33 | float: right; 34 | } 35 | } 36 | 37 | .previous { 38 | > a, 39 | > span { 40 | float: left; 41 | } 42 | } 43 | 44 | .disabled { 45 | > a, 46 | > a:hover, 47 | > a:focus, 48 | > span { 49 | color: @pager-disabled-color; 50 | background-color: @pager-bg; 51 | cursor: @cursor-disabled; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/webcom/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | demo 5 | 6 | 7 | 8 | 9 |

webcom-test

10 |
11 | 12 |
13 |
14 | 15 | 18 | 19 | 20 | 21 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/template/template.css: -------------------------------------------------------------------------------- 1 | .wrap{ padding: 5px;font-size: 14px;} 2 | .left{width:425px;float: left;} 3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;} 4 | .right .pre{height: 332px;overflow-y: auto;} 5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;} 6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;} 7 | .right .preitem img{display: block;margin: 0 auto;width:100px;} 8 | .clear{clear: both;} 9 | .top{height:26px;line-height: 26px;padding: 5px;} 10 | .bottom{height:320px;width:100%;margin: 0 auto;} 11 | .transparent{ background: url("images/bg.gif") repeat;} 12 | .bottom table tr td{border:1px dashed #ccc;} 13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;} 14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;} 15 | p{margin: 5px 0} 16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;} 17 | li{clear:both} 18 | ol{padding-left:40px; } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 keke 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /src/menu/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/paging/paging.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | .paging { 3 | display: inline-block; } 4 | .paging ul { 5 | margin: 0; 6 | padding: 0; 7 | display: block; 8 | list-style: none; } 9 | .paging li { 10 | display: block; 11 | background-color: #fff; 12 | padding: 3px; 13 | width: 25px; 14 | text-align: center; 15 | font-family: sans-serif; 16 | color: #B41800; 17 | text-decoration: none; 18 | float: left; 19 | border-right: solid #A2A2A2 1px; 20 | border-top: solid #A2A2A2 1px; 21 | border-bottom: solid #A2A2A2 1px; 22 | cursor: pointer; 23 | font-weight: bolder; 24 | box-sizing: content-box; } 25 | .paging li.first-child { 26 | border-left: solid #A2A2A2 1px; 27 | border-radius: 5px 0 0 5px; } 28 | .paging li.last-child { 29 | border-radius: 0 5px 5px 0; } 30 | .paging li:hover { 31 | color: #fff; 32 | background-color: #ce1b00; } 33 | .paging li.disabled:hover { 34 | cursor: no-drop; } 35 | .paging li.active, .paging li.active:hover { 36 | color: #FFF; 37 | background-color: #B41800; } 38 | .paging:after { 39 | content: ""; 40 | clear: both; 41 | display: block; } 42 | -------------------------------------------------------------------------------- /src/events/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | demo 5 | 6 | 7 | 26 | 27 | 28 |

Please view this demo on mobile device.

29 |

请在chrome的手机模式下查看,长按,左划,右划

30 |
a
31 |
b
32 |
c
33 | 34 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/image.less: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | .img-responsive(@display: block) { 10 | display: @display; 11 | max-width: 100%; // Part 1: Set a maximum relative to the parent 12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching 13 | } 14 | 15 | 16 | // Retina image 17 | // 18 | // Short retina mixin for setting background-image and -size. Note that the 19 | // spelling of `min--moz-device-pixel-ratio` is intentional. 20 | .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { 21 | background-image: url("@{file-1x}"); 22 | 23 | @media 24 | only screen and (-webkit-min-device-pixel-ratio: 2), 25 | only screen and ( min--moz-device-pixel-ratio: 2), 26 | only screen and ( -o-min-device-pixel-ratio: 2/1), 27 | only screen and ( min-device-pixel-ratio: 2), 28 | only screen and ( min-resolution: 192dpi), 29 | only screen and ( min-resolution: 2dppx) { 30 | background-image: url("@{file-2x}"); 31 | background-size: @width-1x @height-1x; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/jumbotron.less: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: @jumbotron-padding (@jumbotron-padding / 2); 8 | margin-bottom: @jumbotron-padding; 9 | color: @jumbotron-color; 10 | background-color: @jumbotron-bg; 11 | 12 | h1, 13 | .h1 { 14 | color: @jumbotron-heading-color; 15 | } 16 | 17 | p { 18 | margin-bottom: (@jumbotron-padding / 2); 19 | font-size: @jumbotron-font-size; 20 | font-weight: 200; 21 | } 22 | 23 | > hr { 24 | border-top-color: darken(@jumbotron-bg, 10%); 25 | } 26 | 27 | .container &, 28 | .container-fluid & { 29 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container 30 | } 31 | 32 | .container { 33 | max-width: 100%; 34 | } 35 | 36 | @media screen and (min-width: @screen-sm-min) { 37 | padding: (@jumbotron-padding * 1.6) 0; 38 | 39 | .container &, 40 | .container-fluid & { 41 | padding-left: (@jumbotron-padding * 2); 42 | padding-right: (@jumbotron-padding * 2); 43 | } 44 | 45 | h1, 46 | .h1 { 47 | font-size: (@font-size-base * 4.5); 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/php/action_crawler.php: -------------------------------------------------------------------------------- 1 | $CONFIG['catcherPathFormat'], 14 | "maxSize" => $CONFIG['catcherMaxSize'], 15 | "allowFiles" => $CONFIG['catcherAllowFiles'], 16 | "oriName" => "remote.png" 17 | ); 18 | $fieldName = $CONFIG['catcherFieldName']; 19 | 20 | /* 抓取远程图片 */ 21 | $list = array(); 22 | if (isset($_POST[$fieldName])) { 23 | $source = $_POST[$fieldName]; 24 | } else { 25 | $source = $_GET[$fieldName]; 26 | } 27 | foreach ($source as $imgUrl) { 28 | $item = new Uploader($imgUrl, $config, "remote"); 29 | $info = $item->getFileInfo(); 30 | array_push($list, array( 31 | "state" => $info["state"], 32 | "url" => $info["url"], 33 | "size" => $info["size"], 34 | "title" => htmlspecialchars($info["title"]), 35 | "original" => htmlspecialchars($info["original"]), 36 | "source" => htmlspecialchars($imgUrl) 37 | )); 38 | } 39 | 40 | /* 返回抓取数据 */ 41 | return json_encode(array( 42 | 'state'=> count($list) ? 'SUCCESS':'ERROR', 43 | 'list'=> $list 44 | )); -------------------------------------------------------------------------------- /src/editor/level2/rich-text-editor_example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rich Text Editor Example 5 | 6 | 7 | 17 | 18 | 19 | 20 |

Rich Text Editor Example

21 |
22 |
23 | Add a comment 24 |

Write your name:
25 |

Write your email:

26 | Write a comment:
27 |
28 | Did you like this article? 29 |

30 | 31 |

32 |
33 | 34 | -------------------------------------------------------------------------------- /src/_lib/jquery.cookie.min.js: -------------------------------------------------------------------------------- 1 | /*! jquery.cookie v1.4.1 | MIT */ 2 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); 3 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | 4 | // Utilities 5 | @import "mixins/hide-text.less"; 6 | @import "mixins/opacity.less"; 7 | @import "mixins/image.less"; 8 | @import "mixins/labels.less"; 9 | @import "mixins/reset-filter.less"; 10 | @import "mixins/resize.less"; 11 | @import "mixins/responsive-visibility.less"; 12 | @import "mixins/size.less"; 13 | @import "mixins/tab-focus.less"; 14 | @import "mixins/text-emphasis.less"; 15 | @import "mixins/text-overflow.less"; 16 | @import "mixins/vendor-prefixes.less"; 17 | 18 | // Components 19 | @import "mixins/alerts.less"; 20 | @import "mixins/buttons.less"; 21 | @import "mixins/panels.less"; 22 | @import "mixins/pagination.less"; 23 | @import "mixins/list-group.less"; 24 | @import "mixins/nav-divider.less"; 25 | @import "mixins/forms.less"; 26 | @import "mixins/progress-bar.less"; 27 | @import "mixins/table-row.less"; 28 | 29 | // Skins 30 | @import "mixins/background-variant.less"; 31 | @import "mixins/border-radius.less"; 32 | @import "mixins/gradients.less"; 33 | 34 | // Layout 35 | @import "mixins/clearfix.less"; 36 | @import "mixins/center-block.less"; 37 | @import "mixins/nav-vertical-align.less"; 38 | @import "mixins/grid-framework.less"; 39 | @import "mixins/grid.less"; 40 | -------------------------------------------------------------------------------- /src/loadingPage/loadingPage.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define(factory); 4 | } else { 5 | factory(); 6 | } 7 | }(function() { 8 | 9 | var loading = function() { 10 | if (document.querySelector('.loadingPage')) return; 11 | var ele = document.createElement("div"); 12 | ele.setAttribute("class", "loadingPage"); 13 | ele.innerHTML = '' 14 | try { 15 | document.querySelector("body").appendChild(ele); 16 | } catch (e) { 17 | alert('Please place #loadingPage# after body.') 18 | } 19 | } 20 | 21 | loading(); 22 | 23 | 24 | document.addEventListener('loadingPageLoaded', function(e) { 25 | var ele = document.querySelector('.loadingPage'); 26 | if (ele) { 27 | try{ 28 | ele.remove(); 29 | } catch (e) { 30 | ele.parentNode.removeChild(ele) 31 | } 32 | } 33 | }); 34 | 35 | document.addEventListener('loadingPageLoading', function() { 36 | loading(); 37 | }); 38 | 39 | window.loadingPage = { 40 | loading: function() { 41 | document.dispatchEvent(new Event('loadingPageLoading')); 42 | }, 43 | loaded: function() { 44 | document.dispatchEvent(new Event('loadingPageLoaded')); 45 | } 46 | }; 47 | 48 | })); 49 | -------------------------------------------------------------------------------- /src/formValidator/formValidator.css: -------------------------------------------------------------------------------- 1 | .formValidator-invalid { 2 | outline: none !important; 3 | border-color: #a94442; 4 | border-width: 1px; 5 | border-style: solid; 6 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; 7 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 8 | } 9 | .formValidator-valid { 10 | outline: none !important; 11 | border-color: #3c763d; 12 | border-width: 1px; 13 | border-style: solid; 14 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; 15 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 16 | } 17 | .formValidator-errorMsgBox { 18 | position: absolute; 19 | padding: 5px 10px; 20 | background-color: #fff; 21 | border: solid 1px #a94442; 22 | border-radius: 8px; 23 | margin-top: 10px; 24 | margin-left: -10px; 25 | color: #a94442; 26 | font-size: 14px; 27 | z-index: 9999; 28 | } 29 | .formValidator-errorMsgBox:before, 30 | .formValidator-errorMsgBox:after { 31 | content: ''; 32 | position: absolute; 33 | height: 0; 34 | width: 0; 35 | border: solid 8px; 36 | border-color: transparent transparent #a94442; 37 | left: 6px; 38 | top: -16px; 39 | } 40 | .formValidator-errorMsgBox:after { 41 | border-color: transparent transparent #fff; 42 | top: -15px; 43 | } 44 | -------------------------------------------------------------------------------- /src/lazyload/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | lazyload demo 5 | 13 | 14 | 15 |

Set default img's source to "data:image/gif;base64,.."

16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/paging/paging.scss: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | 3 | $color : #B41800; 4 | $border-color : #A2A2A2; 5 | 6 | .paging { 7 | display: inline-block; 8 | 9 | ul { 10 | margin: 0; 11 | padding: 0; 12 | display: block; 13 | list-style: none; 14 | } 15 | li { 16 | display: block; 17 | background-color: #fff; 18 | padding: 3px; 19 | width: 25px; 20 | text-align: center; 21 | font-family: sans-serif; 22 | color: $color; 23 | text-decoration: none; 24 | float: left; 25 | border-right: solid $border-color 1px; 26 | border-top: solid $border-color 1px; 27 | border-bottom: solid $border-color 1px; 28 | cursor: pointer; 29 | font-weight: bolder; 30 | box-sizing: content-box; 31 | 32 | &.first-child{ 33 | border-left: solid $border-color 1px; 34 | border-radius: 5px 0 0 5px; 35 | } 36 | &.last-child{ 37 | border-radius: 0 5px 5px 0; 38 | } 39 | &:hover { 40 | color: #fff; 41 | background-color: lighten($color, 5%); 42 | } 43 | &.disabled:hover{ 44 | cursor: no-drop; 45 | } 46 | &.active,&.active:hover{ 47 | color: #FFF; 48 | background-color: $color; 49 | } 50 | } 51 | 52 | &:after { 53 | content: ""; 54 | clear: both; 55 | display: block; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /src/alert/alert.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "AAAA,qBAAsB;EACpB,QAAQ,EAAE,KAAK;EACf,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,CAAC;EACN,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,EAAE;EACX,OAAO,EAAE,KAAK;EACd,gBAAgB,EAAE,mBAAmB;EACrC,qBAAqB,EAAC,IAAI;EAC1B,mBAAmB,EAAC,IAAI;EACxB,kBAAkB,EAAC,IAAI;EACvB,gBAAgB,EAAC,IAAI;EACrB,eAAe,EAAC,IAAI;EACpB,WAAW,EAAC,IAAI;;AAElB,aAAc;EACZ,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,GAAG;EACT,GAAG,EAAE,GAAG;EACR,KAAK,EAAE,KAAK;EACZ,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;EAClB,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,MAAM;EAClB,gBAAgB,EAAE,mBAAmB;EACrC,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,gBAAgB;EAC3B,iBAAiB,EAAE,gBAAgB;EAEnC,wBAAW;IACT,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,SAAS;EAGvB,sBAAS;IACP,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,gBAAgB,EAAE,OAAO;IACzB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,OAAO;;AAKjB,+BAEC;EAUD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAfZ,4BAEC;EAOD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAZZ,uBAEC;EAID,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC", 4 | "sources": ["alert.scss"], 5 | "names": [], 6 | "file": "alert.css" 7 | } -------------------------------------------------------------------------------- /src/deletable/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 24 | 25 | 26 | 27 |

请在chrome的手机模式下查看,长按,左划,右划

28 | 34 | 35 | 36 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/mixins/buttons.less: -------------------------------------------------------------------------------- 1 | // Button variants 2 | // 3 | // Easily pump out default styles, as well as :hover, :focus, :active, 4 | // and disabled options for all buttons 5 | 6 | .button-variant(@color; @background; @border) { 7 | color: @color; 8 | background-color: @background; 9 | border-color: @border; 10 | 11 | &:hover, 12 | &:focus, 13 | &.focus, 14 | &:active, 15 | &.active, 16 | .open > .dropdown-toggle& { 17 | color: @color; 18 | background-color: darken(@background, 10%); 19 | border-color: darken(@border, 12%); 20 | } 21 | &:active, 22 | &.active, 23 | .open > .dropdown-toggle& { 24 | background-image: none; 25 | } 26 | &.disabled, 27 | &[disabled], 28 | fieldset[disabled] & { 29 | &, 30 | &:hover, 31 | &:focus, 32 | &.focus, 33 | &:active, 34 | &.active { 35 | background-color: @background; 36 | border-color: @border; 37 | } 38 | } 39 | 40 | .badge { 41 | color: @background; 42 | background-color: @color; 43 | } 44 | } 45 | 46 | // Button sizes 47 | .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) { 48 | padding: @padding-vertical @padding-horizontal; 49 | font-size: @font-size; 50 | line-height: @line-height; 51 | border-radius: @border-radius; 52 | } 53 | -------------------------------------------------------------------------------- /src/baseUtils/_grunt-demo-how-to/css/Gruntfile.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap's Gruntfile 3 | * http://getbootstrap.com 4 | * Copyright 2013-2015 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | */ 7 | 8 | module.exports = function (grunt) { 9 | 'use strict'; 10 | // Project configuration. 11 | grunt.initConfig({ 12 | 13 | // Metadata. 14 | pkg: grunt.file.readJSON('package.json'), 15 | banner: '/*!\n' + 16 | ' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' + 17 | ' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + 18 | ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + 19 | ' */\n', 20 | cssmin: { 21 | options: { 22 | // TODO: disable `zeroUnits` optimization once clean-css 3.2 is released 23 | // and then simplify the fix for https://github.com/twbs/bootstrap/issues/14837 accordingly 24 | compatibility: 'ie8', 25 | keepSpecialComments: '*', 26 | advanced: false 27 | }, 28 | cssTest: { 29 | files: { 30 | "all.css": ["a.css", "b.css"] 31 | } 32 | } 33 | }, 34 | }); 35 | 36 | grunt.loadNpmTasks('grunt-contrib-cssmin'); 37 | 38 | 39 | grunt.registerTask('default', ["cssmin:cssTest"]); 40 | }; 41 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/bootstrap.less: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | @import "variables.less"; 3 | @import "mixins.less"; 4 | 5 | // Reset and dependencies 6 | @import "normalize.less"; 7 | @import "print.less"; 8 | @import "glyphicons.less"; 9 | 10 | // Core CSS 11 | @import "scaffolding.less"; 12 | @import "type.less"; 13 | @import "code.less"; 14 | @import "grid.less"; 15 | @import "tables.less"; 16 | @import "forms.less"; 17 | @import "buttons.less"; 18 | 19 | // Components 20 | @import "component-animations.less"; 21 | @import "dropdowns.less"; 22 | @import "button-groups.less"; 23 | @import "input-groups.less"; 24 | @import "navs.less"; 25 | @import "navbar.less"; 26 | @import "breadcrumbs.less"; 27 | @import "pagination.less"; 28 | @import "pager.less"; 29 | @import "labels.less"; 30 | @import "badges.less"; 31 | @import "jumbotron.less"; 32 | @import "thumbnails.less"; 33 | @import "alerts.less"; 34 | @import "progress-bars.less"; 35 | @import "media.less"; 36 | @import "list-group.less"; 37 | @import "panels.less"; 38 | @import "responsive-embed.less"; 39 | @import "wells.less"; 40 | @import "close.less"; 41 | 42 | // Components w/ JavaScript 43 | @import "modals.less"; 44 | @import "tooltip.less"; 45 | @import "popovers.less"; 46 | @import "carousel.less"; 47 | 48 | // Utility classes 49 | @import "utilities.less"; 50 | @import "responsive-utilities.less"; 51 | -------------------------------------------------------------------------------- /src/editor/ueditor/ueditor-local.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(app) { 3 | 4 | // "connect-multiparty": "2.0.0", 5 | var multipart = require('connect-multiparty'); 6 | var multipartMiddleware = multipart(); 7 | 8 | // Images' temp dirctory. (Example: C:\Users\zhou\AppData\Local\Temp\) 9 | var dir; 10 | 11 | // Image request. 12 | app.all('/ueditor/img/:id', function(req, res) { 13 | res.sendFile(dir + '/' + req.params.id); 14 | }); 15 | 16 | // Ueditor server. 17 | app.all('/ueditor/ue', multipartMiddleware, function(req, res) { 18 | 19 | // Upload 20 | if (req.query.action === "uploadimage") { 21 | 22 | var path = req.files.upfile.path, 23 | name = path.substring(path.lastIndexOf('\\') + 1); 24 | 25 | if (dir === undefined) { 26 | dir = path.substring(0, path.lastIndexOf('\\')); 27 | } 28 | 29 | res.json({ 30 | 'url': '/ueditor/img/' + name, 31 | 'title': '', 32 | 'original': '', 33 | 'state': 'SUCCESS' 34 | }); 35 | 36 | // List 37 | } else if (req.query.action === "listimage") { 38 | res.json({ 39 | "state": "SUCCESS", 40 | "list": [], 41 | "start": 1, 42 | "total": 1 43 | }) 44 | 45 | // Config 46 | } else { 47 | res.redirect('/ueditor/php/config.json') 48 | } 49 | }) 50 | 51 | } 52 | -------------------------------------------------------------------------------- /src/preview/preview.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define([ "jquery" ], factory); 4 | } else { 5 | factory(jQuery); 6 | } 7 | }(function($) { 8 | 9 | $.fn.preview = function(o) { 10 | 11 | // var options = $.extend({ 12 | 13 | // }, o); 14 | 15 | var $this = $(this); 16 | var results = []; 17 | // element number 18 | var en = $(this).length; 19 | var callback; 20 | 21 | var loadEle = function(ei) { 22 | 23 | 24 | var fn, files = $this[ei].files; 25 | fn = files.length; 26 | 27 | var loadFile = function(fi) { 28 | var reader = new FileReader() 29 | reader.readAsDataURL(files[fi]) 30 | reader.onload = function() { 31 | results.push(this.result); 32 | 33 | fi = fi + 1; 34 | if (fi < fn) { 35 | loadFile(fi); 36 | } else { 37 | // all results geted 38 | ei = ei + 1 39 | if (ei < en) { 40 | loadEle(ei) 41 | } else { 42 | callback(results); 43 | } 44 | } 45 | } 46 | } 47 | loadFile(0); 48 | 49 | }; 50 | loadEle(0); 51 | 52 | 53 | return { 54 | then: function(c) { 55 | callback = c; 56 | } 57 | } 58 | 59 | } 60 | 61 | return $; 62 | })); 63 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/labels.less: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: @label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // Add hover effects, but only for links 18 | a& { 19 | &:hover, 20 | &:focus { 21 | color: @label-link-hover-color; 22 | text-decoration: none; 23 | cursor: pointer; 24 | } 25 | } 26 | 27 | // Empty labels collapse automatically (not available in IE8) 28 | &:empty { 29 | display: none; 30 | } 31 | 32 | // Quick fix for labels in buttons 33 | .btn & { 34 | position: relative; 35 | top: -1px; 36 | } 37 | } 38 | 39 | // Colors 40 | // Contextual variations (linked labels get darker on :hover) 41 | 42 | .label-default { 43 | .label-variant(@label-default-bg); 44 | } 45 | 46 | .label-primary { 47 | .label-variant(@label-primary-bg); 48 | } 49 | 50 | .label-success { 51 | .label-variant(@label-success-bg); 52 | } 53 | 54 | .label-info { 55 | .label-variant(@label-info-bg); 56 | } 57 | 58 | .label-warning { 59 | .label-variant(@label-warning-bg); 60 | } 61 | 62 | .label-danger { 63 | .label-variant(@label-danger-bg); 64 | } 65 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/preview/preview.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 |
29 | 30 | 40 | -------------------------------------------------------------------------------- /src/datetime/index.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var loadScript = function(url, callback) { 3 | var script = document.createElement('script'); 4 | script.src = url; 5 | script.onload = callback; 6 | document.head.appendChild(script); 7 | } 8 | 9 | loadScript('./rome.min.js', function() { 10 | 11 | rome.moment.defineLocale('zh-cn', { 12 | months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), 13 | monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), 14 | weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), 15 | weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'), 16 | weekdaysMin : '日_一_二_三_四_五_六'.split('_') 17 | }); 18 | rome.moment.locale('zh-cn'); 19 | 20 | var datetime = document.querySelectorAll('input[type=datetime-local]'); 21 | for (var i = datetime.length - 1; i >= 0; i--) { 22 | rome(datetime[i]) 23 | datetime[i].type = 'text'; 24 | datetime[i].value = datetime[i].value.replace('T', ' '); 25 | } 26 | 27 | var date = document.querySelectorAll('input[type=date]'); 28 | for (var i = date.length - 1; i >= 0; i--) { 29 | rome(date[i], {time: false}); 30 | date[i].type = 'text'; 31 | } 32 | 33 | }) 34 | 35 | // load CSS 36 | var link = document.createElement('link'); 37 | link.rel = 'stylesheet'; 38 | link.href = './rome.css'; 39 | document.head.appendChild(link); 40 | })(); 41 | -------------------------------------------------------------------------------- /src/lazyload/demo4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | lazyload demo 5 | 13 | 14 | 15 |

Lazyload for background-image.

16 |
17 |
18 |
19 | 20 |
21 |
22 |
23 |
24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap-sass/buttons.scss: -------------------------------------------------------------------------------- 1 | 2 | /* @see https://github.com/twbs/bootstrap/blob/master/less/mixins/buttons.less */ 3 | @mixin button($color, $background, $border) { 4 | color: $color; 5 | background-color: $background; 6 | border-color: $border; 7 | 8 | &:hover, 9 | &:focus, 10 | &.focus, 11 | &:active, 12 | &.active { 13 | color: $color; 14 | background-color: darken($background, 10%); 15 | border-color: darken($border, 12%); 16 | } 17 | &:active, 18 | &.active { 19 | background-image: none; 20 | } 21 | &.disabled, 22 | &[disabled], 23 | fieldset[disabled] & { 24 | &, 25 | &:hover, 26 | &:focus, 27 | &.focus, 28 | &:active, 29 | &.active { 30 | background-color: $background; 31 | border-color: $border; 32 | } 33 | } 34 | } 35 | 36 | .btn-red { 37 | @include button(#fff, #B41800, #B41800) 38 | } 39 | .btn-success, 40 | .btn-upload, 41 | .btn-primary { 42 | @include button(#1F1F1F, #EAEAEA, #e0e0e0) 43 | } 44 | 45 | .btn-red.btn-wide, 46 | .btn-success.btn-wide, 47 | .btn-upload.btn-wide, 48 | .btn-primary.btn-wide { 49 | width: 200px; 50 | } 51 | 52 | .btn-text { 53 | cursor: pointer; 54 | display: inline-block; 55 | padding: 5px 0; 56 | color: #666; 57 | &:hover, 58 | &:focus, 59 | &.focus, 60 | &:active, 61 | &.active { 62 | color: #000; 63 | text-decoration: none; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/alert/alert.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define(factory); 4 | } else { 5 | factory(); 6 | } 7 | }(function() { 8 | 9 | var _alert = window.alert 10 | , temp = null 11 | , dialog = '
' 12 | , option; 13 | window.alert = function(msg, o) { 14 | 15 | option = o; 16 | 17 | // If not inited, just init it. 18 | if (typeof dialog === 'string') { 19 | temp = document.createElement("div"); 20 | temp.innerHTML = dialog 21 | dialog = temp.firstChild; 22 | dialog.style.display = 'none'; 23 | document.body.appendChild(dialog); 24 | 25 | dialog.addEventListener('click', function(e) { 26 | if (e.target.className === 'close') { 27 | this.style.display = 'none'; 28 | typeof option === 'function' && option(); 29 | } 30 | }); 31 | 32 | } 33 | 34 | 35 | // Use custom alert 36 | if ((typeof option === 'boolean' && option === false) || typeof option === 'function') { 37 | 38 | dialog.style.display = 'block' 39 | dialog.firstChild.firstChild.innerHTML = msg; 40 | 41 | // Use system alert 42 | } else { 43 | _alert(msg); 44 | } 45 | } 46 | 47 | return window.alert; 48 | 49 | })); 50 | -------------------------------------------------------------------------------- /src/confirm/confirm.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "AAEA,uBAAwB;EACtB,QAAQ,EAAE,KAAK;EACf,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,CAAC;EACN,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,EAAE;EACX,OAAO,EAAE,KAAK;EACd,gBAAgB,EAAE,mBAAmB;EACrC,qBAAqB,EAAC,IAAI;EAC1B,mBAAmB,EAAC,IAAI;EACxB,kBAAkB,EAAC,IAAI;EACvB,gBAAgB,EAAC,IAAI;EACrB,eAAe,EAAC,IAAI;EACpB,WAAW,EAAC,IAAI;;AAElB,eAAgB;EACd,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,GAAG;EACT,GAAG,EAAE,GAAG;EACR,KAAK,EAAE,KAAK;EACZ,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;EAClB,aAAa,EAzBE,IAAI;EA0BnB,UAAU,EAAE,MAAM;EAClB,gBAAgB,EAAE,sBAAsB;EACxC,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,kBAAkB;EAC7B,iBAAiB,EAAE,kBAAkB;EAErC,0BAAW;IACT,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,SAAS;EAKrB,gEAAqB;IACnB,OAAO,EA3CI,IAAI;IA4Cf,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,gBAAgB,EAAE,OAAO;IACzB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,IAAI;EAGb,6BAAQ;IACN,aAAa,EAAE,UAAoB;IACnC,YAAY,EAAE,cAAc;EAG9B,iCAAY;IACV,aAAa,EAAE,UAAoB;;AAMvC,iCAEC;EAUD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAfZ,8BAEC;EAOD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAZZ,yBAEC;EAID,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC", 4 | "sources": ["confirm.scss"], 5 | "names": [], 6 | "file": "confirm.css" 7 | } -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/highcharts/modules/heatmap.src.js: -------------------------------------------------------------------------------- 1 | (function (Highcharts) { 2 | var seriesTypes = Highcharts.seriesTypes, 3 | each = Highcharts.each; 4 | 5 | seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { 6 | colorKey: 'z', 7 | useMapGeometry: false, 8 | pointArrayMap: ['y', 'z'], 9 | translate: function () { 10 | var series = this, 11 | options = series.options, 12 | dataMin = Number.MAX_VALUE, 13 | dataMax = Number.MIN_VALUE; 14 | 15 | series.generatePoints(); 16 | 17 | each(series.data, function (point) { 18 | var x = point.x, 19 | y = point.y, 20 | value = point.z, 21 | xPad = (options.colsize || 1) / 2, 22 | yPad = (options.rowsize || 1) / 2; 23 | 24 | point.path = [ 25 | 'M', x - xPad, y - yPad, 26 | 'L', x + xPad, y - yPad, 27 | 'L', x + xPad, y + yPad, 28 | 'L', x - xPad, y + yPad, 29 | 'Z' 30 | ]; 31 | 32 | point.shapeType = 'path'; 33 | point.shapeArgs = { 34 | d: series.translatePath(point.path) 35 | }; 36 | 37 | if (typeof value === 'number') { 38 | if (value > dataMax) { 39 | dataMax = value; 40 | } else if (value < dataMin) { 41 | dataMin = value; 42 | } 43 | } 44 | }); 45 | 46 | series.translateColors(dataMin, dataMax); 47 | }, 48 | 49 | getBox: function () {} 50 | 51 | }); 52 | 53 | }(Highcharts)); 54 | -------------------------------------------------------------------------------- /src/CSS-Controls/like/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 38 | 39 | 40 |
41 | 42 | 43 |
44 | 45 | 46 | 47 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /src/_fixDesktop/Event.js: -------------------------------------------------------------------------------- 1 | // 2 | // IE 3 | if (navigator.appName.indexOf("Internet Explorer") !== -1) { 4 | 5 | // IE 8, OK! 6 | if (navigator.appVersion.indexOf("MSIE 8") !== -1) { 7 | Element.prototype.addEventListener = function (name, callback) { 8 | this.attachEvent('on' + name, callback); 9 | } 10 | 11 | // Test it on IE 7 12 | // IE 6 ? I don't know. 13 | } else if (navigator.appVersion.indexOf("MSIE 7") !== -1 || navigator.appVersion.indexOf("MSIE 6") !== -1) { 14 | 15 | var _getElementById = document.getElementById; 16 | document.getElementById = function(str) { 17 | var ele = _getElementById(str); 18 | ele.addEventListener = function(name, callback) { 19 | this.attachEvent('on' + name, callback); 20 | } 21 | return ele; 22 | } 23 | 24 | // document.getElementsByClassName 25 | // document.getElementsByName 26 | // document.getElementsByTagName 27 | // document.getElementsByTagNameNS 28 | // 29 | // 30 | // var _getElementsByTagName = document.getElementsByTagName; 31 | // document.getElementsByTagName = function(str) { 32 | // var eles = _getElementsByTagName(str); 33 | // var ele; 34 | // for (ele in eles) { 35 | // ele.addEventListener = function(name, callback) { 36 | // this.attachEvent('on' + name, callback); 37 | // } 38 | // } 39 | // return eles; 40 | // } 41 | // 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/third-party/highcharts/modules/no-data-to-display.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v3.0.6 (2013-10-04) 3 | Plugin for displaying a message when there is no data visible in chart. 4 | 5 | (c) 2010-2013 Highsoft AS 6 | Author: Øystein Moseng 7 | 8 | License: www.highcharts.com/license 9 | */ 10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!== 11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0; 12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts); 13 | -------------------------------------------------------------------------------- /src/confirm/confirm.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define(factory); 4 | } else { 5 | factory(); 6 | } 7 | }(function() { 8 | 9 | var _confirm = window.confirm, 10 | temp; 11 | window.confirm = function(msg, option) { 12 | 13 | // Use custom confirm. 14 | if (typeof option === 'function') { 15 | 16 | var dialog = 17 | '
' + 18 | msg + 19 | '
'; 20 | 21 | // String to dom. 22 | temp = temp === undefined ? document.createElement("div") : temp; 23 | temp.innerHTML = dialog 24 | dialog = temp.firstChild; 25 | temp.innerHTML = ''; 26 | 27 | document.getElementsByTagName('body')[0].appendChild(dialog); 28 | 29 | dialog.addEventListener('click', function(e) { 30 | 31 | if (e.target.className === 'ok') { 32 | 33 | this.remove(); 34 | typeof option === 'function' && option(true); 35 | 36 | } else if (e.target.className === 'cancel') { 37 | 38 | this.remove(); 39 | typeof option === 'function' && option(false); 40 | 41 | } 42 | }); 43 | 44 | // Use system confirm. 45 | } else { 46 | return _confirm(msg); 47 | } 48 | } 49 | 50 | return window.confirm; 51 | 52 | })); 53 | -------------------------------------------------------------------------------- /src/tabs/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | 14 | 15 |
16 |
17 |
    18 |
  • 未付款订单
  • 19 |
  • 待发货订单
  • 20 |
  • 已发货订单
  • 21 |
  • 完成订单
  • 22 |
  • 已关闭订单
  • 23 |
  • 全部订单
  • 24 |
25 |
26 |
27 |
tabs-1
28 |
tabs-2
29 |
tabs-3
30 |
tabs-4
31 |
tabs-5
32 |
tabs-6
33 |
34 |
35 | 36 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/lazyload/demo3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | lazyload demo 5 | 13 | 14 | 15 |

You should change your imgs source before lazyload.

16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/baseCSS/bootstrap/less/badges.less: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: @font-size-small; 12 | font-weight: @badge-font-weight; 13 | color: @badge-color; 14 | line-height: @badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: @badge-bg; 19 | border-radius: @badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | 32 | .btn-xs &, 33 | .btn-group-xs > .btn & { 34 | top: 0; 35 | padding: 1px 5px; 36 | } 37 | 38 | // Hover state, but only for links 39 | a& { 40 | &:hover, 41 | &:focus { 42 | color: @badge-link-hover-color; 43 | text-decoration: none; 44 | cursor: pointer; 45 | } 46 | } 47 | 48 | // Account for badges in navs 49 | .list-group-item.active > &, 50 | .nav-pills > .active > a > & { 51 | color: @badge-active-color; 52 | background-color: @badge-active-bg; 53 | } 54 | 55 | .list-group-item > & { 56 | float: right; 57 | } 58 | 59 | .list-group-item > & + & { 60 | margin-right: 5px; 61 | } 62 | 63 | .nav-pills > li > a > & { 64 | margin-left: 3px; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/clearable/clearable.css: -------------------------------------------------------------------------------- 1 | .clearable { 2 | display: inline-block; 3 | position: relative; 4 | } 5 | .clearable .clearable-button { 6 | display: none; 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | padding: 4px 8px; 11 | } 12 | .clearable.active .clearable-button { 13 | display: block; 14 | } 15 | .clearable .clearable-button:after { 16 | content:''; 17 | height: 14px; 18 | width: 14px; 19 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAbwAAAG8B8aLcQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAKESURBVFiFzdc9iF1VEAfw317jusRsZZPFgCkCFsEypBGMsRA2ySaN1aLloKW9pAix3lL3tGIRbMIWAT+y+aqWlCGQIphGfIKV7PoSbNbinEfevrz78S77IH+4xeXOmf//npkzM2dhf39fF6SUFnEeaziNlfLAoDyPsYXtiPivi9+FNgEppRVcxTqWO6llFz/iWkQMeglIKS3hG3yNox2JJzHEBq5HxIvOAlJKx3ETZ3sST2IHVyLir1YBKaUPcAsnDol8hD+wGhGPagWUP384B/JxEWfGd6IaI1+St31e5Irvm4XroAA54Q4r5k04W7hQQlCO2lP9s31WDHEqIgajHbjaQP5cLjwf4e8Ozn/Gu4gGm6OFU1Uq3HqL2t8j4j4+aRHxi3zc/sSTFqHrKaXFSi6vTRXuHdxIKS2WI1Qn4ldcjogXKaWT+KFFwDLOV3Jtb8MafmoQ8dsE+V2818VvJce3C+pE3MZaRDyfkRxOV152tD4iPsSlnuSwsrC5ubmLYzMsIrfcz0Yttyc57FXtNlOxjDfG3pfwVh9HlTxIzIK7uFi2/XgJxxN8jFe6XQsGswq4V8iHKaUTeOBlTvQRMajkMaoL7uNCRPxbyO/glIOJOauIx5WcUG14UEM+Ql8RWxW25RmuDv/IR22vhrxOxOct5LvYHnXD7/BljeEe3sfb8qQ0jXwcW/gCn+JGg933EfHVkfJyrSya1hGP4RmOODg/1GFNrpBvNtgMC2d2WEbnjYYFix3JR2gih43RuD7u9Lo8vc4bO4ULr9NQCuXDajGcB/nq5N3glbiWLnfG4YZjR/7zR5MfpiZWUXkO38oZ2xfD4uPctFsRr/PldIqQuVzP/wfq4CUgNa1WoAAAAABJRU5ErkJggg==); 20 | display: block; 21 | background-size: contain; 22 | } 23 | -------------------------------------------------------------------------------- /src/CSS-Controls/like/test-perspective.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 50 | 51 | 52 |
53 |
hello
54 |
55 | 56 | 57 | -------------------------------------------------------------------------------- /src/panel/demo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 34 | 35 | 36 | 37 |
38 | 49 |
50 | 51 | 52 | 53 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /src/prompt/prompt.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "AAEA,sBAAuB;EACrB,QAAQ,EAAE,KAAK;EACf,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,CAAC;EACN,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,EAAE;EACX,OAAO,EAAE,KAAK;EACd,gBAAgB,EAAE,mBAAmB;EACrC,qBAAqB,EAAC,IAAI;EAC1B,mBAAmB,EAAC,IAAI;EACxB,kBAAkB,EAAC,IAAI;EACvB,gBAAgB,EAAC,IAAI;EACrB,eAAe,EAAC,IAAI;EACpB,WAAW,EAAC,IAAI;;AAElB,cAAe;EACb,QAAQ,EAAE,QAAQ;EAClB,IAAI,EAAE,GAAG;EACT,GAAG,EAAE,GAAG;EACR,KAAK,EAAE,KAAK;EACZ,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;EAClB,aAAa,EAzBE,IAAI;EA0BnB,UAAU,EAAE,MAAM;EAClB,gBAAgB,EAAE,sBAAsB;EACxC,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,KAAK;EACjB,SAAS,EAAE,iBAAiB;EAC5B,iBAAiB,EAAE,iBAAiB;EAEpC,uBAAS;IACP,SAAS,EAAE,KAAK;IACZ,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,QAAQ;EAGvB,yBAAW;IACT,OAAO,EAAE,cAAc;IACvB,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,SAAS;IAErB,iCAAQ;MACN,KAAK,EAAE,IAAI;MACX,OAAO,EAAE,GAAG;MACZ,UAAU,EAAE,UAAU;MACtB,MAAM,EAAE,IAAI;EAMd,8DAAqB;IACnB,OAAO,EAxDI,IAAI;IAyDf,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,gBAAgB,EAAE,OAAO;IACzB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,IAAI;EAGb,4BAAQ;IACN,aAAa,EAAE,UAAoB;IACnC,YAAY,EAAE,cAAc;EAG9B,gCAAY;IACV,aAAa,EAAE,UAAoB;;AAMvC,gCAEC;EAUD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAfZ,6BAEC;EAOD,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC;AAZZ,wBAEC;EAID,IAAK;IACH,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,CAAC;EAEZ,EAAG;IACD,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,CAAC", 4 | "sources": ["prompt.scss"], 5 | "names": [], 6 | "file": "prompt.css" 7 | } -------------------------------------------------------------------------------- /src/alert/alert.scss: -------------------------------------------------------------------------------- 1 | .system-alert-wrapper { 2 | position: fixed; 3 | left: 0; 4 | top: 0; 5 | width: 100%; 6 | height: 100%; 7 | content: ""; 8 | display: block; 9 | background-color: rgba(0, 0, 0, 0.42); 10 | -webkit-touch-callout:none; 11 | -webkit-user-select:none; 12 | -khtml-user-select:none; 13 | -moz-user-select:none; 14 | -ms-user-select:none; 15 | user-select:none; 16 | } 17 | .system-alert { 18 | position: absolute; 19 | left: 50%; 20 | top: 50%; 21 | width: 250px; 22 | margin-left: -125px; 23 | margin-top: -100px; 24 | border-radius: 10px; 25 | transition: all 1s; 26 | background-color: rgba(0, 0, 0, 0.85); 27 | color: #fff; 28 | text-align: right; 29 | animation: system-alert .5s; 30 | -webkit-animation: system-alert .5s; 31 | 32 | > .content { 33 | padding: 20px; 34 | color: #FFF; 35 | text-align: center; 36 | word-break: break-all; 37 | } 38 | 39 | > .close { 40 | padding: 10px; 41 | border: none; 42 | color: #FFF; 43 | background-color: #FFB100; 44 | font-size: 14px; 45 | display: block; 46 | width: 100%; 47 | border-radius: 0 0 10px 10px; 48 | cursor: pointer; 49 | } 50 | } 51 | 52 | @mixin keyframes($name) { 53 | @-webkit-keyframes #{$name} { 54 | @content; 55 | } 56 | @-moz-keyframes #{$name} { 57 | @content; 58 | } 59 | @keyframes #{$name} { 60 | @content; 61 | } 62 | } 63 | 64 | @include keyframes(system-alert) { 65 | from { 66 | transform: scale(1.5); 67 | opacity: 0; 68 | } 69 | to { 70 | transform: scale(1); 71 | opacity: 1; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/lazyload/demo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | lazyload demo 5 | 13 | 14 | 15 |

Dynamic dom.

16 | 17 | 18 | 19 | 20 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/editor/ueditor/public/ueditor/dialogs/table/edittable.css: -------------------------------------------------------------------------------- 1 | body{ 2 | overflow: hidden; 3 | width: 540px; 4 | } 5 | .wrapper { 6 | margin: 10px auto 0; 7 | font-size: 12px; 8 | overflow: hidden; 9 | width: 520px; 10 | height: 315px; 11 | } 12 | 13 | .clear { 14 | clear: both; 15 | } 16 | 17 | .wrapper .left { 18 | float: left; 19 | margin-left: 10px;; 20 | } 21 | 22 | .wrapper .right { 23 | float: right; 24 | border-left: 2px dotted #EDEDED; 25 | padding-left: 15px; 26 | } 27 | 28 | .section { 29 | margin-bottom: 15px; 30 | width: 240px; 31 | overflow: hidden; 32 | } 33 | 34 | .section h3 { 35 | font-weight: bold; 36 | padding: 5px 0; 37 | margin-bottom: 10px; 38 | border-bottom: 1px solid #EDEDED; 39 | font-size: 12px; 40 | } 41 | 42 | .section ul { 43 | list-style: none; 44 | overflow: hidden; 45 | clear: both; 46 | 47 | } 48 | 49 | .section li { 50 | float: left; 51 | width: 120px;; 52 | } 53 | 54 | .section .tone { 55 | width: 80px;; 56 | } 57 | 58 | .section .preview { 59 | width: 220px; 60 | } 61 | 62 | .section .preview table { 63 | text-align: center; 64 | vertical-align: middle; 65 | color: #666; 66 | } 67 | 68 | .section .preview caption { 69 | font-weight: bold; 70 | } 71 | 72 | .section .preview td { 73 | border-width: 1px; 74 | border-style: solid; 75 | height: 22px; 76 | } 77 | 78 | .section .preview th { 79 | border-style: solid; 80 | border-color: #DDD; 81 | border-width: 2px 1px 1px 1px; 82 | height: 22px; 83 | background-color: #F7F7F7; 84 | } -------------------------------------------------------------------------------- /src/popup/popup.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define([ "jquery" ], factory); 4 | } else { 5 | var init = factory(jQuery); 6 | init(); 7 | } 8 | }(function($) { 9 | 10 | var Init = function() { 11 | 12 | // Popup page 13 | $("[data-role='popup']").hide().each(function() { 14 | 15 | var $this = $(this); 16 | var closeAnimate = $this.find(".popup-close").data("transition"); 17 | 18 | if (closeAnimate == undefined) 19 | closeAnimate = "bounceOutLeft"; 20 | 21 | $this.find(".popup-close,a").click(function() { 22 | 23 | $this 24 | .addClass("animated " + closeAnimate) 25 | .one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { 26 | $(this).removeClass("animated " + closeAnimate).hide(); 27 | }); 28 | }); 29 | }); 30 | 31 | 32 | // Popup button 33 | $("[data-rel='popup']").each(function() { 34 | 35 | // 36 | $(this).click(function() { 37 | var selector = $(this).data("href"); 38 | var animate = $(this).data("transition"); 39 | if (animate == undefined) 40 | animate = "bounceInLeft"; 41 | $(selector) 42 | .show() 43 | .addClass("animated " + animate) 44 | .one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() { 45 | $(this).removeClass("animated " + animate); 46 | }); 47 | }); 48 | }); 49 | 50 | 51 | // Back button 52 | $("[data-rel='back']").click(function() { 53 | history.back(); 54 | }); 55 | }; 56 | 57 | return Init; 58 | 59 | })); -------------------------------------------------------------------------------- /src/prompt/prompt.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define(factory); 4 | } else { 5 | factory(); 6 | } 7 | }(function() { 8 | 9 | var _prompt = window.prompt, 10 | temp; 11 | window.prompt = function(title, defaultText, callback) { 12 | 13 | // Use custom prompt. 14 | if (typeof callback === 'function') { 15 | 16 | var dialog = 17 | '
' + 18 | title + 19 | '
'; 22 | 23 | // String to dom. 24 | temp = temp === undefined ? document.createElement("div") : temp; 25 | temp.innerHTML = dialog 26 | dialog = temp.firstChild; 27 | temp.innerHTML = ''; 28 | 29 | document.getElementsByTagName('body')[0].appendChild(dialog); 30 | 31 | dialog.addEventListener('click', function(e) { 32 | 33 | if (e.target.className === 'ok') { 34 | 35 | var input = this.getElementsByTagName('input')[0]; 36 | this.remove(); 37 | typeof callback === 'function' && callback(input.value); 38 | 39 | } else if (e.target.className === 'cancel') { 40 | 41 | this.remove(); 42 | typeof callback === 'function' && callback(null); 43 | 44 | } 45 | }); 46 | 47 | // Use system prompt. 48 | } else { 49 | return _prompt(title, defaultText); 50 | } 51 | } 52 | 53 | return window.prompt; 54 | 55 | })); 56 | -------------------------------------------------------------------------------- /src/infiniteScroll/infiniteScroll.js: -------------------------------------------------------------------------------- 1 | !(function(factory) { 2 | if (typeof define === "function" && define.amd) { 3 | define(factory); 4 | } else { 5 | factory(); 6 | } 7 | }(function() { 8 | 9 | function elementInViewport(el) { 10 | var rect = el.getBoundingClientRect() 11 | 12 | // For invisible element. 13 | if (rect.top + rect.bottom + rect.left + rect.right + rect.height + rect.width === 0) { 14 | return false; 15 | } 16 | 17 | return ( 18 | rect.top >= 0 19 | // Pre load. 20 | && rect.top <= ((window.innerHeight || document.documentElement.clientHeight) + 100) 21 | && rect.left >= 0 22 | // Hide carousel except first image. Do not add equal sign. 23 | && rect.left < (window.innerWidth || document.documentElement.clientWidth) 24 | ) 25 | } 26 | 27 | 28 | function processScroll() { 29 | 30 | } 31 | 32 | var init = function(reload) { 33 | 34 | processScroll(); 35 | 36 | if (!reload) { 37 | window.addEventListener('scroll', processScroll); 38 | window.addEventListener('touchend', processScroll); 39 | window.addEventListener('touchmove', processScroll); 40 | setInterval(function() { 41 | processScroll(); 42 | }, 1000) 43 | } 44 | 45 | } 46 | 47 | document.addEventListener('infiniteScroll-reload', init) 48 | document.addEventListener('reload', init) 49 | 50 | 51 | if (document.readyState === 'complete') { 52 | init() 53 | } else { 54 | document.addEventListener('readystatechange', function(e) { 55 | if (document.readyState === 'complete') { 56 | init(); 57 | } 58 | }) 59 | } 60 | 61 | })); 62 | -------------------------------------------------------------------------------- /src/editor/ueditor/ueditor-proxy.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(app) { 3 | 4 | // "request" : "^2.60.0" 5 | var request = require('request'); 6 | // "connect-multiparty": "2.0.0", 7 | var multipart = require('connect-multiparty'); 8 | var multipartMiddleware = multipart(); 9 | var fs = require('fs'); 10 | 11 | // Ueditor server. 12 | app.all('/ueditor/ue', multipartMiddleware, function(req, res) { 13 | 14 | // Upload 15 | if (req.query.action === "uploadimage") { 16 | 17 | var formData = { 18 | my_field: 'my_value', 19 | my_file: fs.createReadStream(req.files.upfile.path) 20 | }; 21 | 22 | // Send it to your image server. 23 | // Edit 'http://image-server-api' 24 | request.post({url:'http://image-server-api', formData: formData}, function optionalCallback(err, httpResponse, body) { 25 | if (err) { 26 | return console.error('upload failed:', err); 27 | } 28 | 29 | res.json({ 30 | // Parse image server's result. Set your own url. 31 | // Edit 'http://image-server-response-url' 32 | // Example: JSON.parse(body).results[0].url 33 | 'url': 'http://image-server-response-url', 34 | 'title': '', 35 | 'original': '', 36 | 'state': 'SUCCESS' 37 | }); 38 | }); 39 | 40 | // List 41 | } else if (req.query.action === "listimage") { 42 | res.json({ 43 | "state": "SUCCESS", 44 | "list": [], 45 | "start": 1, 46 | "total": 1 47 | }) 48 | 49 | // Config 50 | } else { 51 | res.redirect('/ueditor/php/config.json') 52 | } 53 | }) 54 | 55 | } 56 | --------------------------------------------------------------------------------