[all] added iscroll plugin in distribution package
This commit is contained in:
parent
ed5c599768
commit
b57d3cd47f
|
@ -192,7 +192,7 @@
|
|||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.min.js"><\/script>');
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.min.js"><\/script>');
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.min.js"><\/script>');
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
|
@ -116,6 +116,7 @@ module.exports = function(grunt) {
|
|||
doRegisterTask('underscore');
|
||||
doRegisterTask('zeroclipboard');
|
||||
doRegisterTask('bootstrap');
|
||||
doRegisterTask('iscroll');
|
||||
doRegisterTask('jszip');
|
||||
doRegisterTask('jsziputils');
|
||||
doRegisterTask('requirejs', function(defaultConfig, packageFile) {
|
||||
|
@ -434,6 +435,7 @@ module.exports = function(grunt) {
|
|||
grunt.registerTask('deploy-megapixel', ['megapixel-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-jquery', ['jquery-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-underscore', ['underscore-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-iscroll', ['iscroll-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-bootstrap', ['bootstrap-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-jszip', ['jszip-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-jsziputils', ['jsziputils-init', 'clean', 'copy']);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "common",
|
||||
"version": "4.3.0",
|
||||
"build": 35,
|
||||
"build": 37,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"sdk": {
|
||||
|
@ -181,6 +181,17 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"iscroll": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/vendor/iscroll"
|
||||
],
|
||||
"copy": {
|
||||
"script": {
|
||||
"src": "../vendor/iscroll/iscroll.min.js",
|
||||
"dest": "../deploy/web-apps/vendor/iscroll/iscroll.min.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirejs": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/vendor/requirejs"
|
||||
|
@ -202,6 +213,7 @@
|
|||
"deploy-jquery",
|
||||
"deploy-underscore",
|
||||
"deploy-bootstrap",
|
||||
"deploy-iscroll",
|
||||
"deploy-jszip",
|
||||
"deploy-jsziputils"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue