fin-hypergrid / fin-hypergrid/core

Simple example error when using minified `fin-hypergrid.min.js` CDN

Open
#827 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
907
Forks
139
PR merge metrics
No merged PRs in 30d

Description

When trying to run the simple example locally, I it worked with
``````
however it gave errors when using the minified version:
``````

![image](https://user-images.githubusercontent.com/1336324/111090175-afbcba00-8593-11eb-8958-caf1b8502211.png)

---
Following page gives the error:
```




var grid = new fin.Hypergrid({
data: [
{ symbol: 'APPL', name: 'Apple Inc.', prevclose: 93.13 },
{ symbol: 'MSFT', name: 'Microsoft Corporation', prevclose: 51.91 },
{ symbol: 'TSLA', name: 'Tesla Motors Inc.', prevclose: 196.40 },
{ symbol: 'IBM', name: 'International Business Machines Corp', prevclose: 155.35 }
]
});

```

This works:
```




var grid = new fin.Hypergrid({
data: [
{ symbol: 'APPL', name: 'Apple Inc.', prevclose: 93.13 },
{ symbol: 'MSFT', name: 'Microsoft Corporation', prevclose: 51.91 },
{ symbol: 'TSLA', name: 'Tesla Motors Inc.', prevclose: 196.40 },
{ symbol: 'IBM', name: 'International Business Machines Corp', prevclose: 155.35 }
]
});

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.