Permalink
Browse files

ckeditor helper

  • Loading branch information...
1 parent 2723d18 commit b88d69d1630d184255e6c7cd0c30215ed8d52e29 nyianilos committed Feb 9, 2013
Showing with 11 additions and 10 deletions.
  1. +0 −10 assets/javascripts/app/example-view.coffee
  2. +11 −0 ckplugin
@@ -1,10 +0,0 @@
-define ['jquery', 'templates', 'backbone'], ($, templates) ->
-
- class ExampleView
-
- render: (element) ->
- $(element).append templates.example({name:'Jade', css:'less'})
- $(element).append templates['another-example']({name:'Jade'})
- console.log Backbone.View
-
- ExampleView
View
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+
+plugin = ARGV[0]
+version = ARGV[1]
+
+zipUrl = "http://download.ckeditor.com/#{plugin}/releases/#{plugin}_#{version}.zip"
+puts zipUrl
+
+Dir.chdir "assets/javascripts/vendor/ckeditor/plugins" do
+ `curl #{zipUrl} | tar -xz`
+end

0 comments on commit b88d69d

Please sign in to comment.