himmelarthur / central Goto Github PK
View Code? Open in Web Editor NEWAn implementation of the JavaScript isomorphic paradigm with a Backbone-based framework
An implementation of the JavaScript isomorphic paradigm with a Backbone-based framework
Was playing around with Central and got this error when starting the server:
/central-demo/node_modules/central/server/server.coffee:28
this.expressApp.set('views', this.options.viewsPath);
^
TypeError: Cannot read property 'viewsPath' of undefined
It looks like server.coffee calls _.extend on line 20 with arguments in the wrong order:
@options = _.extend(options, defaultOptions)
Simply switching them to place defaultOptions first fixes the issue:
@options = _.extend(defaultOptions, options)
Server.configure
has the same call on line 33, with the correct order.
Edit: PR up.
On the README.md, the last link to your website is broken. it links to https://github.com/himmelarthur/central/blob/master/arthurhimmel.com. whereas it seems you want to link to http://arthurhimmel.com.
#### Why it matters - [Broken Links, Pages, Images And 404s Hurt SEO And Affect Google Rankings](http://www.blizzardpress.com/404-errors-and-seo-rankings/) - People want to know who you areKeep up the good work buddy
Hi,
I'm really interesting by the isomorphic aspect of this framework and I'm wondering if it is possible to add routes directly to express.
Is server.get('/', myCtrl)
a good solution ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.