 PREFIX = "amck"
 
 
+class Ajax
+  csrf_token: ->
+    
+
+  post: (url) ->
+
 class Repo
-  constructor: (@name) ->
+  constructor: (@name, @is_watched) ->
 
   key: ->
     PREFIX + @name



if $(".repohead").length
  repo = new Repo $(".js-current-repository").attr("href")
  notifications = new Notifications repo, document
  notifications.inject();

    val.join " "

  unpack: (val) ->
    if val? and val isnt ""
      val.split(/\s+/)
    else []

  get: ->
    @unpack(localStorage.getItem(@key()))
