dante-editor 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/dante/editor.js.coffee +2 -2
- data/bower.json +1 -1
- data/dist/js/dante-editor.js +3 -3
- data/lib/dante-editor/version.rb +1 -1
- data/source/custom_toolbar.erb +1 -0
- data/source/embeds.html.erb +1 -0
- data/source/index.html.erb +1 -0
- data/source/lists.html.erb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73a78f7445c358910dc9ab16aa63d7ff06359b4a
|
4
|
+
data.tar.gz: a84a1b3aba6f10b39c639c097d6c4e97ec355192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75fefccffab7efb346c48890052b5b411acd4bfc5d7dd8fc4b04f97f6c04868ea772bf3e7e796790e7e64fef86c3d26e4593076a976a31b1fe570bba5edc3dc5
|
7
|
+
data.tar.gz: 8276389a69898090daf28bad75f1ad1e72648c568e3edd67e7b2ea1483add90b3940bcdc9468a48666df00702fa0adb589f16711b2b2ea4f316756a6b18fa799
|
@@ -38,8 +38,8 @@ class Dante.Editor extends Dante.View
|
|
38
38
|
|
39
39
|
@upload_url = opts.upload_url || "/uploads.json"
|
40
40
|
@upload_callback = opts.upload_callback
|
41
|
-
@oembed_url = opts.oembed_url || "http://api.embed.ly/1/oembed?url="
|
42
|
-
@extract_url = opts.extract_url || "http://api.embed.ly/1/extract?key
|
41
|
+
@oembed_url = opts.oembed_url || "http://api.embed.ly/1/oembed?key=#{opts.api_key}&url="
|
42
|
+
@extract_url = opts.extract_url || "http://api.embed.ly/1/extract?key=#{opts.api_key}&url="
|
43
43
|
@default_loading_placeholder = opts.default_loading_placeholder || Dante.defaults.image_placeholder
|
44
44
|
|
45
45
|
@store_url = opts.store_url
|
data/bower.json
CHANGED
data/dist/js/dante-editor.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
defaults: {
|
9
9
|
image_placeholder: '../images/dante/media-loading-placeholder.png'
|
10
10
|
},
|
11
|
-
version: "0.1.
|
11
|
+
version: "0.1.3"
|
12
12
|
};
|
13
13
|
|
14
14
|
}).call(this);
|
@@ -495,8 +495,8 @@
|
|
495
495
|
this.el = opts.el || "#editor";
|
496
496
|
this.upload_url = opts.upload_url || "/uploads.json";
|
497
497
|
this.upload_callback = opts.upload_callback;
|
498
|
-
this.oembed_url = opts.oembed_url || "http://api.embed.ly/1/oembed?url=";
|
499
|
-
this.extract_url = opts.extract_url || "http://api.embed.ly/1/extract?key=
|
498
|
+
this.oembed_url = opts.oembed_url || ("http://api.embed.ly/1/oembed?key=" + opts.api_key + "&url=");
|
499
|
+
this.extract_url = opts.extract_url || ("http://api.embed.ly/1/extract?key=" + opts.api_key + "&url=");
|
500
500
|
this.default_loading_placeholder = opts.default_loading_placeholder || Dante.defaults.image_placeholder;
|
501
501
|
this.store_url = opts.store_url;
|
502
502
|
this.store_method = opts.store_method || "POST";
|
data/lib/dante-editor/version.rb
CHANGED
data/source/custom_toolbar.erb
CHANGED
data/source/embeds.html.erb
CHANGED
data/source/index.html.erb
CHANGED
data/source/lists.html.erb
CHANGED