Permalink
Browse files

GMF style

  • Loading branch information...
1 parent 10e312c commit 297e31a72b0e026abb3d4c0b1d8e34bb0c38da34 @stvno stvno committed Jul 5, 2011
Showing with 7 additions and 6 deletions.
  1. +7 −6 README.mdown
View
@@ -23,12 +23,13 @@ If you want to create a new widget for MapQuery, here are some notes:
- Don't indent after the (function($) { })(jQuery) closure:
- (function($) {
- $.widget("mapQuery.mqLayerControl", {
- _create: ...
- }
- });
- })(jQuery);
+```javascript
+(function($) {
+$.widget("mapQuery.mqLayerControl", {
+ _create: ...
+});
+})(jQuery);
+```
- Name your widget in the constructor mapQuery.mq<anameyoulike>:

0 comments on commit 297e31a

Please sign in to comment.