Locking and Unlocking of cells #1390
6
Makefile
6
Makefile
|
@ -57,11 +57,11 @@ dist: dist-deps $(TARGET) bower.json ## Prepare JS files for distribution
|
|||
<$(TARGET) sed "s/require('stream')/{}/g;s/require('....*')/undefined/g" > dist/$(TARGET)
|
||||
cp LICENSE dist/
|
||||
uglifyjs shim.js $(UGLIFYOPTS) -o dist/shim.min.js --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
uglifyjs $(DISTHDR) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).min.js --source-map dist/$(LIB).min.map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
uglifyjs $(DISTHDR) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).min.js --source-map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
misc/strip_sourcemap.sh dist/$(LIB).min.js
|
||||
uglifyjs $(DISTHDR) $(REQS) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).core.min.js --source-map dist/$(LIB).core.min.map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
uglifyjs $(DISTHDR) $(REQS) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).core.min.js --source-map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
misc/strip_sourcemap.sh dist/$(LIB).core.min.js
|
||||
uglifyjs $(DISTHDR) $(REQS) $(ADDONS) dist/$(TARGET) $(AUXTARGETS) $(UGLIFYOPTS) -o dist/$(LIB).full.min.js --source-map dist/$(LIB).full.min.map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
uglifyjs $(DISTHDR) $(REQS) $(ADDONS) dist/$(TARGET) $(AUXTARGETS) $(UGLIFYOPTS) -o dist/$(LIB).full.min.js --source-map --preamble "$$(head -n 1 bits/00_header.js)"
|
||||
misc/strip_sourcemap.sh dist/$(LIB).full.min.js
|
||||
cat <(head -n 1 bits/00_header.js) shim.js $(DISTHDR) $(REQS) dist/$(TARGET) > dist/$(LIB).extendscript.js
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (cell.p && !styles.find(s => !!s.applyProtection)) {
|
||||
if (cell.p && !styles.find(function(s){ return !!s.applyProtection; })) {
|
||||
styles[styles.length] = {
|
||||
numFmtId: z,
|
||||
fontId: 0,
|
||||
|
@ -112,8 +112,8 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
}
|
||||
}
|
||||
if (result == undefined) {
|
||||
let length = styles.length;
|
||||
styles[length] = {
|
||||
var len = styles.length;
|
||||
styles[len] = {
|
||||
numFmtId: z,
|
||||
fontId: 0,
|
||||
fillId: 0,
|
||||
|
@ -121,7 +121,7 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
xfId: 0,
|
||||
applyNumberFormat: 1
|
||||
};
|
||||
result = length;
|
||||
result = len;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -13075,7 +13075,7 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (cell.p && !styles.find(s => !!s.applyProtection)) {
|
||||
if (cell.p && !styles.find(function(s){ return !!s.applyProtection; })) {
|
||||
styles[styles.length] = {
|
||||
numFmtId: z,
|
||||
fontId: 0,
|
||||
|
@ -13096,8 +13096,8 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
}
|
||||
}
|
||||
if (result == undefined) {
|
||||
let length = styles.length;
|
||||
styles[length] = {
|
||||
var len = styles.length;
|
||||
styles[len] = {
|
||||
numFmtId: z,
|
||||
fontId: 0,
|
||||
fillId: 0,
|
||||
|
@ -13105,7 +13105,7 @@ function get_cell_style(styles /*:Array<any>*/ , cell /*:Cell*/ , opts) {
|
|||
xfId: 0,
|
||||
applyNumberFormat: 1
|
||||
};
|
||||
result = length;
|
||||
result = len;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue