FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mathjs/src/error/deprecatedIndexFileError.js at develop · imaGuru/mathjs · GitHub
imaGuru
/
mathjs
Public
forked from
josdejong/mathjs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
mathjs
/
src
/
error
/
deprecatedIndexFileError.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (8 loc) · 426 Bytes
Breadcrumbs
mathjs
/
src
/
error
/
deprecatedIndexFileError.js
Copy path
File metadata and controls
10 lines (8 loc) · 426 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
export
function
deprecatedIndexFileError
(
filename
)
{
const
message
=
`The index file
${
filename
}
is deprecated since v6.0.0. `
+
'Please import and load individual files from the main index file instead, like: \n'
+
' \n'
+
' import { create, addDependencies, multiplyDependencies } from \'mathjs\' \n'
+
' const math = create({ addDependencies, multiplyDependencies }) \n'
throw
new
Error
(
message
)
}
Back
|
FazBrowse Home
|
New Git URL