Skip to content

Commit f863730

Browse files
committedNov 1, 2013
Removing git submodules in favor of using the Bower javascript package manager.
1 parent 8d2ceba commit f863730

12 files changed

+48
-19
lines changed
 

‎.bowerrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "components"
3+
}

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.sublime-workspace
33

44
*.sublime-project
5+
components/

‎.gitmodules

-6
This file was deleted.

‎Font-Awesome

-1
This file was deleted.

‎README.md

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ The Red Hat Common User Experience (RCUE) project was created to promote design
44

55
This reference implementation of RCUE is based on [Bootstrap v3.0.0](http://getbootstrap.com/); therefore, [Bootstrap v3.0.0](http://getbootstrap.com/) is required in order for it to work properly.
66

7+
## Development
8+
9+
Development setup requires nodejs. If you do not already have nodejs and npm installed on your system, please see https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager for how to install on your distribution.
10+
11+
After ensuring nodejs and npm are available, install [Bower](http://bower.io/) globally:
12+
13+
npm install -g bower
14+
15+
Now that bower is available, we can install the required development components:
16+
17+
bower install
18+
19+
At this point, you should now have a top level components/ folder with all dependencies listed in the bower.json file installed.
20+
721
## Documentation
822

923
See [http://uxd-rcue.rhcloud.com](http://uxd-rcue.rhcloud.com).

‎bootstrap

-1
This file was deleted.

‎bower.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "rcue",
3+
"version": "0.0.0",
4+
"authors": [],
5+
"license": "MIT",
6+
"homepage": "http://uxd-rcue.rhcloud.com",
7+
"ignore": [
8+
"**/.*",
9+
"node_modules",
10+
"bower_components",
11+
"app/components",
12+
"test",
13+
"tests"
14+
],
15+
"dependencies": {
16+
"bootstrap": "~3.0.1",
17+
"font-awesome": "~4.0.1"
18+
}
19+
}

‎examples/buttons.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,6 @@ <h3>Dropup variation</h3>
468468
</div><!-- /btn-group -->
469469
</div>
470470
<script src="http://code.jquery.com/jquery.js"></script>
471-
<script src="../bootstrap/dist/js/bootstrap.min.js"></script>
471+
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
472472
</body>
473-
</html>
473+
</html>

‎examples/forms.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ <h2>RCUE Example</h2>
374374
</div>
375375
</form>
376376
<script src="http://code.jquery.com/jquery.js"></script>
377-
<script src="../bootstrap/dist/js/bootstrap.min.js"></script>
377+
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
378378
</body>
379-
</html>
379+
</html>

‎examples/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ <h1>Red Hat&reg; Common User Experience</h1>
2222
<li><a href="navbar.html">Navbar</a></li>
2323
</ul>
2424
<script src="http://code.jquery.com/jquery.js"></script>
25-
<script src="../bootstrap/dist/js/bootstrap.min.js"></script>
25+
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
2626
</body>
27-
</html>
27+
</html>

‎examples/navbar.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4814,6 +4814,6 @@ <h2>
48144814
</nav>
48154815
<hr>
48164816
<script src="http://code.jquery.com/jquery.js"></script>
4817-
<script src="../bootstrap/dist/js/bootstrap.min.js"></script>
4817+
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
48184818
</body>
4819-
</html>
4819+
</html>

‎less/rcue.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/* Red Hat Common User Experience (RCUE) */
22

33
/* Bootstrap 3.0.0 */
4-
@import "../bootstrap/less/bootstrap";
4+
@import "../components/bootstrap/less/bootstrap";
55

66
/* Font Awesome */
7-
@import "../Font-Awesome/less/font-awesome";
7+
@import "../components/font-awesome/less/font-awesome";
88

99
/* RCUE overrides and new stuff */
1010
@import "variables";
1111
@import "mixins";
1212
@import "fonts";
1313
@import "navbar";
1414
@import "buttons";
15-
@import "forms";
15+
@import "forms";

0 commit comments

Comments
 (0)
Please sign in to comment.