Browse Source

added bignumber.js to js.qrc

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
3a6ac2b502
  1. 2
      libjsqrc/bignumber.min.js
  2. 1
      libjsqrc/js.qrc
  3. 1
      libqwebthree/QWebThree.h

2
libjsqrc/bignumber.min.js

File diff suppressed because one or more lines are too long

1
libjsqrc/js.qrc

@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/js">
<file>es6-promise-2.0.0.js</file>
<file>bignumber.min.js</file>
<file>setup.js</file>
<file alias="webthree.js">ethereumjs/dist/ethereum.js</file>
</qresource>

1
libqwebthree/QWebThree.h

@ -85,6 +85,7 @@ private:
_frame->addToJavaScriptWindowObject("_web3", qweb, QWebFrame::ScriptOwnership); \
_frame->addToJavaScriptWindowObject("env", _env, QWebFrame::QtOwnership); \
_frame->evaluateJavaScript(contentsOfQResource(":/js/es6-promise-2.0.0.js")); \
_frame->evaluateJavaScript(contentsOfQResource(":/js/bignumber.min.js")); \
_frame->evaluateJavaScript(contentsOfQResource(":/js/webthree.js")); \
_frame->evaluateJavaScript(contentsOfQResource(":/js/setup.js")); \
}

Loading…
Cancel
Save