Separated editor package
authorKris Kowal <kris.kowal@cixar.com>
Thu, 13 Sep 2012 00:24:08 +0000 (17:24 -0700)
committerKris Kowal <kris.kowal@cixar.com>
Thu, 13 Sep 2012 00:24:22 +0000 (17:24 -0700)
editor/.gitignore [new file with mode: 0644]
editor/index.html
editor/index.js
editor/node_modules/tengwar [new symlink]
editor/package.json [new file with mode: 0644]
package.json

diff --git a/editor/.gitignore b/editor/.gitignore
new file mode 100644 (file)
index 0000000..5927cfc
--- /dev/null
@@ -0,0 +1,2 @@
+node_modules/mr
+node_modules/qs
index fec7d71..2509d28 100644 (file)
@@ -2,8 +2,8 @@
     <head>
         <meta http-equiv="content-type" content="text/html; charset=utf-8">
         <title>Tengwar Transcriber</title>
-        <link rel="stylesheet" type="text/css" href="../tengwar-parmaite.css">
-        <link rel="stylesheet" type="text/css" href="../tengwar-annatar.css">
+        <link rel="stylesheet" type="text/css" href="node_modules/tengwar/tengwar-parmaite.css">
+        <link rel="stylesheet" type="text/css" href="node_modules/tengwar/tengwar-annatar.css">
         <link rel="stylesheet" type="text/css" href="index.css">
     </head>
     <body class="annatar">
@@ -56,7 +56,7 @@
             </div>
         </div>
 
-        <script src="../node_modules/mr/bootstrap.js" data-package=".." data-module="editor/index" charset="utf-8"></script>
+        <script src="node_modules/mr/bootstrap.js" data-package="." data-module="index" charset="utf-8"></script>
 
         <script src="http://static.getclicky.com/js" type="text/javascript"></script> 
         <script type="text/javascript">clicky.init(237383);</script> 
index 61697b5..7813123 100644 (file)
@@ -1,7 +1,7 @@
 
 var QS = require("qs");
-var modes = require("../modes");
-var fonts = require("../fonts");
+var modes = require("tengwar/modes");
+var fonts = require("tengwar/fonts");
 
 var body = document.body;
 var input = document.querySelector("#input");
diff --git a/editor/node_modules/tengwar b/editor/node_modules/tengwar
new file mode 120000 (symlink)
index 0000000..c25bddb
--- /dev/null
@@ -0,0 +1 @@
+../..
\ No newline at end of file
diff --git a/editor/package.json b/editor/package.json
new file mode 100644 (file)
index 0000000..97d8318
--- /dev/null
@@ -0,0 +1,26 @@
+{
+    "name": "tengwar-editor",
+    "version": "0.0.0",
+    "dependencies": {
+        "mr": "0.0.x",
+        "qs": "0.1.x",
+        "tengwar": "0.1.x"
+    },
+    "bugs": {
+        "mail": "kris@cixar.com",
+        "web": "http://github.com/kriskowal/tengwarjs/issues"
+    },
+    "licenses": [
+        {
+            "type": "MIT",
+            "url": "http://github.com/kriskowal/tengwarjs/raw/master/LICENSE"
+        },
+        {
+            "url": "http://github.com/kriskowal/tengwarjs/raw/master/tengwar-annatar/tngandoc.pdf"
+        }
+    ],
+    "repository": {
+        "type": "git",
+        "url": "http://github.com/kriskowal/tengwarjs.git"
+    }
+}
index 6fa6655..c2732ef 100644 (file)
@@ -1,6 +1,6 @@
 {
     "name": "tengwar",
-    "version": "0.0.0",
+    "version": "0.1.0",
     "homepage": "http://3rin.gs/tengwar",
     "author": "Kris Kowal <kris@cixar.com> (http://github.com/kriskowal/)",
     "bugs": {
         "type": "git",
         "url": "http://github.com/kriskowal/tengwarjs.git"
     },
-    "dependencies": {
-        "mr": "0.0.x",
-        "qs": "0.1.x"
-    },
     "devDependencies": {
         "jasmine-node": "1.0.x"
     },