   return unless sheet?
   sheet.cssRules || sheet.rules
 
-appendRules = (entry, rules)->
-  entry.style = rulesToText(entry.prefix, rules)
-  true
-
 fetch = (href)->
   new Promise (resolve, reject)->
     return reject() unless !!href
     superagent.get(href).end (err, res)->
       resolve(res.text)
 
-replaceLinkTagUrls = (uri, text)->
-  re = new RegExp "url\\(['\"]?([^)]*?)['\"]?\\)", "g"
-  text.replace(re, "url('#{uri}$1')")
+
 prefixRule = (prefix, rule)->
   return unless rule
   if rule.selectorText

superagent          = require 'superagent'

Styles     = []

createStyleSheet = (content="", disabled=false)->
  style = document.createElement('style')

  new ScopedCss(prefix, null, node).process()

addLink = (prefix, node)->
  addSheet(prefix, node, node.ownerDocument)
  finalize()

removeLink = (node)->
