 # For all details and documentation:  
 # <http://neocotic.com/template>
 
-#### Private variables
+# Private variables
+# -----------------
 
 # Mapping for internationalization handlers.  
 # Each handler represents an attribute (based on the property name) and is

      break
  return subs

#### Utilities setup

utils = window.utils =

  #### Data functions

  # Determine whether or not the specified key exists in `localStorage`.
  exists: (key) ->
    return localStorage.hasOwnProperty key

  # Retrieve the value associated with the specified key from `localStorage`.  
  # If the value is found, parse it as JSON before being returning it; otherwise
  # return `undefined`.
  get: (key) ->
    value = localStorage[key]
    return if value? then JSON.parse value else value

# which is used by `i18nProcess` to query all elements.
i18nSelector   = "[#{i18nAttributes.join '],['}]"

# Private functions
# -----------------

# Find all elements to be internationalized and call their corresponding
# handler(s).
