From bec4bb057d6a0ee484103cd8860a4d7ee14906ec Mon Sep 17 00:00:00 2001 From: Stephen Wyatt Bush Date: Thu, 1 Nov 2012 16:31:02 -0700 Subject: [PATCH] remove interpolation examples Ruby-style interpolation does not work in JavaScript --- README.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/README.md b/README.md index 212f3b59ff..7d4ec893f4 100644 --- a/README.md +++ b/README.md @@ -145,22 +145,6 @@ var name = 'Bob Parr'; ``` - - Use double quotes `""` for strings that contain interpolated values - - ```javascript - // bad - var fullName = "Bob" + this.lastName; - - // good - var fullName = 'Bob' + this.lastName; - - // bad - var fullName = 'Bob #{lastName}'; - - // good - var fullName = "Bob #{lastName}"; - ``` - - String longer than 80 characters should be written across Multiple lines using string concatenation. ```javascript