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

improvements to data types implementation #16

Merged
merged 3 commits into from
Jan 28, 2014
Merged

Conversation

elf-pavlik
Copy link
Member

part of #14 with

  • latest N3Util using RDF 1.1 recommendations
  • polished implementation of handling data types
  • 5 new tests with DateTime

@elf-pavlik elf-pavlik mentioned this pull request Jan 28, 2014
5 tasks
@@ -126,39 +127,42 @@ function levelgraphJSONLD(db, jsonldOpts) {
};

// http://json-ld.org/spec/latest/json-ld-api/#data-round-tripping
var coerceLiteral = function(literal) {
var getCoercedObject = function(object) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For optimization it is much better to have named functions instead of anonymous functions insider a variable.
I also do a lot of this mistake, but I try to fix it wherever I look.

@mcollina
Copy link
Collaborator

As for the rest, 👍. Merge when you prefer.

elf-pavlik pushed a commit that referenced this pull request Jan 28, 2014
improvements to data types implementation
@elf-pavlik elf-pavlik merged commit 0a3dba9 into master Jan 28, 2014
@elf-pavlik elf-pavlik deleted the feature/misc-datatypes branch January 28, 2014 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants