Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
873ed398
Commit
873ed398
authored
Jul 24, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make user-extensions.js jslint compliant
parent
9f62ad26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.xml
...tem/portal_skins/erp5_ui_test_core/user-extensions.js.xml
+8
-9
bt5/erp5_ui_test_core/bt/revision
bt5/erp5_ui_test_core/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.xml
View file @
873ed398
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
51698417.06
</string>
</value>
<value>
<string>
ts
74657307.73
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/
x-
javascript
</string>
</value>
<value>
<string>
application/javascript
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
data
</string>
</key>
<key>
<string>
data
</string>
</key>
...
@@ -33,8 +33,7 @@
...
@@ -33,8 +33,7 @@
*/\n
*/\n
Selenium.prototype.assertFloat = function(locator, text) {\n
Selenium.prototype.assertFloat = function(locator, text) {\n
var actualValueText = getText(this.page().findElement(locator));\n
var actualValueText = getText(this.page().findElement(locator));\n
var actualValue = parseFloat(actualValueText\n
var actualValue = parseFloat(actualValueText.replace(/ /g, "").replace(/ /g, ""));\n
.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
\n
\n
if (isNaN(actualValue)) {\n
if (isNaN(actualValue)) {\n
...
@@ -50,8 +49,7 @@ Selenium.prototype.assertFloat = function(locator, text) {\n
...
@@ -50,8 +49,7 @@ Selenium.prototype.assertFloat = function(locator, text) {\n
*/\n
*/\n
Selenium.prototype.assertFloatValue = function(locator, text) {\n
Selenium.prototype.assertFloatValue = function(locator, text) {\n
var actualValueText = getInputValue(this.page().findElement(locator));\n
var actualValueText = getInputValue(this.page().findElement(locator));\n
var actualValue = parseFloat(actualValueText\n
var actualValue = parseFloat(actualValueText.replace(/ /g, "").replace(/ /g, ""));\n
.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
\n
\n
if (isNaN(actualValue)) {\n
if (isNaN(actualValue)) {\n
...
@@ -106,8 +104,9 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
...
@@ -106,8 +104,9 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
var maximumPositionTop = parseFloat(rangeList[1]);\n
var maximumPositionTop = parseFloat(rangeList[1]);\n
if (positionTop < minimumPositionTop || positionTop >
maximumPositionTop ){\n
if (positionTop < minimumPositionTop || positionTop >
maximumPositionTop ){\n
Assert.fail(positionTop + " is not between " + minimumPositionTop + " and " + maximumPositionTop);\n
Assert.fail(positionTop + " is not between " + minimumPositionTop + " and " + maximumPositionTop);\n
};\n
}\n
};
};\n
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
...
@@ -117,7 +116,7 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
...
@@ -117,7 +116,7 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
3
435
</int>
</value>
<value>
<int>
3
379
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_ui_test_core/bt/revision
View file @
873ed398
62
63
\ No newline at end of file
\ No newline at end of file
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