const props = { disableTooltip: disableTooltipMock };
const wrapper = shallow(<PlannerTooltip {...props} />);
wrapper.props()
| namespace Stina | |
| { | |
| class Stina : String | |
| { | |
| public static Awesome Q() | |
| { | |
| return new Awesome(); | |
| } | |
| } | |
| } |
| $(function(){ | |
| var $result = $('#result'); | |
| var $form = $('#cakedayForm'); | |
| var userUrl = null; | |
| var daysLeft = null; | |
| var getDaysLeft = function() { | |
| $.getJSON(userUrl, | |
| function(data){ |
| private void button2_Click(object sender, EventArgs e) | |
| { | |
| ReadFromTheInternets internetReader = new ReadFromTheInternets("http://stinaq.me/license.txt", richTextBox1); | |
| Thread myThread = new Thread(new ThreadStart(internetReader.ReadWebPage)); | |
| myThread.Start(); | |
| } | |
| class ReadFromTheInternets | |
| { |
| from flask import Flask | |
| app = Flask(__name__) | |
| @app.route('/', defaults={'path': ''}) | |
| @app.route('/<path:path>') | |
| def catch_all(path): | |
| return 'You want path: %s' % path | |
| if __name__ == '__main__': | |
| app.run() |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script> | |
| <script type="text/javascript" src="../static/js/moment.min.js"></script> | |
| <script type="text/javascript" src="../static/js/app.js"></script> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css"> |
| package ejb.servlet; | |
| import java.io.IOException; | |
| import java.util.Set; | |
| import javax.ejb.EJB; | |
| import javax.servlet.RequestDispatcher; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.annotation.WebServlet; | |
| import javax.servlet.http.HttpServlet; |
| En text om hur fantastisk Erik är |
| { | |
| // Place your global snippets here. | |
| "React stateless flow component": { | |
| "scope": "javascript,typescript,babel", | |
| "prefix": "reactslf", | |
| "body": [ | |
| "// @flow\nimport React from 'react';\n", | |
| "type PropTypes = {", | |
| " $0someProp: string", | |
| "}\n", |