mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
chore(build): switch to typescript
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export function get(obj, path) {
|
||||
for (var i=0, path = path.split('.'), len = path.length; i < len; i++) {
|
||||
obj = obj[path[i]];
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
Reference in New Issue
Block a user