mv app/fancy to /app/lib/fancy

This commit is contained in:
Martin Zimmermann 2013-11-16 22:18:02 +01:00
parent edafc5f88f
commit b21e216b06
3 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/* Isso Ich schrei sonst!
*/
define(["app/text/html", "app/dom", "app/utils", "app/config", "app/api", "app/markup", "app/i18n", "app/lib", "app/fancy"],
function(templates, $, utils, config, api, Mark, i18n, lib, fancy) {
define(["app/text/html", "app/dom", "app/utils", "app/config", "app/api", "app/markup", "app/i18n", "app/lib"],
function(templates, $, utils, config, api, Mark, i18n, lib) {
"use strict";
@ -80,7 +80,7 @@ define(["app/text/html", "app/dom", "app/utils", "app/config", "app/api", "app/m
});
// copy'n'paste sluggy automagically dynamic textarea resize
fancy.autoresize($("textarea", el), 48);
lib.fancy.autoresize($("textarea", el), 48);
return el;
};
@ -198,7 +198,7 @@ define(["app/text/html", "app/dom", "app/utils", "app/config", "app/api", "app/m
api.view(comment.id, 1).then(function(rv) {
var textarea = $.new("textarea", rv.text);
fancy.autoresize(textarea, 48);
lib.fancy.autoresize(textarea, 48);
text.className = "textarea-wrapper";
text.textContent = "";
text.append(textarea);

View File

@ -1,7 +1,8 @@
define(function (require) {
return {
fancy: require("app/lib/fancy"),
identicons: require("app/lib/identicons"),
pbkdf2: require("app/lib/pbkdf2"),
sha1: require("app/lib/sha1")
};
});
});