no more # in the url.

This commit is contained in:
kay.one
2013-02-17 19:04:28 -08:00
parent 893795d029
commit eb0ffa83b6
7 changed files with 62 additions and 40 deletions

View File

@@ -1,9 +0,0 @@
<div class="alert alert-{{level}}">
<button type="button" class="close x-close">×</button>
<i class="{{iconClass}}" /><strong>{{title}}</strong>
{{#if isPreFormatted}}
<pre>{{{preFormattedMessage}}}</pre>
{{else}}
{{message}}
{{/if}}
</div>

View File

@@ -1,7 +1,7 @@
define(['app', 'Shared/NotificationCollection'], function (app, notificationCollection) {
var notificationItemView = Backbone.Marionette.ItemView.extend({
template: 'Shared/NotificationTemplate',
template: '#notification-template',
events: {
'click .x-close': 'kill'