Skip to content

Commit

Permalink
Change ownership from haqqi to mimicreative. refactor all files.
Browse files Browse the repository at this point in the history
  • Loading branch information
haqqi committed Jun 16, 2016
1 parent 1f6810b commit 9c81e5b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The preferred way to install this extension is through [composer](http://getcomp
Add to the require section of your `composer.json` file:

```
"haqqi/yii2-react": "~1.0"
"mimicreative/yii2-react": "~1.0"
```

And run in terminal
Expand All @@ -25,10 +25,10 @@ Use as the asset bundle in Yii2 View files.

```
// use this if you do not need addons
\haqqi\react\ReactAsset::register($this);
\mimicreative\react\ReactAsset::register($this);
// use this if you need addons
\haqqi\react\ReactWithAddonsAsset::register($this);
\mimicreative\react\ReactWithAddonsAsset::register($this);
```

By default, this extension use the minified version. I also include the
Expand All @@ -46,13 +46,13 @@ return [
'components' => [
'assetManager' => [
'bundles' => [
'haqqi\react\ReactAsset' => [
'mimicreative\react\ReactAsset' => [
'js' => [
'react.js',
'react-dom.js'
]
],
'haqqi\react\ReactWithAddonsAsset' => [
'mimicreative\react\ReactWithAddonsAsset' => [
'js' => [
'react-with-addons.js',
'react-dom.js'
Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "haqqi/yii2-react",
"name": "mimicreative/yii2-react",
"description": "ReactJS Asset Bundle for Yii2",
"license": "MIT License",
"authors": [
{
"name": "MF Haqqi",
"email": "me@haqqi.net"
"email": "me@haqqi.net",
"homepage": "http://haqqi.net",
"role": "Creator"
}
],
"keywords": ["yii2", "react"],
Expand All @@ -18,7 +20,7 @@
},
"autoload": {
"psr-4": {
"haqqi\\react\\": "src/"
"mimicreative\\react\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/ReactAsset.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace haqqi\react;
namespace mimicreative\react;

class ReactAsset extends \yii\web\AssetBundle {
public $sourcePath = '@bower/react';
Expand Down
2 changes: 1 addition & 1 deletion src/ReactWithAddonsAsset.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace haqqi\react;
namespace mimicreative\react;

class ReactWtihAddonsAsset extends \yii\web\AssetBundle {
public $sourcePath = '@bower/react';
Expand Down

0 comments on commit 9c81e5b

Please sign in to comment.