Last active
August 29, 2015 14:02
-
-
Save pvhee/9f154eeb68966fa7c59f to your computer and use it in GitHub Desktop.
Hard-coding timeline JS version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/views_timelinejs.module b/views_timelinejs.module | |
| index f1a1a4d..f9b0989 100644 | |
| --- a/views_timelinejs.module | |
| +++ b/views_timelinejs.module | |
| @@ -40,17 +40,13 @@ function views_timelinejs_libraries_info() { | |
| 'name' => 'timeline', | |
| 'vendor url' => 'http://timeline.verite.co', | |
| 'download url' => 'http://timeline.verite.co', | |
| - 'version arguments' => array( | |
| - 'file' => 'build/js/timeline.js', | |
| - 'pattern' => '/TimelineJS - ver. ([\d.]+)/i', | |
| - 'lines' => 5, | |
| - ), | |
| + 'version' => '2.7', | |
| 'files' => array( | |
| 'js' => array( | |
| - 'build/js/storyjs-embed.js', | |
| + 'compiled/js/storyjs-embed.js', | |
| ), | |
| 'css' => array( | |
| - 'build/css/timeline.css', | |
| + 'compiled/css/timeline.css', | |
| ), | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment