This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/rules/indent.js b/lib/rules/indent.js | |
index 20b2477..f020747 100644 | |
--- a/lib/rules/indent.js | |
+++ b/lib/rules/indent.js | |
@@ -42,6 +42,7 @@ module.exports = function(context) { | |
var indentType = "space"; | |
var indentSize = 4; | |
var options = { | |
+ IndentRootIIFE: true, | |
SwitchCase: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
"use strict" | |
var connection = null, | |
buffer = '', | |
listeners = {}; | |
var options = { | |
host: 'chat.freenode.net', | |
port: 6667, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
--- | |
name: Element | |
description: One of the most important items in MooTools. Contains the dollar function, the dollars function, and an handful of cross-browser, time-saver methods to let you easily work with HTML Elements. | |
license: MIT-style license. | |
requires: [Window, Document, Array, String, Function, Number, Slick.Parser] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
AVAILABLE='core more' | |
SOURCE="$HOME/mootools" | |
TARGET="$HOME/www" | |
JSCOVERAGE='/usr/bin/jscoverage' | |
OPTIONS='--no-instrument=Specs --exclude=Docs --exclude=Tests --exclude=Styles --exclude=Packager --exclude=build --exclude=README.md --exclude=.git --exclude=.gitignore --exclude=.gitmodules' | |
if [ -z "$1" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Requires inotify-tools to be installed. | |
usage(){ | |
echo "Watches packages' directories for changes and executes" | |
echo 'a command when detecting a change.' | |
echo | |
echo 'This script requires inotify-tools to be installed.' | |
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
usage(){ | |
echo 'Replaces all occurences of .bind(bind, args) with' | |
echo '.pass(args, bind) in the target files or directories.' | |
echo | |
echo "Usage: $0 [options] [paths...]" | |
echo | |
echo 'options:' | |
echo ' -h' |