diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0ae3072 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +The MIT License (MIT) + +Copyright (c) 2013 Vadim Kiryukhin + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. diff --git a/vkbeautify.js b/vkbeautify.js index 13cee3a..076c3d5 100644 --- a/vkbeautify.js +++ b/vkbeautify.js @@ -6,9 +6,8 @@ * vkiryukhin @ gmail.com * http://www.eslinstructor.net/vkbeautify/ * -* Dual licensed under the MIT and GPL licenses: +* MIT license: * http://www.opensource.org/licenses/mit-license.php -* http://www.gnu.org/licenses/gpl.html * * Pretty print * @@ -78,7 +77,7 @@ function createShiftArr(step) { } function vkbeautify(){ - this.step = ' '; // 4 spaces + this.step = '\t'; // 4 spaces this.shift = createShiftArr(this.step); };