Permalink
Browse files

fix documentation format for forge

  • Loading branch information...
1 parent fa7a320 commit eb46acb871db64c4b9bb000f6069a63e2d88c45b @DimitarChristoff committed Mar 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
@@ -16,7 +16,8 @@ keys. So, `data-this-name` will become `thisName` as key.
Several examples:
-#js
+```javascript
+
// eg markup: <a href='#' data-title='hi there' data-tip-position='left'>link</a>
// make data attributes in all links available to elements via storage
@@ -30,3 +31,4 @@ Several examples:
// get an element, set a data attribute and force-refresh when getting it
document.getElement("a").set("data-title", "Simon says").data("title", true);
+```

0 comments on commit eb46acb

Please sign in to comment.