Skip to content

Commit

Permalink
Remove whitespace [Gun.io WhitespaceBot]
Browse files Browse the repository at this point in the history
  • Loading branch information
Gun.io Whitespace Robot authored and anutron committed Jan 6, 2012
1 parent f72f08d commit 692a634
Show file tree
Hide file tree
Showing 31 changed files with 116 additions and 116 deletions.
2 changes: 1 addition & 1 deletion Assets/autocompleter/Autocompleter.css
Expand Up @@ -21,7 +21,7 @@ ul.autocompleter-choices li
margin: -2px 0 0 0;
padding: 0.2em 1.5em 0.2em 1em;
display: block;
float: none !important;
float: none !important;
cursor: pointer;
font-weight: normal;
white-space: nowrap;
Expand Down
2 changes: 1 addition & 1 deletion Assets/stickyWinHTML/stickywin.html
Expand Up @@ -24,7 +24,7 @@
<div class="top"><div class="top_ul"></div><div class="top_ur"><div class="closeButton"></div><h1 class="caption">caption</h1></div></div>
<div class="middle">
<div class="body">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</div>
</div>
<div class="bottom"><div class="bottom_ll"></div><div class="bottom_lr"></div></div>
Expand Down
2 changes: 1 addition & 1 deletion Docs/3rdParty/Autocompleter.Local.md
Expand Up @@ -29,7 +29,7 @@ Extends the [Autocompleter.Base][] class to add support for a pre-defined object
['Apple', 'Red'],
['Lemon', 'Yellow'],
['Grape', 'Purple']];

new Autocompleter.Local($('myInput'), tokens, {
delay: 100,
//this is a custom filter because our object has a unique structure
Expand Down
2 changes: 1 addition & 1 deletion Docs/3rdParty/Autocompleter.Remote.md
Expand Up @@ -36,7 +36,7 @@ The base functionality for all Autocompleter.Ajax functionality.

### Notes

The Autocompleter.Ajax.Base class is not used directly but by its inheritors (see
The Autocompleter.Ajax.Base class is not used directly but by its inheritors (see
[Autocompleter.Ajax.Json][] and [Autocompleter.Ajax.Xhtml][]).

Class: Autocompleter.Ajax.Json {#Autocompleter-Ajax:Json}
Expand Down
2 changes: 1 addition & 1 deletion Docs/Core/Clientcide.md
Expand Up @@ -48,7 +48,7 @@ This is the entirety of the method:
var href=window.location.href;
baseurl=href.substring(href.substring(7,href.length).indexOf("/")+8,href.length);
}
if (window.location.href.indexOf("jsdebug=true")>0 || window.location.href.indexOf("jsdebugCookie=true")>0 || debugCookie == 'true'){
if (window.location.href.indexOf("jsdebug=true")>0 || window.location.href.indexOf("jsdebugCookie=true")>0 || debugCookie == 'true'){
if (libs) {
for(var i=0;i<libs.length;i++){
document.write("<scri"+"pt src=\""+baseurl+libs[i]+"\" type=\"text/javascript\"></sc"+"ript>");
Expand Down
4 changes: 2 additions & 2 deletions Docs/Core/dbug.md
Expand Up @@ -12,7 +12,7 @@ About dbug
----------
dbug is a wrapper for the firebug console plugin for firefox. The syntax for logging is the same as documented at [http://getfirebug.com][].

You can leave *dbug.log()* statements in your code and they will not be echoed out to the screen in any way.
You can leave *dbug.log()* statements in your code and they will not be echoed out to the screen in any way.

Enabling dbug {#dbug:enable}
----------------------------
Expand Down Expand Up @@ -142,7 +142,7 @@ This is the entirety of the method:
var href=window.location.href;
baseurl=href.substring(href.substring(7,href.length).indexOf("/")+8,href.length);
}
if(window.location.href.indexOf("jsdebug=true")>0 || window.location.href.indexOf("jsdebugCookie=true")>0 || debugCookie == 'true'){
if(window.location.href.indexOf("jsdebug=true")>0 || window.location.href.indexOf("jsdebugCookie=true")>0 || debugCookie == 'true'){
if (libs) {
for(var i=0;i<libs.length;i++){
document.write("<scri"+"pt src=\""+baseurl+libs[i]+"\" type=\"text/javascript\"></sc"+"ript>");
Expand Down
2 changes: 1 addition & 1 deletion Docs/Layout/MooScroller.md
Expand Up @@ -34,7 +34,7 @@ Recreates the standard scrollbar behavior for elements with overflow but using D
### Options.scrollLinks
* forward - (*mixed*) A string of the id for an Element or an Element reference that, when clicked, will scroll the area forward; defaults to *$('scrollForward')*; (if not found, nothing bad happens)
* back - (*mixed*) A string of the id for an Element or an Element reference that, when clicked, will scroll the area back; defaults to *$('scrollBack')*; (if not found, nothing bad happens)

### Events

* onScroll - (*function*) callback to execute when the user scrolls; passed the number of steps scrolled (*integer*: positive for forward or negative for backward)
Expand Down
2 changes: 1 addition & 1 deletion Docs/UI/StickyWin.UI.Pointy.md
Expand Up @@ -16,7 +16,7 @@ Static Method: StickyWin.UI.pointy {#StickyWin-UI-pointy}
=========================================================

Creates an html holder for in-page [StickyWin][] popups using a default style - this one using a pointer that can point in a specified direction. **This is not a class**; it is a stand-alone method. This is the intended use for this interface. You can use the class ([StickyWin.UI.Pointy][] above) but there's really no need.

### Syntax

StickyWin.UI.pointy([caption, body, options]); //returns a DOM element
Expand Down
14 changes: 7 additions & 7 deletions Docs/UI/StickyWin.UI.md
Expand Up @@ -12,7 +12,7 @@ The container element returned when you call the static [StickyWin.ui][] method
var ui = StickyWin.ui("A caption", "A message"); //same as new StickyWin.UI("A caption", "A message");
//ui is a DOM element
ui.retrieve('StickyWinUI'); //the instance of StickyWin.UI

StickyWin.UI method: setContent {#StickyWin-UI:setContent}
----------------------------------------------------------

Expand Down Expand Up @@ -62,7 +62,7 @@ Static Method: StickyWin.ui {#StickyWin-ui}
===========================================

Creates an html holder for in-page [StickyWin][] popups using a default style. **This is not a class**; it is a stand-alone method. This is the intended use for this interface. You can use the class ([StickyWin.UI][] above) but there's really no need.

### Tutorial/Demo

* [Online Tutorial/Demo][]
Expand Down Expand Up @@ -124,16 +124,16 @@ After invocation you can retrieve the instance of [StickyWin.UI][] and set conte
width: '400px',
buttons: [
{
text: 'close',
text: 'close',
onClick: function(){alert('closed!')}
},
{
text: 'okey-dokey',
text: 'okey-dokey',
onClick: function(){alert('ok!')},
properties: {'class': 'ok'} //don't close though
},
{
text: 'blah',
text: 'blah',
onClick: function(){alert('blah!')},
properties: {
'class': 'closeSticky blah', //still closes
Expand Down Expand Up @@ -174,11 +174,11 @@ After invocation you can retrieve the instance of [StickyWin.UI][] and set conte

### Example

<style type="text/css" id="defaultStickyWinStyle" rel="..yourStyleSheetUrl.." />
<style type="text/css" id="defaultStickyWinStyle" rel="..yourStyleSheetUrl.." />
// OR
<style type="text/css" id="defaultStickyWinStyle">
/* Your styles */
</style>
</style>

[Notes]: #StickyWin-notes
[StickyWin]: http://clientcide.com/docs/UI/StickyWin
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -75,7 +75,7 @@ Changes in 2.2.0

Changes in 2.1.0
=======
* MultipleOpenAccordion
* MultipleOpenAccordion
- now only takes options
- openAll defaults to false
* CiUI (iPhone code)
Expand Down Expand Up @@ -122,7 +122,7 @@ Changes in 2.1.0
- *StickyWin.Fx* is now just *StickyWin*.
* MultipleOpenAccordion
- Now only takes an options argument; container argument is deprecated.

Breaking Changes in MooTools More 1.2.2.1
=====================================
* FormValidator
Expand Down
8 changes: 4 additions & 4 deletions Source/3rdParty/Autocompleter.Clientcide.js
Expand Up @@ -21,10 +21,10 @@ provides: Autocompleter.Clientcide
window.addEvent('domready', function(){
if (document.id('AutocompleterCss')) return;
new Element('link', {
rel: 'stylesheet',
media: 'screen',
type: 'text/css',
href: (this.options.baseHref || Clientcide.assetLocation + '/autocompleter')+'/Autocompleter.css',
rel: 'stylesheet',
media: 'screen',
type: 'text/css',
href: (this.options.baseHref || Clientcide.assetLocation + '/autocompleter')+'/Autocompleter.css',
id: 'AutocompleterCss'
}).inject(document.head);
}.bind(this));
Expand Down
2 changes: 1 addition & 1 deletion Source/Behaviors/Behavior.Tips.js
Expand Up @@ -50,7 +50,7 @@ Behavior.addGlobalFilters({
var help = element.hide();
var link = createLink(help);
//for each point, create a new instance of Tips.Pointy (clientcide plugin)
var tip = createTip(link.link, link.point);
var tip = createTip(link.link, link.point);
//destroy the tips on cleanup
this.markForCleanup(element, function(){
tip.destroy();
Expand Down
12 changes: 6 additions & 6 deletions Source/Core/dbug.js
Expand Up @@ -17,8 +17,8 @@ provides: dbug
var dbug = {
logged: [],
timers: {},
firebug: false,
enabled: false,
firebug: false,
enabled: false,
log: function() {
dbug.logged.push(arguments);
},
Expand All @@ -35,7 +35,7 @@ var dbug = {
dbug.log('%s: %s', name, end);
} else dbug.log('no such timer: %s', name);
},
enable: function(silent) {
enable: function(silent) {
var con = window.firebug ? firebug.d.console.cmd : window.console;

if((!!window.console && !!window.console.warn) || window.firebug) {
Expand All @@ -62,7 +62,7 @@ var dbug = {
}
}
},
disable: function(){
disable: function(){
if(dbug.firebug) dbug.enabled = false;
dbug.log = dbug.nolog;
dbug.time = function(){};
Expand Down Expand Up @@ -102,13 +102,13 @@ var dbug = {
var debugMethods = ['debug','info','warn','error','assert','dir','dirxml'];
var otherMethods = ['trace','group','groupEnd','profile','profileEnd','count'];
function set(methodList, defaultFunction) {

var getLogger = function(method) {
return function(){
con[method].apply(con, arguments);
};
};

for(var i = 0; i < methodList.length; i++){
var method = methodList[i];
if (fb && con[method]) {
Expand Down
4 changes: 2 additions & 2 deletions Source/Forms/Form.Validator.Tips.js
Expand Up @@ -62,7 +62,7 @@ Form.Validator.Tips = new Class({
this.advices.push(advice);
advice.msgs = {};
field.store('PointyTip', advice);
document.id(advice).addClass(cssClass).set('id', 'advice-'+className+'-'+this.getFieldId(field));
document.id(advice).addClass(cssClass).set('id', 'advice-'+className+'-'+this.getFieldId(field));
}
field.store('advice-'+className, advice);
this.appendAdvice(className, field, error, warn);
Expand Down Expand Up @@ -127,7 +127,7 @@ Form.Validator.Tips = new Class({
case 'radio':
var p = field.getParent().adopt(advice);
break;
default:
default:
document.id(advice).inject(document.id(field), 'after');
};
} else {
Expand Down
8 changes: 4 additions & 4 deletions Source/Fx/Fx.Marquee.js
Expand Up @@ -29,12 +29,12 @@ Fx.Marquee = new Class({
onMessage: function(){} */
},
initialize: function(container, options){
container = document.id(container);
var msg = this.options.currentMessage || (container.getChildren().length == 1)?container.getFirst():'';
var wrapper = new Element('div', {
container = document.id(container);
var msg = this.options.currentMessage || (container.getChildren().length == 1)?container.getFirst():'';
var wrapper = new Element('div', {
styles: { position: 'relative' },
'class':'fxMarqueeWrapper'
}).inject(container);
}).inject(container);
this.parent(wrapper, options);
this.current = this.wrapMessage(msg);
},
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/StickyWin.Ajax.js
Expand Up @@ -25,7 +25,7 @@ provides: [StickyWin.Ajax, StickyWin.Modal.Ajax]
method: 'get',
evalScripts: true
},
wrapWithUi: false,
wrapWithUi: false,
caption: '',
uiOptions:{},
handleResponse: function(response){
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/StickyWin.Alert.js
Expand Up @@ -57,7 +57,7 @@ StickyWin.Alert = new Class({
});

StickyWin.Error = new Class({
Extends: StickyWin.Alert,
Extends: StickyWin.Alert,
makeMessage: function(){
var message = this.parent();
new Element('img', {
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/StickyWin.Confirm.js
Expand Up @@ -25,7 +25,7 @@ StickyWin.Confirm = new Class({
buttons: [
{text: 'Cancel'},
{
text: 'Ok',
text: 'Ok',
onClick: callback || function(){
this.fireEvent('confirm');
}.bind(this)
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/StickyWin.Drag.js
Expand Up @@ -51,7 +51,7 @@ StickyWin = Class.refactor(StickyWin, {
}
this.win.makeDraggable(this.options.dragOptions);
if (toggled) this.toggleVisible(false);
},
},
makeResizable: function(){
var toggled = this.toggleVisible(true);
if (this.options.useIframeShim) {
Expand Down
12 changes: 6 additions & 6 deletions Source/UI/StickyWin.PointyTip.js
Expand Up @@ -54,7 +54,7 @@ StickyWin.PointyTip = new Class({
case "left": case 8: case 9: case 10:
return {
edge: {
x: 'left',
x: 'left',
y: d==10?'top':d==8?'bottom':'center'
},
position: {x: 'right', y: 'center'},
Expand All @@ -66,7 +66,7 @@ StickyWin.PointyTip = new Class({
case "right": case 2: case 3: case 4:
return {
edge: {
x: 'right',
x: 'right',
y: (d==2?'top':d==4?'bottom':'center') + (offset.y || 0)
},
position: {x: 'left', y: 'center'},
Expand All @@ -77,9 +77,9 @@ StickyWin.PointyTip = new Class({
};
case "up": case 11: case 12: case 1:
return {
edge: {
x: d==11?'left':d==1?'right':'center',
y: 'top'
edge: {
x: d==11?'left':d==1?'right':'center',
y: 'top'
},
position: { x: 'center', y: 'bottom' },
offset: {
Expand All @@ -90,7 +90,7 @@ StickyWin.PointyTip = new Class({
case "down": case 5: case 6: case 7:
return {
edge: {
x: (d==7?'left':d==5?'right':'center') + (offset.x || 0),
x: (d==7?'left':d==5?'right':'center') + (offset.x || 0),
y: 'bottom'
},
position: {x: 'center', y: 'top'},
Expand Down
12 changes: 6 additions & 6 deletions Source/UI/StickyWin.UI.Pointy.js
Expand Up @@ -76,7 +76,7 @@ StickyWin.UI.Pointy = new Class({
};
this.options.direction = map[this.options.direction];
}

this.parent(args.caption, args.body, this.options);
if (this.id) document.id(this).set('id', "pointy_"+this.id);
},
Expand Down Expand Up @@ -126,7 +126,7 @@ StickyWin.UI.Pointy = new Class({
},
expose: function(){
if (document.id(this).getStyle('display') != 'none' &&
document.body != document.id(this) &&
document.body != document.id(this) &&
document.id(document.body).contains(document.id(this))) return function(){};
document.id(this).setStyles({
visibility: 'hidden',
Expand Down Expand Up @@ -155,7 +155,7 @@ StickyWin.UI.Pointy = new Class({
pos = {
edge: {x: 'center', y: 'bottom'},
position: {
x: d==12?'center':d==1?'right':'left',
x: d==12?'center':d==1?'right':'left',
y: 'top'
},
offset: {
Expand All @@ -168,7 +168,7 @@ StickyWin.UI.Pointy = new Class({
pos = {
edge: {x: 'left', y: 'center'},
position: {
x: 'right',
x: 'right',
y: d==3?'center':d==2?'top':'bottom'
},
offset: {
Expand All @@ -181,7 +181,7 @@ StickyWin.UI.Pointy = new Class({
pos = {
edge: {x: 'center', y: 'top'},
position: {
x: d==6?'center':d==5?'right':'left',
x: d==6?'center':d==5?'right':'left',
y: 'bottom'
},
offset: {
Expand All @@ -194,7 +194,7 @@ StickyWin.UI.Pointy = new Class({
pos = {
edge: {x: 'right', y: 'center'},
position: {
x: 'left',
x: 'left',
y: d==9?'center':d==10?'top':'bottom'
},
offset: {
Expand Down

0 comments on commit 692a634

Please sign in to comment.