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

View File

@ -1,5 +1,6 @@
define(function (require) { define(function (require) {
return { return {
fancy: require("app/lib/fancy"),
identicons: require("app/lib/identicons"), identicons: require("app/lib/identicons"),
pbkdf2: require("app/lib/pbkdf2"), pbkdf2: require("app/lib/pbkdf2"),
sha1: require("app/lib/sha1") sha1: require("app/lib/sha1")