From 31cda7b3723b61056c763884b8604b0f8a8636b2 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 21 Dec 2016 16:50:57 -0500 Subject: [PATCH] FIX: Can't seem to use ES6 in this file --- .../javascripts/discourse-common/lib/raw-handlebars.js.es6 | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/assets/javascripts/discourse-common/lib/raw-handlebars.js.es6 b/app/assets/javascripts/discourse-common/lib/raw-handlebars.js.es6 index 5399bfb6ce1..4b547a68828 100644 --- a/app/assets/javascripts/discourse-common/lib/raw-handlebars.js.es6 +++ b/app/assets/javascripts/discourse-common/lib/raw-handlebars.js.es6 @@ -1,5 +1,3 @@ -import deprecated from 'discourse-common/lib/deprecated'; - // This is a mechanism for quickly rendering templates which is Ember aware // templates are highly compatible with Ember so you don't need to worry about calling "get" // and computed properties function, additionally it uses stringParams like Ember does @@ -21,7 +19,6 @@ RawHandlebars.helpers['get'] = function(context, options) { var val = firstContext[context]; if (context.indexOf('controller') === 0) { - deprecated("Don't `use controller` in raw templates"); context = context.replace(/^controller\./, ''); }