GitHub PullRequestReviewCommentEvent at 2014-03-20 22:48:11
Repository: node-red-nodes
Actor: knolleary
Payload: {"comment":{"url":"https://api.github.com/repos/node-red/node-red-nodes/pulls/comments/10820676","id":10820676,"diff_hunk":"@@ -0,0 +1,98 @@\n+<!--\n+  Copyright 2013 IBM Corp.\n+\n+  Licensed under the Apache License, Version 2.0 (the \"License\");\n+  you may not use this file except in compliance with the License.\n+  You may obtain a copy of the License at\n+\n+  http://www.apache.org/licenses/LICENSE-2.0\n+\n+  Unless required by applicable law or agreed to in writing, software\n+  distributed under the License is distributed on an \"AS IS\" BASIS,\n+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+  See the License for the specific language governing permissions and\n+  limitations under the License.\n+-->\n+\n+<script type=\"text/x-red\" data-template-name=\"SQLitedatabase\">\n+    <div class=\"form-row\">\n+        <label for=\"node-config-input-file\"><i class=\"icon-briefcase\"></i> Host</label>\n+        <input type=\"text\" id=\"node-config-input-file\" placeholder=\"./nodered.sqlite3\">\n+    </div>\n+</script>\n+\n+<script type=\"text/javascript\">\n+    RED.nodes.registerType('SQLitedatabase',{\n+        category: 'config',\n+        defaults: {\n+            file: {value:\"./nodered.sqlite3\",required:true},\n+        },\n+        label: function() {\n+            return this.file;\n+        },\n+        oneditprepare: function() {","path":"storage/sqlite/66-sqlite.html","position":33,"original_position":33,"commit_id":"6b63880eead002d47633c5ca897dce028e70592e","original_commit_id":"6b63880eead002d47633c5ca897dce028e70592e","user":{"login":"knolleary","id":51083,"avatar_url":"https://avatars.githubusercontent.com/u/51083?","gravatar_id":"ab105a906be119156fcacd5cd940f8a4","url":"https://api.github.com/users/knolleary","html_url":"https://github.com/knolleary","followers_url":"https://api.github.com/users/knolleary/followers","following_url":"https://api.github.com/users/knolleary/following{/other_user}","gists_url":"https://api.github.com/users/knolleary/gists{/gist_id}","starred_url":"https://api.github.com/users/knolleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knolleary/subscriptions","organizations_url":"https://api.github.com/users/knolleary/orgs","repos_url":"https://api.github.com/users/knolleary/repos","events_url":"https://api.github.com/users/knolleary/events{/privacy}","received_events_url":"https://api.github.com/users/knolleary/received_events","type":"User","site_admin":false},"body":"oneditprepare/oneditsave//ondelete don't seem to be doing anything, so aren't needed","created_at":"2014-03-20T22:48:11Z","updated_at":"2014-03-20T22:48:11Z","html_url":"https://github.com/node-red/node-red-nodes/pull/41#discussion_r10820676","pull_request_url":"https://api.github.com/repos/node-red/node-red-nodes/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/node-red/node-red-nodes/pulls/comments/10820676"},"html":{"href":"https://github.com/node-red/node-red-nodes/pull/41#discussion_r10820676"},"pull_request":{"href":"https://api.github.com/repos/node-red/node-red-nodes/pulls/41"}}}}