Permalink
Browse files

Consistent whitespace

  • Loading branch information...
1 parent ce8bb29 commit 1455b62e5b6daffeacb7472db83ccf6502396bea Tom Bell committed Nov 20, 2011
View
@@ -90,3 +90,4 @@ v1.0.3
* Ensure people are running node 0.4.x - Corey Donohoe <atmos@atmos.org>
* Doc fixups - Aitor García Rey <aitor@linkingpaths.com>
* Twilio adapter support - Tom Bell <tomb@tombell.org.uk>
+
View
@@ -18,3 +18,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
View
@@ -21,3 +21,4 @@ remove-js:
deps:
.PHONY: all
+
View
@@ -68,3 +68,4 @@ It's easy to test scripts locally with an interactive shell:
... and to run tests:
% make test
+
View
@@ -101,4 +101,3 @@ else
robot.run()
-# vim:ft=coffee ts=2 sw=2 et :
View
@@ -28,3 +28,4 @@
"engine": "node > 0.6.0 < 0.7.0"
}
+
@@ -209,3 +209,4 @@ class CampfireStreaming extends EventEmitter
request.on "error", (err) ->
console.log err
console.log err.stack
+
View
@@ -48,3 +48,4 @@ class Brain extends EventEmitter
@emit 'loaded', @data
module.exports = Brain
+
View
@@ -64,3 +64,4 @@ class Creator
@copy "#{@templateDir}/#{file}", "#{@path}/#{file}" for file in files
exports.Creator = Creator
+
View
@@ -295,9 +295,6 @@ class Robot.Adapter
http: (url) ->
@httpClient.create(url)
-
-
-
class Robot.Message
# Represents an incoming message from the chat.
#
@@ -446,3 +443,4 @@ Robot.Response::httpClient = HttpClient
Robot::httpClient = HttpClient
module.exports = Robot
+
View
@@ -17,3 +17,4 @@ module.exports = (robot) ->
# Response includes non-string keys, so we can't use JSON.parse here.
json = eval("(#{body})")
msg.send json.rhs || 'Could not compute.'
+
View
@@ -12,3 +12,4 @@ module.exports = (robot) ->
robot.respond /DIE$/i, (msg) ->
msg.send "Goodbye, cruel world."
process.exit 0
+
View
@@ -21,4 +21,3 @@ module.exports = (robot) ->
.get() (err, res, body) ->
msg.send "There are #{JSON.parse(body).pug_count} pugs."
-
View
@@ -77,3 +77,4 @@ module.exports = (robot) ->
msg.send getAmbiguousUserText users
else
msg.send "I don't know anything about #{name}."
+
@@ -20,3 +20,4 @@ module.exports = (robot) ->
response += "\n"
msg.send response
+
@@ -7,59 +7,59 @@
#
languages =
- "af":"Afrikaans",
- "sq":"Albanian",
- "ar":"Arabic",
- "be":"Belarusian",
- "bg":"Bulgarian",
- "ca":"Catalan",
- "zh-CN":"Simplified Chinese",
- "zh-TW":"Traditional Chinese",
- "hr":"Croatian",
- "cs":"Czech",
- "da":"Danish",
- "nl":"Dutch",
- "en":"English",
- "et":"Estonian",
- "tl":"Filipino",
- "fi":"Finnish",
- "fr":"French",
- "gl":"Galician",
- "de":"German",
- "el":"Greek",
- "iw":"Hebrew",
- "hi":"Hindi",
- "hu":"Hungarian",
- "is":"Icelandic",
- "id":"Indonesian",
- "ga":"Irish",
- "it":"Italian",
- "ja":"Japanese",
- "ko":"Korean",
- "lv":"Latvian",
- "lt":"Lithuanian",
- "mk":"Macedonian",
- "ms":"Malay",
- "mt":"Maltese",
- "no":"Norwegian",
- "fa":"Persian",
- "pl":"Polish",
- "pt":"Portuguese",
- "ro":"Romanian",
- "ru":"Russian",
- "sr":"Serbian",
- "sk":"Slovak",
- "sl":"Slovenian",
- "es":"Spanish",
- "sw":"Swahili",
- "sv":"Swedish",
- "th":"Thai",
- "tr":"Turkish",
- "uk":"Ukranian",
- "vi":"Vietnamese",
- "cy":"Welsh",
- "yi":"Yiddish"
-
+ "af": "Afrikaans",
+ "sq": "Albanian",
+ "ar": "Arabic",
+ "be": "Belarusian",
+ "bg": "Bulgarian",
+ "ca": "Catalan",
+ "zh-CN": "Simplified Chinese",
+ "zh-TW": "Traditional Chinese",
+ "hr": "Croatian",
+ "cs": "Czech",
+ "da": "Danish",
+ "nl": "Dutch",
+ "en": "English",
+ "et": "Estonian",
+ "tl": "Filipino",
+ "fi": "Finnish",
+ "fr": "French",
+ "gl": "Galician",
+ "de": "German",
+ "el": "Greek",
+ "iw": "Hebrew",
+ "hi": "Hindi",
+ "hu": "Hungarian",
+ "is": "Icelandic",
+ "id": "Indonesian",
+ "ga": "Irish",
+ "it": "Italian",
+ "ja": "Japanese",
+ "ko": "Korean",
+ "lv": "Latvian",
+ "lt": "Lithuanian",
+ "mk": "Macedonian",
+ "ms": "Malay",
+ "mt": "Maltese",
+ "no": "Norwegian",
+ "fa": "Persian",
+ "pl": "Polish",
+ "pt": "Portuguese",
+ "ro": "Romanian",
+ "ru": "Russian",
+ "sr": "Serbian",
+ "sk": "Slovak",
+ "sl": "Slovenian",
+ "es": "Spanish",
+ "sw": "Swahili",
+ "sv": "Swedish",
+ "th": "Thai",
+ "tr": "Turkish",
+ "uk": "Ukranian",
+ "vi": "Vietnamese",
+ "cy": "Welsh",
+ "yi": "Yiddish"
+
getCode = (language,languages) ->
for code, lang of languages
return code if lang.toLowerCase() is language.toLowerCase()
@@ -20,3 +20,4 @@ module.exports = (robot) ->
video.link.forEach (link) ->
if link.rel is "alternate" and link.type is "text/html"
msg.send link.href
+
View
@@ -4,3 +4,4 @@ npm install
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
exec node_modules/.bin/hubot "$@"
+
@@ -20,3 +20,4 @@
"optparse": "1.0.3"
}
}
+
View
@@ -10,3 +10,4 @@ class User
@[k] = options[k]
module.exports = User
+
View
@@ -15,3 +15,4 @@ module.exports = (robot) ->
msg.http('http://127.0.0.1').port(9001)
.get() (err, res, body) ->
msg.send body
+

0 comments on commit 1455b62

Please sign in to comment.