And example app to demonstrate the issue in chromium.
clone this sources and run npm install && npm start, then go to localhost:1337.
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <configuration> | |
| <outputDirectory>target/package/</outputDirectory> | |
| <resources> | |
| <resource> | |
| <directory>src</directory> | |
| <includes> | |
| <include>config/**</include> |
| //update class on route change | |
| angular.module('myApp', ['ngRoute']).run(function($rootScope, $rootElement) { | |
| var view = angular.element($rootElement[0].querySelector('[ng-view]')); | |
| $rootScope.$on('$routeChangeSuccess', function(event, to, from) { | |
| view.removeClass(from.viewClass).addClass(to.viewClass); | |
| }); | |
| }); | |
| //define classes while define routes | |
| angular.module('myApp').config(function($routeProvider) { |
And example app to demonstrate the issue in chromium.
clone this sources and run npm install && npm start, then go to localhost:1337.
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.examples</groupId> | |
| <artifactId>allure-junit-variant</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <name>Allure Junit Variant</name> |
| { | |
| "name": "my-awesome-package", | |
| "version": "0.0.0", | |
| "dependencies": { | |
| "angular": "1.2.14", | |
| "jquery": "~2.1.0", | |
| "bootstrap": "~3.1.0" | |
| } | |
| } |
| #!/bin/node | |
| "use strict"; | |
| var fs = require('fs'), | |
| exec = require('child_process').exec; | |
| var db = process.argv[2], | |
| out_dir = process.argv[3], | |
| host = process.argv[4] || 'localhost'; |
| Here is a simple jQuery plugin to make a table header fixed on top when window is scrolled. | |
| Using the code from twitter bootstrap documentation page, this code is customized for table header. | |
| Create the table with following layout - | |
| <table class="table-fixed-header"> | |
| <thead class="header"> | |
| <tr> | |
| <th>Column 1</th> | |
| <th>Column 2</th> | |
| <th>Column 3</th> |
| #!/usr/bin/env python | |
| # -*- coding: UTF-8 -*- | |
| import json | |
| import urllib2 | |
| from urllib import urlencode | |
| import json | |
| import os | |
| import os.path | |
| import sys | |
| import time |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Не открывается балун</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="//api-maps.yandex.ru/2.0/?load=package.standard,package.clusters&lang=ru-RU" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| var markers = [], clusterer; | |
| ymaps.ready(init); |
| C:\Python27\python.exe D:/Coding/Py-plot/optimal_search.py | |
| Optimization terminated successfully. | |
| Current function value: 0.000221 | |
| Iterations: 0 | |
| Function evaluations: 4 | |
| Gradient evaluations: 1 | |
| (1.000, 2.000) | |
| Process finished with exit code 0 |