Giter VIP home page Giter VIP logo

se-tools's People

Contributors

reboot0-de avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

se-tools's Issues

Should 'isset()' take empty arrays into account?

I wonder whether it would make sense for isset() to take empty arrays into account?

If I correctly understand the application, it is used to check if a widget field is undefined, null or ''.
However, unpopulated media-input-fields with a "multiple" parameter set to true, can return an empty array, right?
(At least I get an empty array, when I delete all existing videos from a 'video-input' field.)

Of course, a user could simply implement something like the following:

// Uses the input of a media field to test whether media was added to it.
function isMediaFieldPopulated(input) {
  return (input && (Array.isArray(input) ? (input.length > 0) : true));
}

Proposal of a follower role.

There seem to be the roles:

  • broadcaster
  • moderator
  • vip
  • subscriber
  • staff

I would find a follower role handy for raffle widgets and other user participation widgets.

onKVStoreUpdate parameter

The parameter passed to KVStoreUpdateEvent is the detail.event object instead of the detail.event.data object.

In the example code:
console.log('Your kvstore-item with the key ${data.key} just got updated to: ', data.value);

To access the key and value currently, you have to do
console.log('Your kvstore-item with the key ${data.data.key} just got updated to: ', data.data.value);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.