Code Monkey home page Code Monkey logo

riak-admin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

riak-admin's Issues

Patch to make listing of keys work

I also seemed to need this Have to ask for keys if you're going to iterate them.:

diff --git a/index.html b/index.html
index 1d33009..540c8fb 100644
--- a/index.html
+++ b/index.html
@@ -17,11 +17,13 @@

       $(function() {
         $('#bucket').html(bucket);
-          db.get(bucket)(function(response) {
-            $.each(response.keys, function(i, key) {
-              $('#keys')
-                .append("<li id=\"" + uniqueId(bucket, key) + "\"><a href='javascript:;' onclick='show(\"" + key + "\")'>" + key + "</a></li>");     
-            });
+          db.get(bucket, '', {'keys':true})(function(response) {
+            if (response.keys) {
+                $.each(response.keys, function(i, key) {
+                  $('#keys') 
+                    .append("<li id=\"" + uniqueId(bucket, key) + "\"><a href='javascript:;' onclick='show(\"" + key + "\")'>" + key + "</a></li>");
+                });
+            }
           });
       });

submodule no longer exists

fatal: remote error:
Repository not found.
Clone of 'git://github.com/frank06/riak-js.git' into submodule path 'lib/riak-js' failed

missing require function

When I try to run this I get the java script error that 'require is not defined' Where is this supposed to come from?

PUT method on save not functioning

I had to change this: (riak.js line 40)
options.method = key ? 'PUT' : 'POST';
to this:
options.method = 'POST';

Using Chrome for my browser, if the type of a request is set to PUT it doesn't make it into the xhr request headers. Forcing the method to be POST in the save method makes the edit function work.

Missing .js-files

The lib/riak-js/riak-jquery.js and lib/riak-js/riak.js files are missing from the repository!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.