Permalink
Browse files

Remove whitespace [Gun.io WhitespaceBot]

  • Loading branch information...
Gun.io Whitespace Robot authored and anutron committed Oct 21, 2011
1 parent f72f08d commit 692a634dff67692efd8e1205f7c0c07c96b5e939
@@ -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;
@@ -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>
@@ -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
@@ -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}
View
@@ -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>");
View
@@ -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}
----------------------------
@@ -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>");
@@ -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)
@@ -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
View
@@ -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}
----------------------------------------------------------
@@ -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][]
@@ -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
@@ -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
View
@@ -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)
@@ -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
@@ -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));
@@ -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();
View
@@ -17,8 +17,8 @@ provides: dbug
var dbug = {
logged: [],
timers: {},
- firebug: false,
- enabled: false,
+ firebug: false,
+ enabled: false,
log: function() {
dbug.logged.push(arguments);
},
@@ -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) {
@@ -62,7 +62,7 @@ var dbug = {
}
}
},
- disable: function(){
+ disable: function(){
if(dbug.firebug) dbug.enabled = false;
dbug.log = dbug.nolog;
dbug.time = function(){};
@@ -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]) {
@@ -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);
@@ -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 {
View
@@ -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);
},
@@ -25,7 +25,7 @@ provides: [StickyWin.Ajax, StickyWin.Modal.Ajax]
method: 'get',
evalScripts: true
},
- wrapWithUi: false,
+ wrapWithUi: false,
caption: '',
uiOptions:{},
handleResponse: function(response){
@@ -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', {
@@ -25,7 +25,7 @@ StickyWin.Confirm = new Class({
buttons: [
{text: 'Cancel'},
{
- text: 'Ok',
+ text: 'Ok',
onClick: callback || function(){
this.fireEvent('confirm');
}.bind(this)
@@ -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) {
@@ -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'},
@@ -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'},
@@ -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: {
@@ -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'},
@@ -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);
},
@@ -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',
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
Oops, something went wrong.

0 comments on commit 692a634

Please sign in to comment.