- Első kör
- Navigációs funkció esetek, akciók
- Mozgás
- a. Felfele és lefele mozgás a látható sorra ugrik hogy érted, hogy látható? Ami felette vagy alatta van, függetlenül a szintjétől?
- b. Azonos szintre fel- és leugrik a kurzor ez miben más, mint az előző? Hogy ez azonos szintre megy csak?
- c. Szülő sorra ugrik
- d. Gyerek sorra ugrik
- e. Jobbra nyíl, ha tud menni gyereke akkor arra megy vagy nyit, ha nem akkor újat kezd (ez már edit mód)
- f. Balra nyíl aktuális szülőre ugrik
- Mozgás
- Navigációs funkció esetek, akciók
- Mit hagy nyitva és mit zár Kiinduló és célpontkezelés Ezt általános beállításra javaslom, és ki is jelezni valahol:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AMD | |
require(['tree'], function(tree) { | |
// ### Features | |
// Style? | |
tree(a).eql(b) | |
tree.ck(a, '===', b) | |
// #### Asserts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wizek@Wizek-PS7-SSD /cygdrive/e/Work Area/Code/Tree | |
$ git submodule add https://github.com/jquery/jquery.git ./lib/jquery/ | |
Cloning into lib/jquery... | |
error: error setting certificate verify locations: | |
CAfile: /bin/curl-ca-bundle.crt | |
CApath: /usr/ssl/certs | |
while accessing https://github.com/jquery/jquery.git/info/refs | |
fatal: HTTP request failed | |
Clone of 'https://github.com/jquery/jquery.git' into submodule path 'lib/jquery' failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sun Sep 25 22:25:04 2011] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? | |
[Sun Sep 25 22:25:04 2011] [notice] Digest: generating secret for digest authentication ... | |
[Sun Sep 25 22:25:04 2011] [notice] Digest: done | |
[Sun Sep 25 22:25:08 2011] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations | |
[Sun Sep 25 22:25:08 2011] [notice] Server built: Sep 10 2011 11:34:11 | |
[Sun Sep 25 22:25:08 2011] [notice] Parent: Created child process 2872 | |
[Sun Sep 25 22:25:09 2011] [notice] Digest: generating secret for digest authentication ... | |
[Sun Sep 25 22:25:09 2011] [notice] Digest: done | |
[Sun Sep 25 22:25:10 2011] [notice] Child 2872: Child process is running | |
[Sun Sep 25 22:25:10 2011] [notice] Child 2872: Acquired the start mutex. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tree._helpers.deepEql = function (x1, x2) { | |
var t1 = typeof x1 | |
var t2 = typeof x2 | |
if (t1 !== t2) { | |
return false | |
} else if ( | |
t1 == 'string' || | |
(t1 == 'number' && !isNaN(x1)) || | |
t1 == 'boolean' || | |
t1 == 'undefined' || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Cross-browser object.watch and object.unwatch | |
// object.watch | |
if (!Object.prototype.watch) { | |
Object.prototype.watch = function (prop, handler) { | |
var oldval = this[prop], newval = oldval, | |
getter = function () { | |
return newval; | |
}, | |
setter = function (val) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.itemView = Backbone.View.extend({ | |
el:$('<ul>').appendTo('body') | |
, events: { | |
// 'change':'enter' | |
'keyup ul>li>div':'enter' | |
} | |
, initialize: function() { | |
console.log('init') | |
// _.bindAll(this, 'enter') | |
this.render() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Work Area/Code/Tree (master) $ git gc | |
error: bad ref for refs/remotes/origin/WIP (Wizek-LT-PC) | |
error: bad ref for refs/remotes/origin/WIP (Wizek-LT-PC) | |
Counting objects: 354, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (339/339), done. | |
Writing objects: 100% (354/354), done. | |
Total 354 (delta 209), reused 29 (delta 7) | |
error: bad ref for refs/remotes/origin/WIP (Wizek-LT-PC) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pack-refs with: peeled | |
0a8e80037cca99eb4c262961191af65e463ce63a refs/heads/master | |
e6949ff019b1922ac99c2e6c4f2548d7088d2d4d refs/remotes/origin/WIP | |
189568ef75e0647b07c70e7e65e7e1bc6e8dfde6 refs/remotes/origin/fodinak | |
0a8e80037cca99eb4c262961191af65e463ce63a refs/remotes/origin/master | |
bab2f92a442af0a38199aa18baa9c545d922b3cf refs/stash | |
674c2f753942e3a5d3d429865629a8a0229924ae refs/tags/v0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.Node = Backbone.Model.extend({ | |
defaults: function() { | |
var o = { | |
headline: '' | |
, body: '' | |
, createdAt: new Date() | |
, updatedAt: new Date() | |
, position: 2147483648 //Math.round((0+(Math.pow(2,32)-1))/2) | |
, children: new Children() | |
, expanded: true |