Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions vkbeautify.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*
*/

(function() {
var vkbeautify = (function() {

function createShiftArr(step) {

Expand Down Expand Up @@ -352,7 +352,9 @@ vkbeautify.prototype.sqlmin = function(text) {
return text.replace(/\s{1,}/g," ").replace(/\s{1,}\(/,"(").replace(/\s{1,}\)/,")");
}

window.vkbeautify = new vkbeautify();
vkbeautify = new vkbeautify();

return vkbeautify;

})();