From 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Sun, 16 Aug 2015 09:59:58 +0300 Subject: Build: Update jscs and lint files Fixes gh-2056 --- src/core/var/rsingleTag.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/core/var') diff --git a/src/core/var/rsingleTag.js b/src/core/var/rsingleTag.js index a8176dc64..1a55ee39d 100644 --- a/src/core/var/rsingleTag.js +++ b/src/core/var/rsingleTag.js @@ -1,4 +1,5 @@ -define(function() { +define( function() { + // Match a standalone tag - return (/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/); -}); + return ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); +} ); -- cgit v1.2.3