Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 03 2015 22:39
    DemHydraz commented #1
  • Apr 03 2015 22:37
    DemHydraz commented #1
  • Apr 03 2015 22:27
    RainbowDashDC labeled #1
  • Apr 03 2015 22:27
    RainbowDashDC assigned #1
  • Apr 03 2015 22:22
    DemHydraz commented #1
  • Apr 03 2015 13:43

    DemHydraz on master

    Added Gitter badge Merge pull request #1 from gitt… (compare)

  • Apr 03 2015 13:43
    DemHydraz closed #1
  • Apr 01 2015 16:40

    DemHydraz on master

    Basic package.json file. (compare)

Matheus Magalhães de Alcantara
@demhydraz
var app = require("/srv/ciel/runtime.min.js").loadManifest('/manifest') // loadManifest takes a sandboxed (relative) path, while require() takes a absolute, sandbox-free path

if (app.name == "Herp") {
    throw new app.Crash("Application name is Derp.") // is JS case sensitive? hope so.
}
Jared Allard
@jaredallard
Yes, yes it is.
Matheus Magalhães de Alcantara
@demhydraz
Good, good.
Jared Allard
@jaredallard
Hm.
Actually.
Matheus Magalhães de Alcantara
@demhydraz
Then app.crash() will throw a new Crash.
Jared Allard
@jaredallard
Don't let it file bug reports.
Make that per application.
Matheus Magalhães de Alcantara
@demhydraz
no? ok.
Jared Allard
@jaredallard
So that they may have oauth tokens to do it for them.
Matheus Magalhães de Alcantara
@demhydraz
brb,
cuddling with cat.
Jared Allard
@jaredallard
Have fun :p
Matheus Magalhães de Alcantara
@demhydraz
there.
:cat2:
:kissing:
Jared Allard
@jaredallard
Brb chores
Matheus Magalhães de Alcantara
@demhydraz
croes.
Jared Allard
@jaredallard
We should handle apps like this:
stausbar
------------------
iframe (application)
------------------
(bottom bar, maybe)
Matheus Magalhães de Alcantara
@demhydraz
hmm
could be
bottom and top bar could be hidden
maybe js app.fullscreen()?
Jared Allard
@jaredallard
Yes.
Matheus Magalhães de Alcantara
@demhydraz
DAMNIT
you get what I mean
Jared Allard
@jaredallard
cx
Matheus Magalhães de Alcantara
@demhydraz
if (!application.isFullScreen()) {
     application.requestFullScreen()
}
Jared Allard
@jaredallard
Yes! :3
Matheus Magalhães de Alcantara
@demhydraz
damnit, my cat is insane!
Jared Allard
@jaredallard
Although switch the state will be hard.
But that's my problem~
Also:
Matheus Magalhães de Alcantara
@demhydraz
thing's running 'round like an idiot
Jared Allard
@jaredallard
Ubuntu server will be up soon.
Matheus Magalhães de Alcantara
@demhydraz
I think he's afraid of me.
Also I suck at this oop stuff
hm.
you'll end up requireing ciel.js which will return a object that ends up ciel.requests.fullscreen.requestFullscreen()
@RainbowDashDC, how should I handle module exports?
Matheus Magalhães de Alcantara
@demhydraz
ugh
Matheus Magalhães de Alcantara
@demhydraz
@RainbowDashDC
value|0
Jared Allard
@jaredallard
module.exports?
Waht about them>
What about them?*
Matheus Magalhães de Alcantara
@demhydraz
Is the only way to do that returning a json OBJ?
Jared Allard
@jaredallard
A OBJ, yes, but not a JSON OBJ
JSON != JS Obj