Anton Shestakov <engored@ya.ru>, Thu, 02 May 2013 00:15:05 +0900
Fix an ImminentDeprecationWarning from webassets.
The original ImminentDeprecationWarning: The "filter" option of the {% assets %} template tag has been renamed to "filters" for consistency reasons
templates/index.html
Permissions: -rw-r--r--
<title>Fruit Bar Progress Tracker
</title> <link type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon"> <link type="text/css" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet"> <link type="text/css" href="{{ url_for('static', filename='css/custom.css') }}" rel="stylesheet"> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> {% assets filters='jsmin', output='bundles/fruitbar.%(version)s.js', 'js/framework/models.js', 'js/framework/collections.js', 'js/framework/views/base.js', 'js/framework/views/inline.js', 'js/framework/views/projects.js', 'js/framework/views/tasks.js', 'js/framework/router.js', <script type="text/javascript" src="{{ ASSET_URL }}"></script> _.extend(_.templateSettings, { <body style="opacity: 0;"> <button class="btn btn-mini btn-success btn-new-project">New project
</button> <span class="muted">Workspace
</span> <span class="workspace-title"></span> <small>(
<span class="project-counter"></span>)
</small> <section class="projects"> <script id="project-template" type="text/template"> <div class="span2 align-right ondemand"> <button class="btn btn-mini btn-danger btn-delete-project">Delete</button> <button class="btn btn-mini btn-success btn-new-task">New task</button> <span class="inline-editable" data-model-attribute="name"><%- data.name %></span> <div class="progress progress-striped"> <div class="tasks"></div> <script id="task-template" type="text/template"> <div class="span2 align-right ondemand"> <button class="btn btn-mini btn-danger btn-delete-task">Delete</button> <input type="checkbox" <% if (data.done) print('checked') %>> <span class="inline-editable" data-model-attribute="name"><%- data.name %></span> <span class="inline-editable" data-input-type="textarea" data-model-attribute="note"></span>