remove GET window.updatePage method that do dataType script

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-12-02 14:33:27 +02:00
parent 4f32d2e28e
commit bc663a7383
No known key found for this signature in database
GPG key ID: 2CEAFD2671262EC2

View file

@ -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()