Source files from JSPro.com examples
jsprodotcom / source Goto Github PK
View Code? Open in Web Editor NEWSource files from JSPro.com examples
Source files from JSPro.com examples
The ~
in "ng-grid": "~2.0.13"
(in bower.json
) allows the new minor version, 2.0.14
, to be installed instead. This causes the related script tag to 404 and the page load to fail. Using the exact version avoids this issue.
15c15
< "ng-grid": "~2.0.13"
---
> "ng-grid": "2.0.13"
Attempting to start the server.js yields errors preventing startup on the latest version of nodejs node.js v0.10.36.
body-parser deprecated bodyParser: use individual json/urlencoded middlewares se rver.js:9:9 body-parser deprecated undefined extended: provide extended option node_modules\ body-parser\index.js:85:29
source/angular-typeahead.zip
require not found....what shall i do
Github already lets you download a repo as a zip file - why zip it up and prevent people from just reading the code online?
so, this zip doesn't have the right url... just fix it like so:
in js/service.js:
substitute line 6:
return $resource('http://movieapp-13434.onmodulus.net/api/movies/:id',{id:'@_id'},{
for the following three:
$url = 'http://movieapp-sitepointdemos.rhcloud.com/api/movies/:id';
//$url = 'http://movieapp-13434.onmodulus.net/api/movies/:id';
return $resource($url,{id:'@_id'},{
just because I want to keep all info... otherwise, just erase the commented line and keep right url.
Hi, I downloaded your code for movieApp, I only can see a blank page with
The Movie App
Home
the console shows
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/lib/angular.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/css/app.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/js/controllers.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/js/app.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/js/directives.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/js/services.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/js/filters.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/lib/angular-ui-router.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/lib/angular-resource.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/css/bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost/css/app.css Failed to load resource: the server responded with a status of 404 (Not Found)
Jojojo
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.