{"id":37131,"date":"2015-06-24T15:00:17","date_gmt":"2015-06-24T15:00:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ractivejs\/"},"modified":"2017-03-15T17:11:09","modified_gmt":"2017-03-15T17:11:09","slug":"ractivejs","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/ractivejs\/","author":13750621,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3","stable_tag":"1.3","tested":"4.8.28","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"RactiveJS","header_author":"Benjamin Guy","header_description":"","assets_banners_color":"2f2f2f","last_updated":"2017-03-15 17:11:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=G8SPGAVH8RTBU","header_plugin_uri":"http:\/\/www.fuzzguard.com.au\/plugins\/ractivejs","header_author_uri":"http:\/\/www.fuzzguard.com.au","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1731,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1632635","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-775x250.png":{"filename":"banner-775x250.png","revision":"1632635","resolution":"775x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3002,229,52225,1980],"plugin_category":[59],"plugin_contributors":[82500],"plugin_business_model":[],"class_list":["post-37131","plugin","type-plugin","status-publish","hentry","plugin_tags-framework","plugin_tags-javascript","plugin_tags-lib","plugin_tags-library","plugin_category-utilities-and-tools","plugin_contributors-fuzzguard","plugin_committers-fuzzguard"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ractivejs\/assets\/icon-128x128.png?rev=1632635","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin registers the RactiveJS Framework library as part of Wordpress.  This means that Ractive scripts can be included in your plugins by just enqueuing the scripts.  Please see FAQ for usage for your plugin.<\/p>\n\n<p>NOTE:  This does not add any ability to the wordpress front-end or back-end.  The scripts are disabled by default and must be included in your plugin by enqueuing the scripts as you would for any other scripting engine.  So to reiterate this plugin does not add any extra functionality on its own.  It is designed to be used as a dependancy for other plugins.<\/p>\n\n<h4>Live, reactive templating<\/h4>\n\n<p>Ractive.js is a template-driven UI library, but unlike other tools that generate inert HTML, it transforms your templates into blueprints for apps that are interactive by default.<\/p>\n\n<h4>Powerful and extensible<\/h4>\n\n<p>Two-way binding, animations, SVG support and more are provided out-of-the-box - but you can add whatever functionality you need by downloading and creating plugins.<\/p>\n\n<h4>Optimised for your sanity<\/h4>\n\n<p>Some tools force you to learn a new vocabulary and structure your app in a particular way. Ractive works for you, not the other way around - and it plays well with other libraries.<\/p>\n\n<p>RactiveJS: http:\/\/www.ractivejs.org\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>plugin<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>plugin<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol><\/dd>\n<dt>How to use RactiveJS in my plugin?<\/dt>\n<dd><p>This plugin is just a helper plugin to register the RactiveJS framework scripts into wordpress and allow them to be enqueued and utilized by other plugins.  Below is an explaination of the script handlers you have to enqueue to activate RactiveJS and to activate any of the ractive-plugins used in conjunction RactiveJS.<\/p>\n\n<p>How to Enqueue the RactiveJS Framework scripts:<\/p>\n\n<pre><code>    wp_enqueue_script('ractive-js');                RactiveJS Framework\n    wp_enqueue_script('ractive-hover');             Ractive.js hover event plugin\n    wp_enqueue_script('ractive-keys');              Ractive.js keys event plugin\n    wp_enqueue_script('ractive-mousewheel');        Ractive.js mousewheel event plugin\n    wp_enqueue_script('ractive-resize');            Ractive.events.resize\n    wp_enqueue_script('ractive-tap');               Ractive.js tap event plugin\n    wp_enqueue_script('ractive-touch-hammer');      ractive-touch\n    wp_enqueue_script('ractive-touch');             ractive-touch\n    wp_enqueue_script('ractive-typing');            ractive-events-typing\n    wp_enqueue_script('ractive-viewport');          ractive-event-viewport\nwp_enqueue_script('ractive-fade');      Ractive.js fade transition plugin\nwp_enqueue_script('ractive-fly');       Ractive.js fly transition plugin\nwp_enqueue_script('ractive-scale');     Ractive.js scale transition plugin\nwp_enqueue_script('ractive-slide');     Ractive.js slide transition plugin\nwp_enqueue_script('ractive-slide-horizontal');  Horizontal slide transition plugin for Ractive\nwp_enqueue_script('ractive-typewriter');    Ractive.js typewriter transition plugin\n<\/code><\/pre><\/dd>\n<dt>Script Dependancies<\/dt>\n<dd><p>Each of the scripts have dependancies.  They are all queued as dependancies in the plugin.  So if you forget to load the dependancy it will be automatically loaded for you.<\/p>\n\n<pre><code>ractive-js          No Depenancies\nractive-hover           ractive-js\nractive-keys            ractive-js\nractive-mousewheel      ractive-js\nractive-resize          ractive-js\nractive-tap         ractive-js\nractive-touch-hammer        ractive-js\nractive-touch           ractive-js, ractive-touch-hammer\nractive-typing          ractive-js\nractive-viewport        ractive-js\n    ractive-fade            ractive-js\n    ractive-fly         ractive-js\n    ractive-scale           ractive-js\n    ractive-slide           ractive-js\n    ractive-slide-horizontal    ractive-js\n    ractive-typewriter      ractive-js\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Remove getPluginURL function and replaced all references to it with plugins_url() WP Core function<\/li>\n<li>Updated 'ractive.min.js' to v0.8.1<\/li>\n<li>Updated 'ractive-taps.min.js' to v0.3.1<\/li>\n<li>Updated 'hammer.min.js' to v2.0.8<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Tested with version 4.7 of Wordpress<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Tested with version 4.6 of Wordpress<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed error with ractive-tap plugin<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>hammer.js updated to 2.0.6<\/li>\n<li>ractive-tap updated to 0.3.0<\/li>\n<li>ractive-events-hover updated to 0.2.0<\/li>\n<li>ractive-fade update to 0.3.1<\/li>\n<li>ractive-slide updated to 0.4.0<\/li>\n<li>ractive-slide-horizontal updated to 1.0.3<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added getPluginURL() function to return Globally the plugin URL.  References plugin_url().'\/ractive-js'<\/li>\n<li>Added transitions to RactiveJS Plugin<\/li>\n<li>Added transitions scripts to new function register_transitions_scripts()<\/li>\n<li>Moved events scripts to the register_events_scripts() function<\/li>\n<li>Minified all transitions scripts<\/li>\n<li>Minified all events scripts<\/li>\n<li>Minified the core RactiveJS file: ractive.js<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Gold release<\/li>\n<\/ul>","raw_excerpt":"This plugin registers the RactiveJS Framework library as part of Wordpress.  This means that Ractive scripts can be included in your plugins by just e &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37131"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fuzzguard"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37131"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37131"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37131"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37131"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37131"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}