Skip to content
Browse files

Fixing tabs

  • Loading branch information...
1 parent 5bae903 commit fc60befc15a6a800834e1fa89b33e988cda15e73 @tj tj committed
Showing with 28 additions and 28 deletions.
  1. +28 −28 lib/mojo.js
View
56 lib/mojo.js
@@ -2,13 +2,13 @@
// Mojo - Copyright TJ Holowaychuk <tj@vision-media.ca> (MIT Licensed)
;(function(){
- Mojo = {
-
- // --- Version
-
- version: '0.2.0',
-
- /**
+ Mojo = {
+
+ // --- Version
+
+ version: '0.2.0',
+
+ /**
* Escape HTML.
*
* @param {string} html
@@ -17,7 +17,7 @@
*/
escape : function(html) {
- if (!html) return
+ if (!html) return
return html.toString()
.replace(/&/gmi, '&amp;')
.replace(/"/gmi, '&quot;')
@@ -34,25 +34,25 @@
*/
normalize: function(object) {
- return typeof object == 'function' ? object() : object
- },
+ return typeof object == 'function' ? object() : object
+ },
- /**
- * Enumerate _object_'s _prop_, buffering _fn_'s
- * return value.
- *
- * @param {object} object
- * @param {object} prop
- * @return {string}
- * @api private
- */
-
- enumerate: function(object, prop, fn) {
- if (!prop) return ''
- if (!(prop instanceof Array)) return fn(object)
- for (var buf = [], i = 0, len = prop.length; i < len; ++i)
- buf.push(fn(prop[i]))
- return buf.join(' ')
- }
- }
+ /**
+ * Enumerate _object_'s _prop_, buffering _fn_'s
+ * return value.
+ *
+ * @param {object} object
+ * @param {object} prop
+ * @return {string}
+ * @api private
+ */
+
+ enumerate: function(object, prop, fn) {
+ if (!prop) return ''
+ if (!(prop instanceof Array)) return fn(object)
+ for (var buf = [], i = 0, len = prop.length; i < len; ++i)
+ buf.push(fn(prop[i]))
+ return buf.join(' ')
+ }
+ }
})()

0 comments on commit fc60bef

Please sign in to comment.
Something went wrong with that request. Please try again.