mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
This commit is contained in:
parent
b1cb1f3f34
commit
f12cf74dda
251 changed files with 776 additions and 938 deletions
|
|
@ -24,7 +24,7 @@
|
|||
var thisPlugin = this;
|
||||
|
||||
// extract target text nodes
|
||||
this.extractTargets($('.rhymix_content, .xe_content'));
|
||||
this.extractTargets($('.xe_content'));
|
||||
|
||||
$(this.targets).each(function(){
|
||||
thisPlugin.cast('AUTOLINK', [this]);
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
},
|
||||
extractTargets : function(obj) {
|
||||
var thisPlugin = this;
|
||||
var wrap = $('.rhymix_content, .xe_content', obj);
|
||||
var wrap = $('.xe_content', obj);
|
||||
if(wrap.length) {
|
||||
this.extractTargets(wrap);
|
||||
return;
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
|
||||
xe.registerPlugin(new AutoLink());
|
||||
|
||||
$(document).on('click', '.rhymix_content a, .xe_content a', function() {
|
||||
$(document).on('click', '.xe_content a', function() {
|
||||
if (!$(this).attr("target")) {
|
||||
$(this).attr("target", "_blank");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ describe('Autolink trigger', {
|
|||
// ]]></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="rhymix_content" style="display:none">
|
||||
<div class="xe_content" style="display:none">
|
||||
<div id="test1">This is autolink test. This text don't have any link text.</div>
|
||||
<div id="test2">http://mygony.com</div>
|
||||
<div id="test3">Go to http://mygony.com</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue