remove old API from BuildTest
This commit is contained in:
parent
335ef45af3
commit
2a797eb953
@ -5,8 +5,7 @@ BuildTest =
|
|||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
textContent: 'Test HTML building'
|
textContent: 'Test HTML building'
|
||||||
$.on a, 'click', @testOne
|
$.on a, 'click', @testOne
|
||||||
$.event 'AddMenuEntry',
|
Menu.menu.addEntry
|
||||||
type: 'post'
|
|
||||||
el: a
|
el: a
|
||||||
open: (post) ->
|
open: (post) ->
|
||||||
a.dataset.fullID = post.fullID
|
a.dataset.fullID = post.fullID
|
||||||
@ -15,8 +14,7 @@ BuildTest =
|
|||||||
a2 = $.el 'a',
|
a2 = $.el 'a',
|
||||||
textContent: 'Test HTML building'
|
textContent: 'Test HTML building'
|
||||||
$.on a2, 'click', @testAll
|
$.on a2, 'click', @testAll
|
||||||
$.event 'AddMenuEntry',
|
Header.menu.addEntry
|
||||||
type: 'header'
|
|
||||||
el: a2
|
el: a2
|
||||||
|
|
||||||
runTest: (post) ->
|
runTest: (post) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user