From 18dd4eae1fe1864510419522fb4c99dc5c65af42 Mon Sep 17 00:00:00 2001 From: Felix Eckhofer Date: Mon, 24 Feb 2014 11:29:50 +0100 Subject: [PATCH] Replace tabs with spaces --- js/plugins.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/plugins.js b/js/plugins.js index 8e8c0df..ba6fa87 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -271,12 +271,12 @@ plugins.factory('userPlugins', function() { */ var asciinemaPlugin = new Plugin(function(message) { - var regexp = /http(s){0,1}:\/\/(www\.){0,1}asciinema.org\/a\/(\d+)/; - var match = message.match(regexp); - if (match) { + var regexp = /http(s){0,1}:\/\/(www\.){0,1}asciinema.org\/a\/(\d+)/; + var match = message.match(regexp); + if (match) { var id = match[3]; return ""; - } + } }); asciinemaPlugin.name = "ascii cast";