Skip to content

Commit

Permalink
add jquery.SrollTo plugin support
Browse files Browse the repository at this point in the history
  • Loading branch information
uran1980 committed Mar 14, 2015
1 parent 19b9c25 commit 0476cdb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 71 deletions.
2 changes: 1 addition & 1 deletion JqueryEssentialAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class JqueryEssentialAsset extends \yii\web\AssetBundle
'uran1980\yii\assets\jQueryEssential\JqueryCookieAsset',
'uran1980\yii\assets\jQueryEssential\JqueryEasingAsset',
'uran1980\yii\assets\jQueryEssential\JqueryMouseWheelAsset',
'uran1980\yii\assets\jQueryEssential\ScrollToAsset',
'uran1980\yii\assets\jQueryEssential\JqueryScrollToAsset',
];
}
4 changes: 2 additions & 2 deletions ScrollToAsset.php → JqueryScrollToAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace uran1980\yii\assets\jQueryEssential;

class ScrollToAsset extends \yii\web\AssetBundle
class JqueryScrollToAsset extends \yii\web\AssetBundle
{
public $sourcePath = '@uran1980/yii/assets/jQueryEssential/assets';
public $sourcePath = '@bower/jquery.scrollTo';
public $js = [
'js/scrollTo.min.js',
];
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ This component based on jQuery essential plugins:
* [jQuery Cookie](https://github.com/carhartl/jquery-cookie)
* [jQuery Easing](http://gsgd.co.uk/sandbox/jquery/easing/)
* [jQuery Mouse Wheel](https://github.com/jquery/jquery-mousewheel)
* [jQuery Scroll-To](https://github.com/individual11/Scroll-To)
* [jQuery Scroll To](https://github.com/flesler/jquery.scrollTo)


## Installation


### Composer

The preferred way to install this extension is through [Composer](http://getcomposer.org/).
Expand Down
61 changes: 0 additions & 61 deletions assets/js/scrollTo.js

This file was deleted.

2 changes: 0 additions & 2 deletions assets/js/scrollTo.min.js

This file was deleted.

7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "uran1980/yii2-jquery-essential",
"description": "An Yii2 jQuery Essential assets component.",
"version": "0.0.3",
"version": "0.0.4",
"type": "yii2-extension",
"keywords": [
"yii2-jquery-essential",
Expand All @@ -14,7 +14,7 @@
"jQuery Easing"
],
"homepage": "https://github.com/uran1980/yii2-jquery-essential",
"time": "2015-03-07",
"time": "2015-03-14 21:40",
"license": "MIT",
"authors": [
{
Expand All @@ -34,7 +34,8 @@
"bower-asset/jquery-cookie": "*",
"bower-asset/jquery.easing": "*",
"bower-asset/jquery-mousewheel": "*",
"bower-asset/jquery-form": "*"
"bower-asset/jquery-form": "*",
"bower-asset/jquery.scrollTo": "*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 0476cdb

Please sign in to comment.