diff --git a/docs/STYLE_PLUGINS.txt b/docs/STYLE_PLUGINS.txt
index 59f2855..5898815 100644
--- a/docs/STYLE_PLUGINS.txt
+++ b/docs/STYLE_PLUGINS.txt
@@ -127,7 +127,7 @@ in the class prototype:
  Drupal.openlayers.style_plugin.modulename_pluginname.prototype = {
 
    // Style context function
-   'getLabel' = function(feature) {
+   'getLabel' : function(feature) {
       return feature.attributes.length;
    }
 
