Permalink
Browse files

[enhance] wbootstrap: added a pull_left function

  • Loading branch information...
1 parent 06fca6f commit 7e413a8eeb8f2e0a1e2bda9a453331e6caa5dd7f @Aqua-Ye Aqua-Ye committed Mar 22, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 stdlib/widgets/bootstrap/bootstrap.opa
@@ -185,6 +185,11 @@ type WBootstrap.Alert.content = {
WBootstrap = {{
/**
+ * Add a pull-left class to an xhtml chunk
+ */
+ pull_left(x:xhtml) = Xhtml.update_class("pull-left", x)
+
+ /**
* Add a pull-right class to an xhtml chunk
*/
pull_right(x:xhtml) = Xhtml.update_class("pull-right", x)

0 comments on commit 7e413a8

Please sign in to comment.