GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 29-Jul-2024 04:19:42 JST Aral Balkan Aral Balkan

    Oh how I wish you could reference the current scope in JavaScript. The things you could do…

    e.g., scope.someImport…

    #JavaScript #programming

    In conversation about a year ago from mastodon.ar.al permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 29-Jul-2024 04:31:27 JST Aral Balkan Aral Balkan
      in reply to

      Hmm… I think I might be able to create what I want by maintaining a component registry manually in my ES Module Loader and communicating it to the main process via an interprocess communication channel… but, yeah, being able to reference the current scope would be nice.

      🤷♂️

      In conversation about a year ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 29-Jul-2024 04:37:07 JST Aral Balkan Aral Balkan
      in reply to

      (Basically, what I want is for Kitten¹ to be able to introspect the source code of a component, find the related components, and wire them up to handle events from the client (including garbage collection of listeners) without having to manually register the dependent component classes. Don’t Repeat Yourself and all that…)

      Anyway… niche :)

      ¹ https://kitten.small-web.org

      #Kitten #SmallWeb #web #dev #authoring #experience #design

      In conversation about a year ago permalink

      Attachments


    • Embed this notice
      George Snorewell (doesntexist@mastodon.social)'s status on Monday, 29-Jul-2024 04:41:02 JST George Snorewell George Snorewell
      in reply to

      @aral
      I read "Kitten" as "Biden" and was like "dude, I don't think he can do that but also that's a very specific ask we're just trying to fight fascism here."

      In conversation about a year ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 29-Jul-2024 04:41:02 JST Aral Balkan Aral Balkan
      in reply to
      • George Snorewell

      @DoesntExist Haha, oh the stuff I misread when I’m focussed on one thing or another sometimes :)

      In conversation about a year ago permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 29-Jul-2024 20:38:24 JST Aral Balkan Aral Balkan
      in reply to

      (Nope, because, of course, the actual reference doesn’t exist at the loader stage.)

      Oh, well, I’m going to try and make it so that you’ll at least be able to connect child components in the markup itself so you don’t have to remember to do it in some other place. That should, at least, be doable.

      #Kitten #components #connectedComponents

      In conversation about a year ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.