Rename dropdown package
This commit is contained in:
parent
d3a23cac83
commit
e12cafbcfa
2 changed files with 5 additions and 5 deletions
|
@ -24,14 +24,14 @@
|
||||||
;; class .dropdown-item. Additionally, dropdowns can be made to expand
|
;; class .dropdown-item. Additionally, dropdowns can be made to expand
|
||||||
;; upwards (instead of downwards) by adding the .dropup class.
|
;; upwards (instead of downwards) by adding the .dropup class.
|
||||||
|
|
||||||
(defpackage dev.metalisp.sbt/dropdown
|
(defpackage ml-sbt/dropdown
|
||||||
(:use :cl)
|
(:use :cl)
|
||||||
(:export
|
(:export
|
||||||
:menu
|
:menu
|
||||||
:item
|
:item
|
||||||
:dropdown))
|
:dropdown))
|
||||||
|
|
||||||
(in-package :dev.metalisp.sbt/dropdown)
|
(in-package :ml-sbt/dropdown)
|
||||||
|
|
||||||
(defmacro menu (&body body)
|
(defmacro menu (&body body)
|
||||||
"This macro generates a Bootstrap dropdown menu.
|
"This macro generates a Bootstrap dropdown menu.
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
(defpackage dev.metalisp.sbt/tests/dropdown
|
(defpackage ml-sbt/tests/dropdown
|
||||||
(:use
|
(:use
|
||||||
:cl
|
:cl
|
||||||
:dev.metalisp.sbt/dropdown
|
:ml-sbt/dropdown
|
||||||
:rove))
|
:rove))
|
||||||
|
|
||||||
(in-package :dev.metalisp.sbt/tests/dropdown)
|
(in-package :ml-sbt/tests/dropdown)
|
||||||
|
|
||||||
(deftest test-menu
|
(deftest test-menu
|
||||||
(let ((result (spinneret:with-html-string (menu (item "Item 1") (item "Item 2")))))
|
(let ((result (spinneret:with-html-string (menu (item "Item 1") (item "Item 2")))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue