26 lines
432 B
JavaScript
26 lines
432 B
JavaScript
/*
|
|
* Details page
|
|
*/
|
|
|
|
+function ($) { "use strict";
|
|
|
|
var UpdateDetails = function () {
|
|
this.init()
|
|
}
|
|
|
|
UpdateDetails.prototype.init = function() {
|
|
|
|
$(document).ready(function() {
|
|
$('.plugin-details-content pre').addClass('prettyprint')
|
|
prettyPrint()
|
|
})
|
|
|
|
}
|
|
|
|
if ($.oc === undefined)
|
|
$.oc = {}
|
|
|
|
$.oc.updateDetails = new UpdateDetails;
|
|
|
|
}(window.jQuery);
|