##// END OF EJS Templates
remove trailing white spaces from public/javascripts/jstoolbar/markdown.js...
Toshi MARUYAMA -
r13806:ef8328ab3bee
parent child
Show More
@@ -7,12 +7,12
7 * it under the terms of the GNU General Public License as published by
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
9 * (at your option) any later version.
10 *
10 *
11 * DotClear is distributed in the hope that it will be useful,
11 * DotClear is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
14 * GNU General Public License for more details.
15 *
15 *
16 * You should have received a copy of the GNU General Public License
16 * You should have received a copy of the GNU General Public License
17 * along with DotClear; if not, write to the Free Software
17 * along with DotClear; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -66,7 +66,7 jsToolBar.prototype.elements.h1 = {
66 type: 'button',
66 type: 'button',
67 title: 'Heading 1',
67 title: 'Heading 1',
68 fn: {
68 fn: {
69 wiki: function() {
69 wiki: function() {
70 this.encloseLineSelection('# ', '',function(str) {
70 this.encloseLineSelection('# ', '',function(str) {
71 str = str.replace(/^#+\s+/, '')
71 str = str.replace(/^#+\s+/, '')
72 return str;
72 return str;
@@ -78,7 +78,7 jsToolBar.prototype.elements.h2 = {
78 type: 'button',
78 type: 'button',
79 title: 'Heading 2',
79 title: 'Heading 2',
80 fn: {
80 fn: {
81 wiki: function() {
81 wiki: function() {
82 this.encloseLineSelection('## ', '',function(str) {
82 this.encloseLineSelection('## ', '',function(str) {
83 str = str.replace(/^#+\s+/, '')
83 str = str.replace(/^#+\s+/, '')
84 return str;
84 return str;
@@ -90,7 +90,7 jsToolBar.prototype.elements.h3 = {
90 type: 'button',
90 type: 'button',
91 title: 'Heading 3',
91 title: 'Heading 3',
92 fn: {
92 fn: {
93 wiki: function() {
93 wiki: function() {
94 this.encloseLineSelection('### ', '',function(str) {
94 this.encloseLineSelection('### ', '',function(str) {
95 str = str.replace(/^#+\s+/, '')
95 str = str.replace(/^#+\s+/, '')
96 return str;
96 return str;
General Comments 0
You need to be logged in to leave comments. Login now