I have no objection to the removing of haml, but breaking our templates ... bad

This commit is contained in:
Sam Saffron 2013-02-08 08:49:58 +11:00
parent 5ee91cc296
commit 470ecf97cc
6 changed files with 4 additions and 22 deletions

View File

@ -1,6 +0,0 @@
%html
%head
%body
:javascript
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.close();

View File

@ -2,7 +2,7 @@
<head></head>
<body>
<script type="text/javascript">
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
window.close();
</script>
</body>

View File

@ -1,6 +0,0 @@
%html
%head
%body
:javascript
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.close();

View File

@ -2,7 +2,7 @@
<head></head>
<body>
<script type="text/javascript">
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.opener.Discourse.authenticationComplete(<%=@data.to_json.to_json%>);
window.close();
</script>
</body>

View File

@ -1,6 +0,0 @@
%html
%head
%body
:javascript
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.close();

View File

@ -2,8 +2,8 @@
<head></head>
<body>
<script type="text/javascript">
window.opener.Discourse.authenticationComplete(#{@data.to_json});
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
window.close();
</script>
</body>
</html>
</html>