Makefile added, .js files added, package.json updated.
parent
6938e01eae
commit
62e7226d84
|
@ -1,7 +1,7 @@
|
||||||
// Generated by LiveScript 1.6.0
|
// Generated by LiveScript 1.6.0
|
||||||
(function(){
|
(function(){
|
||||||
var bulma, h, AuthWS;
|
var bulma, h, AuthWS;
|
||||||
bulma = require("./bulma.ls");
|
bulma = require("maquette-bulma");
|
||||||
h = require('maquette').h;
|
h = require('maquette').h;
|
||||||
AuthWS = function(socketUrl){
|
AuthWS = function(socketUrl){
|
||||||
var self, requestTypes, responseTypes, key, value;
|
var self, requestTypes, responseTypes, key, value;
|
|
@ -4,11 +4,11 @@
|
||||||
maquette = require("maquette");
|
maquette = require("maquette");
|
||||||
createProjector = maquette.createProjector, h = maquette.h;
|
createProjector = maquette.createProjector, h = maquette.h;
|
||||||
projector = createProjector();
|
projector = createProjector();
|
||||||
bulma = require("./bulma.ls");
|
bulma = require("maquette-bulma");
|
||||||
AuthWS = require("./authws.ls");
|
AuthWS = require("./authws.js");
|
||||||
LoginForm = require("./login-form.ls");
|
LoginForm = require("./login-form.js");
|
||||||
UserConfigurationPanel = require("./user-configuration-panel.ls");
|
UserConfigurationPanel = require("./user-configuration-panel.js");
|
||||||
UserAdminPanel = require("./user-admin-panel.ls");
|
UserAdminPanel = require("./user-admin-panel.js");
|
||||||
model = {
|
model = {
|
||||||
token: void 8
|
token: void 8
|
||||||
};
|
};
|
|
@ -3,8 +3,8 @@
|
||||||
var maquette, h, bulma, AuthWS, LoginForm;
|
var maquette, h, bulma, AuthWS, LoginForm;
|
||||||
maquette = require("maquette");
|
maquette = require("maquette");
|
||||||
h = maquette.h;
|
h = maquette.h;
|
||||||
bulma = require("./bulma.ls");
|
bulma = require("maquette-bulma");
|
||||||
AuthWS = require("./authws.ls");
|
AuthWS = require("./authws.js");
|
||||||
LoginForm = function(args){
|
LoginForm = function(args){
|
||||||
var self, authWs;
|
var self, authWs;
|
||||||
args || (args = {});
|
args || (args = {});
|
|
@ -2,7 +2,7 @@
|
||||||
(function(){
|
(function(){
|
||||||
var h, AuthWS, UserAdminPanel;
|
var h, AuthWS, UserAdminPanel;
|
||||||
h = require("maquette").h;
|
h = require("maquette").h;
|
||||||
AuthWS = require("./authws.ls");
|
AuthWS = require("./authws.js");
|
||||||
UserAdminPanel = function(args){
|
UserAdminPanel = function(args){
|
||||||
var self, authws;
|
var self, authws;
|
||||||
self = {
|
self = {
|
|
@ -2,7 +2,7 @@
|
||||||
(function(){
|
(function(){
|
||||||
var h, AuthWS, getFullName, defaultSideBarRenderer, defaultHeadingRenderer, Fields, UserConfigurationPanel;
|
var h, AuthWS, getFullName, defaultSideBarRenderer, defaultHeadingRenderer, Fields, UserConfigurationPanel;
|
||||||
h = require("maquette").h;
|
h = require("maquette").h;
|
||||||
AuthWS = require("./authws.ls");
|
AuthWS = require("./authws.js");
|
||||||
getFullName = function(self){
|
getFullName = function(self){
|
||||||
var fullName, ref$;
|
var fullName, ref$;
|
||||||
fullName = ((ref$ = self.profile) != null ? ref$.fullName : void 8) || "";
|
fullName = ((ref$ = self.profile) != null ? ref$.fullName : void 8) || "";
|
1582
main.bundle.js
1582
main.bundle.js
File diff suppressed because it is too large
Load Diff
|
@ -11,5 +11,9 @@
|
||||||
"url": "https://git.karchnu.fr/WeirdOS/authd-maquettec"
|
"url": "https://git.karchnu.fr/WeirdOS/authd-maquettec"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC"
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"livescript": "^1.6.0",
|
||||||
|
"maquette-bulma": "git+https://git.karchnu.fr/WeirdOS/maquette-bulma.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
bulma = require "./bulma.ls"
|
bulma = require "maquette-bulma"
|
||||||
h = require 'maquette' .h
|
h = require 'maquette' .h
|
||||||
|
|
||||||
AuthWS = (socket-url) ->
|
AuthWS = (socket-url) ->
|
|
@ -4,13 +4,13 @@ maquette = require "maquette"
|
||||||
|
|
||||||
projector = create-projector!
|
projector = create-projector!
|
||||||
|
|
||||||
bulma = require "./bulma.ls"
|
bulma = require "maquette-bulma"
|
||||||
|
|
||||||
AuthWS = require "./authws.ls"
|
AuthWS = require "./authws.js"
|
||||||
|
|
||||||
LoginForm = require "./login-form.ls"
|
LoginForm = require "./login-form.js"
|
||||||
UserConfigurationPanel = require "./user-configuration-panel.ls"
|
UserConfigurationPanel = require "./user-configuration-panel.js"
|
||||||
UserAdminPanel = require "./user-admin-panel.ls"
|
UserAdminPanel = require "./user-admin-panel.js"
|
||||||
|
|
||||||
model = {
|
model = {
|
||||||
token: void
|
token: void
|
|
@ -2,9 +2,9 @@ maquette = require "maquette"
|
||||||
|
|
||||||
{h} = maquette
|
{h} = maquette
|
||||||
|
|
||||||
bulma = require "./bulma.ls"
|
bulma = require "maquette-bulma"
|
||||||
|
|
||||||
AuthWS = require "./authws.ls"
|
AuthWS = require "./authws.js"
|
||||||
|
|
||||||
LoginForm = (args) ->
|
LoginForm = (args) ->
|
||||||
args or= {}
|
args or= {}
|
|
@ -1,6 +1,6 @@
|
||||||
{h} = require "maquette"
|
{h} = require "maquette"
|
||||||
|
|
||||||
AuthWS = require "./authws.ls"
|
AuthWS = require "./authws.js"
|
||||||
|
|
||||||
UserAdminPanel = (args) ->
|
UserAdminPanel = (args) ->
|
||||||
self = {
|
self = {
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
{h} = require "maquette"
|
{h} = require "maquette"
|
||||||
|
|
||||||
AuthWS = require "./authws.ls"
|
AuthWS = require "./authws.js"
|
||||||
|
|
||||||
get-full-name = (self) ->
|
get-full-name = (self) ->
|
||||||
full-name = self.profile?.full-name || ""
|
full-name = self.profile?.full-name || ""
|
Loading…
Reference in New Issue