Skip to content
Snippets Groups Projects
Commit ace490af authored by Cliff Li's avatar Cliff Li
Browse files

Add index.js for components

parent d0a18fc8
No related branches found
No related tags found
1 merge request!32Polythene components
export {default as Button} from './Button';
\ No newline at end of file
......@@ -4,7 +4,7 @@ import * as events from '../../models/events';
import { log } from '../../models/log';
import { isLoggedIn } from '../../models/auth';
import inputGroup from '../form/inputGroup';
import Button from '../../components/Button';
import { Button } from '../../components';
import JSONSchemaForm from '../form/jsonSchemaForm';
class EventSignupForm extends JSONSchemaForm {
......
import m from 'mithril';
import { login } from '../models/auth';
import Button from '../components/Button';
import { Button } from '../components';
module.exports = {
username: '',
......
......@@ -2,7 +2,7 @@ import m from 'mithril';
import { isLoggedIn } from '../models/auth';
import * as user from '../models/user';
import * as groups from '../models/groups';
import Button from '../components/Button';
import { Button } from '../components';
// shows all relevant user information
......
......@@ -3,7 +3,7 @@ import * as studydocs from '../../models/studydocs';
import { apiUrl } from '../../models/config';
import { isLoggedIn } from '../../models/auth';
import { Error401 } from '../errors';
import Button from '../../components/Button';
import { Button } from '../../components';
const tableHeadings = [
'title', 'lecture', 'professor', 'semester', 'author', 'download',
......
......@@ -4,7 +4,7 @@ import { isLoggedIn } from '../../models/auth';
import { Error401 } from '../errors';
import inputGroup from '../form/inputGroup';
import selectGroup from '../form/selectGroup';
import Button from '../../components/Button';
import { Button } from '../../components';
export default class studydocNew {
oninit() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment