mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-29 04:45:23 +08:00
Started using bower and cleaned up file references
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
bower_components
|
||||||
21
bower.json
Normal file
21
bower.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "ReactFire",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"homepage": "https://github.com/firebase/ReactFire",
|
||||||
|
"authors": [
|
||||||
|
"jacobawenger <jacob@firebase.com>"
|
||||||
|
],
|
||||||
|
"description": "Firebase mixin for ReactJS",
|
||||||
|
"main": "ReactFireMixin.js",
|
||||||
|
"keywords": [
|
||||||
|
"react",
|
||||||
|
"firebase"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"ignore": [
|
||||||
|
"**/.*",
|
||||||
|
"examples",
|
||||||
|
"node_modules",
|
||||||
|
"bower_components"
|
||||||
|
]
|
||||||
|
}
|
||||||
27
examples/todoApp/bower.json
Normal file
27
examples/todoApp/bower.json
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"name": "todoApp",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"homepage": "https://github.com/firebase/ReactFire",
|
||||||
|
"authors": [
|
||||||
|
"jacobawenger <jacob@firebase.com>"
|
||||||
|
],
|
||||||
|
"description": "ReactFireMixin Todo app demo",
|
||||||
|
"main": "index.html",
|
||||||
|
"keywords": [
|
||||||
|
"react",
|
||||||
|
"firebase"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"private": true,
|
||||||
|
"ignore": [
|
||||||
|
"**/.*",
|
||||||
|
"node_modules",
|
||||||
|
"bower_components",
|
||||||
|
"test",
|
||||||
|
"tests"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"react": "~0.10.0",
|
||||||
|
"firebase": "~1.0.12"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,11 +4,11 @@
|
|||||||
<title>ReactFireMixin Demo</title>
|
<title>ReactFireMixin Demo</title>
|
||||||
|
|
||||||
<!-- React JS -->
|
<!-- React JS -->
|
||||||
<script src="react/react-0.10.0.min.js"></script>
|
<script src="bower_components/react/react.min.js"></script>
|
||||||
<script src="react/JSXTransformer-0.10.0.js"></script>
|
<script src="bower_components/react/JSXTransformer.js"></script>
|
||||||
|
|
||||||
<!-- Firebase JS -->
|
<!-- Firebase JS -->
|
||||||
<script src="https://cdn.firebase.com/js/client/1.0.11/firebase.js"></script>
|
<script src="bower_components/firebase/firebase.js"></script>
|
||||||
|
|
||||||
<!-- ReactFireMixin -->
|
<!-- ReactFireMixin -->
|
||||||
<script src="ReactFireMixin.js"></script>
|
<script src="ReactFireMixin.js"></script>
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
<!-- Custom CSS -->
|
<!-- Custom CSS -->
|
||||||
<link rel="stylesheet" href="styles.css">
|
<link rel="stylesheet" href="styles.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
|
||||||
|
<body>
|
||||||
<div id="demoContainer">
|
<div id="demoContainer">
|
||||||
<h1>ReactFireMixin Demo</h1>
|
<h1>ReactFireMixin Demo</h1>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
21
examples/todoApp/react/react-0.10.0.min.js
vendored
21
examples/todoApp/react/react-0.10.0.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user