Browse Source

Initial commit

Herbert Vojčík 9 years ago
commit
f48cc2dcea
9 changed files with 114 additions and 0 deletions
  1. 2 0
      .gitignore
  2. 22 0
      LICENSE-MIT
  3. 11 0
      README.md
  4. 5 0
      blockui.amd.json
  5. 34 0
      bower.json
  6. 11 0
      config.js
  7. 19 0
      index.html
  8. 5 0
      local.amd.json
  9. 5 0
      mousetrap.amd.json

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+/node_modules/
+/bower_components/

+ 22 - 0
LICENSE-MIT

@@ -0,0 +1,22 @@
+Copyright (c) 2014 Herbert Vojčík
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.

+ 11 - 0
README.md

@@ -0,0 +1,11 @@
+# Amber Smalltalk IDE starter menu
+
+Hidden modal dialog to open Amber IDEs
+
+Include as devDependency in your Amber project:
+
+```
+bower install amber-ide-starter-dialog --save-dev
+```
+
+and include `require(['amber-ide-starter-dialog']);` in your index.html.

+ 5 - 0
blockui.amd.json

@@ -0,0 +1,5 @@
+{
+    "paths": {
+        "jquery.blockUI": "jquery.blockUI"
+    }
+}

+ 34 - 0
bower.json

@@ -0,0 +1,34 @@
+{
+  "name": "amber-ide-starter-dialog",
+  "description": "Hidden modal dialog to open Amber IDEs",
+  "version": "0.1.0",
+  "ignore": [
+    "**/.*",
+    "node_modules",
+    "bower_components",
+    "test",
+    "tests"
+  ],
+  "authors": [
+    {
+      "name": "Herbert Vojčík",
+      "email": "herby@mailbox.sk"
+    }
+  ],
+  "homepage": "https://github.com/amber-smalltalk/amber-ide-starter",
+  "keywords": [
+    "Amber",
+    "Smalltalk"
+  ],
+  "license": [
+    "MIT"
+  ],
+  "private": false,
+  "dependencies": {
+    "mousetrap": "^1.4.6",
+    "blockui": "2.65"
+  },
+  "devDependencies": {
+    "requirejs": "~2.1.15"
+  }
+}

+ 11 - 0
config.js

@@ -0,0 +1,11 @@
+/* DO NOT EDIT! This file is generated. */
+
+var require;
+if (!require) require = {config: function (x) {require = x;}};
+require.config({
+  "paths": {
+    "mousetrap": "bower_components/mousetrap/mousetrap",
+    "jquery.blockUI": "bower_components/blockui/jquery.blockUI",
+    "amber-ide-starter-dialog": "lib/idestarter"
+  }
+});

+ 19 - 0
index.html

@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <title>Amber Smalltalk IDE starter menu</title>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+    <meta name="author" content="Herbert Vojčík"/>
+    <script type='text/javascript' src='bower_components/requirejs/require.js'></script>
+    <script type='text/javascript' src='config.js'></script>
+</head>
+
+<body>
+<script type='text/javascript'>
+    require.config({paths:{jquery:"bower_components/jquery/dist/jquery"}});
+    require(['amber-ide-starter-dialog']);
+</script>
+</body>
+
+</html>

+ 5 - 0
local.amd.json

@@ -0,0 +1,5 @@
+{
+    "paths": {
+        "amber-ide-starter-dialog": "lib/idestarter"
+    }
+}

+ 5 - 0
mousetrap.amd.json

@@ -0,0 +1,5 @@
+{
+    "paths": {
+        "mousetrap": "mousetrap"
+    }
+}