Show More
@@ -36,6 +36,6 b'' | |||||
36 |
|
36 | |||
37 |
|
37 | |||
38 | .mergely-margin #compare-lhs-margin, |
|
38 | .mergely-margin #compare-lhs-margin, | |
39 | .mergely-margin #compare-rhs-margin{ |
|
39 | .mergely-margin #compare-rhs-margin { | |
40 | cursor: pointer |
|
40 | cursor: pointer | |
41 | } |
|
41 | } |
@@ -59,20 +59,20 b" var orig1 = '${(c.orig1)|n}';" | |||||
59 | var orig2 = '${(c.orig2)|n}'; |
|
59 | var orig2 = '${(c.orig2)|n}'; | |
60 |
|
60 | |||
61 | $(document).ready(function () { |
|
61 | $(document).ready(function () { | |
62 |
|
|
62 | $('#compare').mergely({ | |
63 | width: 'auto', |
|
63 | width: 'auto', | |
64 |
|
|
64 | height: '600', | |
65 | fgcolor: {a:'#ddffdd',c:'#cccccc',d:'#ffdddd'}, |
|
65 | fgcolor: {a:'#ddffdd',c:'#cccccc',d:'#ffdddd'}, | |
66 | bgcolor: '#fff', |
|
66 | bgcolor: '#fff', | |
67 | viewport: true, |
|
67 | viewport: true, | |
68 |
|
|
68 | cmsettings: {mode: 'text/plain', readOnly: true, lineWrapping: false, lineNumbers: true}, | |
69 |
|
|
69 | lhs: function(setValue) { | |
70 |
|
|
70 | setValue(orig1); | |
71 | }, |
|
71 | }, | |
72 |
|
|
72 | rhs: function(setValue) { | |
73 |
|
|
73 | setValue(orig2); | |
74 | }, |
|
74 | }, | |
75 | }); |
|
75 | }); | |
76 | }); |
|
76 | }); | |
77 | </script> |
|
77 | </script> | |
78 |
|
78 |
General Comments 0
You need to be logged in to leave comments.
Login now