Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pre class="prettyprint">function getCode($elem) {
- var tabAtStart = /^t/g;
- while (lines[0].search(tabAtStart) > -1) {
- $.each(lines, function (index, value) {
- lines[index] = value.replace(tabAtStart, "");
- });
- }}</pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement