shumpei / jdb.js

jdb.js is a framework that helps coding with Indexed Database API (IDB). As you know, 'J' is the next character of 'I' in alphabetical order, so 'JDB' means the 'Better IDB API':-)
28 stars 1 forks source link

jdb.js on Chrome and Firefox #8

Open ghost opened 12 years ago

ghost commented 12 years ago

付属のデモと、自作の簡単なサンプル(DBをopenしてputしてobjectstore.allするだけのもの)を作ってみたのですが、Chrome、Firefoxでは動作しないようです。 Chromiumでは問題なく動作するようなので、Indexed Database API自体に差異があるのかもしれません。 (すみません、深追いしませんでした)

ちなみに現在の最新バージョンのChromeではversionの初期値は0ではなく"" (空文字)になってます。 そういう微妙な差異が影響しているかもしれません。

shumpei commented 12 years ago

ご報告ありがとうございます!おかしいなあ、ぼく、MacのChromeで開発しているんだけど。今最優先でやろうとしているのは自動テストの作成なので、それが出来上がったら色々なブラウザで試してみますね。 本当に助かります。もし良ければ、自作のデモをpull requestしてください!よければコミッタの一人になっていただけると心強いです。

ghost commented 12 years ago

OSに関する記述が抜けていましたが、私の環境はWindows7(32/64両環境)です。同じブラウザでもOSによって挙動が違うんですね。 自作のデモの方はもう少し作り込んだらpull requestしたいと思います。

shumpei commented 12 years ago

ありがとうございます!よろしくお願いいたします!

AxeleratumMX commented 3 years ago

The security team in charge of the ‘npm’ repository used for JavaScript libraries has removed two of the npm packages on Monday after they were found to contain malicious code that installed a remote access trojan (RAT) onto computers of developers who were working on JavaScript projects.

The names of the packages were jdb.js and db-json.js, and they were both created by the same author. The packages were described as tools which help developers work with JSON files generated by database applications. The packages were uploaded to the npm package registry last week and were downloaded over 100 times before their flaws were detected by Sonatype.