old dev files

This commit is contained in:
Jiiks 2015-08-25 15:44:08 +03:00
parent 38bf260984
commit d054daaaaf
3 changed files with 0 additions and 38 deletions

View File

@ -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
});
});
});

View File

@ -1 +0,0 @@
function devmode() { $("body").addClass("dev3mode"); }

View File

@ -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});
})();