Skip to content

Commit

Permalink
Merge pull request #328 from LoicMahieu/feature/js-data-sql
Browse files Browse the repository at this point in the history
Add support of `js-data-sql` adapter
  • Loading branch information
jmdobry committed Apr 15, 2015
2 parents 86a9c7d + 846c4c0 commit 8a678e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ let adapters = [
project: 'js-data-firebase',
name: 'firebase',
class: 'DSFirebaseAdapter'
},
{
project: 'js-data-sql',
name: 'sql',
class: 'DSSqlAdapter'
}
];

Expand Down Expand Up @@ -208,6 +213,7 @@ class DSProvider {
if (adapters[j].loaded && !adapters[j].registered) {
adapters[j].registered = true;
store.registerAdapter(adapters[j].name, args[i]);
break;
}
}
}
Expand Down

0 comments on commit 8a678e6

Please sign in to comment.