From bc663a738353c270bdce5357d4433cda538e817a Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 2 Dec 2013 14:33:27 +0200 Subject: [PATCH] remove GET window.updatePage method that do dataType script Signed-off-by: Dmitriy Zaporozhets --- app/assets/javascripts/main.js.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/assets/javascripts/main.js.coffee b/app/assets/javascripts/main.js.coffee index ccd5ad48dbf..a9bcb2fb2e4 100644 --- a/app/assets/javascripts/main.js.coffee +++ b/app/assets/javascripts/main.js.coffee @@ -1,6 +1,3 @@ -window.updatePage = (data) -> - $.ajax({type: "GET", url: location.href, data: data, dataType: "script"}) - window.slugify = (text) -> text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase()