1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

update js/template

This commit is contained in:
lian
2015-04-03 12:15:41 +08:00
committed by Daniel Pan
parent af67d495ab
commit 2a90af3675
28 changed files with 486 additions and 493 deletions

View File

@@ -3,16 +3,15 @@ define([
'simplemodal',
'underscore',
'backbone',
'common',
'text!' + app.config._tmplRoot + 'create-repo.html'
], function($, simplemodal, _, Backbone, Common, CreateRepoTemplate) {
'common'
], function($, simplemodal, _, Backbone, Common) {
'use strict';
var AddRepoView = Backbone.View.extend({
tagName: 'div',
template: _.template(CreateRepoTemplate),
template: _.template($('#create-repo-tmpl').html()),
initialize: function(repos) {
this.repos = repos;