2016-12-14 05:26:26 +00:00
|
|
|
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, vars-on-top, no-unused-vars, no-new, padded-blocks, max-len */
|
|
|
|
/* global EditBlob */
|
|
|
|
/* global NewCommitForm */
|
|
|
|
|
2016-06-24 18:26:11 +00:00
|
|
|
/*= require_tree . */
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
$(function() {
|
2016-08-18 16:10:27 +00:00
|
|
|
var url = $(".js-edit-blob-form").data("relative-url-root");
|
2016-06-24 18:26:11 +00:00
|
|
|
url += $(".js-edit-blob-form").data("assets-prefix");
|
|
|
|
|
2016-08-18 16:10:27 +00:00
|
|
|
var blob = new EditBlob(url, $('.js-edit-blob-form').data('blob-language'));
|
2016-06-24 18:26:11 +00:00
|
|
|
new NewCommitForm($('.js-edit-blob-form'));
|
|
|
|
});
|
|
|
|
|
|
|
|
}).call(this);
|