Skip to content

Commit

Permalink
[BUG #6314] Remove samples from the website api viewer only relevant …
Browse files Browse the repository at this point in the history
…for desktop.
  • Loading branch information
wittemann committed May 30, 2012
1 parent f475803 commit d69ce19
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
6 changes: 5 additions & 1 deletion component/standalone/website/api/api.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ p {
}

.method > h2, .method > p, .method > h4, .method > ul, .method > ul > li, .method > div, .method > pre, .method > code,
.module > h1, .module > p, .module > pre, .module > ul , .module > code, .module .events {
.module > h1, .module > p, .module > pre, .module > ul , .module > code, .module > div, .module .events {
margin-left: 8px;
}

Expand Down Expand Up @@ -138,3 +138,7 @@ p {
.returns {
float: right;
}

.desktop {
display: none;
}
6 changes: 4 additions & 2 deletions framework/source/class/qx/bom/request/Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
* <a href="http://www.w3.org/TR/XMLHttpRequest/">XmlHttpRequest</a>.
*
* The script loader can be used to load scripts from arbitrary sources.
* <span class="desktop">
* For JSONP requests, consider the {@link qx.bom.request.Jsonp} transport
* that derives from the script loader.
* </span>
*
* <div class="desktop">
* Example:
*
* <pre class="javascript">
Expand All @@ -37,8 +40,7 @@
* req.open("GET", url);
* req.send();
* </pre>
*
* Implements {@link qx.bom.request.IRequest}.
* </div>
*/

/* ************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions framework/source/class/qx/bom/request/Xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* Hides browser inconsistencies and works around bugs found in popular
* implementations.
*
* <div class="desktop">
* Example:
*
* <pre class="javascript">
Expand All @@ -42,8 +43,7 @@
* req.open("GET", url);
* req.send();
* </pre>
*
* Implements {@link qx.bom.request.IRequest}.
* </div>
*/
qx.Bootstrap.define("qx.bom.request.Xhr",
{
Expand Down
2 changes: 1 addition & 1 deletion framework/source/class/qx/module/Animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ qx.Bootstrap.define("qx.module.Animation", {
* *keyFrames* is a map of separate frames. Each frame is defined by a
* number which is the percentage value of time in the animation. The value
* is a map itself which holds css properties or transforms
* {@link qx.bom.element.Transform} (Transforms only for CSS Animations).
* (Transforms only for CSS Animations).
*
* *origin* maps to the transform origin {@link qx.bom.element.Transform#setOrigin}
* (Only for CSS animations).
Expand Down
2 changes: 0 additions & 2 deletions framework/source/class/qx/module/event/Mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ qx.Bootstrap.define("qx.module.event.Mouse", {

/**
* Standard mouse button mapping
* @type Array
*/
BUTTONS_DOM2 : {
0 : "left",
Expand All @@ -59,7 +58,6 @@ qx.Bootstrap.define("qx.module.event.Mouse", {

/**
* Legacy Internet Explorer mouse button mapping
* @type
*/
BUTTONS_MSHTML : {
1 : "left",
Expand Down
4 changes: 2 additions & 2 deletions framework/source/class/qx/module/event/Orientation.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ qx.Bootstrap.define("qx.module.event.Orientation", {
* @internal
*/
BIND_METHODS : ["getOrientation", "isLandscape", "isPortrait"],


/**
* Returns the current orientation of the viewport in degrees.
*
Expand Down
2 changes: 1 addition & 1 deletion framework/source/class/qx/module/event/Touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ qx.Bootstrap.define("qx.module.event.Touch", {
{
/**
* List of event types to be normalized
* @type Array
* @type Array
*/
TYPES : ["tap", "swipe"],

Expand Down

0 comments on commit d69ce19

Please sign in to comment.