Skip to content

Commit c036aa8

Browse files
committedJun 13, 2017
prettier format file
1 parent 15c2e1f commit c036aa8

File tree

128 files changed

+31794
-28269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+31794
-28269
lines changed
 

‎Gruntfile.js

+289-263
Large diffs are not rendered by default.

‎_parse/background.js

+18-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
UE.parse.register('background', function (utils) {
2-
var me = this,
3-
root = me.root,
4-
p = root.getElementsByTagName('p'),
5-
styles;
1+
UE.parse.register("background", function(utils) {
2+
var me = this,
3+
root = me.root,
4+
p = root.getElementsByTagName("p"),
5+
styles;
66

7-
for (var i = 0,ci; ci = p[i++];) {
8-
styles = ci.getAttribute('data-background');
9-
if (styles){
10-
ci.parentNode.removeChild(ci);
11-
}
7+
for (var i = 0, ci; (ci = p[i++]); ) {
8+
styles = ci.getAttribute("data-background");
9+
if (styles) {
10+
ci.parentNode.removeChild(ci);
1211
}
12+
}
1313

14-
//追加默认的表格样式
15-
styles && utils.cssRule('ueditor_background', me.selector + '{' + styles + '}', document);
16-
});
14+
//追加默认的表格样式
15+
styles &&
16+
utils.cssRule(
17+
"ueditor_background",
18+
me.selector + "{" + styles + "}",
19+
document
20+
);
21+
});

0 commit comments

Comments
 (0)
Please sign in to comment.