From 94d637c84ed4a5c10b2995e8cd0b3e3a0a7da8c3 Mon Sep 17 00:00:00 2001 From: ilyaporopudas Date: Fri, 10 Jul 2015 16:14:32 +0100 Subject: [PATCH] Small updates --- Readme.md | 2 +- contributing.md | 1 + spec/javascripts/units/block/video.spec.js | 66 +++++++++++++++++++ website/source/partials/docs/_4.html.markdown | 2 + 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 spec/javascripts/units/block/video.spec.js diff --git a/Readme.md b/Readme.md index 31e2fb1cd..efc64a84d 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ Full documentation can be found [here](http://madebymany.github.io/sir-trevor-js 1. [Sir Trevor Rails](http://github.com/madebymany/sir-trevor-rails) 2. [Umbraco 7](https://github.com/mindrevolution/SirTrevor-for-Umbraco), [Umbraco 6](http://our.umbraco.org/projects/backoffice-extensions/skybrud-sir-trevor-editor) 3. [CakePHP](http://github.com/martinbean/cakephp-sir-trevor-plugin) -4. [Wordpress](https://github.com/raffij/sir-trevor-wordpress) +4. [Wordpress](https://github.com/neyre/sir-trevor-wp) && [Wordpress](https://github.com/raffij/sir-trevor-wordpress) 5. [Laravel](https://github.com/caouecs/Laravel4-SirTrevorJS) 6. [Django](https://github.com/philippbosch/django-sirtrevor) 7. [Yii Framework](https://github.com/DrMabuse23/yii2-sir-trevor-js) diff --git a/contributing.md b/contributing.md index 97873a440..b82d976bd 100644 --- a/contributing.md +++ b/contributing.md @@ -7,6 +7,7 @@ Here are a few ways you can help make SirTrevor better! [Chris Bell](https://github.com/cjbell88), [Andy Walker](https://github.com/ninjabiscuit), [Andrew Sprinz](https://github.com/andrewsprinz), +[Łukasz Sągol](https://github.com/lukaszsagol), [Ilya Poropudas](https://github.com/ilyaporopudas) diff --git a/spec/javascripts/units/block/video.spec.js b/spec/javascripts/units/block/video.spec.js new file mode 100644 index 000000000..841f19884 --- /dev/null +++ b/spec/javascripts/units/block/video.spec.js @@ -0,0 +1,66 @@ +"use strict"; + +var utils = require('../../../../src/utils'); + +describe('Blocks: Video block', function() { + + var createBlock = function(type, data) { + var element = $("