detky / powerarray Goto Github PK
View Code? Open in Web Editor NEWPower Array allows you to operate with javascript arrays in a comfortable and much easier way
Power Array allows you to operate with javascript arrays in a comfortable and much easier way
Hey there,
sweet little library but I have a problem when trying to sort an array:
PowerArray.js?7f5d:1100 Uncaught TypeError: Cannot read property 'toUpperCase' of undefined
at Array.Sort (PowerArray.js?7f5d:1100)
at eval (main.js?2ee2:61)
at Module../src/main.js (app.js:3985)
at __webpack_require__ (app.js:725)
at fn (app.js:102)
at Object.0 (app.js:4010)
at __webpack_require__ (app.js:725)
at app.js:792
at app.js:795
Simple example:
import "./libraries/PowerArray.js"
let o1 = {
name: "Z"
};
let o2 = {
name: "A"
};
let test = [o1, o2];
let sortedTest = test.Sort({name: Sort.Ascendig});
Since there are no releases in this repo I just used the last available PowerArray.js
file from master
branch. Any idea how to fix this?
In Eclipse (Mars) the "return pa.utils.DataTypes.function" in GetTypeOf() (currently in line 154) will be marked as an error as it uses the keyword "function". The exact message is
Syntax error on token "function", Identifier expected
Many thanks for PA and best regards
Friedemann ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.