Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
6d1648de
Commit
6d1648de
authored
Apr 25, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete logs
parent
589d2d14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
build/Gruntfile.js
build/Gruntfile.js
+3
-13
slide/apiCommon.js
slide/apiCommon.js
+1
-0
No files found.
build/Gruntfile.js
View file @
6d1648de
...
...
@@ -27,8 +27,7 @@ module.exports = function(grunt) {
var
defaultConfig
,
packageFile
;
var
path
=
grunt
.
option
(
'
src
'
)
||
'
./configs
'
;
var
level
=
grunt
.
option
(
'
level
'
)
||
'
ADVANCED
'
;
var
formatting
=
grunt
.
option
(
'
formatting
'
)
||
''
;
var
nomap
=
grunt
.
option
(
'
nomap
'
)
||
''
;
var
formatting
=
grunt
.
option
(
'
formatting
'
)
||
''
;
grunt
.
loadNpmTasks
(
'
grunt-contrib-clean
'
);
grunt
.
loadNpmTasks
(
'
grunt-contrib-concat
'
);
...
...
@@ -92,15 +91,11 @@ module.exports = function(grunt) {
grunt
.
registerTask
(
'
build_all
'
,
[
'
build_webword_init
'
,
'
build_sdk
'
,
'
build_webexcel_init
'
,
'
build_sdk
'
,
'
build_webpowerpoint_init
'
,
'
build_sdk
'
]);
grunt
.
registerTask
(
'
compile_sdk_init
'
,
function
(
compilation_level
)
{
grunt
.
file
.
mkdir
(
packageFile
[
'
compile
'
][
'
sdk
'
][
'
log
'
]
);
var
map_file_path
=
packageFile
[
'
compile
'
][
'
sdk
'
][
'
dst
'
]
+
'
.map
'
;
var
map_record_file_path
=
map_file_path
+
'
.tmp
'
;
grunt
.
registerTask
(
'
compile_sdk_init
'
,
function
(
compilation_level
)
{
var
tmp_sdk_path
=
'
sdk-js.tmp
'
;
var
concat_src
=
[
packageFile
[
'
compile
'
][
'
sdk
'
][
'
dst
'
],
packageFile
[
'
compile
'
][
'
defines
'
][
'
dst
'
],
map_record_file_path
];
packageFile
[
'
compile
'
][
'
defines
'
][
'
dst
'
]];
var
concat_src_with_banner_file
=
[];
var
srcFiles
=
packageFile
[
'
compile
'
][
'
sdk
'
][
'
common
'
];
var
sdkOpt
=
{
...
...
@@ -115,10 +110,6 @@ module.exports = function(grunt) {
if
(
formatting
)
{
definesOpt
[
'
formatting
'
]
=
sdkOpt
[
'
formatting
'
]
=
formatting
;
}
if
(
!
nomap
)
{
sdkOpt
[
'
variable_renaming_report
'
]
=
packageFile
[
'
compile
'
][
'
sdk
'
][
'
log
'
]
+
'
/variable.map
'
;
sdkOpt
[
'
property_renaming_report
'
]
=
packageFile
[
'
compile
'
][
'
sdk
'
][
'
log
'
]
+
'
/property.map
'
;
}
if
(
grunt
.
option
(
'
mobile
'
))
{
var
excludeFiles
=
packageFile
[
'
compile
'
][
'
sdk
'
][
'
exclude_mobile
'
]
...
...
@@ -176,7 +167,6 @@ module.exports = function(grunt) {
},
clean
:
[
packageFile
[
'
compile
'
][
'
defines
'
][
'
dst
'
],
map_record_file_path
,
tmp_sdk_path
],
replace
:
{
...
...
slide/apiCommon.js
View file @
6d1648de
...
...
@@ -415,6 +415,7 @@ CAscChartProp.prototype.putStyle = function(v)
CAscChartProp
.
prototype
.
changeType
=
function
(
v
)
{
return
this
.
ChartProperties
&&
this
.
ChartProperties
.
changeType
(
v
);
}
function
CLayoutThumbnail
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment