Changeset 718186
- Timestamp:
- 05/25/2013 12:48:44 PM (13 years ago)
- Location:
- wp-d3
- Files:
-
- 4 edited
- 1 copied
-
tags/1.1 (copied) (copied from wp-d3/trunk)
-
tags/1.1/readme.txt (modified) (2 diffs)
-
tags/1.1/wp-d3.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-d3.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-d3/tags/1.1/readme.txt
r671971 r718186 4 4 Tags: d3, visualization, javascript 5 5 Requires at least: 3.0 6 Tested up to: 3. 47 Stable tag: 1. 0.06 Tested up to: 3.5 7 Stable tag: 1.1 8 8 9 9 A plugin to integrate D3 into your Wordpress post/pages. … … 46 46 = 1.0.0 = 47 47 * First commit. Basic tag functionality, [d3-link], [d3 canvas="canvas"] 48 = 1.1 = 49 * Fixed d3 snippet insertion, now the code output is shown where it has been inserted inside the post. 48 50 -
wp-d3/tags/1.1/wp-d3.php
r669428 r718186 5 5 Description: D3 is a very popular visualization library written in Javascript. This plugins provides a set of tags to link page/post content to d3.js libraries in order to visualize the javascript snippets inside Wordpress. 6 6 All javascript code can be update as "Media" to the Wordpress blog and then refere 7 Version: 1. 0.07 Version: 1.1 8 8 Author: Ruben Afonso 9 9 Author URI: http://www.figurebelow.com … … 56 56 'canvas' => 'canvas'), $attr)); 57 57 $chart = $canvas; 58 echo '<div class="' . $chart . '">'; 59 echo '<script type="text/javascript">'; 60 echo $content . '</script>' . '</div>'; 58 $result = '<div class="' . $chart . '">' . '<script type="text/javascript">' . $content . '</script>' . '</div>'; 59 return str_replace("\r\n", '', $result); // remove any newline because worpress may convert it to <p> tags 61 60 } 62 61 -
wp-d3/trunk/readme.txt
r671971 r718186 4 4 Tags: d3, visualization, javascript 5 5 Requires at least: 3.0 6 Tested up to: 3. 47 Stable tag: 1. 0.06 Tested up to: 3.5 7 Stable tag: 1.1 8 8 9 9 A plugin to integrate D3 into your Wordpress post/pages. … … 46 46 = 1.0.0 = 47 47 * First commit. Basic tag functionality, [d3-link], [d3 canvas="canvas"] 48 = 1.1 = 49 * Fixed d3 snippet insertion, now the code output is shown where it has been inserted inside the post. 48 50 -
wp-d3/trunk/wp-d3.php
r669428 r718186 5 5 Description: D3 is a very popular visualization library written in Javascript. This plugins provides a set of tags to link page/post content to d3.js libraries in order to visualize the javascript snippets inside Wordpress. 6 6 All javascript code can be update as "Media" to the Wordpress blog and then refere 7 Version: 1. 0.07 Version: 1.1 8 8 Author: Ruben Afonso 9 9 Author URI: http://www.figurebelow.com … … 56 56 'canvas' => 'canvas'), $attr)); 57 57 $chart = $canvas; 58 echo '<div class="' . $chart . '">'; 59 echo '<script type="text/javascript">'; 60 echo $content . '</script>' . '</div>'; 58 $result = '<div class="' . $chart . '">' . '<script type="text/javascript">' . $content . '</script>' . '</div>'; 59 return str_replace("\r\n", '', $result); // remove any newline because worpress may convert it to <p> tags 61 60 } 62 61
Note: See TracChangeset
for help on using the changeset viewer.