1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +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

@@ -4,15 +4,14 @@ define([
'backbone',
'common',
'jquery.ui.tabs',
'select2',
'text!' + app.config._tmplRoot + 'share-popup.html',
], function($, _, Backbone, Common, Tabs, Select2, SharePopupTemplate) {
'select2'
], function($, _, Backbone, Common, Tabs, Select2) {
'use strict';
var SharePopupView = Backbone.View.extend({
tagName: 'div',
id: 'share-popup',
template: _.template(SharePopupTemplate),
template: _.template($('#share-popup-tmpl').html()),
initialize: function(options) {
this.is_repo_owner = options.is_repo_owner;