Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.2
[ckeditor.git]
/
_source
/
plugins
/
flash
/
plugin.js
diff --git
a/_source/plugins/flash/plugin.js
b/_source/plugins/flash/plugin.js
index
65e76c5
..
21772f3
100644
(file)
--- a/
_source/plugins/flash/plugin.js
+++ b/
_source/plugins/flash/plugin.js
@@
-5,15
+5,9
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
(function()
\r
{
\r
\r
(function()
\r
{
\r
- var flashFilenameRegex = /\.swf(?:$|\?)/i,
\r
- numberRegex = /^\d+(?:\.\d+)?$/;
\r
+ var flashFilenameRegex = /\.swf(?:$|\?)/i;
\r
\r
\r
- function cssifyLength( length )
\r
- {
\r
- if ( numberRegex.test( length ) )
\r
- return length + 'px';
\r
- return length;
\r
- }
\r
+ var cssifyLength = CKEDITOR.tools.cssLength;
\r
\r
function isFlashEmbed( element )
\r
{
\r
\r
function isFlashEmbed( element )
\r
{
\r