diff --git a/package.json b/package.json index d81a60fbd..f1f822352 100644 --- a/package.json +++ b/package.json @@ -31,11 +31,11 @@ "raven": "0.10.0" }, "devDependencies": { - "autoprefixer-loader": "2.1.0", + "autoprefixer": "6.3.6", "classnames": "2.1.3", "cookie": "0.2.2", "copy-webpack-plugin": "0.2.0", - "css-loader": "0.17.0", + "css-loader": "0.23.1", "eslint": "1.3.1", "eslint-plugin-react": "3.3.1", "exenv": "1.2.0", @@ -54,6 +54,7 @@ "node-sass": "3.3.3", "pako": "0.2.8", "po2icu": "git://github.com/LLK/po2icu.git#develop", + "postcss-loader": "0.8.2", "react-addons-test-utils": "0.14.7", "react-modal": "0.6.1", "react-onclickoutside": "4.1.1", diff --git a/src/components/navigation/navigation.jsx b/src/components/navigation/navigation.jsx index 591bb5972..92b3c3b54 100644 --- a/src/components/navigation/navigation.jsx +++ b/src/components/navigation/navigation.jsx @@ -268,9 +268,9 @@ var Navigation = React.createClass({ ] : []} - {this.state.session.permissions.student ? [ + {this.props.session.permissions.student ? [
  • - +
  • diff --git a/src/views/about/l10n.json b/src/views/about/l10n.json index 7c0bb5279..7205ffdb5 100644 --- a/src/views/about/l10n.json +++ b/src/views/about/l10n.json @@ -22,5 +22,5 @@ "about.research": "Research", "about.researchDescription": "The MIT Scratch Team and collaborators are researching how people use and learn with Scratch (for an introduction, see Scratch: Programming for All). Find out more about Scratch research and statistics about Scratch.", "about.support": "Support and Funding", - "about.supportDescription": "The Scratch project, initiated in 2003, has received generous support from the National Science Foundation (grants 0325828, 1002713, 1027848, 1019396), Intel Foundation, Microsoft, MacArthur Foundation, LEGO Foundation, Code-to-Learn Foundation, Google, Dell, Fastly, Inversoft, and MIT Media Lab research consortia. If you'd like to support Scratch, please see our donate page, or contact us at donate@scratch.mit.edu." -} \ No newline at end of file + "about.supportDescription": "The Scratch project has received financial support from the National Science Foundation, Scratch Foundation, Google, LEGO Foundation, Intel, Cartoon Network, Lemann Foundation, and MacArthur Foundation. See the credits page for more information. If you'd like to support Scratch, please see the Scratch Foundation donate page, or contact us at donate@scratch.mit.edu." +} diff --git a/src/views/credits/credits.jsx b/src/views/credits/credits.jsx index 89f6bd1c6..2c7469186 100644 --- a/src/views/credits/credits.jsx +++ b/src/views/credits/credits.jsx @@ -124,6 +124,16 @@ var Credits = React.createClass({ Hannah Avatar Hannah Cole + +
  • + Chris Avatar + Chris Garrity +
  • + +
  • + Julia Avatar + Julia Zimmerman +
  • The team of Scratch moderators manages, supports, and improves the Scratch online community:

    @@ -243,7 +253,9 @@ var Credits = React.createClass({ Scratch Foundation, Google, LEGO Foundation, - Intel Foundation, + Intel, + Cartoon Network, + Lemann Foundation, MacArthur Foundation.

    diff --git a/src/views/jobs/jobs.jsx b/src/views/jobs/jobs.jsx index 5a4d4c8ce..db0cdf07e 100644 --- a/src/views/jobs/jobs.jsx +++ b/src/views/jobs/jobs.jsx @@ -2,6 +2,8 @@ var React = require('react'); var render = require('../../lib/render.jsx'); var FormattedMessage = require('react-intl').FormattedMessage; +var Page = require('../../components/page/page.jsx'); + require('./jobs.scss'); var Jobs = React.createClass({ @@ -44,6 +46,14 @@ var Jobs = React.createClass({ (MIT Media Lab, Cambridge, MA) +

  • + + Community Counselor + + + (MIT Media Lab, Cambridge, MA or Remote) + +
  • @@ -52,4 +62,4 @@ var Jobs = React.createClass({ } }); -render(, document.getElementById('view')); +render(, document.getElementById('app')); diff --git a/src/views/wedo2/wedo2.jsx b/src/views/wedo2/wedo2.jsx index e9826bef4..9b26f8f0c 100644 --- a/src/views/wedo2/wedo2.jsx +++ b/src/views/wedo2/wedo2.jsx @@ -2,6 +2,7 @@ var FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage; var FormattedMessage = require('react-intl').FormattedMessage; var React = require('react'); +var Page = require('../../components/page/page.jsx'); var render = require('../../lib/render.jsx'); require('./wedo2.scss'); @@ -130,4 +131,4 @@ var Wedo2 = React.createClass({ } }); -render(, document.getElementById('view')); +render(, document.getElementById('app')); diff --git a/webpack.config.js b/webpack.config.js index 78474b3e1..df6094736 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,4 @@ +var autoprefixer = require('autoprefixer'); var CopyWebpackPlugin = require('copy-webpack-plugin'); var path = require('path'); var webpack = require('webpack'); @@ -40,7 +41,7 @@ module.exports = { }, { test: /\.scss$/, - loader: 'style!css!autoprefixer-loader?browsers=last 3 versions!sass' + loader: 'style!css!postcss-loader!sass' }, { test: /\.(png|jpg|gif|eot|svg|ttf|woff)$/, @@ -48,6 +49,9 @@ module.exports = { } ] }, + postcss: function () { + return [autoprefixer({browsers: ['last 3 versions']})]; + }, node: { fs: 'empty' },