       moviePath: "/assets/vendor/zeroclipboard/ZeroClipboard.swf"
     clip.on "mouseout", @clipboardMouseout
     clip.on "complete", @clipboardComplete
-    clip
 
-  # Initializes an alternative way to copy the license for non-flash compatible
-  # browsers
-  initAlternativeClipboard: ->
+    # Fallback if flash is not available
     $(".js-clipboard-button").click (e) =>
       target = "#" + $(e.target).data("clipboard-target")
       @selectText $(target)[0]
-
-  # if Zero Clipboard is present, bind to button and init
-  initClipboard: ->
-    if ZeroClipboard? && @flashAvailable()
-      @initZeroClipboard()
-    else
-      @initAlternativeClipboard()
 
   # Callback to restore the clipboard button's original text
   clipboardMouseout: (client, args) ->

    false

  # Initializes ZeroClipboard
  initZeroClipboard: ->
    # Backup the clipboard button's original text.
    $(".js-clipboard-button").data "clipboard-prompt", $(".js-clipboard-button").text()


---

class Choosealicense
  # Selects the content of a given element
  selectText: (element) ->
    if document.body.createTextRange
