Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
use yarn to handle js dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
meysampg committed May 24, 2017
1 parent 4f9f5ce commit 8ad47f7
Show file tree
Hide file tree
Showing 144 changed files with 31,354 additions and 894 deletions.
9 changes: 5 additions & 4 deletions FormBuilderAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@

class FormBuilderAsset extends AssetBundle
{
public $sourcePath = '@vendor/meysampg/yii2-formbuilder/dist';
public $sourcePath = '@vendor/meysampg/yii2-formbuilder/assets/node_modules/formBuilder/dist';

public function init()
{
// Add js file based on app environment
$this->js[] = YII_DEBUG ? 'form-builder.js' : 'form-builder.min.js';
$this->js[] = YII_DEBUG ? 'form-render.js' : 'form-render.min.js';
$this->js = [
'form-builder.min.js',
'form-render.min.js',
];
}

public $depends = [
Expand Down
14 changes: 14 additions & 0 deletions assets/node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

163 changes: 163 additions & 0 deletions assets/node_modules/formBuilder/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions assets/node_modules/formBuilder/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ad47f7

Please sign in to comment.