old dev files
This commit is contained in:
parent
38bf260984
commit
d054daaaaf
|
@ -1,21 +0,0 @@
|
|||
$(function () {
|
||||
$(".channel-textarea-inner textarea").ready(function () {
|
||||
var availableTags = [
|
||||
"Kappa",
|
||||
"4Head"];
|
||||
|
||||
$("#tags").on("keydown", function () {
|
||||
var newY = $(this).textareaHelper('caretPos').top + (parseInt($(this).css('font-size'), 10) * 1.5);
|
||||
var newX = $(this).textareaHelper('caretPos').left;
|
||||
var posString = "left+" + newX + "px top+" + newY + "px";
|
||||
$(this).autocomplete("option", "position", {
|
||||
my: "left top",
|
||||
at: "left top"
|
||||
});
|
||||
});
|
||||
|
||||
$(".channel-textarea-inner textarea").autocomplete({
|
||||
source: availableTags
|
||||
});
|
||||
});
|
||||
});
|
|
@ -1 +0,0 @@
|
|||
function devmode() { $("body").addClass("dev3mode"); }
|
16
js/temp.js
16
js/temp.js
|
@ -1,16 +0,0 @@
|
|||
var observer;
|
||||
|
||||
(function() {
|
||||
|
||||
observer = new MutationObserver(function(mutations) {
|
||||
mutations.forEach(function(mutation) {
|
||||
for(var i = 0 ; i < mutation.addedNodes.length ; ++i) {
|
||||
var next = mutation.addedNodes.item(i);
|
||||
console.log(next);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
obsever.observe(document, {childList: true, subtree: true});
|
||||
|
||||
})();
|
Loading…
Reference in New Issue