Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MCMS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
MCMS
Commits
b88584fa
Commit
b88584fa
authored
Dec 28, 2015
by
killfen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编码问题修复
parent
1cf3627f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
21 deletions
+27
-21
src/main/webapp/jquery/swfupload/jquery.swfupload.js
src/main/webapp/jquery/swfupload/jquery.swfupload.js
+27
-20
src/main/webapp/js/mobile/m.shop.cart.css
src/main/webapp/js/mobile/m.shop.cart.css
+0
-1
No files found.
src/main/webapp/jquery/swfupload/jquery.swfupload.js
View file @
b88584fa
/*
/*
* SWFUpload jQuery Plugin v1.0.0
*SWFUpload jQuery Plugin v1.0.0
*
* Copyright (c) 2009 Adam Royle
* Copyright (c) 2009 Adam Royle
* Licensed under the MIT license.
* Licensed under the MIT license.
*
*/
*/
(
function
(
$
){
(
function
(
$
)
{
var
defaultHandlers
=
[
'
swfupload_loaded_handler
'
,
'
file_queued_handler
'
,
'
file_queue_error_handler
'
,
'
file_dialog_start_handler
'
,
'
file_dialog_complete_handler
'
,
'
upload_start_handler
'
,
'
upload_progress_handler
'
,
'
upload_error_handler
'
,
'
upload_success_handler
'
,
'
upload_complete_handler
'
,
'
queue_complete_handler
'
];
var
defaultHandlers
=
[
'
swfupload_loaded_handler
'
,
'
file_queued_handler
'
,
'
file_queue_error_handler
'
,
'
file_dialog_start_handler
'
,
'
file_dialog_complete_handler
'
,
'
upload_start_handler
'
,
'
upload_progress_handler
'
,
'
upload_error_handler
'
,
'
upload_success_handler
'
,
'
upload_complete_handler
'
,
'
queue_complete_handler
'
];
var
additionalHandlers
=
[];
var
additionalHandlers
=
[];
$
.
fn
.
swfupload
=
function
(){
$
.
fn
.
swfupload
=
function
()
{
var
args
=
$
.
makeArray
(
arguments
);
var
args
=
$
.
makeArray
(
arguments
);
return
this
.
each
(
function
(){
return
this
.
each
(
function
()
{
var
swfu
;
var
swfu
;
if
(
args
.
length
==
1
&&
typeof
(
args
[
0
])
==
'
object
'
)
{
if
(
args
.
length
==
1
&&
typeof
(
args
[
0
])
==
'
object
'
)
{
swfu
=
$
(
this
).
data
(
'
__swfu
'
);
swfu
=
$
(
this
).
data
(
'
__swfu
'
);
if
(
!
swfu
)
{
if
(
!
swfu
)
{
var
settings
=
args
[
0
];
var
settings
=
args
[
0
];
...
@@ -23,17 +26,21 @@
...
@@ -23,17 +26,21 @@
var
handlers
=
[];
var
handlers
=
[];
$
.
merge
(
handlers
,
defaultHandlers
);
$
.
merge
(
handlers
,
defaultHandlers
);
$
.
merge
(
handlers
,
additionalHandlers
);
$
.
merge
(
handlers
,
additionalHandlers
);
$
.
each
(
handlers
,
function
(
i
,
v
){
$
.
each
(
handlers
,
function
(
i
,
v
)
{
var
eventName
=
v
.
replace
(
/_handler$/
,
''
).
replace
(
/_
([
a-z
])
/g
,
function
(){
return
arguments
[
1
].
toUpperCase
();
});
var
eventName
=
v
.
replace
(
/_handler$/
,
''
).
replace
(
/_
([
a-z
])
/g
,
function
()
{
return
arguments
[
1
].
toUpperCase
();
});
settings
[
v
]
=
function
()
{
settings
[
v
]
=
function
()
{
var
event
=
$
.
Event
(
eventName
);
var
event
=
$
.
Event
(
eventName
);
$magicUploadControl
.
trigger
(
event
,
$
.
makeArray
(
arguments
));
$magicUploadControl
.
trigger
(
event
,
$
.
makeArray
(
arguments
));
return
!
event
.
isDefaultPrevented
();
return
!
event
.
isDefaultPrevented
();
};
};
});
});
$
(
this
).
data
(
'
__swfu
'
,
new
SWFUpload
(
settings
));
$
(
this
).
data
(
'
__swfu
'
,
new
SWFUpload
(
settings
));
}
}
}
else
if
(
args
.
length
>
0
&&
typeof
(
args
[
0
])
==
'
string
'
)
{
}
else
if
(
args
.
length
>
0
&&
typeof
(
args
[
0
])
==
'
string
'
)
{
var
methodName
=
args
.
shift
();
var
methodName
=
args
.
shift
();
swfu
=
$
(
this
).
data
(
'
__swfu
'
);
swfu
=
$
(
this
).
data
(
'
__swfu
'
);
if
(
swfu
&&
swfu
[
methodName
])
{
if
(
swfu
&&
swfu
[
methodName
])
{
...
@@ -42,23 +49,23 @@
...
@@ -42,23 +49,23 @@
}
}
});
});
};
};
$
.
swfupload
=
{
$
.
swfupload
=
{
additionalHandlers
:
function
()
{
additionalHandlers
:
function
()
{
if
(
arguments
.
length
===
0
)
{
if
(
arguments
.
length
===
0
)
{
return
additionalHandlers
.
slice
();
return
additionalHandlers
.
slice
();
}
else
{
}
else
{
$
(
arguments
).
each
(
function
(
i
,
v
){
$
(
arguments
).
each
(
function
(
i
,
v
)
{
$
.
merge
(
additionalHandlers
,
$
.
makeArray
(
v
));
$
.
merge
(
additionalHandlers
,
$
.
makeArray
(
v
));
});
});
}
}
},
},
defaultHandlers
:
function
()
{
defaultHandlers
:
function
()
{
return
defaultHandlers
.
slice
();
return
defaultHandlers
.
slice
();
},
},
getInstance
:
function
(
el
)
{
getInstance
:
function
(
el
)
{
return
$
(
el
).
data
(
'
__swfu
'
);
return
$
(
el
).
data
(
'
__swfu
'
);
}
}
};
};
})(
jQuery
);
})(
jQuery
);
\ No newline at end of file
src/main/webapp/js/mobile/m.shop.cart.css
View file @
b88584fa
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
box-sizing
:
border-box
}
}
}
.btn
{
.btn
{
...
...
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