generic-skin 2.3.3 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/vueDefault.js +3 -3
- package/apps/vueDefault.min.js +1 -1
- package/frameworks/FNRFramework.js +219 -221
- package/frameworks/FNRFramework.min.js +1 -1
- package/general.js +12 -8
- package/general.min.js +1 -1
- package/package.json +1 -1
- package/frameworks/FMHelper.js +0 -279
- package/frameworks/FMHelper.min.js +0 -1
- package/plugins/customProfile.js +0 -39
- package/plugins/customProfile.min.js +0 -1
package/plugins/customProfile.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
! function (e) {
|
|
2
|
-
e.fn.customProfile = function (t) {
|
|
3
|
-
var i = ["Personalización de perfiles por Flerex", "http://flerex.tumblr.com"];
|
|
4
|
-
console.log(i[0]), console.log(i[1]);
|
|
5
|
-
var l = e.extend({
|
|
6
|
-
tabStructure: [],
|
|
7
|
-
uniqueFieldClass: !1,
|
|
8
|
-
withColon: !0,
|
|
9
|
-
deleteRemains: !0
|
|
10
|
-
}, t);
|
|
11
|
-
return this.each(function () {
|
|
12
|
-
var t = e(this);
|
|
13
|
-
if (l.uniqueFieldClass) {
|
|
14
|
-
var i = FNR.utility.genSlug;
|
|
15
|
-
t.find(".postprofile-field").each(function () {
|
|
16
|
-
var t = e(this).children(".postprofile-field-label").children(".label").children("span").text(),
|
|
17
|
-
n = e(this).children(".postprofile-field-content").html(),
|
|
18
|
-
o = i(t, '-');
|
|
19
|
-
e(this).html('<span class="postprofile-field-label">' + t + (l.withColon ? ": " : "") + '</span><span class="postprofile-field-content"></span>').addClass("postprofile-field-" + o).find(".postprofile-field-content").html(n)
|
|
20
|
-
})
|
|
21
|
-
}
|
|
22
|
-
if (l.tabStructure.length) {
|
|
23
|
-
var n = e('<div class="postprofile-tabs"></div>'),
|
|
24
|
-
o = e('<div class="postprofile-tab-content-container"></div>'),
|
|
25
|
-
a = e('<div class="postprofile-remains-container"></div>');
|
|
26
|
-
t.wrapInner(a).prepend(o).prepend(n), l.tabStructure.forEach(function (i) {
|
|
27
|
-
var l = FNR.utility.genSlug(i.label, '-'),
|
|
28
|
-
a = e('<div class="postprofile-tab postprofile-tab-' + l + (i.default ? " active" : "") + '">' + i.label + "</div>"),
|
|
29
|
-
s = e('<div class="postprofile-tab-content postprofile-tab-content-' + l + (i.default ? " active" : "") + '"></div>');
|
|
30
|
-
n.append(a), o.append(s), a.on("click", function () {
|
|
31
|
-
t.find(".postprofile-tab.active").removeClass("active"), a.addClass("active"), t.find(".postprofile-tab-content.active").removeClass("active"), s.addClass("active")
|
|
32
|
-
}), i.content.forEach(function (e) {
|
|
33
|
-
t.find(e).appendTo(s)
|
|
34
|
-
})
|
|
35
|
-
}), l.deleteRemains && (a = t.find(".postprofile-remains-container")).remove()
|
|
36
|
-
}
|
|
37
|
-
})
|
|
38
|
-
}
|
|
39
|
-
}(jQuery);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e){e.fn.customProfile=function(t){var i=["Personalización de perfiles por Flerex","http://flerex.tumblr.com"];console.log(i[0]),console.log(i[1]);var l=e.extend({tabStructure:[],uniqueFieldClass:!1,withColon:!0,deleteRemains:!0},t);return this.each(function(){var t=e(this);if(l.uniqueFieldClass){var i=FNR.utility.genSlug;t.find(".postprofile-field").each(function(){var t=e(this).children(".postprofile-field-label").children(".label").children("span").text(),n=e(this).children(".postprofile-field-content").html(),o=i(t,"-");e(this).html('<span class="postprofile-field-label">'+t+(l.withColon?": ":"")+'</span><span class="postprofile-field-content"></span>').addClass("postprofile-field-"+o).find(".postprofile-field-content").html(n)})}if(l.tabStructure.length){var n=e('<div class="postprofile-tabs"></div>'),o=e('<div class="postprofile-tab-content-container"></div>'),a=e('<div class="postprofile-remains-container"></div>');t.wrapInner(a).prepend(o).prepend(n),l.tabStructure.forEach(function(i){var l=FNR.utility.genSlug(i.label,"-"),a=e('<div class="postprofile-tab postprofile-tab-'+l+(i.default?" active":"")+'">'+i.label+"</div>"),s=e('<div class="postprofile-tab-content postprofile-tab-content-'+l+(i.default?" active":"")+'"></div>');n.append(a),o.append(s),a.on("click",function(){t.find(".postprofile-tab.active").removeClass("active"),a.addClass("active"),t.find(".postprofile-tab-content.active").removeClass("active"),s.addClass("active")}),i.content.forEach(function(e){t.find(e).appendTo(s)})}),l.deleteRemains&&(a=t.find(".postprofile-remains-container")).remove()}})}}(jQuery);
|