Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in Web Site - "Getting started with the JavaScript SDK" section #16

Open
andynice opened this issue Apr 12, 2020 · 0 comments
Open

Comments

@andynice
Copy link

Description

In the wiki "Getting started with the JavaScript SDK" found in https://carbonldp.com/documentation/v5.x.x/javascript-sdk/getting-started/#creating-a-document

There is this example.

// ... imports

let carbonldp;

// ... initialize your CarbonLDP object

console.log( carbonldp.$resolve( "/" ) ); // https://your-domain.com/

It didn't work for me. I used resolve() instead of $resolve(). I'm not sure if it was a typo.

Version

I'm using this version of SDK

"dependencies": {
		"carbonldp": "^5.2.0"
	},

Expected Behavior

http://localhost:8083/

Current Behavior

index.js:7 Uncaught TypeError: carbonldp.$resolve is not a function
at eval (index.js:7)
at Object../src/js/index.js (bundle.js:4153)
at webpack_require (bundle.js:20)
at bundle.js:84
at bundle.js:87

Steps to reproduce

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant