Giter VIP home page Giter VIP logo

Comments (6)

MikeMcl avatar MikeMcl commented on June 12, 2024

It is difficult to know what the problem is from the information you have provided.
Perhaps the "pathtobignumber" part is incorrect.

from bignumber.js.

lautarocozzani avatar lautarocozzani commented on June 12, 2024

mmm... pathtobignumber is correct, I'm pretty sure.
but I dont know why from karma is imposible to load this library :s

from bignumber.js.

josdejong avatar josdejong commented on June 12, 2024

I've never used karma and I don't know if it has some magic to load modules with commonjs style, but shouldn't

window.BigNumber = require("pathtobignumber/bignumber.js")

be any of:

// in the browser
<script src="pathtobignumber/bignumber.js"></script>

// in node.js
var BigNumber = require("bignumber.js")

// in the browser using requirejs
require(["bignumber.js"], function (BigNumber) {
  // ...
})

from bignumber.js.

lautarocozzani avatar lautarocozzani commented on June 12, 2024

ok, thanks

2014-09-03 16:42 GMT-03:00 Jos de Jong [email protected]:

I've never used karma and I don't know if it has some magic to load
modules with commonjs style, but shouldn't

window.BigNumber = require("pathtobignumber/bignumber.js")

be any of:

// in the browser

<script src="pathtobignumber/bignumber.js"></script>

// in node.js
var BigNumber = require("bignumber.js")

// in the browser using requirejs
require(["bignumber.js"], function (BigNumber) {
// ...
})


Reply to this email directly or view it on GitHub
#43 (comment).

from bignumber.js.

josdejong avatar josdejong commented on June 12, 2024

Does that resolve your issue?

from bignumber.js.

lautarocozzani avatar lautarocozzani commented on June 12, 2024

mmm.. no, is the same as before, but maybe is a karma configuration problem
I will try and give you feedback

2014-09-03 16:45 GMT-03:00 Jos de Jong [email protected]:

Does that resolve your issue?


Reply to this email directly or view it on GitHub
#43 (comment).

from bignumber.js.

Related Issues (20)

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.