{
"name": "react",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --content-base ./src --port 3000 --inline --hot"
},
"author": "sivkoff",
"license": "MIT",
"devDependencies": {
"babel": "^6.3.26",
"babel-core": "^6.4.0",
"babel-loader": "^6.2.1",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"webpack": "^1.12.11",
"webpack-dev-server": "^1.12.11"
},
"dependencies": {
"react": "^0.14.6",
"react-dom": "^0.14.6",
"redux": "^3.0.5"
}
}
npm install
.npm start
. Если все же не получится, обращайтесь лично, скину вам тестовую сборку целиком. return $http.get("tasks.json").then(function(response){
return response.data;
});
но вторая его версия пишется на TypeScrip
class Foo {
bar = 'default property value';
constructor(untypedArg) {
this.foobar = untypedArg;
}
}
For the OpenPGP HTTP Key Server (HKP) client the new fetch api is used. There is a polyfill for both browsers and node.js runtimes. These are not bundled in the library however and users must add these themselves. See the unit tests for examples of how to integrate them.https://github.com/openpgpjs/openpgpjs#dependencies
gulp.task('project:js', function() {
return gulp.src(path.src.js)
.pipe(uglify())
.pipe(concat('project.js'))
.pipe(gulp.dest(path.build.js));
});
gulp.task('vendor:js', function() {
var vendor = bower_files('**/*.js');
vendor.push(path.src.semantic_js);
return gulp.src(vendor)
.pipe(uglify())
.pipe(concat('vendor.js'))
.pipe(gulp.dest(path.build.js));
});
gulp.task('build:js', ['vendor:js', 'project:js'], function(){
return gulp.src(['static/build/js/vendor.js', 'static/build/js/project.js'])
.pipe(concat('main.js'))
.pipe(gulp.dest(path.build.js));
});
Private Sub TabControl1_Selected(sender As Object, e As TabControlEventArgs) Handles TabControl1.Selected 'событие Selected при выборе вкладки
If (e.TabPage.Text = "+") Then 'если вкладка имеет текст +
e.TabPage.Text = "TabPage" + TabControl1.TabPages.Count.ToString() 'переименовываем текущую вкладку
TabControl1.TabPages.Add("+") 'добавляем новую вкладку
End If
End Sub
Private Sub TabControl1_MouseUp(sender As Object, e As MouseEventArgs) Handles TabControl1.MouseUp 'событие MouseUp при клике на TabControl1
If (e.Button = MouseButtons.Right) Then 'Если нажатие ПКМ
ContextMenuStrip1.Show(MousePosition, ToolStripDropDownDirection.Right) 'выводим по координатам клика ContextMenuStrip1
End If
End Sub
Private Sub DeleteToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles DeleteToolStripMenuItem.Click 'событие Click при нажатии на кнопку Delete в ContextMenuStrip1
TabControl1.TabPages.Remove(TabControl1.SelectedTab) 'Удаляем ОТКРЫТУЮ вкладку
End Sub
var somefunc = function(event) {
// Функция
}
$('.ShowDataContent .DataPhoto').bind('dblclick', somefunc);
$('.ShowDataContent .ActionsButton .b').bind('click', somefunc);
gulp.task('run-beats', global.options.prod ?
beats_task.prod : beats_task.dev
});
</li>
на новую строку, чтобы элемент задублировался.